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