Telegex.set_chat_permissions

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

set_chat_permissions(chat_id, permissions)

View Source

Specs

set_chat_permissions(integer() | String.t(), Telegex.Model.ChatPermissions.t()) ::
  {:ok, boolean()} | {:error, Telegex.Model.errors()}

Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members admin rights. Returns True on success.