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.
    • isOutgoing

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

      public boolean isClosed
      True, if the topic is closed.
    • 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 isOutgoing, boolean isClosed)
      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.
      isOutgoing - boolean True, if the topic was created by the current user.
      isClosed - boolean True, if the topic is closed.
    • ForumTopicInfo

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