SendMessage constructor

const SendMessage({
  1. required int chatId,
  2. required int messageThreadId,
  3. required int replyToMessageId,
  4. MessageSendOptions? options,
  5. ReplyMarkup? replyMarkup,
  6. required InputMessageContent inputMessageContent,
})

Sends a message. Returns the sent message

Implementation

const SendMessage({
  required this.chatId,
  required this.messageThreadId,
  required this.replyToMessageId,
  this.options,
  this.replyMarkup,
  required this.inputMessageContent,
});