Class: ForceReply

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ForceReply

Returns a new instance of ForceReply.



193
194
195
196
197
# File 'lib/telegramObjects.rb', line 193

def initialize json
  return if !json
  @force_reply = json["force_reply"]
  @selective = json["selective"]
end

Instance Attribute Details

#force_replyObject

Returns the value of attribute force_reply.



192
193
194
# File 'lib/telegramObjects.rb', line 192

def force_reply
  @force_reply
end

#selectiveObject

Returns the value of attribute selective.



192
193
194
# File 'lib/telegramObjects.rb', line 192

def selective
  @selective
end