Table of Contents

Class MessageProperties

Namespace
HeyBox
Assembly
HeyBox.Net.Core.dll

提供用于修改 IUserMessage 的属性。

public class MessageProperties
Inheritance
MessageProperties
Inherited Members

Properties

Content

获取或设置要设置到此消息的消息内容。

public string? Content { get; set; }

Property Value

string

Remarks

修改此值为非空字符串可以修改消息的内容;不修改此值或将其设置为 null 可以保持消息的原内容。

ImageFileInfos

获取或设置要设置到此消息的图像文件信息

public List<FileAttachment>? ImageFileInfos { get; set; }

Property Value

List<FileAttachment>

Reference

获取或设置要设置到此消息的消息引用。

public IMessageReference? Reference { get; set; }

Property Value

IMessageReference

See Also