Block / Unblock

1. View Blocked Users

You can view blocked users.

Pagination 처리가 되어 있어 다음 페이지 조회를 위해서는 이전 조회 시에 리턴받은 TPUser 객체 중 마지막 객체를 넣으면 그 다음 페이지를 조회할 수 있습니다.

TalkPlusApi.GetBlockedUsers(lastUser, (List<TPUser> tpUsers, bool hasNext) => {
   // SUCCESS
}, (int statusCode, Exception e) => {
   // FAILURE
});

2. Block / Unblock Users

You can block or unblock users.

// Block
TalkPlusApi.BlockUser(targetId, () => {
   // SUCCESS
}, (int statusCode, Exception e) => {
   // FAILURE
});

// Unblock
TalkPlusApi.UnblockUser(targetId, () => {
   // SUCCESS
}, (int statusCode, Exception e) => {
   // FAILURE
});

Please refer to the following limitations:

Whether I can add someone whom I’ve blocked to a channel that I own

X

Whether someone whom I’ve blocked can join a channel that I own

X

Whether someone whom I’ve blocked can be added as a member to a channel that I am a member of

O

Whether someone whom I’ve blocked can join a channel that I am a member of

O

Whether I can be added as a member to a channel that is owned by someone I’ve blocked

X

Whether I can join a channel that is owned by someone I’ve blocked

X

Whether I can be added as a member to a channel where someone I’ve blocked is a member of

O

Whether I can join a channel where someone I’ve blocked is a member of

O

Last updated