class Ant::Bot::Adapter::Telegram

Interface for connecting with telegram api TODO: Implement this

Public Class Methods

new(configs) click to toggle source
# File lib/ant/bot/adapters/telegram.rb, line 9
def initialize(configs); end

Public Instance Methods

read_message() click to toggle source

Interface for receiving message

# File lib/ant/bot/adapters/telegram.rb, line 12
def read_message
  raise
end
send_audio(_channel, _audio_url) click to toggle source

interface for sending uadio

# File lib/ant/bot/adapters/telegram.rb, line 27
def send_audio(_channel, _audio_url)
  raise
end
send_image(_channel, _image_url) click to toggle source

interface for sending image

# File lib/ant/bot/adapters/telegram.rb, line 32
def send_image(_channel, _image_url)
  raise
end
send_message(_channel, _contents) click to toggle source

interface for sending messages

# File lib/ant/bot/adapters/telegram.rb, line 17
def send_message(_channel, _contents)
  raise
end
send_video(_channel, _video_url) click to toggle source

interface for sending video

# File lib/ant/bot/adapters/telegram.rb, line 22
def send_video(_channel, _video_url)
  raise
end