MMM-TelegramBot icon indicating copy to clipboard operation
MMM-TelegramBot copied to clipboard

favorites command - short description

Open chen32g opened this issue 4 years ago • 2 comments

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.

chen32g avatar Jan 09 '21 15:01 chen32g

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

bugsounet avatar Jan 09 '21 19:01 bugsounet

@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"]],
  1. 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

eouia avatar Jun 18 '24 18:06 eouia