Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SendMessageArgs

The argument object for MessageApi.sendMessage

param

The message as text to be sent

param

Defines whether the message is text or another format (hex or base64) (default: true)

param

The fee as Planck value

param

The id of the recipient

param

The optional recipients public key in hex format. Using this arg allows to activate a recipients account, if not activated yet

param

The senders public key for sending an unsigned message

param

The senders private key to sign the message

param

The optional transactions deadline in minutes until it's being removed from mempool. This may happen on low fees. Defaults to 1440 (maximum)

Hierarchy

  • SendMessageArgs

Index

Properties

Optional deadline

deadline: number

feePlanck

feePlanck: string

message

message: string

Optional messageIsText

messageIsText: boolean

recipientId

recipientId: string

Optional recipientPublicKey

recipientPublicKey: string

senderPrivateKey

senderPrivateKey: string

senderPublicKey

senderPublicKey: string