Interface MessageAudioEvent

The MessageAudioEvent type

interface MessageAudioEvent {
    body: MessageAudioEventBody;
    from: {
        kind: "embeddedInfo" | "system";
    };
    kind: "message:audio";
    get conversationId(): string;
    get id(): number;
    get timestamp(): string;
}

Properties

Accessors

Properties

body: MessageAudioEventBody

The body property of MessageAudioEvent

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

The From property of MessageAudioEvent

Type declaration

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

The kind property of MessageAudioEvent

Accessors

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

    Returns string

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

    Returns number

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

    Returns string