1.1 KiB
1.1 KiB
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];
PWRTelegram json-encoded version:
{"_": "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}