MMRIZE / MMM-TelegramBot

TelegramBot module for remote-controlling MagicMirror
MIT License
26 stars 8 forks source link

favorites command - short description #70

Open chen32g opened 3 years ago

chen32g commented 3 years ago

Hello,

There is a way to set the favorites commands a short description? For example if I set a favorites command that it's shell command - when I run /favor I can't see the all line because it's long. So if for every favorites command I can set a short description that will be great.

Thank you.

bugsounet commented 3 years ago

Good idea, I will see what can I do ;)

eouia commented 3 months ago

@chen32g It's a very, very late reply.

The custom keyboard cannot have a button caption or title, so it is impossible to show alias or description instead of the message itself.

Instead, I provide two helping options. 1) Multi-row buttons. It could be achieved by an Array of Array structure.

favourites:[["/commands blah blah blah blah blah blah blah"], ["/modules"], ["/hideall", "/showall"]],

2) And I provide a menu button to look around or search commands easily.

It will show the following;

IMG_27B441E34033-1

This feature is applied from 1.5.0