VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Chat → Pin Message

AI-generated

Summary

Pins the specified message in a VK Teams chat by calling the chat pin-message API. Provide the chat ID and message ID as strings; VK Teams checks whether the bot has permission to pin it.

Inputs

  • Chat ID (required) — Chat containing the message to pin.
  • Message ID (required) — Message ID as a string, preserving large numeric IDs.

Output shape

A single item containing the VK Teams API response in its JSON field.

The operation makes a GET request to /chats/pinMessage with the chat ID and message ID. The API response must be a nonempty object; an unsuccessful API response causes the node to error.

Examples

Example 1: No.

Do not include configuration details that are specific to one example.

Links

Discussion