> For the complete documentation index, see [llms.txt](https://help.blinger.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blinger.io/russian/opisanie-raboty/channels/dobavlenie-kanalov/wechat.md).

# WeChat

## Общая информация

Интеграция позволяет подключать аккаунты типа "Subscription" или "Service", которые должны иметь статус подтвержден или *verified*.

{% hint style="warning" %}
**Перед началом интеграции с WeChat необходимо:**

* проверить чтобы в разделе Interface Privilege в категории "Conversation Service",пункты графы "Interface" имели статусы "Obtained"
  {% endhint %}

## Подключить WeChat?

### **Шаг 1.** Открыть вкладку Приложения и нажать кнопку «Добавить»

![](/files/-LlqAvctzb5OCngjsdci)

### **Шаг 2.** Выбрать канал WhatsApp и нажать «Добавить WeChat»

![](/files/-Llvca17_fjxM-QVesk0)

### Шаг 3. Войдите в аккаунт WeChat

Перейти в раздел раздел Basic Configuration меню "Development"

![](/files/-Lf_6HqTJNgxBx6ZwaNT)

### Шаг 4. Сохраните значение **Developer ID (AppID)**

Скопируйте и сохраните значение **Developer ID (AppID)** в каком-нибудь документе, напр., Блокнот

![](/files/-Lf_5Z1deZRusBa01T0y)

### Шаг 5. Внесите в IP whitelist IP-адрес Blinger.io

Нажмите напротив IP whitelist кнопку *View*, далее *Modify* и внесите ip-адрес **82.202.218.185** и подтвердите изменения

![](/files/-Lf_9Njm9hIi1r_wjCU4)

{% hint style="warning" %}
Обязательно проверьте, что IP-адрес был внесен в список корректно. Для этого необходимо повторно нажать на кнопку *View и* убедится что IP-aдрес внесен.
{% endhint %}

### Шаг 6. Сохраните значение Developer Password (AppSecret)

Нажмите напротив Developer Password (AppSecret) кнопку *Reset*

![](/files/-Lf_C7d4nLnuB2_qPmo-)

Введите в поле Login password пароль от Wechat аккаунта, код с картинки и пройдите дальше&#x20;

![](/files/-LfdZtLSMEQD6PNmhX67)

Скопируйте и сохраните значение **AppSecret** в тот документ, в который ранее сохранили Developer ID (AppID) и нажмите на *Confirm and Next.*

![](/files/-Lfde6fzYBBtLI_eR2AU)

### Шаг 7. Сохраните QR-код официального аккаунта Wechat

Перейдите в раздел Account Details

![](/files/-Lf_PYwAMhhyG5lCfyu6)

Нажмите на указанный значок

![](/files/-Lf_SIv5a35kAu9I7zKD)

и скачайте файл с QR-кодом аккаунта любого размера

![](/files/-Lf_Sn3tyI9PUcGoXDO5)

### Шаг 8. Выполните интеграцию WeChat с Blinger.io&#x20;

Вставьте, ранее сохраненные значения **Developer ID (AppID)** и **AppSecret** в поля AppID и AppSecret соответственно, загрузите файл с QR-кодом аккаунта и нажмите *Добавить.*

![](/files/-Lf_OC0pqgGlf6SxpERs)

### Шаг 9. Настройте конфигурацию сервера WeChat

Нажмите *Change configuration*

![](/files/-Lf_FoX1t41bT6NdQhQl)

&#x20;Вернитесь в Blinger.io в раздел Приложения и нажмите *Изменить* в интеграции Wechat

![](/files/-Lf_GNlrzKd8wCaIfs_q)

Скопируйте значения **Webhook url** и **Webhook token**

![](/files/-Lf_Gj3t1sUAmsPxbjyx)

и вставьте их соответственно в поля **URL** и **Token**

![](/files/-Lf_HNR3WSLVciXBD0Li)

Далее, необходимо нажать *Random Generation* для генерации ключа, оставить активным параметр **Plaintext Mode** в меню Message Encryption Method и нажать *Submit.*

После того, как снова окажитесь в разделе Basic Configuration необходимо нажать кнопку *Enable* (*Примечание:* после нажатия отобразится кнопка *Disable*).

![](/files/-Lf_J0Z7A46nZGSK6M2X)

{% hint style="success" %}

### Интеграция завершена!

{% endhint %}

{% hint style="info" %}
**У работы интеграции с Wechat есть своя особенность.**&#x20;

После завершения всех работ по интеграции, обмен сообщениями начинает работать **спустя 30-60 минут.** Такая задержка связана с внутренними техническими процессами компании мессенджера WeChat.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.blinger.io/russian/opisanie-raboty/channels/dobavlenie-kanalov/wechat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
