Skip to content

Type Alias: SendTarget ​

ts
type SendTarget = 
  | {
  threadId: string;
}
  | {
  userIds: readonly string[];
};

Where a direct message is sent: an existing thread, or one or more user ids.

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