Message constructor

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

Describes a message

Implementation

Message