Max Chat icon

Max Chat

Manage a MAX chat, its pinned message, and bot membership

Pin Message

AI-generated

Summary

Pins a message or post in a group chat or channel using its chat ID and message ID. The Notify option controls whether members are notified about the pin.

Inputs

  • Chat ID (required) — Signed int64 ID of the group chat or channel.
  • Message ID (required) — ID of the message or post to pin.
  • Notify — Whether to notify members about the pinned message; defaults to true.

Output shape

A single API response record.

The operation sends the pin request to the MAX API. The source pack does not expose the response fields.

Links

Discussion