SetGameScoreByChatId

@Serializable
data class SetGameScoreByChatId(val userId: UserId, val score: Long, val chatId: IdChatIdentifier, val messageId: MessageId, val force: Boolean = false, val disableEditMessage: Boolean = false) : SetGameScore, MessageAction

Constructors

Link copied to clipboard
constructor(userId: UserId, score: Long, chatId: IdChatIdentifier, messageId: MessageId, force: Boolean = false, disableEditMessage: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: IdChatIdentifier
Link copied to clipboard
@SerialName(value = "disable_edit_message")
open override val disableEditMessage: Boolean = false
Link copied to clipboard
@SerialName(value = "force")
open override val force: Boolean = false
Link copied to clipboard
@SerialName(value = "message_id")
open override val messageId: MessageId
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@SerialName(value = "score")
open override val score: Long
Link copied to clipboard
@SerialName(value = "user_id")
open override val userId: UserId

Functions

Link copied to clipboard
open override fun method(): String