Connecting the bot
You can connect a bot to Graspil in 4 different ways:
Auto connection (MtProto)
API
MtProto collector on your server
Proxying
Make sure you connect the bot using only one of these methods; otherwise, the data will be duplicated.
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:
No need to provide a token
Maximum data collection thanks to MtProto
No need to modify your bot; the system works independently of it
Access to campaigns without passing a token, while keeping control over the process
This software is currently under development. If you’re interested in this method and ready to participate in beta testing, please contact us ;)
Proxying
In this method, you insert our server between your bot and Telegram. More details can be found in this section.
This method is outdated. We recommend using MtProto or API instead, as they are more flexible and reliable.
Last updated