Function: sendPhoto()
ts
function sendPhoto(
client,
jpeg,
target
): Promise<{
[key: string]: unknown;
item_id?: string;
thread_id?: string;
timestamp?: string;
}>;Sends a JPEG photo into a thread (or the existing thread with the given users).
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
jpeg | Uint8Array |
target | SendTarget |
Returns
Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>