How to use the puregram.InlineKeyboard.textButton function in puregram

To help you get started, we’ve selected a few puregram examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nitreojs / puregram / docs / examples / keyboards.js View on Github external
InlineKeyboard.textButton({
          text: 'Payload button',
          payload: { payload: true },
        }),
      ],

      [
        InlineKeyboard.textButton({
          text: 'This',
        }),

        InlineKeyboard.textButton({
          text: 'is',
        }),

        InlineKeyboard.textButton({
          text: 'epic!',
        }),
      ],
    ]),
  });
});