send_notifications
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
send_notifications [2019/01/09 10:30] – created akuzmuk | send_notifications [2022/01/04 10:35] – [SendTelegramMessage(chatId, message)] emozolyak | ||
---|---|---|---|
Line 24: | Line 24: | ||
==== SendTelegramMessage(chatId, | ==== SendTelegramMessage(chatId, | ||
- | The SendTelegramMessage function sends a message with the text **message** to the chat with Id = **chatId**. Returns 1 if an error occurred and 0 if successful. Success does not mean delivering a message, but only success when creating a query. To use this function, you must have an Internet connection, an account in the [[Introduction to Level2 | + | The SendTelegramMessage function sends a message with the text **message** to the chat with Id = **chatId**. Returns 1 if an error occurred and 0 if successful. Success does not mean delivering a message, but only success when creating a query. To use this function, you must have an Internet connection, an account in the [[level2: |
To get ChatId, go to [[http:// | To get ChatId, go to [[http:// | ||
Line 31: | Line 31: | ||
{{ : | {{ : | ||
+ | <wrap em> | ||
==== SendViberMessage(chatId, | ==== SendViberMessage(chatId, | ||
The SendViberMessage function sends a message with the text ' | The SendViberMessage function sends a message with the text ' | ||
- | Success does not mean delivering a message, but only success when creating a query. To use this function, you must have a working Internet connection, an account in the system [[Introduction to Level2 | + | Success does not mean delivering a message, but only success when creating a query. To use this function, you must have a working Internet connection, an account in the system [[level2: |
To get ChatId, go to [[http:// | To get ChatId, go to [[http:// | ||
send_notifications.txt · Last modified: 2023/10/02 11:37 by emozolyak