class Telegram::API::GameHighScore

Overview

This object represents one row of the high scores table for a game.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(position : Int32, user : User, score : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

This object represents one row of the high scores table for a game.


[View source]

Instance Method Detail

def position : Int32 #

Position in high score table for the game


[View source]
def position=(position : Int32) #

Position in high score table for the game


[View source]
def score : Int32 #

Score


[View source]
def score=(score : Int32) #

Score


[View source]
def user : User #

User


[View source]
def user=(user : User) #

User


[View source]