31 lines
777 B
C#
31 lines
777 B
C#
namespace QMax.Api.Contracts;
|
|
|
|
public sealed record BeginMaxLoginRequest(string? PhoneNumber);
|
|
public sealed record SubmitMaxCodeRequest(string Code);
|
|
public sealed record MaxBridgeStatusDto(
|
|
string Mode,
|
|
bool IsAuthorized,
|
|
string? LoginStage,
|
|
string Status,
|
|
string? Url,
|
|
string? Title,
|
|
string? LastError,
|
|
DateTimeOffset UpdatedAt);
|
|
|
|
public sealed record MaxBrowserSnapshotDto(
|
|
string? Url,
|
|
string? Title,
|
|
string BodyText,
|
|
string ScreenshotPngBase64,
|
|
DateTimeOffset CapturedAt);
|
|
|
|
public sealed record MaxChannelSearchResultDto(
|
|
string ExternalId,
|
|
string Title,
|
|
string? AvatarUrl,
|
|
string? ChatUrl,
|
|
bool IsSubscribed,
|
|
string? Description);
|
|
|
|
public sealed record SubscribeMaxChannelRequest(string Link);
|