messagesV2.sendGameInvite ✎ Edit on GitHub

Method is deprecated. Games in messenger are currently disabled on all OK platforms

Send game invite message

NameRequiredTypeDescription
fid true String

Friend id

state false String

Will be appended to custom_args

timeout true Integer

Invite timeout

Authorization

Session is required

The application should has CHAT platform and request must have GET-param platform=CHAT.

Response

{ "create_date_ms": "long", "id": "String" }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig