module TelegramBot

Constants

VERSION

Public Class Methods

new(*args) click to toggle source
# File lib/telegram_bot.rb, line 22
def self.new(*args)
  Bot.new(*args)
end

Public Instance Methods

to_h() click to toggle source
# File lib/telegram_bot/force_replay.rb, line 17
def to_h
  h = {force_reply: true}
  h[:selective] = selective unless selective.nil?
  h
end