/**
* Represents an event triggered by a user such as when they start typing.
*/
export interface UserEvent {
/** Type of user event. */
type: "USER.TYPING";
/** Timestamp when the user event started in ISO 8601 format. */
startedAt: string;
/** Conversation metadata containing the conversation ID, sender, and recipient information. */
conversation: UserEvent.Conversation;
}
export declare namespace UserEvent {
/**
* Conversation metadata containing the conversation ID, sender, and recipient information.
*/
interface Conversation {
/**
* Unique identifier for the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`.
* To get more conversation details, use the [POST /conversations/get](/api-reference/conversations/get) endpoint.
*/
id: string;
/** Phone number of the user who triggered the event. */
from: string;
/** Agent ID that the user is interacting with. */
to: string;
}
}