fix in switchInlineQueryCurrentChat

This commit is contained in:
InsanusMokrassar committed 2019-06-01 17:31:48 +08:00
1 parent 4570df330b
commit 85b3f86746
3 files changed
+4 -1

No files matched your search

@@ -87,6 +87,7 @@ const val isClosedField = "is_closed"
const val loginUrlField = "login_url"
const val forwardTextField = "forward_text"
const val botUsernameField = "bot_username"
const val switchInlineQueryCurrentChatField = "switch_inline_query_current_chat"
const val requestWriteAccessField = "request_write_access"
@@ -1,11 +1,12 @@
package com.github.insanusmokrassar.TelegramBotAPI.types.buttons.InlineKeyboardButtons
import com.github.insanusmokrassar.TelegramBotAPI.types.switchInlineQueryCurrentChatField
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class SwitchInlineQueryCurrentChatInlineKeyboardButton(
override val text: String,
@SerialName("switch_inline_query_currentChat")
@SerialName(switchInlineQueryCurrentChatField)
val switchInlineQueryCurrentChat: String
) : InlineKeyboardButton