Interface MessageTemplateEvent

The MessageTemplateEvent type

interface MessageTemplateEvent {
    body: MessageTemplateEventBody;
    from: {
        kind: "embeddedInfo" | "system";
    };
    kind: "message:template";
    get conversationId(): string;
    get id(): number;
    get timestamp(): string;
}

Properties

Accessors

Properties

body: MessageTemplateEventBody

The body property of MessageTemplateEvent

from: {
    kind: "embeddedInfo" | "system";
}

The From property of MessageTemplateEvent

Type declaration

  • kind: "embeddedInfo" | "system"
kind: "message:template"

The kind property of MessageTemplateEvent

Accessors

  • get conversationId(): string
  • The conversationId property of MessageTemplateEvent

    Returns string

  • get id(): number
  • The id property of MessageTemplateEvent

    Returns number

  • get timestamp(): string
  • The timestamp property of MessageTemplateEvent

    Returns string