Trait teloxide::payloads::SetChatPermissionsSetters
source · pub trait SetChatPermissionsSetters: HasPayload<Payload = SetChatPermissions> + Sized {
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§
sourcefn permissions(self, value: ChatPermissions) -> Self
fn permissions(self, value: ChatPermissions) -> Self
Setter for permissions
field.