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.
- Listed in Alta.Api.Client
- Inherits or implements
PaginatedListWithAdd<GroupBan>
Constructors
1 private and internal constructor
| Member | What it is |
|---|---|
internal GroupBans(GroupInfo group, LowLevelApiClient api) | Creates a GroupBans from group and api. |
Properties
| Member | What it is |
|---|---|
GroupInfo Group { get; } | The group these bans belong to. |
Methods
| Member | What 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: