SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotClickDialogButtonRequest

    BotClickDialogButtonRequest: Message<"soulfire.v1.BotClickDialogButtonRequest"> & {
        botId: string;
        buttonIndex: number;
        instanceId: string;
    }

    Request to click a button in the current dialog.

    Type Declaration

    • botId: string

      The profile UUID of the bot clicking the button.

      from field: string bot_id = 2;

    • buttonIndex: number

      Index of the button to click. For NOTICE: 0 for the action button For CONFIRMATION: 0 for yes, 1 for no For MULTI_ACTION: index into the actions list Special value: -1 to close/escape the dialog

      from field: int32 button_index = 3;

    • instanceId: string

      The UUID of the SoulFire instance containing the bot.

      from field: string instance_id = 1;

    from message soulfire.v1.BotClickDialogButtonRequest