Recent

Author Topic: Telegram bots API Wrapper  (Read 30927 times)

bonmario

  • Sr. Member
  • ****
  • Posts: 346
Re: Telegram bots API Wrapper
« Reply #45 on: July 12, 2020, 08:08:01 am »
Thank you !!!
Now the source is compiled, as soon as I have the case, I will try to see if the sending of the messages still works correctly.

Hi Mario

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #46 on: October 18, 2021, 10:18:06 pm »
Added the library to OPM,
added methods sendVideoStream, sendPhotoStream, sendMediaGroup by FileNames and other improvements.
You can download the finished release in https://github.com/Al-Muhandis/fp-telegram/releases/tag/v0.0.2.5
Added a unit tgBot.pas for the extended functionality of the bot

bonmario

  • Sr. Member
  • ****
  • Posts: 346
Re: Telegram bots API Wrapper
« Reply #47 on: October 19, 2021, 08:22:01 am »
Thanks for your job.

Hi, Mario

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #48 on: October 19, 2021, 11:47:40 am »
Thanks for your job.

Hi, Mario
Thanks!

ELCouz

  • New Member
  • *
  • Posts: 11
Re: Telegram bots API Wrapper
« Reply #49 on: December 30, 2021, 07:09:03 pm »
Thank you all for that sweet library. I was reinventing the wheel with Telegram. Your solution is much cleaner than mine :)

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #50 on: December 31, 2021, 07:43:21 pm »
Thanks. Contact me if you have any questions

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su

Renat.Su

  • Full Member
  • ***
  • Posts: 230
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #52 on: December 09, 2023, 05:18:43 pm »
So, I made a design-time component.

DTLongPollBot is ready-made longpolling bot which you can use for the rapid developments of longpolling telegram bots. Look about longpolling here (https://github.com/Al-Muhandis/fp-telegram/wiki/How-to-step-by-step.-Creation-telegram-bot-in-Lazarus-(longpolling)). This component ca be used in GUI and non-GUI applications, daemons and services and even in web-server.

 In the DTLongPolBot component, thread control takes place inside the component and you do not have to worry about it: it will be enough to activate the receiver of this component.

Simple example: https://github.com/Al-Muhandis/fp-telegram/tree/master/examples/DesignTime

 

TinyPortal © 2005-2018