Trait teloxide_core::payloads::SetChatPermissionsSetters[][src]

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

Setters for fields of SetChatPermissions

Provided methods

fn chat_id<T>(self, value: T) -> Self where
    T: Into<ChatId>, 
[src]

Setter for chat_id field.

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

Setter for permissions field.

Loading content...

Implementors

impl<P> SetChatPermissionsSetters for P where
    P: HasPayload<Payload = SetChatPermissions>, 
[src]

Loading content...