class TelegramMeetupBot::Botan

Attributes

author_id[R]
bot[R]

Public Class Methods

new(args) click to toggle source
# File lib/telegram_meetup_bot/botan.rb, line 5
def initialize(args)
  @bot = args.fetch(:bot)
  @author_id = args.fetch(:author_id)
end

Public Instance Methods

track(command) click to toggle source
# File lib/telegram_meetup_bot/botan.rb, line 10
def track(command)
  bot.track(command, author_id)
end