Trait teloxide_core::payloads::SetGameScoreSetters

source ·
pub trait SetGameScoreSetters: HasPayload<Payload = SetGameScore> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn score(self, value: u64) -> Self { ... }
    fn chat_id(self, value: u32) -> Self { ... }
    fn message_id(self, value: MessageId) -> Self { ... }
    fn force(self, value: bool) -> Self { ... }
    fn disable_edit_message(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of SetGameScore

Provided Methods§

source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

source

fn score(self, value: u64) -> Self

Setter for score field.

source

fn chat_id(self, value: u32) -> Self

Setter for chat_id field.

source

fn message_id(self, value: MessageId) -> Self

Setter for message_id field.

source

fn force(self, value: bool) -> Self

Setter for force field.

source

fn disable_edit_message(self, value: bool) -> Self

Setter for disable_edit_message field.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> SetGameScoreSetters for P
where P: HasPayload<Payload = SetGameScore>,