Class BusinessConnection

java.lang.Object
io.github.natanimn.telebof.types.updates.BusinessConnection
All Implemented Interfaces:
TelegramUpdate

public class BusinessConnection extends Object implements TelegramUpdate
Describes the connection of the bot with a business account.
Since:
3 March 2025
  • Field Details

    • id

      public String id
      Unique identifier of the business connection
    • user

      public User user
      Business account user that created the business connection
    • user_Chat_id

      public Long user_Chat_id
      Identifier of a private chat with the user who created the business connection
    • date

      public Integer date
      Date the connection was established in Unix time
    • rights

      public BusinessBotRights rights
      Optional. Rights of the business bot
    • is_enabled

      public Boolean is_enabled
      True, if the connection is active
  • Constructor Details

    • BusinessConnection

      public BusinessConnection()
  • Method Details