Class TdApi.ChatBoostLinkInfo

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

public static class TdApi.ChatBoostLinkInfo extends TdApi.Object
Contains information about a link to boost a chat.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat to which the link points; 0 if the chat isn't found.
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if the link will work for non-members of the chat.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains information about a link to boost a chat.
    ChatBoostLinkInfo(boolean isPublic, long chatId)
    Contains information about a link to boost a chat.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • isPublic

      public boolean isPublic
      True, if the link will work for non-members of the chat.
    • chatId

      public long chatId
      Identifier of the chat to which the link points; 0 if the chat isn't found.
    • CONSTRUCTOR

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

    • ChatBoostLinkInfo

      public ChatBoostLinkInfo()
      Contains information about a link to boost a chat.
    • ChatBoostLinkInfo

      public ChatBoostLinkInfo(boolean isPublic, long chatId)
      Contains information about a link to boost a chat.
      Parameters:
      isPublic - True, if the link will work for non-members of the chat.
      chatId - Identifier of the chat to which the link points; 0 if the chat isn't found.
  • 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