- Enclosing class:
- TdApi
Changes the notification settings of
a forum topic.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
long
Message thread identifier of the forum topic.New notification settings for the forum topic. -
Constructor Summary
ConstructorDescriptionChanges 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
toString
Methods 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-