pub trait SetChatPermissionsSetters: HasPayload<Payload = SetChatPermissions> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn permissions(self, value: ChatPermissions) -> Self { ... }
}
Expand description

Setters for fields of SetChatPermissions

Provided Methods§

source

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

Setter for chat_id field.

source

fn permissions(self, value: ChatPermissions) -> Self

Setter for permissions field.

Implementors§