MessageService
- class pyrogram.raw.types.MessageService
Indicates a service message
Constructor of
Message
.- Details:
Layer:
194
ID:
2B085862
- 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 mediasilent (
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) informationttl_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.