MateBot
  • Welcome to MateBot
  • Why MateBot ?
  • Getting started
  • GUIDES
    • Bots
    • Commands
    • Conversations
    • Debugging
    • Chats
    • Moderations
  • âŒ¨ī¸SCRIPTING
    • â„šī¸Introduction
    • 🚀API
    • đŸ’ŦConversations
    • 🎲Random
    • đŸ“ļHTTP
    • 🧊Resource
    • đŸŦStorage
    • 🎹Keyboard
    • đŸƒâ€â™‚ī¸Run Command
Powered by GitBook
On this page
  1. SCRIPTING

API

Access Telegram Bot API and methods.

PreviousIntroductionNextConversations

Last updated 1 year ago

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 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!");
âŒ¨ī¸
🚀
Telegram Docs