countMessages
Last updated
Counts the total number of messages within a specific conversation.
const conversationHash = '0x...';
const numberOfMessages = await chat.countMessages(conversationHash);Promise<bigint>
A promise that resolves to the total number of messages for the specified conversation.
Type ConversationHash
The hash identifier of the target conversation for which the message count is being fetched.
Last updated
