get https://api.clustaar.io/bots//stats/daily_bot
Get the total messages and interlocutors who interacted with the bot per day
Response
Attribute | Type | Description |
---|---|---|
data[].type | string | always "timed_bot_stats" |
date | string | iso date of object. "2018-10-02T00:00:00+0000" |
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": "timed_bot_stats",
"date": "2018-10-01T00:00:00+0000",
"messagesCount": 15,
"interlocutorsCount": 10,
"buttonsActionsCount": 20
},
{
"type": "timed_bot_stats",
"date": "2018-10-02T00:00:00+0000",
"messagesCount": 25,
"interlocutorsCount": 20,
"buttonsActionsCount": 30
},
{
"type": "timed_bot_stats",
"date": "2018-10-03T00:00:00+0000",
"messagesCount": 35,
"interlocutorsCount": 30,
"buttonsActionsCount": 40
}
]
}