SendBotStartMessage constructor

const SendBotStartMessage({
  1. required int botUserId,
  2. required int chatId,
  3. required String parameter,
})

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

Implementation

const SendBotStartMessage({
  required this.botUserId,
  required this.chatId,
  required this.parameter,
});