mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-01 07:25:23 +00:00
20 lines
596 B
Kotlin
20 lines
596 B
Kotlin
package dev.inmo.tgbotapi.types.buttons.InlineKeyboardButtons
|
|
|
|
import dev.inmo.tgbotapi.types.*
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class SwitchInlineQueryChosenChat(
|
|
@SerialName(queryField)
|
|
val query: String? = null,
|
|
@SerialName(allowUserChatsField)
|
|
val allowUsers: Boolean? = null,
|
|
@SerialName(allowBotChatsField)
|
|
val allowBots: Boolean? = null,
|
|
@SerialName(allowGroupChatsField)
|
|
val allowGroups: Boolean? = null,
|
|
@SerialName(allowChannelChatsField)
|
|
val allowChannels: Boolean? = null,
|
|
)
|