Telegex.unban_chat_member

You're seeing just the function unban_chat_member, go back to Telegex module for more information.
Link to this function

unban_chat_member(chat_id, user_id, optionals \\ [])

View Source

Specs

unban_chat_member(integer() | String.t(), integer(), [
  {:only_if_banned, boolean()}
]) :: {:ok, boolean()} | {:error, Telegex.Model.errors()}

Use this method to unban a previously kicked user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. Returns True on success.