public static class TdApi.ToggleChatDefaultDisableNotification 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.
|
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() |
toString
public 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()
getConstructor
in class TdApi.Function