Statistic on bot

Get the total messages and interlocutors who interacted with the bot

Response

Attribute

Type

Description

data.type

string

always "bot_stats"

data.messagesCount

int

the number of messages received by the bot

data.interlocutorsCount

int

the numbers of interlocutors

data.buttonsActionsCount

int

the numbers of actions that are launched by a button

{
    "data": {
        "type": "bot_stats",
        "messagesCount": 0,
        "interlocutorsCount": 0,
        "buttonsActionsCount": 0
    }
}
Language