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§
sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for message_id
field.
sourcefn disable_edit_message(self, value: bool) -> Self
fn disable_edit_message(self, value: bool) -> Self
Setter for disable_edit_message
field.