telegram_bots_api 0.710.0

Telegram bots api simple rust wrapper, and no more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::api::structs::input_file::InputFile;
use serde::Serialize;

/// <https://core.telegram.org/bots/api#uploadstickerfile>
/// Use this method to upload a file with a sticker for later use in the createNewStickerSet and addStickerToSet methods (the file can be used multiple times). Returns the uploaded File on success.
#[derive(Debug, Serialize, Default)]
pub struct UploadStickerFile {
    pub user_id: i64,
    pub sticker: InputFile,
    pub sticker_format: String,
}