Telegex.kick_chat_member
You're seeing just the function
kick_chat_member
, go back to Telegex module for more information.
Specs
kick_chat_member(integer() | String.t(), integer(), until_date: integer(), revoke_messages: boolean() ) :: {:ok, boolean()} | {:error, Telegex.Model.errors()}
Use this method to kick a user from a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.