UpdatePendingMessage constructor

const UpdatePendingMessage({
  1. required int chatId,
  2. required int forumTopicId,
  3. required int draftId,
  4. required bool canStop,
  5. required bool keepOnStop,
  6. required MessageContent content,
  7. dynamic extra,
  8. int? clientId,
})

A new pending text or rich message was received in a chat with a bot. The message must be shown in the chat for at most getOption("pending_text_message_period") seconds, replace any other pending message with the same draft_id with animation, and be deleted whenever any incoming message or a pending message with another draft_id is received in the message thread

Implementation

const UpdatePendingMessage({
  required this.chatId,
  required this.forumTopicId,
  required this.draftId,
  required this.canStop,
  required this.keepOnStop,
  required this.content,
  this.extra,
  this.clientId,
});