Popularity
2.4
Stable
Activity
4.1
-
27
5
5

Programming language: Go
License: MIT License
Tags: Third-party APIs    
Latest version: v1.1.1

micha alternatives and similar packages

Based on the "Third-party APIs" category.
Alternatively, view micha alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of micha or a related project?

Add another 'Third-party APIs' Package

README

Micha

Tests Coverage Status Go Report Card PkgGoDev Gitter

Client lib for Telegram bot api. Supports Bot API v2.3.1 (of 4th Dec 2016).

Simple echo bot example:
package main

import (
    "log"

    "github.com/onrik/micha"
)

func main() {
    bot, err := micha.NewBot("<token>")
    if err != nil {
        log.Fatal(err)
    }

    go bot.Start()

    for update := range bot.Updates() {
        if update.Message != nil {
            bot.SendMessage(update.Message.Chat.ID, update.Message.Text, nil)
        }
    }
}