- Enclosing class:
- TdApi
Changes the notification settings of
a forum topic.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intlongMessage thread identifier of the forum topic.New notification settings for the forum topic. -
Constructor Summary
ConstructorsConstructorDescriptionChanges the notification settings of a forum topic.SetForumTopicNotificationSettings(long chatId, long messageThreadId, TdApi.ChatNotificationSettings notificationSettings) Changes the notification settings of a forum topic.Changes the notification settings of a forum topic. -
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. -
messageThreadId
public long messageThreadIdMessage thread identifier of the forum topic. -
notificationSettings
New notification settings for the forum topic. If the topic is muted for more than 366 days, it is considered to be muted forever. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetForumTopicNotificationSettings
public SetForumTopicNotificationSettings()Changes the notification settings of a forum topic. ReturnsOk -
SetForumTopicNotificationSettings
public SetForumTopicNotificationSettings(long chatId, long messageThreadId, TdApi.ChatNotificationSettings notificationSettings) Changes the notification settings of a forum topic. ReturnsOk- Parameters:
chatId- long Chat identifier.messageThreadId- long Message thread identifier of the forum topic.notificationSettings- ChatNotificationSettings New notification settings for the forum topic. If the topic is muted for more than 366 days, it is considered to be muted forever.
-
SetForumTopicNotificationSettings
Changes the notification settings of a forum topic. 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()
-