Interface PushMessageContentGameScore

A new high score was achieved in a game. Subtype of PushMessageContent.

interface PushMessageContentGameScore {
    @type: "pushMessageContentGameScore";
    is_pinned?: boolean;
    score: number;
    title: string;
}

Properties

@type: "pushMessageContentGameScore"
is_pinned?: boolean

True, if the message is a pinned message with the specified content.

score: number

New score, 0 for pinned message.

title: string

Game title, empty for pinned message.