Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMessageExtender

Hierarchy

  • IMessageExtender

Index

Properties

kind

kind: MESSAGE

Methods

addAttachment

addAttachments

addCustomField

  • Adds a custom field to the message. Note: This key can not already exist or it will throw an error. Note: The key must not contain a period in it, an error will be thrown.

    Parameters

    • key: string

      the name of the custom field

    • value: any

      the value of this custom field

    Returns IMessageExtender

getMessage

  • Gets the resulting message that has been extended at the point of calling it. Note: modifying the returned value will have no effect.

    Returns IMessage

Generated using TypeDoc