Interface InputInlineResultGame

Inline result containing a game.

If message is not passed, InputInlineMessageGame is used.

Note that message can only be InputInlineMessageGame

interface InputInlineResultGame {
    id: string;
    message?: InputInlineMessage;
    shortName: string;
    type: "game";
}

Hierarchy (view full)

Properties

id: string

Unique ID of the result

Message to send when the result is selected.

By default, is automatically generated, and details about how it is generated can be found in subclasses' description

shortName: string

Short name of the game

type: "game"