GET api/Telegram/SaveLogStatistics?method={method}&chatId={chatId}
Сохранение логов для статистики использования бота
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| method |
Имя метода |
string |
Required |
| chatId |
ИД чата |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
LogStatisticsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Data |
Pезультат |
boolean |
None. |
| Result |
Результат обработки запроса |
boolean |
None. |
| Message |
Сообщение |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": true,
"Result": true,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<LogStatisticsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceApi.Models"> <Message>sample string 3</Message> <Result>true</Result> <Data>true</Data> </LogStatisticsResult>