Package org.drinkless.tdlib
Class TdApi.SetForumTopicNotificationSettings
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetForumTopicNotificationSettings
- Enclosing class:
- TdApi
Changes the notification settings of a forum topic.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longMessage thread identifier of the forum topic.New notification settings for the forum topic. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the notification settings of a forum topic.SetForumTopicNotificationSettings(long chatId, long messageThreadId, TdApi.ChatNotificationSettings notificationSettings) Creates a function, which changes the notification settings of a forum topic. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetForumTopicNotificationSettings
public SetForumTopicNotificationSettings()Default constructor for a function, which changes the notification settings of a forum topic.Returns
Ok -
SetForumTopicNotificationSettings
public SetForumTopicNotificationSettings(long chatId, long messageThreadId, TdApi.ChatNotificationSettings notificationSettings) Creates a function, which changes the notification settings of a forum topic.Returns
Ok- Parameters:
chatId- Chat identifier.messageThreadId- Message 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-