vtg-1.0.3 has been yanked.
VTG - dual-platform bots library
Features
- Support callback and longpoll updates
- 90% VK and TG API coverage (messages)
- Unified context for both platforms
- Unified context methods for both platforms
- Unified attachments and file uploads for both platforms
- Unified keyboard for both platforms
- Easy to use
- Easy to understand
- Easy to contribute
Usage
Example using longpoll client:
use env;
use ;
async
async
Example using callback server:
use env;
use ;
async
async
Examples
You can find example bot in the examples folder
Try bot, that works with vtg
You can try test bot, that works in actual version of vtg: tg, vk
Documentation
You can find the documentation here
It's not finished yet:
- Add more tests
- Add more examples
- Add VK and TG API documentation
- Add more features (like more API coverage, etc)
Contact the maintainer
Telegram: @valnesfjord Discord: valnesfjord VK: https://vk.com/cyournamec
Contribution
Contributions are always welcome! If you have any ideas, suggestions, or issues, feel free to contribute. You can fork the repository and create a pull request with your changes, or create an issue if you find any bugs or have suggestions for improvements.
We appreciate your help in making this project better!