Skip to content

Conversations

Defined in: sdks/react-native/dist/public-values.gen.d.ts:165

beginningDeliveryCursor(): Promise<string>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:170

Promise<string>


conversationReader(options): Promise<ConversationReader>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:171

ConversationReaderOptions | undefined

Promise<ConversationReader>


createDm(peer, options?): Promise<Dm>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:172

string | PublicIdentity

CreateDmOptions

Promise<Dm>


createGroup(members, options?): Promise<Group>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:173

PublicIdentity[] | string[]

CreateGroupOptions

Promise<Group>


createGroupOptimistic(options?): Promise<Group>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:174

CreateGroupOptions

Promise<Group>


deleteMessage(id): Promise<string>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:175

string

Promise<string>


deleteMessageLocally(id): Promise<void>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:176

string

Promise<void>


getById(id): Promise<Conversation | undefined>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:177

string

Promise<Conversation | undefined>


getDmByIdentity(identity): Promise<Dm | undefined>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:178

PublicIdentity

Promise<Dm | undefined>


getDmByInboxId(peer): Promise<Dm | undefined>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:179

string

Promise<Dm | undefined>


getMessageById(id): Promise<Message | undefined>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:180

string

Promise<Message | undefined>


hmacKeys(): Promise<Map<string, HmacKey[]>>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:181

Promise<Map<string, HmacKey[]>>


list(options?): Promise<Conversation[]>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:182

ListConversationsOptions

Promise<Conversation[]>


listDms(options): Promise<Dm[]>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:183

ListConversationsOptions | undefined

Promise<Dm[]>


listGroups(options): Promise<Group[]>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:184

ListConversationsOptions | undefined

Promise<Group[]>


messageHistorySnapshot(limit, options?): Promise<MessageHistorySnapshot>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:185

number

MessageReaderOptions

Promise<MessageHistorySnapshot>


messageReader(options?): Promise<MessageReader>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:186

MessageReaderOptions

Promise<MessageReader>


reactToMessage(id, reaction, options?): Promise<string>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:187

string

Reaction

SendOptions

Promise<string>


replyToMessage(id, content, options?): Promise<string>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:188

string

EncodedContent

SendOptions

Promise<string>


stream(options?): ConversationStream

Defined in: sdks/react-native/dist/public-values.gen.d.ts:168

ConversationStreamOptions

ConversationStream


streamAllMessages(options?): MessageStream

Defined in: sdks/react-native/dist/public-values.gen.d.ts:169

MessageStreamOptions

MessageStream


sync(): Promise<void>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:189

Promise<void>


syncAll(consentStates): Promise<GroupSyncSummary>

Defined in: sdks/react-native/dist/public-values.gen.d.ts:190

ConsentState[] | undefined

Promise<GroupSyncSummary>