telegram api constructor · layer 229 · #ebe46819
updateServiceNotification
A service message for the user.
definition
updateServiceNotification#ebe46819 flags:# popup:flags.0?true invert_media:flags.2?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
popup | true | If set, the message must be displayed in a popup. |
invert_media | true | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |
inbox_date | int | When was the notification receivedThe message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications). |
type | string | String, identical in format and contents to the type field in API errors. Describes type of service message. It is acceptable to ignore repeated messages of the same type within a short period of time (15 minutes). |
message | string | Message text |
media | MessageMedia | Media content (optional) |
entities | Vector<MessageEntity> | Message entities for styled text |
type
Update · 164 other constructors
history
present in layers 18–229 · constructor id changed 1×
| id | layers |
|---|---|
| #382dd3e4 | 18–46 |
| #ebe46819 | 62–229 |