mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:26:55 +01:00
1017 B
1017 B
title | description |
---|---|
notificationSettings | Contains information about notification settings for chat or chats |
Constructor: notificationSettings
Contains information about notification settings for chat or chats
Attributes:
Name | Type | Required | Description |
---|---|---|---|
mute_for | int | Yes | Time left before notifications will be unmuted |
sound | string | Yes | Audio file name for notifications, iPhone apps only |
show_preview | Bool | Yes | Display message text/media in notification |
Type: NotificationSettings
Example:
$notificationSettings = ['_' => 'notificationSettings', 'mute_for' => int, 'sound' => string, 'show_preview' => Bool, ];
Or, if you're into Lua:
notificationSettings={_='notificationSettings', mute_for=int, sound=string, show_preview=Bool, }