pub trait SavePreparedInlineMessageSetters: HasPayload<Payload = SavePreparedInlineMessage> + Sized {
// Provided methods
fn user_id(self, value: UserId) -> Self { ... }
fn result(self, value: InlineQueryResult) -> Self { ... }
fn allow_user_chats(self, value: bool) -> Self { ... }
fn allow_bot_chats(self, value: bool) -> Self { ... }
fn allow_group_chats(self, value: bool) -> Self { ... }
fn allow_channel_chats(self, value: bool) -> Self { ... }
}Expand description
Setters for fields of SavePreparedInlineMessage
Provided Methods§
Sourcefn result(self, value: InlineQueryResult) -> Self
fn result(self, value: InlineQueryResult) -> Self
Setter for result field.
Sourcefn allow_user_chats(self, value: bool) -> Self
fn allow_user_chats(self, value: bool) -> Self
Setter for allow_user_chats field.
Sourcefn allow_bot_chats(self, value: bool) -> Self
fn allow_bot_chats(self, value: bool) -> Self
Setter for allow_bot_chats field.
Sourcefn allow_group_chats(self, value: bool) -> Self
fn allow_group_chats(self, value: bool) -> Self
Setter for allow_group_chats field.
Sourcefn allow_channel_chats(self, value: bool) -> Self
fn allow_channel_chats(self, value: bool) -> Self
Setter for allow_channel_chats field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.