Connecting the bot

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

  1. Auto connection (MtProto)

  2. API

  3. MtProto collector on your server

  4. Proxying

Auto connection (MtProto)

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

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

API

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

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

MtProto collector on your server

You can install our data collector on your server and get the advantages of both MtProto and API methods:

  1. No need to provide a token

  2. Maximum data collection thanks to MtProto

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

  4. Access to campaigns without passing a token, while keeping control over the process

Proxying

In this method, you insert our server between your bot and Telegram. More details can be found in this section.

Last updated