1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:57:46 +01:00
MadelineProto/docs/API_docs/constructors/updateServiceNotification.md

881 B

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 Required
message string Required
media MessageMedia Required
entities Array of MessageEntity Required

Type: Update

Example:

$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => true, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [Vector t], ];