messageService

Service message.

messageService#1d86f70e flags:int id:int from_id:int to_id:Peer date:int action:MessageAction = Message;

Parameters

id int Message identifier
from_id int Message sender
to_id Peer Message recipient
out Bool Whether the message was sent by the current user
Parameter is deprecated since Layer 17.
unread Bool Read status
Parameter is deprecated since Layer 17.
date int Date created
action MessageAction Event connected with the service message
flags int Flag mask for the message:
flags & 0x1 - message is unread (moved here from unread)
flags & 0x2 - message was sent by the current user (moved here from out)
Parameter was added in Layer 17.

Type

Message