-
Notifications
You must be signed in to change notification settings - Fork 4
Scope
Abdi Urgessa edited this page Feb 18, 2024
·
3 revisions
refer scope for more
bot.use((ctx) => {
let cmd = [
{
command: "start",
description: "Starting The bot",
},
{
command: "inlinekeyboard",
description: "Sending inline keyboards",
},
];
let scope = {
type: "default",
};
ctx.setMyCommands({ commands: cmd, scope: scope });
});
- Manager Classes:
- Mail:
- Google Spreadsheet:
- Best Practice:
- Getting Updates:
- Example Types:
- Example Bots: