Struct tg_bot_models::UploadStickerFile[][src]

pub struct UploadStickerFile {
    pub user_id: i64,
    pub png_sticker: String,
}

Use this method to upload a .png file with a sticker for later use in createNewStickerSet and addStickerToSet methods (can be used multiple times). Returns the uploaded File on success.

Fields

User identifier of sticker file owner

Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. More info on Sending Files »

Trait Implementations

impl Debug for UploadStickerFile
[src]

Formats the value using the given formatter. Read more

impl Clone for UploadStickerFile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UploadStickerFile
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for UploadStickerFile
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations