public static class TdApi.SetChatNotificationSettings extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatNotificationSettings |
notificationSettings
New notification settings for the chat.
|
| Constructor and Description |
|---|
SetChatNotificationSettings()
Default constructor for a function, which changes the notification settings of a chat.
|
SetChatNotificationSettings(long chatId,
TdApi.ChatNotificationSettings notificationSettings)
Creates a function, which changes the notification settings of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.ChatNotificationSettings notificationSettings
public static final int CONSTRUCTOR
public SetChatNotificationSettings()
Returns Ok
public SetChatNotificationSettings(long chatId,
TdApi.ChatNotificationSettings notificationSettings)
Returns Ok
chatId - Chat identifier.notificationSettings - New notification settings for the chat. If the chat is muted for more than 366 days, it is considered to be muted forever.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object