implement FileTransfer and UserService modules with WebRTC support
This commit is contained in:
@@ -6,6 +6,25 @@ namespace Chtn.CSharp.SDK.Models.User
|
||||
{
|
||||
[JsonProperty("userid")] public string UserId { get; set; }
|
||||
[JsonProperty("username")] public string Username { get; set; }
|
||||
[JsonProperty("displayName")] public string DisplayName { get; set; }
|
||||
[JsonProperty("email")] public string Email { get; set; }
|
||||
[JsonProperty("phoneNumber")] public string PhoneNumber { get; set; }
|
||||
[JsonProperty("pfpUrl")] public string ProfilePictureUrl { get; set; }
|
||||
}
|
||||
|
||||
public class ChangeUsernameReq { [JsonProperty("newUsername")] public string NewUsername { get; set; } }
|
||||
public class ChangeDisplayNameReq { [JsonProperty("newDisplayName")] public string NewDisplayName { get; set; } }
|
||||
public class ChangePasswordReq { [JsonProperty("oldPassword")] public string OldPassword { get; set; } }
|
||||
public class ChangeEmailReq { [JsonProperty("newEmail")] public string NewEmail { get; set; } }
|
||||
public class UploadNewPfpReq { [JsonProperty("imageData")] public string ImageDataBase64 { get; set; } }
|
||||
public class VerifyMailChangeReq { [JsonProperty("code")] public string Code { get; set; } }
|
||||
public class DeleteReq { [JsonProperty("password")] public string Password { get; set; } }
|
||||
public class RegisterFCMTokenReq { [JsonProperty("token")] public string Token { get; set; } }
|
||||
public class GetSessionsReq { }
|
||||
public class ToggleGifSaveReq { [JsonProperty("enabled")] public string IsEnabled { get; set; } }
|
||||
public class ChangePhoneReq { [JsonProperty("newPhoneNumber")] public string NewPhoneNumber { get; set; } }
|
||||
public class VerifyPhoneChangeReq { [JsonProperty("code")] public string Code { get; set; } }
|
||||
public class VerifyFCMTokenReq { [JsonProperty("token")] public string Token { get; set; } }
|
||||
public class UpdateUserDataReq { [JsonProperty("userData")] public PersonalUserData Data { get; set; } }
|
||||
public class GIF { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("url")] public string Url { get; set; } }
|
||||
}
|
||||
Reference in New Issue
Block a user