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.



198
199
200
201
202
# File 'lib/telegramObjects.rb', line 198

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.



197
198
199
# File 'lib/telegramObjects.rb', line 197

def force_reply
  @force_reply
end

#selectiveObject

Returns the value of attribute selective.



197
198
199
# File 'lib/telegramObjects.rb', line 197

def selective
  @selective
end