2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.requests.games
|
|
|
|
|
2019-04-16 08:45:20 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types.InlineMessageAction
|
2018-12-26 08:07:24 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.games.abstracts.GetGameHighScores
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
2019-12-02 08:35:37 +00:00
|
|
|
import kotlinx.serialization.*
|
2018-12-26 08:07:24 +00:00
|
|
|
|
|
|
|
@Serializable
|
|
|
|
data class GetGameHighScoresByInlineMessageId (
|
|
|
|
@SerialName(userIdField)
|
|
|
|
override val userId: UserId,
|
|
|
|
@SerialName(inlineMessageIdField)
|
|
|
|
override val inlineMessageId: InlineMessageIdentifier
|
2019-12-02 08:35:37 +00:00
|
|
|
) : GetGameHighScores, InlineMessageAction {
|
|
|
|
override val requestSerializer: SerializationStrategy<*>
|
|
|
|
get() = serializer()
|
|
|
|
}
|