Use this method to get on the blacklist. On success, Blacklist is returned.
Field
Type
Required
Description
method
String
Yes
"getBlacklist"
chat_id
String
Yes
Unique identifier for Group or Channel where the member belongs.
page_size
String

Requests

json
{ "method": "getBlacklist", "chat_id": "90090684293612221" }
java
api.getBlackList(incomingMsg.getChat().getId()); public void getBlackList(String chatId) { GetBlackListOutMessage getBlackListOutMessage = new GetBlackListOutMessage(); getBlackListOutMessage.setChatId(chatId); api.send(getBlackListOutMessage); }
javascript
api.getBlackList(incomingMsg.chat.id);

Response

json
{ "method": "blacklist", "blacklist": { "chat": { "id": "90090684293612221" }, "eop": "19", "users": [ { "id": "2", "signup_user": "201116601107" }, { "id": "4", "signup_user": "201116601109" }, { "id": "5", "signup_user": "201116601111" }, { "id": "14", "signup_user": "1111111" }, { "id": "15", "signup_user": "222222" }, { "id": "19", "signup_user": "222223" } ] } }

Powered by Notaku