Версия API Graph

Page Take Thread Control

Allows an app to take control of an idle conversation. If the app is a Primary Receiver, the app can take control of a conversation owned by another app. Part of the Messenger Platform Handover Protocol

Чтение

Нельзя выполнить эту операцию в этой конечной точке.

Создание

Вы можете сделать запрос POST к границе take_thread_control из этих местоположений:
При размещении публикации на этой границе создается a Page.

Параметры

ПараметрОписание
metadata
string

Additional information about the conversation

recipient
Object

The PSID for the customer who sent the message to your business

Обязательно
id
numeric string

phone_number
string

name
Object

first_name
string

last_name
string

user_ref
string

comment_id

post_id
string

player_id
numeric string

one_time_notif_token
string

notification_messages_token
string

login_id
string

Тип возврата

Эта конечная точка поддерживает чтение после записи и будет считывать узел, в который вы сделали публикацию.
Struct {
success: bool,
}

Error Codes

ОшибкаОписание
551This person isn't available right now.
100Invalid parameter
200Permissions error
504Invalid reply thread id
190Invalid OAuth 2.0 Access Token
230Permissions disallow message to user

Обновление

Нельзя выполнить эту операцию в этой конечной точке.

Удаление

Нельзя выполнить эту операцию в этой конечной точке.