Struct tg_botapi::methods::PromoteChatMember [−][src]
pub struct PromoteChatMember {
pub chat_id: ChatId,
pub user_id: i64,
pub can_change_info: Option<bool>,
pub can_post_messages: Option<bool>,
pub can_edit_messages: Option<bool>,
pub can_delete_messages: Option<bool>,
pub can_invite_users: Option<bool>,
pub can_restrict_members: Option<bool>,
pub can_pin_messages: Option<bool>,
pub can_promote_members: Option<bool>,
}
Fields
chat_id: ChatId
user_id: i64
can_change_info: Option<bool>
can_post_messages: Option<bool>
can_edit_messages: Option<bool>
can_delete_messages: Option<bool>
can_invite_users: Option<bool>
can_restrict_members: Option<bool>
can_pin_messages: Option<bool>
can_promote_members: Option<bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PromoteChatMember
impl Send for PromoteChatMember
impl Sync for PromoteChatMember
impl Unpin for PromoteChatMember
impl UnwindSafe for PromoteChatMember
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more