A native .NET C# library for developing Matrix clients.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
547 B

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace MatrixDotNetLib
{
public class MatrixLoginIdentifier
{
/// <summary>
/// Gets or sets the login identifier type (required)
/// </summary>
[JsonProperty("type")]
public string IdType { get; set; }
/// <summary>
/// Gets or sets the username (required if IdType is m.id.user)
/// </summary>
[JsonProperty("user")]
public string User { get; set; }
}
}