Bot connection
You can connect a bot to Graspil in 4 different ways:
Make sure you connect your 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 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:
No need to pass a token
You get the maximum amount of data thanks to MtProto
No need to modify your bot - the system works independently of the bot.
You get access to broadcasts without passing a token, while keeping full control of the process.
This software is under development. If you're interested in this method and willing to take part in the beta test, let us know ;)
Proxying
With this connection method, you need to insert our server between your bot and Telegram. More details are described in this section.
This connection method is outdated; we recommend using MtProto or API instead. These connection methods are more flexible and reliable.
Last updated