TelegramBot.exportChatInviteLink

Generate a new invite link for a chat

Any previously generated link is revoked

  1. string exportChatInviteLink(T chat_id)
  2. string exportChatInviteLink(ExportChatInviteLinkMethod m)
    struct TelegramBot
    @trusted
    string
    exportChatInviteLink

Return Value

Type: string

invite link

Throws

TelegramBotException on errors

See Also

Meta