鸿蒙 IMLib-v1.8.0
    Preparing search index...

    合并消息信息

    1.6.0

    Index

    Constructors

    Properties

    fromUserId: string = ''

    消息发送方 id

    targetId: string = ''

    消息的目标会话 id

    timestamp: number = 0

    时间戳,单位毫秒

    objectName: string = ''

    消息 objectName

    content: MessageContent = ...

    消息内容

    Methods

    • 通过 Message 创建

      Parameters

      • msg: Message

        如果 msg 为空,将创建 CombineMsgInfo 的默认值

      Returns CombineMsgInfo

      合并消息信息