Package org.drinkless.tdlib
Class TdApi.ToggleChatDefaultDisableNotification
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ToggleChatDefaultDisableNotification
-
- Enclosing class:
- TdApi
public static class TdApi.ToggleChatDefaultDisableNotification extends TdApi.Function
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleandefaultDisableNotificationNew value of defaultDisableNotification.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
defaultDisableNotification
public boolean defaultDisableNotification
New value of defaultDisableNotification.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToggleChatDefaultDisableNotification
public ToggleChatDefaultDisableNotification()
Default constructor for a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.Returns
Ok
-
ToggleChatDefaultDisableNotification
public 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.Returns
Ok- Parameters:
chatId- Chat identifier.defaultDisableNotification- New value of defaultDisableNotification.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-