getHiddenConversations

Lấy danh sách cuộc trò chuyện đã ẩn bằng Pin

api.getHiddenConversations()

Parameters

Return

Promise<GetHiddenConversPinResponse>

Types

export type GetHiddenConversationsResponse = {
    pin: string;
    threads: {
        /**
         * 1: true, 0: false
         */
        is_group: number;
        thread_id: string;
    }[];
};

Examples

api.getHiddenConversations()
    .then(console.log)
    .catch(console.error);

Last updated