Changes for page 2 Script
Last modified by Devin Chen on 2025/06/06 14:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -70,6 +70,12 @@ 70 70 71 71 This example shows how to use the Bot API to send message into Telegram group or channel. When monitoring bit "@HDX" changes, it will trigger and send the message. Please replace with your own Token and chat id. 72 72 73 +As for How to get the botToken and chatID, please check the followig videos: 74 + 75 +[[https:~~/~~/www.youtube.com/watch?v=zh6yYlnjX7k>>https://www.youtube.com/watch?v=zh6yYlnjX7k]] 76 + 77 +[[https:~~/~~/www.youtube.com/watch?v=Pj8mwuMZZvg>>https://www.youtube.com/watch?v=Pj8mwuMZZvg]] 78 + 73 73 {{code language="Lua"}} 74 74 local tempBit = 0 75 75 local tempWord = 0 ... ... @@ -214,9 +214,9 @@ 214 214 end 215 215 {{/code}} 216 216 217 -== **1.7 223 +== **1.7 Twilio WhatsApp Messaging** == 218 218 219 -This example shows how to use the Twilio API to send WhatsApp message to private number. When monitoring bit "@test" changes, it will trigger and send the message. Please replace with your own SID, Token, twilioPhoneNumber and receiverPhoneNumber. 225 +This example shows how to use the Twilio API to send WhatsApp message to private number. When monitoring bit "@testBit" changes, it will trigger and send the message. Please replace with your own SID, Token, twilioPhoneNumber and receiverPhoneNumber. 220 220 221 221 {{code language="Lua"}} 222 222 local tempBit = 0 ... ... @@ -226,8 +226,8 @@ 226 226 local json = require("json") 227 227 local ltn12 = require("ltn12") 228 228 229 -local SID = 'AC1703bd710ffa98006d2bcc0b 8d6ca63a'230 -local Token = 'd3c11897623c39e538b20263ec19 0ae0'235 +local SID = 'AC1703bd710ffa98006d2bcc0b********' 236 +local Token = 'd3c11897623c39e538b20263ec19****' 231 231 232 232 local twilioPhoneNumber = '+14155238886' 233 233 local receiverPhoneNumber = '+8615880018277'