Module: TeBot::Cable
- Included in:
- Court
- Defined in:
- lib/te_bot/cable.rb
Instance Method Summary collapse
Instance Method Details
#chat_id ⇒ Object
5 6 7 |
# File 'lib/te_bot/cable.rb', line 5 def chat_id .data&.chat_id end |
#reply(**payload) ⇒ Object
9 10 11 12 13 |
# File 'lib/te_bot/cable.rb', line 9 def reply(**payload) return if chat_id.nil? wire. chat_id, **payload end |