Struct telebot::functions::PromoteChatMember [−][src]
pub struct PromoteChatMember { /* fields omitted */ }
Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Pass False for all boolean parameters to demote a user. Returns True on success.
Auto Trait Implementations
impl Send for PromoteChatMember
impl Send for PromoteChatMember
impl Sync for PromoteChatMember
impl Sync for PromoteChatMember