1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-21 15:53:47 +00:00

fix method in EditChatMessageText

This commit is contained in:
InsanusMokrassar 2019-01-21 09:06:58 +08:00
parent f8746e4555
commit 65a226a51b

View File

@ -30,6 +30,6 @@ data class EditChatMessageText(
override val replyMarkup: InlineKeyboardMarkup? = null
) : EditChatMessage, EditTextChatMessage, EditReplyMessage, EditDisableWebPagePreviewMessage {
override fun method(): String = editMessageMediaMethod
override fun method(): String = editMessageTextMethod
override fun resultSerializer(): KSerializer<RawMessage> = RawMessage.serializer()
}