MessageService
- class pyrogram.raw.types.MessageService
Indicates a service message
Constructor of
Message
.- Details:
Layer:
196
ID:
D3D28540
- Parameters:
id (
int
32-bit
) – Message IDpeer_id (
Peer
) – Sender of service messagedate (
int
32-bit
) – Message dateaction (
MessageAction
) – Event connected with the service messageout (
bool
, optional) – Whether the message is outgoingmentioned (
bool
, optional) – Whether we were mentioned in the messagemedia_unread (
bool
, optional) – Whether the message contains unread mediareactions_are_possible (
bool
, optional) – N/Asilent (
bool
, optional) – Whether the message is silentpost (
bool
, optional) – Whether it’s a channel postlegacy (
bool
, optional) – This is a legacy message: it has to be refetched with the new layerfrom_id (
Peer
, optional) – ID of the sender of this messagereply_to (
MessageReplyHeader
, optional) – Reply (thread) informationreactions (
MessageReactions
, optional) – N/Attl_period (
int
32-bit
, optional) – Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well.