export_group_call_invite()

async Client.export_group_call_invite()

Export an invite link for an active group voice chat or live stream.

Usable by Users Bots
Parameters:
  • chat_id (int | str | GroupCall) – Unique identifier (int) or username (str) of the target chat, or the GroupCall object.

  • can_self_unmute (bool, optional) – Whether users joining via this link can unmute themselves.

Returns:

str – On success, the exported voice chat invite link is returned.

Example

link = await app.export_group_call_invite(chat_id)
print(link)