Telegex.edit_chat_invite_link

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

edit_chat_invite_link(chat_id, invite_link, optionals \\ [])

View Source

Specs

edit_chat_invite_link(integer() | String.t(), String.t(),
  expire_date: integer(),
  member_limit: integer()
) :: {:ok, Telegex.Model.ChatInviteLink.t()} | {:error, Telegex.Model.errors()}

Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the edited invite link as a ChatInviteLink object.