MessageReceipt

通过 SendSupport.send 发送消息后得到的发送回执。

一个 MessageReceipt 可能代表一个(SingleMessageReceipt)或多个(AggregatedMessageReceipt)真实的消息,

Author

ForteScarlet

See also

Inheritors

Functions

Link copied to clipboard
abstract suspend override fun delete(vararg options: DeleteOption)

删除此回执所代表的消息。这通常代表为'撤回'相关消息。 如果此回执不支持撤回则可能会抛出 UnsupportedOperationException。 可通过 options 控制异常的产生,例如 StandardDeleteOption.IGNORE_ON_UNSUPPORTED