Class GameHighScore
This object represents one row of the high scores table for a game.
Inheritance
System.Object
GameHighScore
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Game
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class GameHighScore
Properties
| Improve this Doc View SourcePosition
Position in high score table for the game
Declaration
[JsonProperty(PropertyName = "position", Required = Required.Always)]
public int Position { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Score
Score
Declaration
[JsonProperty(PropertyName = "score", Required = Required.Always)]
public int Score { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
User
User
Declaration
[JsonProperty(PropertyName = "user", Required = Required.Always)]
public User User { get; set; }
Property Value
Type | Description |
---|---|
User |