Class TdApi.SetBusinessLocation

Enclosing class:
TdApi

public static class TdApi.SetBusinessLocation extends TdApi.Function<TdApi.Ok>
Changes the business location of the current user. Requires Telegram Business subscription.

Returns Ok

  • Field Details

    • location

      public TdApi.BusinessLocation location
      The new location of the business; pass null to remove the location.
    • CONSTRUCTOR

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

    • SetBusinessLocation

      public SetBusinessLocation()
      Default constructor for a function, which changes the business location of the current user. Requires Telegram Business subscription.

      Returns Ok

    • SetBusinessLocation

      public SetBusinessLocation(TdApi.BusinessLocation location)
      Creates a function, which changes the business location of the current user. Requires Telegram Business subscription.

      Returns Ok

      Parameters:
      location - The new location of the business; pass null to remove the location.
  • 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