-
Notifications
You must be signed in to change notification settings - Fork 18
Installation
fp-telegram can be installed directly from the Online Package Manager (OPM) in Lazarus.
There are two installation options available:
- From the OPM repository (stable version).
- From an external source (latest release from GitHub).
To install via OPM:
- Open Lazarus IDE.
- Go to Package → Online Package Manager.
- Search for fptelegram.
- Select the package and click Install.
- Restart Lazarus to apply the changes.

If you need the latest features and fixes, it's recommended to install fp-telegram from the GitHub repository.
-
Clone the repository or download the latest release:
git clone https://github.com/Al-Muhandis/fp-telegram.git
-
Open Lazarus and navigate to Package → Open Package File (.lpk).
-
Choose either:
-
fptelegram.lpk or fptelegram_ex.lpk (for runtime usage).
-
fptelegram_dt.lpk (for design-time installation in Lazarus IDE).
-
Click "Compile", then "Use" → "Install".
-
Lazarus will restart and apply the package.

fp-telegram can be used in two ways:
-
Runtime libraries (fptelegram.lpk or fptelegram_ex.lpk) – These are required to use the framework in your projects.
-
Design-Time package (fptelegram_dt.lpk) – Installs the TDTLongPollBot component on the Lazarus IDE palette.
- Install fptelegram_dt.lpk via Lazarus Package Manager.
- After Lazarus restarts, find the TDTLongPollBot component in the component palette (Misc tab).
- Drag and drop it onto a form.
- Set the bot token in the properties.

Now, you have a working bot without writing a single line of code! 🎉