Skip to content

InternalLinkTypeBotStart

Type · TDLib 1.8.67 · d1085f9c

The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed

InternalLinkTypeBotStart(
  bot_username: string,
  start_parameter: string,
  autostart: Bool
) → InternalLinkType

bot_username

string

Username of the bot

start_parameter

string

The parameter to be passed to sendBotStartMessage

autostart

Bool

True, if sendBotStartMessage must be called automatically without showing the START button