SwitchInlineQueryChosenChat

@Serializable
data class SwitchInlineQueryChosenChat(val query: String? = null, val allowUsers: Boolean = false, val allowBots: Boolean = false, val allowGroups: Boolean = false, val allowChannels: Boolean = false)

Constructors

Link copied to clipboard
constructor(query: String? = null, allowUsers: Boolean = false, allowBots: Boolean = false, allowGroups: Boolean = false, allowChannels: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "allow_bot_chats")
@EncodeDefault
val allowBots: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_channel_chats")
@EncodeDefault
val allowChannels: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_group_chats")
@EncodeDefault
val allowGroups: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_user_chats")
@EncodeDefault
val allowUsers: Boolean = false
Link copied to clipboard
@SerialName(value = "query")
val query: String? = null