send_notifications
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
send_notifications [2022/01/04 10:35] – [SendTelegramMessage(chatId, message)] emozolyak | send_notifications [2023/10/02 11:37] (current) – [SendSMS(phone_number, message)] emozolyak | ||
---|---|---|---|
Line 2: | Line 2: | ||
==== SendSMS(phone_number, | ==== SendSMS(phone_number, | ||
+ | <WRAP center round alert 60%> | ||
+ | Starting September 1, 2023, support for sending messages has been discontinued. Please use SendTelegramMsg function instead. | ||
+ | </ | ||
+ | |||
The SendSMS function sends a request to send an SMS to the number **phone_number** with the text **message**. Returns false if an error occurred and true if successful. Success does not mean delivering a message, but only success when creating a query. This function requires an Internet connection, an account in [[http:// | The SendSMS function sends a request to send an SMS to the number **phone_number** with the text **message**. Returns false if an error occurred and true if successful. Success does not mean delivering a message, but only success when creating a query. This function requires an Internet connection, an account in [[http:// | ||
Line 29: | Line 33: | ||
Example: | Example: | ||
- | {{ : | + | {{ network: |
<wrap em> | <wrap em> | ||
Line 37: | Line 41: | ||
To get ChatId, go to [[http:// | To get ChatId, go to [[http:// | ||
- | {{ : | + | {{ network: |
You will be taken to the public WebHMI account. Go to the personal messages of the public account by clicking the button at the top right. | You will be taken to the public WebHMI account. Go to the personal messages of the public account by clicking the button at the top right. | ||
- | {{ : | + | {{ network: |
Write any text in the chat. In response you will receive a message with a unique chatId chat ID. | Write any text in the chat. In response you will receive a message with a unique chatId chat ID. | ||
- | {{ : | + | {{ network: |
send_notifications.1641292504.txt.gz · Last modified: 2022/01/04 10:35 by emozolyak