MadelineProto/old_docs/API_docs_v55/constructors/updateServiceNotification.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.0 KiB

title description
updateServiceNotification updateServiceNotification attributes, type and example

Constructor: updateServiceNotification

Back to constructors index

Attributes:

Name Type Required
type string Yes
message string Yes
media MessageMedia Yes
popup Bool Yes

Type: Update

Example:

$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => 'string', 'message' => 'string', 'media' => MessageMedia, 'popup' => Bool];

PWRTelegram json-encoded version:

{"_": "updateServiceNotification", "type": "string", "message": "string", "media": MessageMedia, "popup": Bool}

Or, if you're into Lua:

updateServiceNotification={_='updateServiceNotification', type='string', message='string', media=MessageMedia, popup=Bool}