sendCard

Gửi danh thiếp

api.sendCard(options, threadId[, type])

Parameters

  • options SendCardOptions

  • threadId string

    • id của người dùng hoặc nhóm

  • type ThreadType?

    • loại thread: người dùng/nhóm, mặc định là người dùng

Return

Promise<SendCardResponse>

Types

export type SendCardOptions = {
    userId: string;
    phoneNumber?: string;
    ttl?: number;
};

export type SendCardResponse = {
    msgId: number;
};

Examples

Gửi danh thiếp của tài khoản đã đăng nhập tới 1 nhóm

Last updated