TDLib v0.0.2 TDLib.Method.SendBotStartMessage View Source

Invites a bot to a chat (if it is not yet a member) and sends it the /start command. Bots can’t be invited to a private chat other than the chat with the bot. Bots can’t be invited to channels (although they can be added as admins) and secret chats. Returns the sent message. Returns object_ptr.

NameTypeDescription
bot_user_idnumberIdentifier of the bot.
chat_idstringIdentifier of the target chat.
parameterstringA hidden parameter sent to the bot for deep linking purposes (https://api.telegram.org/bots#deep-linking).

More details on telegram’s documentation.