Function: shareProfile()
ts
function shareProfile(
client,
userId,
target
): Promise<{
[key: string]: unknown;
item_id?: string;
thread_id?: string;
timestamp?: string;
}>;Shares a profile (by user id) into a thread or to users.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
userId | string |
target | SendTarget |
Returns
Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>