Telegex.create_chat_invite_link
You're seeing just the function
create_chat_invite_link
, go back to Telegex module for more information.
Specs
create_chat_invite_link(integer() | String.t(), expire_date: integer(), member_limit: integer() ) :: {:ok, Telegex.Model.ChatInviteLink.t()} | {:error, Telegex.Model.errors()}
Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.