toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons
/
SwitchInlineQueryChosenChat
Switch
Inline
Query
Chosen
Chat
@
Serializable
data
class
SwitchInlineQueryChosenChat
(
val
query
:
String
?
=
null
,
val
allowUsers
:
Boolean
=
false
,
val
allowBots
:
Boolean
=
false
,
val
allowGroups
:
Boolean
=
false
,
val
allowChannels
:
Boolean
=
false
)
Members
Constructors
Switch
Inline
Query
Chosen
Chat
Link copied to clipboard
constructor
(
query
:
String
?
=
null
,
allowUsers
:
Boolean
=
false
,
allowBots
:
Boolean
=
false
,
allowGroups
:
Boolean
=
false
,
allowChannels
:
Boolean
=
false
)
Properties
allow
Bots
Link copied to clipboard
@
SerialName
(
value
=
"allow_bot_chats"
)
@
EncodeDefault
val
allowBots
:
Boolean
=
false
allow
Channels
Link copied to clipboard
@
SerialName
(
value
=
"allow_channel_chats"
)
@
EncodeDefault
val
allowChannels
:
Boolean
=
false
allow
Groups
Link copied to clipboard
@
SerialName
(
value
=
"allow_group_chats"
)
@
EncodeDefault
val
allowGroups
:
Boolean
=
false
allow
Users
Link copied to clipboard
@
SerialName
(
value
=
"allow_user_chats"
)
@
EncodeDefault
val
allowUsers
:
Boolean
=
false
query
Link copied to clipboard
@
SerialName
(
value
=
"query"
)
val
query
:
String
?
=
null