GET api/Telegram/GetActiveTGChannelChats
Получить список активных чатов из ТГ для канала
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ChatUserName | Description | Type | Additional information |
---|---|---|---|
ChatId |
ChatId |
integer |
None. |
ChannelId |
ChannelId |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ChatId": 1, "ChannelId": 2 }, { "ChatId": 1, "ChannelId": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfChatUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Repositories.Telegram"> <ChatUser> <ChannelId>2</ChannelId> <ChatId>1</ChatId> </ChatUser> <ChatUser> <ChannelId>2</ChannelId> <ChatId>1</ChatId> </ChatUser> </ArrayOfChatUser>