message

message#3ae56482 flags:# 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 flags2:# 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 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;

Parameters

NameTypeDescription
flags # Bit mask: a field written flags.N?T is present only when bit N is set.
out flags.1?true
mentioned flags.4?true
media_unread flags.5?true
silent flags.13?true Send without sound: the recipient gets no notification.
post flags.14?true
from_scheduled flags.18?true
legacy flags.19?true
edit_hide flags.21?true
pinned flags.24?true Whether it is pinned.
noforwards flags.26?true
invert_media flags.27?true Show the attachment below the text rather than above it.
flags2 # Second bit mask — needed once there are more than 32 optional fields.
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 Identifier of the object — which object depends on the field's type.
from_id flags.8?Peer Sender.
from_boosts_applied flags.29?int
from_rank flags2.12?string
peer_id Peer
saved_peer_id flags.28?Peer Section of Saved Messages the request is about.
fwd_from flags.2?MessageFwdHeader
via_bot_id flags.11?long
via_business_bot_id flags2.0?long
reply_to flags.3?MessageReplyHeader What the message replies to.
date int A point in time, unix seconds.
message string Message text.
media flags.9?MessageMedia Attachment.
reply_markup flags.6?ReplyMarkup Keyboard shown under the message.
entities flags.7?Vector<MessageEntity> Text markup — bold, links, mentions and so on, as a list of ranges.
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 List of reactions.
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

Type

Message

Related pages

Types used here