public static class TdApi.SetChatNotificationSettings extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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 1 week, it is considered to be muted forever.public int getConstructor()
getConstructor
in class TdApi.Function