MadelineProto/old_docs/API_docs_v65/constructors/updateServiceNotification.md
Daniil Gentili 1eb2fc0b4f fix
2017-04-21 13:27:04 +02:00

1.0 KiB

title description
updateServiceNotification updateServiceNotification attributes, type and example

Constructor: updateServiceNotification

Back to constructors index

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], ];

Or, if you're into Lua:

updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, }