* * *

Author Topic: Telegram plugin to brookframwork  (Read 260 times)

Renat.Su

  • New member
  • *
  • Posts: 22
    • Renat.Su
Telegram plugin to brookframwork
« on: November 15, 2017, 11:32:10 am »
I'm writing a class to work with telegram API as plugin to BrookFramework.
https://github.com/Al-Muhandis/brook-telegram
There is also depends from library fp-telegram that I am also actively developing now. The library functionality is still small, but it is working. In the examples folder you can find a working example of a Fast-cgi application HelloWorld. For those who have any online service or website, developed on the Brookframework then can add telegram bot TBrookAction to your website.
Please write if you find bugs, tips or want to join the development
« Last Edit: December 12, 2017, 12:57:10 pm by Renat.Su »

Renat.Su

  • New member
  • *
  • Posts: 22
    • Renat.Su
Re: Telegram plugin to brookframwork
« Reply #1 on: December 12, 2017, 12:56:30 pm »
fp-telegram: Added Long Polling to receive updates in addition to Webhook that I already use. Not much testing, because for me it is more convenient only webhook.
But for those who do not want to bother with writing web applications a good option is writing a desktop [or console or service] application to work with the Telegram Bot API. In this case, you can get updates with long polling (even short polling for testing). [Personally, I do not like this method, the only useful application when you do not want or can not install a webhook]
/ EXAMPLES /: Added simple ready-made examples for showing how longpolling works. A multithreaded version and example quite simple without threads (see getMe) https://github.com/Al-Muhandis/fp-telegram/tree/master/examples
brook-telegram: adapted the library to work with brookframework 3.9.9 ...
Also I hope that someone will join the project;)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus