Options
All
  • Public
  • Public/Protected
  • All
Menu

Set Game Score API Payload.

Hierarchy

  • ISetGameScorePayload

Index

Properties

Optional chat_id

chat_id: number

Required if inline_message_id is not specified. Unique identifier for the target chat.

Optional disable_edit_message

disable_edit_message: boolean

Pass True, if the game message should not be automatically edited to include the current scoreboard.

Optional force

force: boolean

Pass True, if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters.

Optional inline_message_id

inline_message_id: string

Required if chat_id and message_id are not specified. Identifier of the inline message.

Optional message_id

message_id: number

Required if inline_message_id is not specified. Identifier of the sent message.

score

score: number

New score, must be non-negative.

user_id

user_id: number

User identifier.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc