Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message_new.message.attachments[0].type.app_action #1614

Open
ivanmem opened this issue Mar 21, 2024 · 0 comments
Open

message_new.message.attachments[0].type.app_action #1614

ivanmem opened this issue Mar 21, 2024 · 0 comments
Labels
Задача Задача требующая реализации нового или доработке существующего функционала
Milestone

Comments

@ivanmem
Copy link
Contributor

ivanmem commented Mar 21, 2024

Появился новый тип аттачмента: app_action.

{
  "group_id": 10000000,
  "type": "message_new",
  "event_id": "70ce299be3e3901a411903f8501102277aa72286",
  "v": "5.131",
  "object": {
    "message": {
      "date": 1711048786,
      "from_id": 171555555,
      "id": 0,
      "out": 0,
      "version": 10051875,
      "attachments": [
        {
          "type": "app_action"
        }
      ],
      "conversation_message_id": 16544,
      "fwd_messages": [],
      "important": false,
      "is_hidden": false,
      "peer_id": 2000000001,
      "random_id": 0,
      "text": "",
      "is_unavailable": true
    },
    "client_info": {
      "button_actions": [
        "text",
        "vkpay",
        "open_app",
        "location",
        "open_link",
        "open_photo",
        "callback",
        "intent_subscribe",
        "intent_unsubscribe"
      ],
      "keyboard": true,
      "inline_keyboard": true,
      "carousel": true,
      "lang_id": 0
    }
  }

Приходит например тогда, когда вы приглашаете играть в крестики нолики через сервис в чате.

@inyutin-maxim inyutin-maxim added this to the v1.79.0 milestone Mar 22, 2024
@inyutin-maxim inyutin-maxim added the Задача Задача требующая реализации нового или доработке существующего функционала label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Задача Задача требующая реализации нового или доработке существующего функционала
Projects
None yet
Development

No branches or pull requests

2 participants