Message constructor
- {required int id,
- required MessageSender sender_id,
- required int chat_id,
- MessageSendingState? sending_state,
- MessageSchedulingState? scheduling_state,
- required bool is_outgoing,
- required bool is_pinned,
- required bool can_be_edited,
- required bool can_be_forwarded,
- required bool can_be_saved,
- required bool can_be_deleted_only_for_self,
- required bool can_be_deleted_for_all_users,
- required bool can_get_added_reactions,
- required bool can_get_statistics,
- required bool can_get_message_thread,
- required bool can_get_viewers,
- required bool can_get_media_timestamp_links,
- required bool can_report_reactions,
- required bool has_timestamped_media,
- required bool is_channel_post,
- required bool is_topic_message,
- required bool contains_unread_mention,
- required int date,
- required int edit_date,
- MessageForwardInfo? forward_info,
- MessageInteractionInfo? interaction_info,
- required List<
UnreadReaction> unread_reactions, - MessageReplyTo? reply_to,
- required int message_thread_id,
- MessageSelfDestructType? self_destruct_type,
- required double self_destruct_in,
- required double auto_delete_in,
- required int via_bot_user_id,
- required String author_signature,
- required int64 media_album_id,
- required String restriction_reason,
- required MessageContent content,
- ReplyMarkup? reply_markup,
- int? extra,
- int? clientId}
Describes a message
Implementation
Message