Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethosa/telenim
The telegram framework written in Nim
https://github.com/ethosa/telenim
async metaprogramming nim-lang telegram telegram-api
Last synced: 17 days ago
JSON representation
The telegram framework written in Nim
- Host: GitHub
- URL: https://github.com/ethosa/telenim
- Owner: Ethosa
- License: mit
- Created: 2020-06-25T16:30:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T09:59:35.000Z (over 4 years ago)
- Last Synced: 2024-10-31T13:23:42.221Z (2 months ago)
- Topics: async, metaprogramming, nim-lang, telegram, telegram-api
- Language: Nim
- Homepage:
- Size: 73.2 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Telenim
The telegram framework written in Nim.[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![Nim language-plastic](https://github.com/Ethosa/yukiko/blob/master/nim-lang.svg)](https://github.com/Ethosa/yukiko/blob/master/nim-lang.svg)
[![License](https://img.shields.io/github/license/Ethosa/telenim)](https://github.com/Ethosa/telenim/blob/master/LICENSE)
[![time tracker](https://wakatime.com/badge/github/Ethosa/telenim.svg)](https://wakatime.com/badge/github/Ethosa/telenim)
[![Tests](https://github.com/Ethosa/telenim/workflows/Tests/badge.svg)](https://github.com/Ethosa/telenim/blob/master/tests)
[![gh-pages](https://github.com/Ethosa/telenim/workflows/gh-pages/badge.svg)](https://ethosa.github.io/telenim/telenim.html)## Install
- `nimble install https://github.com/Ethosa/telenim`## Features
- only stdlib was used;
- telegram types support;
- handlers;## Simple usage
```nim
import telenimvar api = TelegramApi("878812:lashfbajsb")
api@update(event): # handles any telegram update
# `event` is an Update object.
echo update.update_idapi.listen()
```## F.A.Q.
*Q*: Where I can see examples?
*A*: You can see it [here](https://github.com/Ethosa/telenim/blob/master/tests)*Q*: Where can I read the docs?
*A*: You can read docs [here](https://ethosa.github.io/telenim/telenim.html)
Copyright 2020 Ethosa