2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.requests.games
|
|
|
|
|
2019-02-07 03:25:49 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.ByInlineMessageId
|
2018-12-26 08:07:24 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.games.abstracts.SetGameScore
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
2019-04-13 02:21:19 +00:00
|
|
|
import kotlinx.serialization.SerialName
|
|
|
|
import kotlinx.serialization.Serializable
|
2018-12-26 08:07:24 +00:00
|
|
|
|
|
|
|
@Serializable
|
|
|
|
data class SetGameScoreByInlineMessageId (
|
|
|
|
@SerialName(userIdField)
|
|
|
|
override val userId: UserId,
|
|
|
|
@SerialName(scoreField)
|
|
|
|
override val score: Long,
|
|
|
|
@SerialName(inlineMessageIdField)
|
|
|
|
override val inlineMessageId: InlineMessageIdentifier,
|
|
|
|
@SerialName(forceField)
|
|
|
|
override val force: Boolean = false,
|
|
|
|
@SerialName(disableEditMessageField)
|
|
|
|
override val disableEditMessage: Boolean = false
|
|
|
|
) : SetGameScore, ByInlineMessageId
|