Group
Defined in: sdks/js/node-sdk/src/Group.ts:18
Represents a group conversation between multiple inboxes
This class is not intended to be initialized directly.
Extends
Section titled “Extends”Conversation<ContentTypes>
Type Parameters
Section titled “Type Parameters”ContentTypes
Section titled “ContentTypes”ContentTypes = unknown
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Group<
ContentTypes>(client,codecRegistry,conversation):Group<ContentTypes>
Defined in: sdks/js/node-sdk/src/Group.ts:28
Creates a new group conversation instance
Parameters
Section titled “Parameters”client
Section titled “client”Client<ContentTypes>
The client instance managing this group conversation
codecRegistry
Section titled “codecRegistry”The codec registry instance
conversation
Section titled “conversation”Conversation
The underlying conversation object
Returns
Section titled “Returns”Group<ContentTypes>
Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”addedByInboxId
Section titled “addedByInboxId”Get Signature
Section titled “Get Signature”get addedByInboxId():
string
Defined in: sdks/js/node-sdk/src/Conversation.ts:94
Gets the inbox ID that added this client’s inbox to the conversation
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”appData
Section titled “appData”Get Signature
Section titled “Get Signature”get appData():
string
Defined in: sdks/js/node-sdk/src/Group.ts:88
The app data of the group
Returns
Section titled “Returns”string
createdAt
Section titled “createdAt”Get Signature
Section titled “Get Signature”get createdAt():
Date
Defined in: sdks/js/node-sdk/src/Conversation.ts:108
Gets the date when the conversation was created
Returns
Section titled “Returns”Date
Inherited from
Section titled “Inherited from”createdAtNs
Section titled “createdAtNs”Get Signature
Section titled “Get Signature”get createdAtNs():
bigint
Defined in: sdks/js/node-sdk/src/Conversation.ts:101
Gets the timestamp when the conversation was created in nanoseconds
Returns
Section titled “Returns”bigint
Inherited from
Section titled “Inherited from”description
Section titled “description”Get Signature
Section titled “Get Signature”get description():
string
Defined in: sdks/js/node-sdk/src/Group.ts:72
The description of the group
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get id():
string
Defined in: sdks/js/node-sdk/src/Conversation.ts:66
Gets the unique identifier for this conversation
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”imageUrl
Section titled “imageUrl”Get Signature
Section titled “Get Signature”get imageUrl():
string
Defined in: sdks/js/node-sdk/src/Group.ts:56
The image URL of the group
Returns
Section titled “Returns”string
isActive
Section titled “isActive”Get Signature
Section titled “Get Signature”get isActive():
boolean
Defined in: sdks/js/node-sdk/src/Conversation.ts:73
Gets whether this conversation is currently active
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get name():
string
Defined in: sdks/js/node-sdk/src/Group.ts:40
The name of the group
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get topic():
string
Defined in: sdks/js/node-sdk/src/Conversation.ts:112
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”addAdmin()
Section titled “addAdmin()”addAdmin(
inboxId):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:216
Promotes a group member to admin status
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID of the member to promote
Returns
Section titled “Returns”Promise<void>
addMembers()
Section titled “addMembers()”addMembers(
inboxIds):Promise<UpdateGroupMembershipResult>
Defined in: sdks/js/node-sdk/src/Group.ts:189
Adds members to the group using inbox IDs
Parameters
Section titled “Parameters”inboxIds
Section titled “inboxIds”string[]
Array of inbox IDs to add
Returns
Section titled “Returns”Promise<UpdateGroupMembershipResult>
addMembersByIdentifiers()
Section titled “addMembersByIdentifiers()”addMembersByIdentifiers(
identifiers):Promise<UpdateGroupMembershipResult>
Defined in: sdks/js/node-sdk/src/Group.ts:180
Adds members to the group using identifiers
Parameters
Section titled “Parameters”identifiers
Section titled “identifiers”Array of member identifiers to add
Returns
Section titled “Returns”Promise<UpdateGroupMembershipResult>
addSuperAdmin()
Section titled “addSuperAdmin()”addSuperAdmin(
inboxId):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:234
Promotes a group member to super admin status
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID of the member to promote
Returns
Section titled “Returns”Promise<void>
beginningDeliveryCursor()
Section titled “beginningDeliveryCursor()”beginningDeliveryCursor():
DeliveryCursor
Defined in: sdks/js/node-sdk/src/Conversation.ts:192
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”Conversation.beginningDeliveryCursor
consentState()
Section titled “consentState()”consentState():
ConsentState
Defined in: sdks/js/node-sdk/src/Conversation.ts:430
Gets the consent state for this conversation
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”countMessages()
Section titled “countMessages()”countMessages(
options?):Promise<number>
Defined in: sdks/js/node-sdk/src/Conversation.ts:404
Counts messages in this conversation
Parameters
Section titled “Parameters”options?
Section titled “options?”Omit<ListMessagesOptions, "limit" | "direction">
Optional filtering options
Returns
Section titled “Returns”Promise<number>
Promise that resolves with the count of messages
Inherited from
Section titled “Inherited from”debugInfo()
Section titled “debugInfo()”debugInfo():
Promise<ConversationDebugInfo>
Defined in: sdks/js/node-sdk/src/Conversation.ts:489
Retrieves information for this conversation to help with debugging
Returns
Section titled “Returns”Promise<ConversationDebugInfo>
The debug information for this conversation
Inherited from
Section titled “Inherited from”hmacKeys()
Section titled “hmacKeys()”hmacKeys():
Record<string,HmacKey[]>
Defined in: sdks/js/node-sdk/src/Conversation.ts:125
Gets HMAC keys for this conversation
Returns
Section titled “Returns”Record<string, HmacKey[]>
The HMAC keys for this conversation
Inherited from
Section titled “Inherited from”isAdmin()
Section titled “isAdmin()”isAdmin(
inboxId):boolean
Defined in: sdks/js/node-sdk/src/Group.ts:161
Checks if an inbox is an admin of the group
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID to check
Returns
Section titled “Returns”boolean
Boolean indicating if the inbox is an admin
isMessageDisappearingEnabled()
Section titled “isMessageDisappearingEnabled()”isMessageDisappearingEnabled():
boolean
Defined in: sdks/js/node-sdk/src/Conversation.ts:480
Checks if message disappearing is enabled for this conversation
Returns
Section titled “Returns”boolean
Whether message disappearing is enabled
Inherited from
Section titled “Inherited from”Conversation.isMessageDisappearingEnabled
isPendingRemoval()
Section titled “isPendingRemoval()”isPendingRemoval():
boolean
Defined in: sdks/js/node-sdk/src/Group.ts:259
Checks if the current user has requested to leave the group
Returns
Section titled “Returns”boolean
Boolean
isSuperAdmin()
Section titled “isSuperAdmin()”isSuperAdmin(
inboxId):boolean
Defined in: sdks/js/node-sdk/src/Group.ts:171
Checks if an inbox is a super admin of the group
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID to check
Returns
Section titled “Returns”boolean
Boolean indicating if the inbox is a super admin
lastMessage()
Section titled “lastMessage()”lastMessage():
Promise<DecodedMessage<ContentTypes> |undefined>
Defined in: sdks/js/node-sdk/src/Conversation.ts:416
Gets the last message in this conversation
Returns
Section titled “Returns”Promise<DecodedMessage<ContentTypes> | undefined>
Promise that resolves with the last message or undefined if none exists
Inherited from
Section titled “Inherited from”lastReadTimes()
Section titled “lastReadTimes()”lastReadTimes():
Promise<Record<string,number>>
Defined in: sdks/js/node-sdk/src/Conversation.ts:499
Retrieves the last read times for this conversation
Returns
Section titled “Returns”Promise<Record<string, number>>
A map keyed by inbox ID with the last read timestamp (nanoseconds since epoch)
Inherited from
Section titled “Inherited from”listAdmins()
Section titled “listAdmins()”listAdmins():
string[]
Defined in: sdks/js/node-sdk/src/Group.ts:144
The list of admins of the group
Returns
Section titled “Returns”string[]
listSuperAdmins()
Section titled “listSuperAdmins()”listSuperAdmins():
string[]
Defined in: sdks/js/node-sdk/src/Group.ts:151
The list of super admins of the group
Returns
Section titled “Returns”string[]
members()
Section titled “members()”members():
Promise<GroupMember[]>
Defined in: sdks/js/node-sdk/src/Conversation.ts:147
Gets the members of this conversation
Returns
Section titled “Returns”Promise<GroupMember[]>
Promise that resolves with the conversation members
Inherited from
Section titled “Inherited from”messageDisappearingSettings()
Section titled “messageDisappearingSettings()”messageDisappearingSettings():
MessageDisappearingSettings|undefined
Defined in: sdks/js/node-sdk/src/Conversation.ts:448
Gets the message disappearing settings for this conversation
Returns
Section titled “Returns”MessageDisappearingSettings | undefined
The current message disappearing settings or undefined if not set
Inherited from
Section titled “Inherited from”Conversation.messageDisappearingSettings
messageHistorySnapshot()
Section titled “messageHistorySnapshot()”messageHistorySnapshot(
limit):MessageHistorySnapshot
Defined in: sdks/js/node-sdk/src/Conversation.ts:188
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”Conversation.messageHistorySnapshot
messages()
Section titled “messages()”messages(
options?):Promise<DecodedMessage<ContentTypes>[]>
Defined in: sdks/js/node-sdk/src/Conversation.ts:390
Lists messages in this conversation
Parameters
Section titled “Parameters”options?
Section titled “options?”Optional filtering and pagination options
Returns
Section titled “Returns”Promise<DecodedMessage<ContentTypes>[]>
Promise that resolves with an array of decoded messages
Inherited from
Section titled “Inherited from”metadata()
Section titled “metadata()”metadata():
Promise<{conversationType:ConversationType;creatorInboxId:string; }>
Defined in: sdks/js/node-sdk/src/Conversation.ts:134
Gets the metadata for this conversation
Returns
Section titled “Returns”Promise<{ conversationType: ConversationType; creatorInboxId: string; }>
Promise that resolves with the conversation metadata
Inherited from
Section titled “Inherited from”notificationsEnabled()
Section titled “notificationsEnabled()”notificationsEnabled():
Promise<boolean>
Defined in: sdks/js/node-sdk/src/Conversation.ts:85
Read the effective notification value for this conversation.
Returns
Section titled “Returns”Promise<boolean>
Inherited from
Section titled “Inherited from”Conversation.notificationsEnabled
pausedForVersion()
Section titled “pausedForVersion()”pausedForVersion():
string|undefined
Defined in: sdks/js/node-sdk/src/Conversation.ts:116
Returns
Section titled “Returns”string | undefined
Inherited from
Section titled “Inherited from”permissions()
Section titled “permissions()”permissions():
object
Defined in: sdks/js/node-sdk/src/Group.ts:114
The permissions of the group
Returns
Section titled “Returns”object
policySet
Section titled “policySet”policySet:
PermissionPolicySet
policyType
Section titled “policyType”policyType:
GroupPermissionsOptions
processStreamedMessage()
Section titled “processStreamedMessage()”processStreamedMessage(
envelopeBytes):Promise<Message[]>
Defined in: sdks/js/node-sdk/src/Conversation.ts:202
Decodes, decrypts, and persists a raw envelope from a group message stream.
Parameters
Section titled “Parameters”envelopeBytes
Section titled “envelopeBytes”Uint8Array
Raw protobuf-encoded envelope bytes from the stream
Returns
Section titled “Returns”Promise<Message[]>
The processed and stored messages
Inherited from
Section titled “Inherited from”Conversation.processStreamedMessage
publishMessages()
Section titled “publishMessages()”publishMessages():
Promise<void>
Defined in: sdks/js/node-sdk/src/Conversation.ts:211
Publishes pending messages that were sent optimistically
Returns
Section titled “Returns”Promise<void>
Promise that resolves when publishing is complete
Inherited from
Section titled “Inherited from”removeAdmin()
Section titled “removeAdmin()”removeAdmin(
inboxId):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:225
Removes admin status from a group member
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID of the admin to demote
Returns
Section titled “Returns”Promise<void>
removeMembers()
Section titled “removeMembers()”removeMembers(
inboxIds):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:207
Removes members from the group using inbox IDs
Parameters
Section titled “Parameters”inboxIds
Section titled “inboxIds”string[]
Array of inbox IDs to remove
Returns
Section titled “Returns”Promise<void>
removeMembersByIdentifiers()
Section titled “removeMembersByIdentifiers()”removeMembersByIdentifiers(
identifiers):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:198
Removes members from the group using identifiers
Parameters
Section titled “Parameters”identifiers
Section titled “identifiers”Array of member identifiers to remove
Returns
Section titled “Returns”Promise<void>
removeMessageDisappearingSettings()
Section titled “removeMessageDisappearingSettings()”removeMessageDisappearingSettings():
Promise<void>
Defined in: sdks/js/node-sdk/src/Conversation.ts:471
Removes message disappearing settings from this conversation
Returns
Section titled “Returns”Promise<void>
Promise that resolves when the settings are removed
Inherited from
Section titled “Inherited from”Conversation.removeMessageDisappearingSettings
removeSuperAdmin()
Section titled “removeSuperAdmin()”removeSuperAdmin(
inboxId):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:243
Removes super admin status from a group member
Parameters
Section titled “Parameters”inboxId
Section titled “inboxId”string
The inbox ID of the super admin to demote
Returns
Section titled “Returns”Promise<void>
requestRemoval()
Section titled “requestRemoval()”requestRemoval():
Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:250
Request to leave the group
Returns
Section titled “Returns”Promise<void>
send()
Section titled “send()”send(
encodedContent,sendOptions?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:228
Sends a message with configurable delivery behavior
Parameters
Section titled “Parameters”encodedContent
Section titled “encodedContent”EncodedContent
The encoded content to send
sendOptions?
Section titled “sendOptions?”Options for sending the message
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendActions()
Section titled “sendActions()”sendActions(
actions,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:327
Sends a actions message
Parameters
Section titled “Parameters”actions
Section titled “actions”The actions to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendAttachment()
Section titled “sendAttachment()”sendAttachment(
attachment,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:349
Sends an attachment message
Parameters
Section titled “Parameters”attachment
Section titled “attachment”The attachment to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendIntent()
Section titled “sendIntent()”sendIntent(
intent,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:338
Sends a intent message
Parameters
Section titled “Parameters”intent
Section titled “intent”The intent to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendMarkdown()
Section titled “sendMarkdown()”sendMarkdown(
markdown,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:256
Sends a markdown message
Parameters
Section titled “Parameters”markdown
Section titled “markdown”string
The markdown to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendMultiRemoteAttachment()
Section titled “sendMultiRemoteAttachment()”sendMultiRemoteAttachment(
multiRemoteAttachment,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:360
Sends a multi remote attachment message
Parameters
Section titled “Parameters”multiRemoteAttachment
Section titled “multiRemoteAttachment”The multi remote attachment to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”Conversation.sendMultiRemoteAttachment
sendReaction()
Section titled “sendReaction()”sendReaction(
reaction,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:267
Sends a reaction message
Parameters
Section titled “Parameters”reaction
Section titled “reaction”The reaction to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendReadReceipt()
Section titled “sendReadReceipt()”sendReadReceipt(
opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:277
Sends a read receipt message
Parameters
Section titled “Parameters”Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendRemoteAttachment()
Section titled “sendRemoteAttachment()”sendRemoteAttachment(
remoteAttachment,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:377
Sends a remote attachment message
Parameters
Section titled “Parameters”remoteAttachment
Section titled “remoteAttachment”The remote attachment to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”Conversation.sendRemoteAttachment
sendReply()
Section titled “sendReply()”sendReply(
reply,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:288
Sends a reply message
Parameters
Section titled “Parameters”The reply to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendText()
Section titled “sendText()”sendText(
text,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:245
Sends a text message
Parameters
Section titled “Parameters”string
The text to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”sendTransactionReference()
Section titled “sendTransactionReference()”sendTransactionReference(
transactionReference,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:299
Sends a transaction reference message
Parameters
Section titled “Parameters”transactionReference
Section titled “transactionReference”The transaction reference to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”Conversation.sendTransactionReference
sendWalletSendCalls()
Section titled “sendWalletSendCalls()”sendWalletSendCalls(
walletSendCalls,opts?):Promise<string>
Defined in: sdks/js/node-sdk/src/Conversation.ts:316
Sends a wallet send calls message
Parameters
Section titled “Parameters”walletSendCalls
Section titled “walletSendCalls”The wallet send calls to send
Send options (optimistic delivery, idempotency key)
Returns
Section titled “Returns”Promise<string>
Promise that resolves with the message ID after it has been sent
Inherited from
Section titled “Inherited from”Conversation.sendWalletSendCalls
setNotifications()
Section titled “setNotifications()”setNotifications(
value):Promise<void>
Defined in: sdks/js/node-sdk/src/Conversation.ts:78
Override notification rules, or reset the override with “default”.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”stream()
Section titled “stream()”stream(
options?):Promise<MessageStream<Message,DecodedMessage<ContentTypes>>>
Defined in: sdks/js/node-sdk/src/Conversation.ts:169
Reads retained messages after the default acknowledgement position.
Set from to replay after a cursor without changing default progress.
Set onValue for callback mode, or request items with the iterator.
Core owns network recovery. Legacy retry options and disableSync do not apply.
Parameters
Section titled “Parameters”options?
Section titled “options?”StreamOptions<Message, DecodedMessage<ContentTypes>> & object
Optional delivery callbacks and replay cursor
Returns
Section titled “Returns”Promise<MessageStream<Message, DecodedMessage<ContentTypes>>>
Stream instance for new messages
Inherited from
Section titled “Inherited from”sync()
Section titled “sync()”sync():
Promise<void>
Defined in: sdks/js/node-sdk/src/Conversation.ts:156
Synchronizes conversation data from the network
Returns
Section titled “Returns”Promise<void>
Promise that resolves when synchronization is complete
Inherited from
Section titled “Inherited from”updateAppData()
Section titled “updateAppData()”updateAppData(
appData,expectedAppData?):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:104
Updates the group’s app data (max 8192 bytes)
Parameters
Section titled “Parameters”appData
Section titled “appData”string
The new app data for the group
expectedAppData?
Section titled “expectedAppData?”string
Optional compare-and-swap guard. When provided, the update is abandoned — rather than overwriting — if the committed value is no longer this, including when another member’s commit wins the race after this update was published. Callers reconciling structured state should pass the value they merged against, so a concurrent write surfaces as an error instead of silently discarding someone else’s change. Omit for last-writer-wins.
Returns
Section titled “Returns”Promise<void>
updateConsentState()
Section titled “updateConsentState()”updateConsentState(
consentState):void
Defined in: sdks/js/node-sdk/src/Conversation.ts:439
Updates the consent state for this conversation
Parameters
Section titled “Parameters”consentState
Section titled “consentState”The new consent state to set
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Conversation.updateConsentState
updateDescription()
Section titled “updateDescription()”updateDescription(
description):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:81
Updates the group’s description
Parameters
Section titled “Parameters”description
Section titled “description”string
The new description for the group
Returns
Section titled “Returns”Promise<void>
updateImageUrl()
Section titled “updateImageUrl()”updateImageUrl(
imageUrl):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:65
Updates the group’s image URL
Parameters
Section titled “Parameters”imageUrl
Section titled “imageUrl”string
The new image URL for the group
Returns
Section titled “Returns”Promise<void>
updateMessageDisappearingSettings()
Section titled “updateMessageDisappearingSettings()”updateMessageDisappearingSettings(
fromNs,inNs):Promise<void>
Defined in: sdks/js/node-sdk/src/Conversation.ts:459
Updates message disappearing settings for this conversation
Parameters
Section titled “Parameters”fromNs
Section titled “fromNs”bigint
The timestamp from which messages should start disappearing
bigint
The duration after which messages should disappear
Returns
Section titled “Returns”Promise<void>
Promise that resolves when the update is complete
Inherited from
Section titled “Inherited from”Conversation.updateMessageDisappearingSettings
updateName()
Section titled “updateName()”updateName(
name):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:49
Updates the group’s name
Parameters
Section titled “Parameters”string
The new name for the group
Returns
Section titled “Returns”Promise<void>
updatePermission()
Section titled “updatePermission()”updatePermission(
permissionType,policy,metadataField?):Promise<void>
Defined in: sdks/js/node-sdk/src/Group.ts:129
Updates a specific permission policy for the group
Parameters
Section titled “Parameters”permissionType
Section titled “permissionType”The type of permission to update
policy
Section titled “policy”The new permission policy
metadataField?
Section titled “metadataField?”Optional metadata field for the permission
Returns
Section titled “Returns”Promise<void>

