Class MessagingModule

Hierarchy

Index

Constructors

constructor

Methods

getMessageObjects

  • getMessageObjects(sender?: string, receiver?: string, decryptPrivateKey?: string, count?: number): Promise<IDCoreMessagePayload[]>

getMessages

  • getMessages(receiver: string, decryptPrivateKey?: string, count?: number): Promise<IDCoreMessagePayload[]>

getSentMessages

  • getSentMessages(sender: string, decryptPrivateKey?: string, count?: number): Promise<IDCoreMessagePayload[]>

sendMessage

  • sendMessage(sender: string, receiverId: string, message: string, privateKey: string, broadcast?: boolean): Promise<Operation>

sendUnencryptedMessage

  • sendUnencryptedMessage(sender: string, receiverId: string, message: string, privateKey: string, broadcast?: boolean): Promise<Operation>

Powered by DECENT