mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 22:17:45 +01:00
1.3 KiB
1.3 KiB
title | description |
---|---|
updateServiceNotification | updateServiceNotification attributes, type and example |
Constructor: updateServiceNotification
Attributes:
Name | Type | Required |
---|---|---|
popup | Bool | Optional |
inbox_date | int | Optional |
type | string | Yes |
message | string | Yes |
media | MessageMedia | Yes |
entities | Array of MessageEntity | Yes |
Type: Update
Example:
$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'entities' => [MessageEntity]];
PWRTelegram json-encoded version:
{"_": "updateServiceNotification", "popup": Bool, "inbox_date": int, "type": "string", "message": "string", "media": MessageMedia, "entities": [MessageEntity]}
Or, if you're into Lua:
updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type='string', message='string', media=MessageMedia, entities={MessageEntity}}