Skip to content

Instantly share code, notes, and snippets.

@asror797
Created February 17, 2024 15:35
Show Gist options
  • Save asror797/4c736409f2e641e7f6f5d78173944087 to your computer and use it in GitHub Desktop.
Save asror797/4c736409f2e641e7f6f5d78173944087 to your computer and use it in GitHub Desktop.
Telegraf.js
const { Markup, Extra } = require('telegraf');
Extra.markup(Markup.inlineKeyboard([
[
Markup.callbackButton('name button', 'data_button'),
Markup.callbackButton('another button', 'data_button'),
],
[
Markup.callbackButton('next row button', 'data_button')
],
])).markdown()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment