mirai-core / net.mamoe.mirai.message / MessageReceipt / <init>
<init>
MessageReceipt(source: Outgoing, target: C, botAsMember: Member?)
发送消息后得到的回执. 可用于撤回.
此对象持有 Contact 的弱引用, Bot 离线后将会释放引用, 届时 target 将无法访问.
Parameters
source
- 指代发送出去的消息
target
- 消息发送对象
See Also
Group.sendMessage
QQ.sendMessage
Member.sendMessage
MessageReceipt.sourceId
MessageReceipt.sourceTime