Trait teloxide::payloads::UnbanChatMemberSetters
source · pub trait UnbanChatMemberSetters: HasPayload<Payload = UnbanChatMember> + Sized {
fn chat_id<T>(self, value: T) -> Self
where
T: Into<Recipient>,
{ ... }
fn user_id(self, value: UserId) -> Self { ... }
fn only_if_banned(self, value: bool) -> Self { ... }
}
Expand description
Setters for fields of UnbanChatMember
Provided Methods§
sourcefn only_if_banned(self, value: bool) -> Self
fn only_if_banned(self, value: bool) -> Self
Setter for only_if_banned
field.