Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/Lime.Messaging/Resources/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class Group : Document

public const string IDENTITY_KEY = "identity";
public const string NAME_KEY = "name";
public const string DESCRIPTION_KEY = "description";
public const string TYPE_KEY = "type";
public const string PHOTO_URI_KEY = "photoUri";
public const string CREATOR_KEY = "creator";
Expand All @@ -28,8 +29,8 @@ public class Group : Document
public Group()
: base(MediaType)
{

}

/// <summary>
/// Identity of the group, in the [email protected] format.
/// </summary>
Expand All @@ -42,6 +43,12 @@ public Group()
[DataMember(Name = NAME_KEY)]
public string Name { get; set; }

/// <summary>
/// Description of the group.
/// </summary>
[DataMember(Name = DESCRIPTION_KEY)]
public string Description { get; set; }

/// <summary>
/// Type of the group.
/// </summary>
Expand Down Expand Up @@ -97,7 +104,6 @@ public enum GroupType
/// </summary>
[EnumMember(Value = "public")]
Public

}

/// <summary>
Expand All @@ -118,7 +124,6 @@ public class GroupMember : Document
public GroupMember()
: base(MediaType.Parse(MIME_TYPE))
{

}

/// <summary>
Expand Down