Skip to content
This repository was archived by the owner on Jun 1, 2020. It is now read-only.
This repository was archived by the owner on Jun 1, 2020. It is now read-only.

无法获取调用room.say() 或 contact.say() 后的消息ID #112

@zhaokefei

Description

@zhaokefei

由于调用 say() 方法发送的消息,不会再次触发 message 这个event,所有无法拿到消息ID

需要拿到该消息ID的原因:如果群内有多个机器人时,可以根据消息ID来判断是不是同一条消息,可以保证只往上游服务一个群内同一条消息只发送一次,但是调用的say方法发送的消息无法拿到消息ID,这时候就无法保证消息往上游只推送一次。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions