Struct tg_bot_models::UploadStickerFile [−][src]
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_id: i64
User identifier of sticker file owner
png_sticker: String
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]
impl Debug for UploadStickerFile
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for UploadStickerFile
[src]
impl Clone for UploadStickerFile
fn clone(&self) -> UploadStickerFile
[src]
fn clone(&self) -> UploadStickerFile
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for UploadStickerFile
[src]
impl PartialEq for UploadStickerFile
fn eq(&self, other: &UploadStickerFile) -> bool
[src]
fn eq(&self, other: &UploadStickerFile) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UploadStickerFile) -> bool
[src]
fn ne(&self, other: &UploadStickerFile) -> bool
This method tests for !=
.
impl PartialOrd for UploadStickerFile
[src]
impl PartialOrd for UploadStickerFile
fn partial_cmp(&self, other: &UploadStickerFile) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &UploadStickerFile) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &UploadStickerFile) -> bool
[src]
fn lt(&self, other: &UploadStickerFile) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &UploadStickerFile) -> bool
[src]
fn le(&self, other: &UploadStickerFile) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &UploadStickerFile) -> bool
[src]
fn gt(&self, other: &UploadStickerFile) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &UploadStickerFile) -> bool
[src]
fn ge(&self, other: &UploadStickerFile) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl Send for UploadStickerFile
impl Send for UploadStickerFile
impl Sync for UploadStickerFile
impl Sync for UploadStickerFile