Struct telbot_types::chat::SetChatStickerSet[][src]

pub struct SetChatStickerSet {
    pub chat_id: ChatId,
    pub sticker_set_name: String,
}
Expand description

Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.

Fields

chat_id: ChatId

Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)

sticker_set_name: String

Name of the sticker set to be set as the group sticker set

Implementations

Create a new setChatStickerSet request

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.