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
12
use crate::api::structs::input_sticker::InputSticker;
use serde::Serialize;

/// <https://core.telegram.org/bots/api#replacestickerinset>
/// Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success.
#[derive(Debug, Serialize, Default)]
pub struct ReplaceStickerInSet {
    pub user_id: i64,
    pub name: String,
    pub old_sticker: String,
    pub sticker: InputSticker,
}