1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 14:47:26 +01:00
MadelineProto/docs/TD_docs/constructors/notificationSettings.md

1017 B

title description
notificationSettings Contains information about notification settings for chat or chats

Constructor: notificationSettings

Back to constructors index

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, }