AggregatedMessageReceipt

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val size: Int

当前聚合消息中包含的所有 MessageReceipt 的数量。

Functions

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

删除其所代表的所有消息回执。

Link copied to clipboard
open suspend fun deleteAll(vararg options: DeleteOption): Int

删除其所代表的所有消息回执。

Link copied to clipboard
abstract operator fun get(index: Int): SingleMessageReceipt

根据索引值获取到指定位置的 SingleMessageReceipt

Inherited functions

Link copied to clipboard
inline suspend fun AggregatedMessageReceipt.deleteAllSafely(vararg options: DeleteOption, onResult: (Result<Unit>) -> Unit = { /* Ignore it. */ })

尝试删除其所代表的所有消息回执。

Link copied to clipboard
abstract operator fun iterator(): Iterator<SingleMessageReceipt>
Link copied to clipboard

将元素集转换为 Messages 对象