Recent

Author Topic: Telegram bots API Wrapper  (Read 35447 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: 232
    • 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: 232
    • 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: 232
    • 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: 232
    • Renat.Su

Renat.Su

  • Full Member
  • ***
  • Posts: 232
    • 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

Renat.Su

  • Full Member
  • ***
  • Posts: 232
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #53 on: April 14, 2024, 03:33:35 pm »
Implemented featers (https://github.com/Al-Muhandis/fp-telegram/commit/7674bc4841199c3a1f32ebaaa5ce7f6f3344c056): Bot for business https://core.telegram.org/bots/features#bots-for-business

What does it mean? Using the lib, you can listen to business connections for the bot, process business messages, and even send messages on behalf of the user by the bot.

PierceNg

  • Sr. Member
  • ****
  • Posts: 377
    • SamadhiWeb
Re: Telegram bots API Wrapper
« Reply #54 on: April 14, 2024, 03:44:35 pm »
I'm using the tgsendertypes unit to send output from a daily cron job to a group. Good stuff! Thank you.

Renat.Su

  • Full Member
  • ***
  • Posts: 232
    • Renat.Su
Re: Telegram bots API Wrapper
« Reply #55 on: April 15, 2024, 10:54:26 am »
I'm using the tgsendertypes unit to send output from a daily cron job to a group. Good stuff! Thank you.
Thanks )

Feedback and suggestions for improvement are welcome

 

TinyPortal © 2005-2018