For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bot connection

You can connect a bot to Graspil in 4 different ways:

Auto connection (MtProto)

This is the simplest way to connect. Just provide your token and the system will do everything for you.

This connection method uses the MtProto protocol, which works in parallel with your current connection. It works with all bots and bot builders. It collects slightly more data compared to the other methods.

API

This method does not require passing a token. You can use the API to connect your bot to the platform. It takes a few minutes and requires writing just 1 request that will send the data.

You can read more about connecting a bot via API in this section

MtProto collector on your own server

You can install our data collector on your own server, getting the benefits of both methods - MtProto + API:

  1. No need to pass a token

  2. You get the maximum amount of data thanks to MtProto

  3. No need to modify your bot - the system works independently of the bot.

  4. You get access to broadcasts without passing a token, while keeping full control of the process.

Proxying

With this connection method, you need to insert our server between your bot and Telegram. More details are described in this section.

Last updated