İçeriğe geç
Tüm araçlar

whatsapp_forward_message

WhatsApp · macOS · Windows

Etki: gönderme. Durum: koşullu kullanılabilir.

“Koşullu kullanılabilirlik”, aracın sürüme, platforma, izinlere, hesaba veya yapılandırmaya bağlı olabileceğini belirtir. Her kurulumda etkin olduğu anlamına gelmez.

macOS

Amaç

Bir WhatsApp iletisini (metin, belge, resim, video veya sesli not/ses) iletildi olarak işaretleyerek başka bir sohbete iletir. chat_id ve message_id whatsapp_read_messages çıktısından gelir; to_chat_id whatsapp_list_chats çıktısından gelmelidir: kimlikleri asla uydurmayın. Bu bir yazma işlemidir: ilk çağrı (confirm=false) göndermeden bir önizleme döndürür; gerçekten göndermek için confirm=true ayarlayın.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şema — 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"
}

Belge örneği

whatsapp_forward_message için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

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

Windows

Amaç

Bir WhatsApp iletisini (metin, belge, resim, video veya sesli not/ses) iletildi olarak işaretleyerek başka bir sohbete iletir. chat_id ve message_id whatsapp_read_messages çıktısından gelir; to_chat_id whatsapp_list_chats çıktısından gelmelidir: kimlikleri asla uydurmayın. Bu bir yazma işlemidir: ilk çağrı (confirm=false) göndermeden bir önizleme döndürür; gerçekten göndermek için confirm=true ayarlayın.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şema — 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"
}

Belge örneği

whatsapp_forward_message için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

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