🚀API

Access Telegram Bot API and methods.

MateBot uses grammY framework internally to build your bots, so it's is recommended to always check grammY documentation website for any updates. Also you can check official Telegram Docs for method related queries.

Here are some examples on how to use API methods in MateBot Script.

Send message to any chat using chat_id.

Bot.api.sendMessage(12345, "Hello!");

Last updated