Anyway, a simple que so, I have smth like virtual garden there

is buy, sell, plant, harvest, see garden, see barn utility.
most have syntax /buy item amount
Its currently commands in all of them.
should i merge them in single one with buttons?

9 ответов

15 просмотров

you can use inline buttons (inlinereplymarkup), buttons have timeout for clicks

I don't find using commands with arguments convenient in telegram tbh. I'd rather use buttons

Ellipsis (...) | now upto ♾- Автор вопроса
Артем Уколов
you can use inline buttons (inlinereplymarkup), bu...

I mean, see, 1 message with 5 buttons vs 5 msgs. weird thing.

Ellipsis (...) | now upto ♾- Автор вопроса
Tim Nikolsky
I don't find using commands with arguments conveni...

thing is, its amount + item, then u need 5+rows, and 3 columns.

Ellipsis (...) | now upto ♾
I mean, see, 1 message with 5 buttons vs 5 msgs. w...

use placeholders (InlineKeyboardButton with switch inline query) ?

Ellipsis (...) | now upto ♾- Автор вопроса
Артем Уколов
use placeholders (InlineKeyboardButton with switch...

u mean like u first select plant then select amount right?

Tim Nikolsky
I don't find using commands with arguments conveni...

When you press on the command from the command list or from autocomplete, it sends the command instantly without letting you provide arguments. So I think it'll be better to have buttons and await for input in the chat

Похожие вопросы

Карта сайта