pub trait BanChatSenderChatSetters: HasPayload<Payload = BanChatSenderChat> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn sender_chat_id<T>(self, value: T) -> Self
       where T: Into<ChatId> { ... }
}
Expand description

Setters for fields of BanChatSenderChat

Provided Methods§

source

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

Setter for chat_id field.

source

fn sender_chat_id<T>(self, value: T) -> Self
where T: Into<ChatId>,

Setter for sender_chat_id field.

Object Safety§

This trait is not object safe.

Implementors§