Constructs a new Conversation.
Optional
properties:
IConversation
Properties to set
Conversation archived.
Conversation contactPrimaryIdentityKey.
Conversation conversationTimestamp.
Conversation createdAt.
Conversation createdBy.
Conversation description.
Optional
disappearingConversation disappearingMode.
Conversation displayName.
Conversation endOfHistoryTransfer.
Conversation endOfHistoryTransferType.
Conversation ephemeralExpiration.
Conversation ephemeralSettingTimestamp.
Conversation id.
Conversation isDefaultSubgroup.
Conversation isParentGroup.
Conversation lastMsgTimestamp.
Conversation lidJid.
Conversation markedAsUnread.
Conversation mediaVisibility.
Conversation messages.
Conversation muteEndTime.
Conversation name.
Conversation newJid.
Conversation notSpam.
Conversation oldJid.
Conversation pHash.
Conversation parentGroupId.
Conversation participant.
Conversation pinned.
Conversation pnJid.
Conversation pnhDuplicateLidThread.
Conversation readOnly.
Conversation shareOwnPn.
Conversation support.
Conversation suspended.
Conversation tcToken.
Conversation tcTokenSenderTimestamp.
Conversation tcTokenTimestamp.
Conversation terminated.
Conversation unreadCount.
Conversation unreadMentionCount.
Optional
wallpaper
Conversation wallpaper.
Static
create
Creates a new Conversation instance using the specified properties.
Optional
properties:
IConversation
Properties to set
Conversation instance
Static
decode
Decodes a Conversation message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
Conversation
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a Conversation message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
Conversation
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified Conversation message. Does not implicitly verify messages.
Conversation message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified Conversation message, length delimited. Does not implicitly verify messages.
Conversation message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a Conversation message from a plain object. Also converts values to their respective internal types.
Plain object
Conversation
Static
toCreates a plain object from a Conversation message. Also converts values to other types if specified.
Conversation
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a Conversation.