|
@ -34,7 +34,7 @@ thisdata_file="$(jq -r '.params.data_file // ""' < "${payload}")" |
|
|
[[ -n $thisdata_file && $thisthisdata_file != $data_file ]] && data_file="${thisdata_file}" |
|
|
[[ -n $thisdata_file && $thisthisdata_file != $data_file ]] && data_file="${thisdata_file}" |
|
|
from="$(jq -r '.params.from // ""' < "${payload}")" |
|
|
from="$(jq -r '.params.from // ""' < "${payload}")" |
|
|
trigger="$(jq -r '.params.trigger // ""' < "${payload}")" |
|
|
trigger="$(jq -r '.params.trigger // ""' < "${payload}")" |
|
|
text="$(jq '(.params.text // "${TEXT_FILE_CONTENT}")' < "${payload}")" |
|
|
|
|
|
|
|
|
text="$(jq -r '(.params.text // "${TEXT_FILE_CONTENT}")' < "${payload}")" |
|
|
thismsgtype="$(jq -r '.params.msgtype // ""' < "${payload}")" |
|
|
thismsgtype="$(jq -r '.params.msgtype // ""' < "${payload}")" |
|
|
[[ -n $thismsgtype && $thismsgtype != $msgtype ]] && msgtype="${thismsgtype}" |
|
|
[[ -n $thismsgtype && $thismsgtype != $msgtype ]] && msgtype="${thismsgtype}" |
|
|
|
|
|
|
|
|