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
Author:
Natanim
  • Field Details

    • id

      private String id
      Unique identifier of the business connection
    • user

      private User user
      Business account user that created the business connection
    • userChatId

      @SerializedName("user_chat_id") private Long userChatId
      Identifier of a private chat with the user who created the business connection
    • date

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

      private BusinessBotRights rights
      Optional. Rights of the business bot
    • isEnabled

      @SerializedName("is_enabled") private Boolean isEnabled
      True, if the connection is active
  • Constructor Details

    • BusinessConnection

      public BusinessConnection()
  • Method Details