igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Function withBroadcastOptions

    • The one place a self-laid broadcast form receives the caller's options: every compose returns its message's own fields through it, so no form can drop sendSilently, isXTransportForward, isShhMode or extras.

      • is_x_transport_forward, send_silently and is_shh_mode=1 go right after action (at the front when the form has none, as the GIF's), in that order — the reply's recorded order for the first two; the disappearing mode is recorded on no self-laid form.
      • carries names the options the message's recording always carries, with the value it sends when the caller gives none (the reply's false pair, the photo's and the share's is_x_transport_forward=false); an option neither given nor carried stays out, as the recording has it.
      • extras go where the generic form puts them: before offline_threading_id (at the end when the form has none).

      A form that lays one of the option fields itself, or extras that name a field the form already holds, is a defect of the message's declaration: a second writer of an option, or a rewrite the extras must never make.

      Parameters

      • parts: DirectBroadcastFormParts
      • fields: Readonly<Record<string, unknown>>
      • carries: { isXTransportForward?: boolean; sendSilently?: boolean } = {}

      Returns Record<string, unknown>