Skip to main content

GroupBans

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Paged list of a group's bans from the Alta web API, with a way to ban more users.

Constructors​

1 private and internal constructor
MemberWhat it is
internal GroupBans(GroupInfo group, LowLevelApiClient api)Creates a GroupBans from group and api.

Properties​

MemberWhat it is
GroupInfo Group { get; }The group these bans belong to.

Methods​

MemberWhat it is
override async Task<GroupBan> Add(UserInfo user)Bans a user from the group and returns the new ban.

Used in​

Members of other types that take, return or hold a GroupBans: