Raw.messages.SetInlineGameScore

Raw.messages.SetInlineGameScore

Use this method to set the score of the specified user in a game sent as an inline message (bots only).

messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
export namespace Raw {
  export namespace messages {
    export class SetInlineGameScore {
      constructor(params: {
        editMessage?: boolean;
        force?: boolean;
        id: Raw.TypeInputBotInlineMessageID;
        userId: Raw.TypeInputUser;
        score: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x15ad9f64

Property

Results

boolean

Bots can use