Skip to main content

unbanChannelMember

Lift a channel ban, so the user may join or be added again (nothing is restored). Requires the 'manage_members' channel permission (app admins bypass). Returns true if there was a ban.

unbanChannelMember(
groupId: BigInt!
userId: BigInt!
): Boolean!

Arguments​

unbanChannelMember.groupId ● BigInt! non-null scalar​

The channel.

unbanChannelMember.userId ● BigInt! non-null scalar​

The banned user.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.