/v-telegram-bot

This framework is written in the V programming language.

Primary LanguageVMIT LicenseMIT

v-telegram-bot

V for Vendetta Telegram

Installing v-telegram-bot

$ git clone https://github.com/vTelegramBot/v-telegram-bot.git
$ cd v-telegram-bot
$ vpm install setup.v --upgrade
$ vpm --help "v-telegram-bot"
Guide:
  1. How to use?
  2. FAQ

Example

Click to see a basic example
module main

import telegram { Bot }

bot := Bot('TOKEN')


fn main(message: Message) {
    bot.send_message(message.chat.id, 'Hello, vTelegramBot!')
}

Official resources:

Code Contributors

xxx