get_invite_text()

async Client.get_invite_text()

Get the default invitation text for inviting new users to Telegram.

Usable by Users Bots
Returns:

InviteText – The invite text.

Example

invite_text = await app.get_invite_text()