MadelineProto/old_docs/API_docs_v46/constructors/updateServiceNotification.md

868 B

title description
updateServiceNotification updateServiceNotification attributes, type and example

Constructor: updateServiceNotification

Back to constructors index

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

Or, if you're into Lua:

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