interface GetMessagesOptions {
    count?: number;
    direction?: "before" | "after";
    id?: string;
    media?:
        | "image"
        | "document"
        | "url"
        | "all";
    onlyUnread?: boolean;
}

Properties

count?: number
direction?: "before" | "after"
id?: string
media?:
    | "image"
    | "document"
    | "url"
    | "all"
onlyUnread?: boolean