# Class CombineMsgInfo

合并消息信息

#### Version

1.6.0

- Defined in message/model/CombineMsgInfo.ts:10

##### Index

### Constructors

constructor

### Properties

fromUserId
targetId
timestamp
objectName
content

### Methods

createWithMessage

## Constructors

### constructor

- new CombineMsgInfo(): CombineMsgInfo

  无参构造方法

  #### Returns CombineMsgInfo

  - Defined in message/model/CombineMsgInfo.ts:35

## Properties

### fromUserId

fromUserId: string = ''

消息发送方 id

- Defined in message/model/CombineMsgInfo.ts:14

### targetId

targetId: string = ''

消息的目标会话 id

- Defined in message/model/CombineMsgInfo.ts:18

### timestamp

timestamp: number = 0

时间戳，单位毫秒

- Defined in message/model/CombineMsgInfo.ts:22

### objectName

objectName: string = ''

消息 objectName

- Defined in message/model/CombineMsgInfo.ts:26

### content

content: MessageContent = ...

消息内容

- Defined in message/model/CombineMsgInfo.ts:30

## Methods

### `Static` createWithMessage

- createWithMessage(msg: Message): CombineMsgInfo

  通过 Message 创建

  #### Parameters

  - msg: Message

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

  #### Returns CombineMsgInfo

  合并消息信息

  - Defined in message/model/CombineMsgInfo.ts:42