From 989445d5c2f3c8ade9ffa79c21065d1f6738b10a Mon Sep 17 00:00:00 2001 From: viegener <> Date: Sat, 25 Jun 2016 14:45:00 +0000 Subject: [PATCH] 50_TelegramBot: minor doc change git-svn-id: https://svn.fhem.de/fhem/trunk@11714 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/50_TelegramBot.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/50_TelegramBot.pm b/fhem/FHEM/50_TelegramBot.pm index 5ecc462fd..8f72eb939 100644 --- a/fhem/FHEM/50_TelegramBot.pm +++ b/fhem/FHEM/50_TelegramBot.pm @@ -2619,7 +2619,7 @@ sub TelegramBot_BinaryFileWrite($$$) {
sendImage|image [ @<peer1> ... @<peerN>] <file> [<caption>]
sendMedia|sendDocument [ @<peer1> ... @<peerN>] <file>
favorites <list of commands>
favorite
and this attribute is set to a value of
get lights status; /light=set lights on; /dark[Make it dark]=set lights off; /heating=set heater; /[status]=get heater status;
get lights status; /light=?set lights on; /dark=set lights off; ?set heater;
/alias[description]=command
where the alias can be empty or /alias=command
or just the command
. In any case the command can be also prefixed with a '?'.
+ Meaning the full format for a single favorite is /alias[description]=command
where the alias can be empty or /alias=command
or just the command
. In any case the command can be also prefixed with a '?'. Spaces are only allowed in the description and the command, usage of spaces in other areas might lead to wrong interpretation of the definition. Spaces and also many other characters are not supported in the alias commands by telegram, so if you want to have your favorite/alias directly recognized in then telegram app, restriction to letters, digits and underscore is required.