A message

message#452c0e65 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 id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector<RestrictionReason> = Message;


Name Type Description
flags # Flags, see TL conditional fields
out flags.1?true Is this an outgoing message
mentioned flags.4?true Whether we were mentioned in this message
media_unread flags.5?true Whether there are unread media attachments in this message
silent flags.13?true Whether this is a silent message (no notification triggered)
post flags.14?true Whether this is a channel post
from_scheduled flags.18?true Whether this is a scheduled post
legacy flags.19?true This is a legacy message: it has to be refetched with the new layer
edit_hide flags.21?true Whether the message should be shown as not modified to the user, even if an edit date is present
id int ID of the message
from_id flags.8?int ID of the sender of the message
to_id Peer ID of the chat were the message was sent
fwd_from flags.2?MessageFwdHeader Info about forwarded messages
via_bot_id flags.11?int ID of the inline bot that generated the message
reply_to_msg_id flags.3?int ID of the message this message replies to
date int Date of the message
message string The message
media flags.9?MessageMedia Media attachment
reply_markup flags.6?ReplyMarkup Reply markup (bot/inline keyboards)
entities flags.7?Vector<MessageEntity> Message entities for styled text
views flags.10?int View count for channel posts
edit_date flags.15?int Last edit date of this message
post_author flags.16?string Name of the author of this message for channel posts (with signatures enabled)
grouped_id flags.17?long Multiple media messages sent using messages.sendMultiMedia with the same grouped ID indicate an album
restriction_reason flags.22?Vector<RestrictionReason> Contains the reason why access to this message must be restricted.



Related pages

Styled text with message entities

How to create styled text with message entities


Send an album of media