Module tdlight.api

Class TdApi.ForumTopicInfo

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ForumTopicInfo
Enclosing class:
TdApi

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

    • 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
      Date 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.
    • 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
      See Also:
  • Constructor Details

    • ForumTopicInfo

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

      public ForumTopicInfo(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:
      messageThreadId - long Message thread identifier of the topic.
      name - String Name of the topic.
      icon - ForumTopicIcon Icon of the topic.
      creationDate - int Date the topic was created.
      creatorId - MessageSender Identifier of the creator of the topic.
      isGeneral - boolean True, if the topic is the General topic list.
      isOutgoing - boolean True, if the topic was created by the current user.
      isClosed - boolean True, if the topic is closed.
      isHidden - boolean True, if the topic is hidden above the topic list and closed; for General topic only.
    • ForumTopicInfo

      public ForumTopicInfo(DataInput input) throws IOException
      Contains basic information about a forum topic.
      Throws:
      IOException
  • Method Details