public static class TdApi.ToggleChatDefaultDisableNotification 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.
|
boolean |
defaultDisableNotification
New value of defaultDisableNotification.
|
| Constructor and Description |
|---|
ToggleChatDefaultDisableNotification()
Default constructor for a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.
|
ToggleChatDefaultDisableNotification(long chatId,
boolean defaultDisableNotification)
Creates a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean defaultDisableNotification
public static final int CONSTRUCTOR
public ToggleChatDefaultDisableNotification()
Returns Ok
public ToggleChatDefaultDisableNotification(long chatId,
boolean defaultDisableNotification)
Returns Ok
chatId - Chat identifier.defaultDisableNotification - New value of defaultDisableNotification.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object