16 lines
No EOL
522 B
C#
16 lines
No EOL
522 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace LarpixVoice;
|
|
|
|
[JsonSerializable(typeof(string[]))]
|
|
[JsonSerializable(typeof(VoiceAuthBody))]
|
|
internal partial class JsonAppSerializerContext : JsonSerializerContext
|
|
{
|
|
}
|
|
|
|
public record VoiceAuthBody(
|
|
[property: JsonPropertyName("room")] string Room,
|
|
[property: JsonPropertyName("userId")] string UserId,
|
|
[property: JsonPropertyName("publicId")] string PublicId,
|
|
[property: JsonPropertyName("iv")] string Iv,
|
|
[property: JsonPropertyName("ct")] string Ct); |