Bot add to channel links

Used to ask the user to add a bot to a channel, optionally with admin rights. Note that the user is still free to choose which rights to grant, and whether to grant them at all.

  • Parameters

    • options: { admin?: BotAdminRight[]; bot: string } & CommonDeeplinkOptions
      • Optionaladmin?: BotAdminRight[]

        Admin rights to request

      • bot: string

        Bot username

    Returns string

Properties

Properties

parse: (url: string) => null | { admin?: BotAdminRight[]; bot: string }