Message constructor
Message({
- String? extra,
- int? client_id,
- int53? id,
- MessageSender? sender_id,
- int53? chat_id,
- MessageSendingState? sending_state,
- MessageSchedulingState? scheduling_state,
- Bool? is_outgoing,
- Bool? is_pinned,
- Bool? can_be_edited,
- Bool? can_be_forwarded,
- Bool? can_be_saved,
- Bool? can_be_deleted_only_for_self,
- Bool? can_be_deleted_for_all_users,
- Bool? can_get_added_reactions,
- Bool? can_get_statistics,
- Bool? can_get_message_thread,
- Bool? can_get_viewers,
- Bool? can_get_media_timestamp_links,
- Bool? can_report_reactions,
- Bool? has_timestamped_media,
- Bool? is_channel_post,
- Bool? is_topic_message,
- Bool? contains_unread_mention,
- int32? date,
- int32? edit_date,
- MessageForwardInfo? forward_info,
- MessageInteractionInfo? interaction_info,
- vector<
UnreadReaction> ? unread_reactions, - int53? reply_in_chat_id,
- int53? reply_to_message_id,
- int53? message_thread_id,
- int32? self_destruct_time,
- double? self_destruct_in,
- double? auto_delete_in,
- int53? via_bot_user_id,
- string? author_signature,
- int64? media_album_id,
- string? restriction_reason,
- MessageContent? content,
- 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,
});