mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-13 11:18:17 +01:00
fix docs for InputSticker
This commit is contained in:
parent
a213459cc3
commit
0deb42e167
1 changed files with 4 additions and 4 deletions
|
@ -31,18 +31,18 @@ pub enum InputSticker {
|
|||
impl InputSticker {
|
||||
/// Create png-`InputSticker`.
|
||||
///
|
||||
/// See [`StickerType::Png`] for more
|
||||
/// See [`InputSticker::Png`] for more
|
||||
///
|
||||
/// [`StickerType::Png`]: crate::types::StickerType::Png
|
||||
/// [`InputSticker::Png`]: crate::types::InputSticker::Png
|
||||
pub fn png(png_sticker: InputFile) -> Self {
|
||||
Self::Png { png_sticker }
|
||||
}
|
||||
|
||||
/// Create tgs-`InputSticker`.
|
||||
///
|
||||
/// See [`StickerType::Tgs`] for more
|
||||
/// See [`InputSticker::Tgs`] for more
|
||||
///
|
||||
/// [`StickerType::Tgs`]: crate::types::StickerType::Tgs
|
||||
/// [`InputSticker::Tgs`]: crate::types::InputSticker::Tgs
|
||||
pub fn tgs(tgs_sticker: InputFile) -> Self {
|
||||
Self::Tgs { tgs_sticker }
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue