deleteChat

Xóa đoạn chat

api.deleteChat(catalogId)

Parameters

  • lastMessage DeleteChatLastMessage

  • threadId string

  • type ThreadType?

    • mặc định ThreadType.User

Return

Promise<DeleteChatResponse>

Types

export type DeleteChatResponse = {
    status: number;
};

export type DeleteChatLastMessage = {
    /**
     * Last message owner ID to delete backwards
     */
    ownerId: string;
    /**
     * Last message client ID to delete backwards
     */
    cliMsgId: string;
    /**
     * Last message global ID to delete backwards
     */
    globalMsgId: string;
};

Examples

Last updated