Constructs a new Conversation.
Optional
properties:
IConversation
Properties to set
Optional
accountConversation accountLid.
Optional
archived
Conversation archived.
Optional
capiConversation capiCreatedGroup.
Optional
commentsConversation commentsCount.
Optional
contactConversation contactPrimaryIdentityKey.
Optional
conversationConversation conversationTimestamp.
Optional
createdConversation createdAt.
Optional
createdConversation createdBy.
Optional
description
Conversation description.
Optional
disappearingConversation disappearingMode.
Optional
displayConversation displayName.
Optional
endConversation endOfHistoryTransfer.
Optional
endConversation endOfHistoryTransferType.
Optional
ephemeralConversation ephemeralExpiration.
Optional
ephemeralConversation ephemeralSettingTimestamp.
Conversation id.
Optional
isConversation isDefaultSubgroup.
Optional
isConversation isParentGroup.
Optional
lastConversation lastMsgTimestamp.
Optional
lidConversation lidJid.
Optional
lidConversation lidOriginType.
Optional
limitConversation limitSharing.
Optional
locked
Conversation locked.
Optional
markedConversation markedAsUnread.
Optional
mediaConversation mediaVisibility.
Conversation messages.
Optional
muteConversation muteEndTime.
Optional
name
Conversation name.
Optional
newConversation newJid.
Optional
notConversation notSpam.
Optional
oldConversation oldJid.
Optional
pConversation pHash.
Optional
parentConversation parentGroupId.
Conversation participant.
Optional
pinned
Conversation pinned.
Optional
pnConversation pnJid.
Optional
pnhConversation pnhDuplicateLidThread.
Optional
readConversation readOnly.
Optional
shareConversation shareOwnPn.
Optional
support
Conversation support.
Optional
suspended
Conversation suspended.
Optional
systemConversation systemMessageToInsert.
Optional
tcConversation tcToken.
Optional
tcConversation tcTokenSenderTimestamp.
Optional
tcConversation tcTokenTimestamp.
Optional
terminated
Conversation terminated.
Optional
unreadConversation unreadCount.
Optional
unreadConversation unreadMentionCount.
Optional
username
Conversation username.
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
getStatic
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.