Skip to content

asimov-modules/asimov-telegram-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

ASIMOV Telegram Module

License Compatibility Package

ASIMOV module for integration with the Telegram messaging service.

πŸ› οΈ Prerequisites

⬇️ Installation

Installation with the ASIMOV CLI (recommended)

asimov module install telegram -v

Installation from Source Code

Make sure to follow the instructions from development section.

cargo install asimov-telegram-module

πŸ‘‰ Configuration

To start using the module you need to get authorized first:

asimov module config telegram
# or directly:
asimov-telegram-configurator

πŸ‘‰ Examples

Listing Telegram chats

asimov-telegram-cataloger tg://chats

Fetching Telegram chat info

asimov-telegram-fetcher tg://chats/1234567

Listing Telegram chat members

asimov-telegram-cataloger tg://chats/1234567/members

Listing Telegram chat messages

asimov-telegram-cataloger tg://chats/1234567/messages

Fetching Telegram user info

asimov-telegram-fetcher tg://users/1234567

πŸ‘¨β€πŸ’» Development

While for pre-built binaries we provide our own Telegram application credentials, for development purposes you will have to create your own Telegram application. You can do this here: https://my.telegram.org/

Then you will need to fill next environment variables:

  • ASIMOV_TELEGRAM_API_ID
  • ASIMOV_TELEGRAM_API_HASH

Make sure that OpenSSL & zlib are installed on your system.

On Windows you can install them with vcpkg:

vcpkg install openssl:x64-windows-static-md
vcpkg install zlib:x64-windows-static-md

On Linux you also need to install the following packages:

sudo apt-get install -y libc++-dev libc++abi-dev

Then finally you can start development:

git clone https://github.com/asimov-modules/asimov-telegram-module.git

Resources


Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

About

🚧 ASIMOV module for integration with the Telegram messaging service.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages