Class TdApi.ForumTopicInfo

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ForumTopicInfo
Enclosing class:
TdApi

public static class TdApi.ForumTopicInfo extends TdApi.Object
Contains basic information about a forum topic.
  • Field Details

    • chatId

      public long chatId
      Identifier of the forum chat to which the topic belongs.
    • forumTopicId

      public long forumTopicId
      Forum topic identifier of the topic.
    • messageThreadId

      public long messageThreadId
      Message thread identifier of the topic.
    • name

      public String name
      Name of the topic.
    • icon

      public TdApi.ForumTopicIcon icon
      Icon of the topic.
    • creationDate

      public int creationDate
      Point in time (Unix timestamp) when the topic was created.
    • creatorId

      public TdApi.MessageSender creatorId
      Identifier of the creator of the topic.
    • isGeneral

      public boolean isGeneral
      True, if the topic is the General topic list.
    • isOutgoing

      public boolean isOutgoing
      True, if the topic was created by the current user.
    • isClosed

      public boolean isClosed
      True, if the topic is closed. If the topic is closed, then the user must have canManageTopics administrator right in the supergroup or must be the creator of the topic to send messages there.
    • isHidden

      public boolean isHidden
      True, if the topic is hidden above the topic list and closed; for General topic only.
    • CONSTRUCTOR

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

    • ForumTopicInfo

      public ForumTopicInfo()
      Contains basic information about a forum topic.
    • ForumTopicInfo

      public ForumTopicInfo(long chatId, long forumTopicId, long messageThreadId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden)
      Contains basic information about a forum topic.
      Parameters:
      chatId - Identifier of the forum chat to which the topic belongs.
      forumTopicId - Forum topic identifier of the topic.
      messageThreadId - Message thread identifier of the topic.
      name - Name of the topic.
      icon - Icon of the topic.
      creationDate - Point in time (Unix timestamp) when the topic was created.
      creatorId - Identifier of the creator of the topic.
      isGeneral - True, if the topic is the General topic list.
      isOutgoing - True, if the topic was created by the current user.
      isClosed - True, if the topic is closed. If the topic is closed, then the user must have canManageTopics administrator right in the supergroup or must be the creator of the topic to send messages there.
      isHidden - True, if the topic is hidden above the topic list and closed; for General topic only.
  • 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.Object
      Returns:
      this.CONSTRUCTOR