- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
New notification settings for the chat. -
Constructor Summary
ConstructorDescriptionChanges the notification settings of a chat.SetChatNotificationSettings
(long chatId, TdApi.ChatNotificationSettings notificationSettings) Changes the notification settings of a chat.Changes the notification settings of a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
notificationSettings
New notification settings for the chat. If the chat is muted for more than 366 days, it is considered to be muted forever. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatNotificationSettings
public SetChatNotificationSettings()Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed. ReturnsOk
-
SetChatNotificationSettings
public SetChatNotificationSettings(long chatId, TdApi.ChatNotificationSettings notificationSettings) Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed. ReturnsOk
- Parameters:
chatId
- long Chat identifier.notificationSettings
- ChatNotificationSettings New notification settings for the chat. If the chat is muted for more than 366 days, it is considered to be muted forever.
-
SetChatNotificationSettings
Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-