Http Request

bazuka246

New member
Hey, I am trying to post a message to my telegram channel but it seems it isn't working for me. What I have done is
1. Select Https as post
2. Set the url - https://api.telegram.org/bot%tg_token/sendmessage?chat_id=%tg_id&text=%text
3. %tg_token - 5828929298388_f839992992 (example) (here the variable I set it as String type)
4. %tg_id - -100083900199 (string type)
5. %text - anything
And now when I am just executing the action part, it isn't working.

Help me if anyone have tried to work through this.
 

Endercraft

Moderator (& bug finder :D)
In MacroDroid to use a variable you use [lv=variablename] or {lv=varname}
lv stands for local variable, if you want to use global variable use [v=varname] instead.
You can click the ... icon on the right of most action to select a magic text without writing it.
%varname is only used in the plugin trigger and action.
 

bazuka246

New member
1000029295.pngwhat am I doing wrong here? I tried to test actions but can't see any message on telegram means there is still some error
 
Top