Last active
June 29, 2023 00:22
-
-
Save iambibhas/dc94e1bf8ac988aabea67d4f3f493706 to your computer and use it in GitHub Desktop.
Tasker recipe to forward SMS to Telegram group
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskerData sr="" dvi="1" tv="5.8.3"> | |
<Profile sr="prof2" ve="2"> | |
<cdate>1565066300570</cdate> | |
<edate>1567394645768</edate> | |
<id>2</id> | |
<mid0>3</mid0> | |
<nme>Bank SMS Forward</nme> | |
<Event sr="con0" ve="2"> | |
<code>7</code> | |
<pri>0</pri> | |
<Int sr="arg0" val="2"/> | |
<Str sr="arg1" ve="3"/> | |
<Str sr="arg2" ve="3"/> | |
</Event> | |
</Profile> | |
<Task sr="task3"> | |
<cdate>1565066317358</cdate> | |
<edate>1567394634674</edate> | |
<id>3</id> | |
<nme>Send Message To Telegram Grouo</nme> | |
<pri>6</pri> | |
<Action sr="act0" ve="7"> | |
<code>339</code> | |
<Bundle sr="arg0"> | |
<Vals sr="val"> | |
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%http_data | |
Data | |
Data that the server responded from the HTTP request.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%http_response_code | |
Response Code | |
The HTTP Code the server responded</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2>%http_headers() | |
Response Headers | |
The HTTP Headers the server sent in the response. Each header is in the 'key:value' format</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3>%http_response_length | |
Response Length | |
The size of the response in bytes</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES> | |
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type> | |
</Vals> | |
</Bundle> | |
<Int sr="arg1" val="1"/> | |
<Str sr="arg2" ve="3">https://api.telegram.org/bot{token}/sendMessage?chat_id={groupid}&text=%SMSRN: %SMSRB</Str> | |
<Str sr="arg3" ve="3"/> | |
<Str sr="arg4" ve="3"/> | |
<Str sr="arg5" ve="3"/> | |
<Str sr="arg6" ve="3"/> | |
<Str sr="arg7" ve="3"/> | |
<Int sr="arg8" val="30"/> | |
<Int sr="arg9" val="1"/> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%SMSRB</lhs> | |
<op>2</op> | |
<rhs>*8888*/*8888*</rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
</Task> | |
</TaskerData> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment