Skip to content

Guides

The behaviour behind the tool reference: the shapes tools return, the identifiers they accept, and the Telegram rules that leak through into their parameters.

Sections

  • Messages


    The output format of every read tool, the required parseMode, and the CommonMark subset's known limits.

    Messages

  • Peers


    The one identifier shape used everywhere, and how @username, numeric IDs and invite links resolve.

    Peers

  • Search


    Server-side kind filters, the global compound cursor, and history pagination.

    Search

  • Resources and Prompts


    Every resource and prompt the server registers, and subscribing to a chat's new messages.

    Resources and Prompts

  • Posting as a channel


    The sendAs identity, the chat default, and what MTProto will not let a client do.

    Posting as a channel

  • Reactions


    Standard and custom-emoji encoding, and why a reactor is not always a user.

    Reactions