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,12 +70,6 @@ 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 - 79 79 {{code language="Lua"}} 80 80 local tempBit = 0 81 81 local tempWord = 0 ... ... @@ -220,14 +220,10 @@ 220 220 end 221 221 {{/code}} 222 222 223 -== **1.7 Twilio WhatsApp Messaging** == 217 +== **1.7 Twilio WhatsApp Messaging** == 224 224 225 -This example shows how to use the Twilio API to send WhatsApp message to private number. When monitoring bit "@test Bit" changes, it will trigger and send the message. Please replace with your own SID, Token, twilioPhoneNumber and receiverPhoneNumber.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. 226 226 227 -About how to register the Twilio API, please check the following video: 228 - 229 -[[https:~~/~~/www.youtube.com/watch?v=Id4lKichauU>>https://www.youtube.com/watch?v=Id4lKichauU]] 230 - 231 231 {{code language="Lua"}} 232 232 local tempBit = 0 233 233 local tempWord = 0 ... ... @@ -236,8 +236,8 @@ 236 236 local json = require("json") 237 237 local ltn12 = require("ltn12") 238 238 239 -local SID = 'AC1703bd710ffa98006d2bcc0b ********'240 -local Token = 'd3c11897623c39e538b20263ec19 ****'229 +local SID = 'AC1703bd710ffa98006d2bcc0b8d6ca63a' 230 +local Token = 'd3c11897623c39e538b20263ec190ae0' 241 241 242 242 local twilioPhoneNumber = '+14155238886' 243 243 local receiverPhoneNumber = '+8615880018277'