Method: TD::Client#fetch
- Defined in:
- lib/tdlib/client.rb
#fetch(query) ⇒ Hash Also known as: broadcast_and_receive
Sends asynchronous request to the TDLib client and returns received update synchronously
97 98 99 |
# File 'lib/tdlib/client.rb', line 97 def fetch(query) broadcast(query).value! end |