Functions

This is the public API reference. Choose a function from the navigation pane to see the documentation.

Note: There are several functions that have a blocking and a non blocking (Async postfix) implementation. Because of limitations regarding Metatrader MQL the Telegram 4 MQL library internally creates threads to achieve non blocking operations. The advantage of a non blocking call is that the parent MQL code can quickly resume to the next instuctions while the thread, that the library created, works in the background until it finishes. The downside of this is, that you will only get a notification if the thread was successfully invoked, but not if it ended with success.

If you do not care about the delay that the working thread causes, you can use the blocking implementation of the function that will wait for the thread to finish and tell you if it ended with success. This way you can evaluate the result in MQL and react on it.