Function: sendVoice()
ts
function sendVoice(
client,
m4a,
target,
options?
): Promise<{
[key: string]: unknown;
item_id?: string;
thread_id?: string;
timestamp?: string;
}>;Sends a voice message (an .m4a AAC clip) into a thread or the thread with the users.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
m4a | Uint8Array |
target | SendTarget |
options? | VoiceOptions |
Returns
Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>