1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/notificationSettingsForChat.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

864 B

title description
notificationSettingsForChat Notification settings applied to particular chat

Constructor: notificationSettingsForChat

Back to constructors index

Notification settings applied to particular chat

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier

Type: NotificationSettingsScope

Example:

$notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long];

PWRTelegram json-encoded version:

{"_": "notificationSettingsForChat", "chat_id": long}

Or, if you're into Lua:

notificationSettingsForChat={_='notificationSettingsForChat', chat_id=long}