Message
---types---
message#95ef6f2b out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true offline:flags2.1?true video_processing_pending:flags2.4?true paid_suggested_post_stars:flags2.8?true paid_suggested_post_ton:flags2.9?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int from_rank:flags2.12?string peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long via_business_bot_id:flags2.0?long guestchat_via_from:flags2.19?Peer reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int quick_reply_shortcut_id:flags.30?int effect:flags2.2?long factcheck:flags2.3?FactCheck report_delivery_until_date:flags2.5?int paid_message_stars:flags2.6?long suggested_post:flags2.7?SuggestedPost schedule_repeat_period:flags2.10?int summary_from_language:flags2.11?string = Message
Belongs to
In Rust this constructor is a variant of the enums::Message enum.
Match on it with: if let enums::Message::Message(v) = result { ... }
Parameters
| out | true | optional |
| mentioned | true | optional |
| media_unread | true | optional |
| silent | true | optional |
| post | true | optional |
| from_scheduled | true | optional |
| legacy | true | optional |
| edit_hide | true | optional |
| pinned | true | optional |
| noforwards | true | optional |
| invert_media | true | optional |
| offline | flags2.1?true | required |
| video_processing_pending | flags2.4?true | required |
| paid_suggested_post_stars | flags2.8?true | required |
| paid_suggested_post_ton | flags2.9?true | required |
| id | int | required |
| from_id | Peer | optional |
| from_boosts_applied | int | optional |
| from_rank | flags2.12?string | required |
| peer_id | Peer | required |
| saved_peer_id | Peer | optional |
| fwd_from | MessageFwdHeader | optional |
| via_bot_id | long | optional |
| via_business_bot_id | flags2.0?long | required |
| guestchat_via_from | flags2.19?Peer | required |
| reply_to | MessageReplyHeader | optional |
| date | int | required |
| message | string | required |
| media | MessageMedia | optional |
| reply_markup | ReplyMarkup | optional |
| entities | Vector<MessageEntity> | optional |
| views | int | optional |
| forwards | int | optional |
| replies | MessageReplies | optional |
| edit_date | int | optional |
| post_author | string | optional |
| grouped_id | long | optional |
| reactions | MessageReactions | optional |
| restriction_reason | Vector<RestrictionReason> | optional |
| ttl_period | int | optional |
| quick_reply_shortcut_id | int | optional |
| effect | flags2.2?long | required |
| factcheck | flags2.3?FactCheck | required |
| report_delivery_until_date | flags2.5?int | required |
| paid_message_stars | flags2.6?long | required |
| suggested_post | flags2.7?SuggestedPost | required |
| schedule_repeat_period | flags2.10?int | required |
| summary_from_language | flags2.11?string | required |