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

Requests

json
{ "method": "getWhitelist", "chat_id": "86552000132547774" }
java
api.getWhiteList(incomingMsg.getChat().getId()); public void getWhiteList(String chatId) { GetWhiteListOutMessage getWhiteListOutMessage = new GetWhiteListOutMessage(); getWhiteListOutMessage.setChatId(chatId); api.send(getWhiteListOutMessage); }
javascript
api.getWhiteList(chat.id);

Response

json
{ "method": "whitelist", "whitelist": { "chat": { "id": "90090684293612221" }, "eop": "13", "users": [{ "id": "645", "signup_user": "25648", "tags": ["1", "2"] } ] }

Powered by Notaku