Skip to content

chenxsan/TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelegramBot

A simple Telegram Bot API wrapper for elixir.

Installation

Just add telegram_bot to your list of dependencies in mix.exs:

def deps do
  [
    {:telegram_bot, "~> 1.0.1"}
  ]
end

Then run mix deps.get.

And configure telegram token for telegram_bot in dev.exs and prod.exs:

# Configures token for telegram bot
config :telegram_bot,
  token: System.get_env("TELEGRAM_TOKEN")

Methods supported

  1. getMe
  2. sendMessage
  3. getFile

About

Telegram Bot API wrapper for elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages