pub trait SetMessageReactionSetters: HasPayload<Payload = SetMessageReaction> + Sized {
// Provided methods
fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient> { ... }
fn message_id(self, value: MessageId) -> Self { ... }
fn reaction<T>(self, value: T) -> Self
where T: IntoIterator<Item = ReactionType> { ... }
fn is_big(self, value: bool) -> Self { ... }
}
Expand description
Setters for fields of SetMessageReaction
Provided Methods§
Sourcefn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for message_id
field.
Sourcefn reaction<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = ReactionType>,
fn reaction<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = ReactionType>,
Setter for reaction
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.