npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agentapps/app.telegram

v3.0.1

Published

Send messages and manage chats via Telegram Bot API

Readme

Telegram

Lets an agent act as a Telegram bot through the Telegram Bot API (https://api.telegram.org): send text, photos, documents and locations, edit, delete, forward and pin messages, and read information about chats and their members. It uses one bot token for every installation. The bot can only write to chats where it has been added or that have started it, and some tools need the bot to be an administrator of the chat. The app does not receive messages: it has no tool or event for incoming updates. Requests are not retried.

Tools

| Tool | What it does | Writes? | |---|---|---| | send-message | Sends a text message to a chat, with optional HTML or Markdown formatting. | yes, asks first | | send-photo | Sends a photo given by URL or by the file_id of one already uploaded. | yes, asks first | | send-document | Sends a document given by URL or by file_id. | yes, asks first | | send-location | Sends a location (latitude and longitude). | yes, asks first | | edit-message | Edits the text of a message the bot sent. | yes, asks first | | delete-message | Deletes a message from a chat. | yes, asks first | | get-chat | Returns information about a group, supergroup or channel. | no | | get-chat-member | Returns a chat member's status, permissions and user details. | no | | get-chat-members-count | Returns the number of members in a chat. | no | | get-me | Returns the bot's username, name and capabilities. | no | | forward-message | Forwards a message from one chat to another. | yes, asks first | | pin-message | Pins a message. The bot must be an administrator. | yes, asks first | | set-chat-title | Changes a chat's title. The bot must be an administrator. | yes, asks first | | answer-callback-query | Answers a callback query sent from an inline keyboard. | yes, asks first |

Setup

agentapps install app.telegram telegram
agentapps config app.telegram BOT_TOKEN:<your bot token>
agentapps telegram tools
agentapps telegram tool get-me

BOT_TOKEN is a system secret: one bot for every installation of the app. Create a bot by talking to @BotFather in Telegram; it gives you the token.

Terms of use

Telegram's Bot Developer Terms of Service apply to the bot and to everything the app does with it: https://telegram.org/tos/bot-developers.

Logos

TODO: record the official source of assets/logo.svg and assets/logo-mono.svg (Telegram's press kit, brand guidelines or its own site). They have been in the repository since before this README existed and their origin was not written down.