Swiftpack.co - Package - Boilertalk/VaporTelegramBot

Build Status license swift vapor

:alembic: VaporTelegramBot

This library provides helpers for Vapor 2 to interact with the Telegram bot api. It simplifies the requests to the Telegram API as well as parses incoming updates for you.

:sparkles: Supported features

The following is a list with all features of the facebook Send API and webhooks as of May 2017 together with a note whether it is supported or not. If you find something that's not listed there please open an issue.

Webhooks

TODO: Add supported Webhook / Update features

Requests

TODO: Add supported request features

:package: Installation

This Swift package is intended to be used together with Vapor 2.0.
Add the following line to your dependencies in the Package.swift file:

.Package(url: "https://github.com/Boilertalk/VaporTelegramBot.git", majorVersion: 0)

Your Package.swift file should now look a little bit like the following:

import PackageDescription

let package = Package(
    name: "MyAwesomeBot",
    targets: [
        Target(name: "App"),
        Target(name: "Run", dependencies: ["App"]),
    ],
    dependencies: [
        .Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2),
        .Package(url: "https://github.com/vapor/fluent-provider.git", majorVersion: 1),
        .Package(url: "https://github.com/Boilertalk/VaporTelegramBot.git", majorVersion: 0)
    ],
    exclude: [
        "Config",
        "Database",
        "Localization",
        "Public",
        "Resources",
    ]
)

:book: Documentation

Webhooks

TODO: Add documentation for Webhooks / Updates

Requests

TODO: Add documentation for requests...

:rocket: Contributing

TODO: Add information for contributors...

Github

link
Stars: 1
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.1.0 - Aug 16, 2017

This release implements the most basic functions to parse incoming Telegram bot updates.

TODO: Inline mode and payments