Class TdApi.GetBusinessConnection

Enclosing class:
TdApi

public static class TdApi.GetBusinessConnection extends TdApi.Function<TdApi.BusinessConnection>
Returns information about a business connection by its identifier; for bots only.

Returns BusinessConnection

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Identifier of the business connection to return.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns information about a business connection by its identifier; for bots only.
    Creates a function, which returns information about a business connection by its identifier; for bots only.
  • 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.Function

    toString

    Methods inherited from class java.lang.Object

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

    • connectionId

      public String connectionId
      Identifier of the business connection to return.
    • CONSTRUCTOR

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

    • GetBusinessConnection

      public GetBusinessConnection()
      Default constructor for a function, which returns information about a business connection by its identifier; for bots only.

      Returns BusinessConnection

    • GetBusinessConnection

      public GetBusinessConnection(String connectionId)
      Creates a function, which returns information about a business connection by its identifier; for bots only.

      Returns BusinessConnection

      Parameters:
      connectionId - Identifier of the business connection to return.
  • 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