Message constructor

Message({
  1. String? extra,
  2. int? client_id,
  3. int53? id,
  4. MessageSender? sender_id,
  5. int53? chat_id,
  6. MessageSendingState? sending_state,
  7. MessageSchedulingState? scheduling_state,
  8. Bool? is_outgoing,
  9. Bool? is_pinned,
  10. Bool? can_be_edited,
  11. Bool? can_be_forwarded,
  12. Bool? can_be_saved,
  13. Bool? can_be_deleted_only_for_self,
  14. Bool? can_be_deleted_for_all_users,
  15. Bool? can_get_added_reactions,
  16. Bool? can_get_statistics,
  17. Bool? can_get_message_thread,
  18. Bool? can_get_viewers,
  19. Bool? can_get_media_timestamp_links,
  20. Bool? can_report_reactions,
  21. Bool? has_timestamped_media,
  22. Bool? is_channel_post,
  23. Bool? is_topic_message,
  24. Bool? contains_unread_mention,
  25. int32? date,
  26. int32? edit_date,
  27. MessageForwardInfo? forward_info,
  28. MessageInteractionInfo? interaction_info,
  29. vector<UnreadReaction>? unread_reactions,
  30. int53? reply_in_chat_id,
  31. int53? reply_to_message_id,
  32. int53? message_thread_id,
  33. int32? self_destruct_time,
  34. double? self_destruct_in,
  35. double? auto_delete_in,
  36. int53? via_bot_user_id,
  37. string? author_signature,
  38. int64? media_album_id,
  39. string? restriction_reason,
  40. MessageContent? content,
  41. ReplyMarkup? reply_markup,
})

Implementation

Message({
  super.extra,
  super.client_id,
  this.id,
  this.sender_id,
  this.chat_id,
  this.sending_state,
  this.scheduling_state,
  this.is_outgoing,
  this.is_pinned,
  this.can_be_edited,
  this.can_be_forwarded,
  this.can_be_saved,
  this.can_be_deleted_only_for_self,
  this.can_be_deleted_for_all_users,
  this.can_get_added_reactions,
  this.can_get_statistics,
  this.can_get_message_thread,
  this.can_get_viewers,
  this.can_get_media_timestamp_links,
  this.can_report_reactions,
  this.has_timestamped_media,
  this.is_channel_post,
  this.is_topic_message,
  this.contains_unread_mention,
  this.date,
  this.edit_date,
  this.forward_info,
  this.interaction_info,
  this.unread_reactions,
  this.reply_in_chat_id,
  this.reply_to_message_id,
  this.message_thread_id,
  this.self_destruct_time,
  this.self_destruct_in,
  this.auto_delete_in,
  this.via_bot_user_id,
  this.author_signature,
  this.media_album_id,
  this.restriction_reason,
  this.content,
  this.reply_markup,
});