GET api/Telegram/GetLastChatIdByPhone?phone={phone}&key={key}&source={source}
Получить последний chatId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phone |
телефон |
string |
Required |
key |
Имя чата или ключ |
string |
Required |
source |
источник 0-ТГ 1-ЛК |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>