Class TdApi.GetChatBoostLinkInfo

Enclosing class:
TdApi

public static class TdApi.GetChatBoostLinkInfo extends TdApi.Function<TdApi.ChatBoostLinkInfo>
Returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost.

Returns ChatBoostLinkInfo

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    The link to boost a chat.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns information about a link to boost a chat.
    Creates a function, which returns 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 dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

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

    • url

      public String url
      The link to boost a chat.
    • CONSTRUCTOR

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

    • GetChatBoostLinkInfo

      public GetChatBoostLinkInfo()
      Default constructor for a function, which returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost.

      Returns ChatBoostLinkInfo

    • GetChatBoostLinkInfo

      public GetChatBoostLinkInfo(String url)
      Creates a function, which returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost.

      Returns ChatBoostLinkInfo

      Parameters:
      url - The link to boost a chat.
  • 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