Bot add to group links

Used to ask the user to add a bot to a group, optionally asking for 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; parameter?: string } & CommonDeeplinkOptions
      • Optionaladmin?: BotAdminRight[]

        Admin rights to request

      • bot: string

        Bot username

      • Optionalparameter?: string

        If specified, the client will call /start parameter on the bot once the bot has been added

    Returns string

Properties

Properties

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