class Telbe::PromoteChatMemberDescriptor

chat_id Integer or String Yes Unique identifier for the target chat or username of the target channel (in the format @channelusername) user_id Integer Yes Unique identifier of the target user can_change_info Boolean Optional Pass True, if the administrator can change chat title, photo and other settings can_post_messages Boolean Optional Pass True, if the administrator can create channel posts, channels only can_edit_messages Boolean Optional Pass True, if the administrator can edit messages of other users and can pin messages, channels only can_delete_messages Boolean Optional Pass True, if the administrator can delete messages of other users can_invite_users Boolean Optional Pass True, if the administrator can invite new users to the chat can_restrict_members Boolean Optional Pass True, if the administrator can restrict, ban or unban chat members can_pin_messages Boolean Optional Pass True, if the administrator can pin messages, supergroups only can_promote_members Boolean Optional Pass True, if the administrator can add new administrators with a subset of his own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)