action telegram_post_promote_chat_member { label: "post_promoteChatMember" description: "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." provider: telegram method: POST path: "/promoteChatMember" encoding: form input: { type: "object" required: ["chat_id", "user_id"] properties: { can_change_info: { type: "boolean" description: "Pass True, if the administrator can change chat title, photo and other settings" } can_delete_messages: { type: "boolean" description: "Pass True, if the administrator can delete messages of other users" } can_edit_messages: { type: "boolean" description: "Pass True, if the administrator can edit messages of other users and can pin messages, channels only" } can_invite_users: { type: "boolean" description: "Pass True, if the administrator can invite new users to the chat" } can_pin_messages: { type: "boolean" description: "Pass True, if the administrator can pin messages, supergroups only" } can_post_messages: { type: "boolean" description: "Pass True, if the administrator can create channel posts, channels only" } can_promote_members: { type: "boolean" description: "Pass True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)" } can_restrict_members: { type: "boolean" description: "Pass True, if the administrator can restrict, ban or unban chat members" } chat_id: { description: "Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)" type: "object" } is_anonymous: { type: "boolean" description: "Pass *True*, if the administrator's presence in the chat is hidden" } user_id: { type: "integer" description: "Unique identifier of the target user" } } } output: { type: "object" required: ["ok", "result"] properties: { ok: { type: "boolean" } result: { type: "boolean" } } } }