-
Notifications
You must be signed in to change notification settings - Fork 379
How to accept message? #43
Comments
Start from reading Telegram Api, if you want to contribute I can guide you
|
I can offer you to write a income message, of course not free. I really need that this function was TLsharrp. :( |
Not get fully what you mean =) To start recieveing messages from telegram 2015-12-22 13:52 GMT+03:00 AugerSoft notifications@github.com:
Best regards, Ilya (http://sochix.ru) |
Я добавил обработку сообщений, но в метод HandleUpdate он падает только при подключении. Как сделать: проверять по таймауту каждые n секунд или есть более кошерный способ? |
first of all thank you for your TLSharp, it's awsome I have same problem, how can I subscribing to updates? https://core.telegram.org/api/updates it is not clear how to subscribes? Please somebody help me to implement handling updates to get new messages? |
@ibgithub to implement updates you have to implement multithreating in core. in this case i mean you have to active stream and listen for incoming messages Telegram sends the update events for 10 active sessions of accounts so you don't need to do anything to subscribe on that. you only need to receive the data from telegram or listen on Stream to get incoming messages again and again and then parse that message to it is constructions |
@DrEhsan, How to implement multithreading in Telegram core? or to active stream and listen for incoming messages? Is there any link for doing that? there is no method for doing that in https://core.telegram.org/methods |
I understand that this is not realized , but how do I implement the event to receive messages ?
The text was updated successfully, but these errors were encountered: