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

Cost optimization

Since you are charged for every event created, you can reduce the number of collected events and thereby reduce the monthly cost of the service.

You can analyze your events and prevent their creation using the following methods:

Mini App

By default, the counter in the mini app automatically creates an event for every user click, which can be excessive. You can disable automatic event creation and only send the events you actually need; how to do this is described in the Mini App connection section

Bot

By default, events are generated by almost all user actions in the bot and outgoing commands from the bot.

You can set data processing rules to ignore certain messages and user actions.

To do this, go to the "All resources" section -> select the bot you need -> in the "Ignore data types" block in the settings, select the types you want to exclude

Note that this may affect certain metrics — for example, if you disable processing of all incoming text messages, this may affect the MAU metric

Last updated