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.
Object Safety§
This trait is not object safe.