send_bot_start_message


Description:

public async Message send_bot_start_message (int64 bot_user_id, int64 chat_id, string parameter) throws TDLibError

Invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires can_invite_users member right. 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

Parameters:

bot_user_id

Identifier of the bot

chat_id

Identifier of the target chat

parameter

A hidden parameter sent to the bot for deep linking purposes ( https://core.telegram.org/bots#deep-linking)