sendVoice
Gửi đoạn hội thoại
api.sendVoice(options, threadId[, type])
Parameters
options
SendVoiceOptionsvoiceUrl
stringttl
number?thời gian tồn tại danh thiếp, mặc định là 0 (vô hạn)
threadId
stringtype
ThreadType?loại thread, mặc định là người dùng
Return
Promise<SendVoiceResponse>
Types
export type SendVoiceOptions = {
voiceUrl: string;
ttl?: number;
};
export type SendVoiceResponse = {
msgId: string;
};Examples
Gửi đoạn hội thoại
Related
Last updated