Skip to main content

Type Alias: ISendMessageOptions

type ISendMessageOptions: object;

The options for sending a message.

Type declaration

shouldValidate?

optional shouldValidate: boolean;

If true, the message will be validated before sending. If the message is invalid, an error will be thrown. If false, the message will not be validated before sending.

Default

true

Defined

@nilfoundation/niljs/src/clients/types/ISendMessageOptions.ts:4