TgKit library and website are still in early development!

BusinessConnection Class

extends Base

Represents a message about a scheduled giveaway

Properties

canReply boolean

*true*, if the bot can act on behalf of the business account in chats that were active in the last 24 hours

See the code

client Client

See the code

date Date

Date the connection was established

See the code

id string

Unique identifier of the business connection

See the code

isEnabled boolean

*true*, if the connection is active

See the code

user User

Business account user that created the business connection

See the code

userChatId number

Identifier of a private chat with the user who created the business connection.

See the code