- 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
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intNew notification settings for the chat. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-