Table of Contents

Class UserMessageUserSearch

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

A search for users a message may be written to, as handed to SearchUsersAsync(UserMessageUserSearch, CancellationToken).

public sealed record UserMessageUserSearch : IEquatable<UserMessageUserSearch>
Inheritance
UserMessageUserSearch
Implements
Inherited Members

Fields

MaxLimit

The most users a search returns.

public const int MaxLimit = 50

Field Value

int

Properties

AllTeams

Whether to search among every team.

public bool AllTeams { get; init; }

Property Value

bool

Limit

The most users returned, between 1 and MaxLimit; default 20.

public int Limit { get; init; }

Property Value

int

TeamKeys

The teams to search among; ignored when AllTeams is set, and none finds nobody.

public string[] TeamKeys { get; init; }

Property Value

string[]

Text

What the name or the address holds, ignoring case; empty finds nobody.

public string Text { get; init; }

Property Value

string