@warsam-e/echo
    Preparing search index...

    Function create_scrollable

    • Creating an instance of Scrollable.

      See ScrollableData for required/available options.

      Type Parameters

      Parameters

      Returns Promise<void>

      import {Command, create_scrollable} from 'echo';

      new Command({...})
      .addHandler("chat_input", (bot, int) => create_scrollable({
      int,
      data: () => [{title: "foo"}, {title: "bar"}],
      match: (v) => ({
      content: `## ${v.title}`
      })
      }));