Trait teloxide_core::payloads::UnbanChatMemberSetters

source ·
pub trait UnbanChatMemberSetters: HasPayload<Payload = UnbanChatMember> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn user_id(self, value: UserId) -> Self { ... }
    fn only_if_banned(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of UnbanChatMember

Provided Methods§

source

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

Setter for chat_id field.

source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

source

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

Setter for only_if_banned field.

Object Safety§

This trait is not object safe.

Implementors§