Trait teloxide_core::payloads::SendAnimationSetters[][src]

pub trait SendAnimationSetters: HasPayload<Payload = SendAnimation> + Sized {
    fn chat_id<T>(self, value: T) -> Self
    where
        T: Into<ChatId>
, { ... }
fn animation(self, value: InputFile) -> Self { ... }
fn duration(self, value: u32) -> Self { ... }
fn width(self, value: u32) -> Self { ... }
fn height(self, value: u32) -> Self { ... }
fn thumb(self, value: InputFile) -> Self { ... }
fn caption<T>(self, value: T) -> Self
    where
        T: Into<String>
, { ... }
fn parse_mode(self, value: ParseMode) -> Self { ... }
fn caption_entities<T>(self, value: T) -> Self
    where
        T: IntoIterator<Item = <Vec<MessageEntity> as IntoIterator>::Item>
, { ... }
fn disable_notification(self, value: bool) -> Self { ... }
fn reply_to_message_id(self, value: i32) -> Self { ... }
fn allow_sending_without_reply(self, value: bool) -> Self { ... }
fn reply_markup<T>(self, value: T) -> Self
    where
        T: Into<ReplyMarkup>
, { ... } }

Setters for fields of SendAnimation

Provided methods

fn chat_id<T>(self, value: T) -> Self where
    T: Into<ChatId>, 
[src]

Setter for chat_id field.

fn animation(self, value: InputFile) -> Self[src]

Setter for animation field.

fn duration(self, value: u32) -> Self[src]

Setter for duration field.

fn width(self, value: u32) -> Self[src]

Setter for width field.

fn height(self, value: u32) -> Self[src]

Setter for height field.

fn thumb(self, value: InputFile) -> Self[src]

Setter for thumb field.

fn caption<T>(self, value: T) -> Self where
    T: Into<String>, 
[src]

Setter for caption field.

fn parse_mode(self, value: ParseMode) -> Self[src]

Setter for parse_mode field.

fn caption_entities<T>(self, value: T) -> Self where
    T: IntoIterator<Item = <Vec<MessageEntity> as IntoIterator>::Item>, 
[src]

Setter for caption_entities field.

fn disable_notification(self, value: bool) -> Self[src]

Setter for disable_notification field.

fn reply_to_message_id(self, value: i32) -> Self[src]

Setter for reply_to_message_id field.

fn allow_sending_without_reply(self, value: bool) -> Self[src]

Setter for allow_sending_without_reply field.

fn reply_markup<T>(self, value: T) -> Self where
    T: Into<ReplyMarkup>, 
[src]

Setter for reply_markup field.

Loading content...

Implementors

impl<P> SendAnimationSetters for P where
    P: HasPayload<Payload = SendAnimation>, 
[src]

Loading content...