Building long messages

If there is no logical operator between two containers, then a + sign will be automatically put between them during code generation. We can add string values, which allows us to form different text. In this article, we will look at this concept in the context of sending messages to telegrams.

Look at the scheme below:

There is nothing between these containers, which means that a + operator will be put between the containers. In this scheme, the + operator is also explicitly used inside the containers to form a message. Note that all blocks of receiving information and all "value input" blocks were explicitly converted to a string value using the "regular string" format type block. It is not necessary to explicitly convert the "telegram new line" block to a regular string.

When the open volume by the specified symbol changes, a message, which is stored in the message variable, will be sent to the telegram bot

Last updated