Home > borogove > ChatMessageBuilder > (constructor)
ChatMessageBuilder.(constructor)
Constructs a new instance of the ChatMessageBuilder class
Signature:
constructor(params?: {attachments?: borogove.ChatAttachment[] | null, direction?: enums.MessageDirection | null, encryption?: borogove.EncryptionInfo | null, html?: string | null, lang?: string | null, localId?: string | null, payloads?: borogove.Stanza[] | null, reactions?: Map<string markdown="1",borogove.Reaction[]> | null, replyId?: string | null, replyToMessage?: borogove.ChatMessage | null, senderId?: string | null, serverId?: string | null, serverIdBy?: string | null, status?: enums.MessageStatus | null, syncPoint?: boolean | null, text?: string | null, threadId?: string | null, timestamp?: string | null, type?: enums.MessageType | null, versions?: borogove.ChatMessage[] | null} | null);
Parameters
| Parameter | Type | Description |
|---|---|---|
| params | {attachments?: borogove.ChatAttachment[] | null, direction?: enums.MessageDirection | null, encryption?: borogove.EncryptionInfo | null, html?: string | null, lang?: string | null, localId?: string | null, payloads?: borogove.Stanza[] | null, reactions?: Map<string,borogove.Reaction[]> | null, replyId?: string | null, replyToMessage?: borogove.ChatMessage | null, senderId?: string | null, serverId?: string | null, serverIdBy?: string | null, status?: enums.MessageStatus | null, syncPoint?: boolean | null, text?: string | null, threadId?: string | null, timestamp?: string | null, type?: enums.MessageType | null, versions?: borogove.ChatMessage[] | null} | null | (Optional) |