Class: Telbe::Descriptor
- Inherits:
-
Object
show all
- Defined in:
- lib/telbe/base.rb
Class Method Summary
collapse
Class Method Details
.inherited(base) ⇒ Object
3
4
5
6
7
8
9
|
# File 'lib/telbe/base.rb', line 3
def self.inherited(base)
base.send(:include, SimplifyApi)
base.send(:attribute, :chat_id, Object, mandatory: true)
base.send(:attribute, :disable_notification, values: [true, false], default: false)
base.send(:attribute, :reply_to_message_id, Integer)
base.send(:attribute, :reply_markup, Object)
end
|