Class TdApi.SetBusinessAccountBio

Enclosing class:
TdApi

public static class TdApi.SetBusinessAccountBio extends TdApi.Function<TdApi.Ok>
Changes the bio of a business account; for bots only.

Returns Ok

  • Field Details

    • businessConnectionId

      public String businessConnectionId
      Unique identifier of business connection.
    • bio

      public String bio
      The new value of the bio; 0-getOption("bio_length_max") characters without line feeds.
    • CONSTRUCTOR

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

    • SetBusinessAccountBio

      public SetBusinessAccountBio()
      Default constructor for a function, which changes the bio of a business account; for bots only.

      Returns Ok

    • SetBusinessAccountBio

      public SetBusinessAccountBio(String businessConnectionId, String bio)
      Creates a function, which changes the bio of a business account; for bots only.

      Returns Ok

      Parameters:
      businessConnectionId - Unique identifier of business connection.
      bio - The new value of the bio; 0-getOption("bio_length_max") characters without line feeds.
  • 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