Trait teloxide_core::payloads::SendDiceSetters[][src]

pub trait SendDiceSetters: HasPayload<Payload = SendDice> + Sized {
    fn chat_id<T>(self, value: T) -> Self
    where
        T: Into<ChatId>
, { ... }
fn emoji(self, value: DiceEmoji) -> Self { ... }
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 SendDice

Provided methods

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

Setter for chat_id field.

fn emoji(self, value: DiceEmoji) -> Self[src]

Setter for emoji 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> SendDiceSetters for P where
    P: HasPayload<Payload = SendDice>, 
[src]

Loading content...