Class TdApi.ReadAllForumTopicMentions

Enclosing class:
TdApi

public static class TdApi.ReadAllForumTopicMentions extends TdApi.Function<TdApi.Ok>
Marks all mentions in a topic in a forum supergroup chat as read.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • forumTopicId

      public int forumTopicId
      Forum topic identifier in which mentions are marked as read.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ReadAllForumTopicMentions

      public ReadAllForumTopicMentions()
      Default constructor for a function, which marks all mentions in a topic in a forum supergroup chat as read.

      Returns Ok

    • ReadAllForumTopicMentions

      public ReadAllForumTopicMentions(long chatId, int forumTopicId)
      Creates a function, which marks all mentions in a topic in a forum supergroup chat as read.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      forumTopicId - Forum topic identifier in which mentions are marked as read.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR