Class: Telegram::Bot::Types::ForceReply

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/bot/types/force_reply.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ ForceReply

Returns a new instance of ForceReply.



5
6
7
# File 'lib/telegram/bot/types/force_reply.rb', line 5

def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Instance Attribute Details

#force_replyObject

Returns the value of attribute force_reply.



3
4
5
# File 'lib/telegram/bot/types/force_reply.rb', line 3

def force_reply
  @force_reply
end

#selectiveObject

Returns the value of attribute selective.



3
4
5
# File 'lib/telegram/bot/types/force_reply.rb', line 3

def selective
  @selective
end