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§

source

fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient>,

Setter for chat_id field.

source

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

Setter for message_id field.

source

fn reaction<T>(self, value: T) -> Self
where T: IntoIterator<Item = ReactionType>,

Setter for reaction field.

source

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

Setter for is_big field.

Object Safety§

This trait is not object safe.

Implementors§