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