MCPcopy Create free account
hub / github.com/Iterable/react-native-sdk / removeMessage

Method removeMessage

src/core/classes/IterableApi.ts:426–433  ·  view source on GitHub ↗

* Remove the specified message from the current user's message queue. * * @param messageId - The message to remove. * @param location - The location of the message. * @param source - The way the message was removed.

(
    messageId: string,
    location: number,
    source: number
  )

Source from the content-addressed store, hash-verified

424 * @param source - The way the message was removed.
425 */
426 static removeMessage(
427 messageId: string,
428 location: number,
429 source: number
430 ): void {
431 IterableLogger.log('removeMessage: ', messageId, location, source);
432 return RNIterableAPI.removeMessage(messageId, location, source);
433 }
434
435 /**
436 * Set the read status of the specified message.

Callers

nothing calls this directly

Calls 2

logMethod · 0.80
removeMessageMethod · 0.65

Tested by

no test coverage detected