Skip to content

Commit

Permalink
[Core] Add setter for TextEntity.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored and Linwenxuan committed Feb 12, 2024
1 parent 2fb8770 commit 7787498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.Core/Message/Entity/TextEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Lagrange.Core.Message.Entity;
[MessageElement(typeof(Text))]
public class TextEntity : IMessageEntity
{
public string Text { get; }
public string Text { get; set; }

public TextEntity() => Text = "";

Expand Down

0 comments on commit 7787498

Please sign in to comment.