Telegex.export_chat_invite_link

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

export_chat_invite_link(chat_id)

View Source

Specs

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

Use this method to generate a new invite link for a chat; any previously generated link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the new invite link as String on success.