Class: Telegram::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/controller.rb

Instance Method Summary collapse

Instance Method Details

#bot_name=(name) ⇒ Object



13
14
15
# File 'lib/telegram/controller.rb', line 13

def bot_name= name
  @bot_name = name
end

#bots=(adapters) ⇒ Object



8
9
10
# File 'lib/telegram/controller.rb', line 8

def bots= adapters
  @bots = adapters
end

#explicit_response?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/telegram/controller.rb', line 23

def explicit_response?
  @explicit_response
end

#message=(payload) ⇒ Object



18
19
20
# File 'lib/telegram/controller.rb', line 18

def message= payload
  @message = payload
end