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 { ... }
fn use_independent_chat_permissions(self, value: bool) -> 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.
sourcefn use_independent_chat_permissions(self, value: bool) -> Self
fn use_independent_chat_permissions(self, value: bool) -> Self
Setter for use_independent_chat_permissions
field.
Object Safety§
This trait is not object safe.