Package org.drinkless.tdlib
Class TdApi.SetChatNotificationSettings
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetChatNotificationSettings
-
- Enclosing class:
- TdApi
public static class TdApi.SetChatNotificationSettings extends TdApi.Function
Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.ChatNotificationSettingsnotificationSettingsNew notification settings for the chat.
-
Constructor Summary
Constructors Constructor 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.
-
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.
-
notificationSettings
public TdApi.ChatNotificationSettings notificationSettings
New notification settings for the chat. If the chat is muted for more than 1 week, it is considered to be muted forever.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetChatNotificationSettings
public SetChatNotificationSettings()
Default constructor for a function, which changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed.Returns
Ok
-
SetChatNotificationSettings
public SetChatNotificationSettings(long chatId, TdApi.ChatNotificationSettings notificationSettings)Creates a function, which changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed.Returns
Ok- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-