Naar de inhoud
Alle hulpmiddelen

whatsapp_forward_message

WhatsApp · macOS · Windows

Effect: verzenden. Status: voorwaardelijk beschikbaar.

‘Voorwaardelijke beschikbaarheid’ betekent dat het hulpmiddel kan afhangen van versie, platform, machtigingen, account of configuratie. Het is niet in elke installatie actief.

macOS

Doel

Stuurt één WhatsApp-bericht (tekst, document, afbeelding, video of spraakbericht/audio) door naar een andere chat, gemarkeerd als doorgestuurd. chat_id en message_id komen uit whatsapp_read_messages; to_chat_id MOET uit whatsapp_list_chats komen — verzin nooit id's. Dit is een schrijfactie: de eerste aanroep (confirm=false) geeft een voorbeeld terug zonder te verzenden; stel confirm=true in om echt te verzenden.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — macOS
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "chat_id": {
      "description": "Chat ID the message is in, from whatsapp_read_messages",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually send. Without it, returns a preview.",
      "type": "boolean"
    },
    "message_id": {
      "description": "message_id of the message to forward, from whatsapp_read_messages",
      "type": "string"
    },
    "remember": {
      "description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
      "type": "boolean"
    },
    "to_chat_id": {
      "description": "Chat ID to forward it to, from whatsapp_list_chats",
      "type": "string"
    }
  },
  "required": [
    "chat_id",
    "message_id",
    "to_chat_id"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor whatsapp_forward_message. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "chat_id": "12025550123@s.whatsapp.net",
  "confirm": false,
  "message_id": "3EB0DEMO0001",
  "to_chat_id": "12025550124@s.whatsapp.net"
}

Windows

Doel

Stuurt één WhatsApp-bericht (tekst, document, afbeelding, video of spraakbericht/audio) door naar een andere chat, gemarkeerd als doorgestuurd. chat_id en message_id komen uit whatsapp_read_messages; to_chat_id MOET uit whatsapp_list_chats komen — verzin nooit id's. Dit is een schrijfactie: de eerste aanroep (confirm=false) geeft een voorbeeld terug zonder te verzenden; stel confirm=true in om echt te verzenden.

Vereiste invoer

De namen blijven exact zoals het hulpmiddel ze vereist. De canonieke technische definities in het Engels staan in het uitklapbare schema hieronder.

Machtigingen en bevestiging

Het schema bevat een expliciete bevestigingsparameter. Controleer het voorbeeld en autoriseer de echte bewerking volgens het platformcontract.

Canoniek technisch schema in het Engels — Windows
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "chat_id": {
      "description": "Chat ID the message is in, from whatsapp_read_messages",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually send. Without it, returns a preview.",
      "type": "boolean"
    },
    "message_id": {
      "description": "message_id of the message to forward, from whatsapp_read_messages",
      "type": "string"
    },
    "remember": {
      "description": "With confirm=true, and only after the person said so: do this kind of action without asking from now on («don't ask me again»). The preview names the family.",
      "type": "boolean"
    },
    "to_chat_id": {
      "description": "Chat ID to forward it to, from whatsapp_list_chats",
      "type": "string"
    }
  },
  "required": [
    "chat_id",
    "message_id",
    "to_chat_id"
  ],
  "type": "object"
}

Documentatievoorbeeld

Documentatievoorbeeld voor whatsapp_forward_message. Voer dit voorbeeld niet uit. De getoonde argumenten verwijzen naar fictieve gegevens; zoek vóór een echte aanroep de werkelijke identificatoren op en vraag toestemming.

{
  "chat_id": "12025550123@s.whatsapp.net",
  "confirm": false,
  "message_id": "3EB0DEMO0001",
  "to_chat_id": "12025550124@s.whatsapp.net"
}