Skip to content

Function: sendVideo() ​

ts
function sendVideo(
   client, 
   mp4, 
   target
): Promise<{
[key: string]: unknown;
  item_id?: string;
  thread_id?: string;
  timestamp?: string;
}>;

Sends an MP4 video (H.264 video, AAC audio) into a thread, or into the existing thread with the given users.

Parameters ​

ParameterType
clientPrivateClient
mp4Uint8Array
targetSendTarget

Returns ​

Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.