Class BusinessConnection
java.lang.Object
io.github.natanimn.telebof.types.updates.BusinessConnection
- All Implemented Interfaces:
TelegramUpdate
Describes the connection of the bot with a business account.
- Since:
- 3 March 2025
- Author:
- Natanim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerDate the connection was established in Unix timeprivate StringUnique identifier of the business connectionprivate BooleanTrue, if the connection is activeprivate BusinessBotRightsOptional.private UserBusiness account user that created the business connectionprivate LongIdentifier of a private chat with the user who created the business connection -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Unique identifier of the business connection -
user
Business account user that created the business connection -
userChatId
Identifier of a private chat with the user who created the business connection -
date
Date the connection was established in Unix time -
rights
Optional. Rights of the business bot -
isEnabled
True, if the connection is active
-
-
Constructor Details
-
BusinessConnection
public BusinessConnection()
-
-
Method Details