toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.business_connection
/
BusinessConnection
/
Disabled
Disabled
@
Serializable
data
class
Disabled
(
val
id
:
BusinessConnectionId
,
val
user
:
PreviewUser
,
val
userChatId
:
ChatId
,
val
date
:
TelegramDate
,
val
canReply
:
Boolean
)
:
BusinessConnection
Members
Constructors
Disabled
Link copied to clipboard
constructor
(
id
:
BusinessConnectionId
,
user
:
PreviewUser
,
userChatId
:
ChatId
,
date
:
TelegramDate
,
canReply
:
Boolean
)
Properties
business
Connection
Id
Link copied to clipboard
open
override
val
businessConnectionId
:
BusinessConnectionId
can
Reply
Link copied to clipboard
@
SerialName
(
value
=
"can_reply"
)
open
override
val
canReply
:
Boolean
date
Link copied to clipboard
@
SerialName
(
value
=
"date"
)
open
override
val
date
:
TelegramDate
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
BusinessConnectionId
is
Enabled
Link copied to clipboard
@
EncodeDefault
open
override
val
isEnabled
:
Boolean
=
false
user
Link copied to clipboard
@
SerialName
(
value
=
"user"
)
open
override
val
user
:
PreviewUser
user
Chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_chat_id"
)
open
override
val
userChatId
:
ChatId