tdlib-ruby
tdlib-ruby copied to clipboard
Ruby bindings and client for TDLib
I am trying to run the ruby program given in readme. I have `api_id` and `api_hash`. But the authorization_state is set to WaitTdlibParameters initially and I am not sure how...
Hi, i had the same issue https://github.com/southbridgeio/tdlib-ruby/issues/46. Here is a possible fix. Ruby version: 3.0.1
Hi, can you please patch so that the gem works under *BDS as well? ``` --- lib/tdlib/api.rb.old +++ lib/tdlib/api.rb @@ -80,6 +80,7 @@ case os when :windows then 'dll' when...
Since last dry-configurable gem there are some deprecations on how to pass blocks and default values, so I made the changes accordingly to the code, and increased patch version as...
tdlib-ruby 2.2.0 TDLib 1.6.9 update 14.10.2020 During authorization I received following error: # terminated with exception (report_on_exception is true): /var/lib/gems/2.5.0/gems/tdlib-ruby-2.2.0/lib/tdlib/types.rb:858:in `wrap': Can't find class for updateDiceEmojis (ArgumentError) from /var/lib/gems/2.5.0/gems/tdlib-ruby-2.2.0/lib/tdlib/update_manager.rb:32:in `handle_update'...
I receive all incoming messages, but not user name, how can I get the user name in parallel with receiving the message client.on(TD::Types::Update) do |update| data = update.to_json puts data...
Is there a way to register handlers and then loop forever while processing them? I tried this naive way of doing so: ```ruby while client.alive? end ``` However this pegs...
It's just stuck in the loop: Please, enter your phone number: +7... Please, enter your phone number: +7... Please, enter your phone number: on both Ruby 2.4 and 2.7
Otherwise it does not install and gets stuck requiring ruby 2.5 or even 2.7
My Gemfile: ```ruby gem 'dry-configurable', '0.15.0' gem 'tdlib-ruby' ``` Trying to run the example from the current README and getting only the following: ``` /home/yart/work/alcom/coding/tapp/vendor/bundle/ruby/3.2.0/gems/dry-configurable-0.15.0/lib/dry/configurable/dsl.rb:28:in `initialize' [dry-configurable] passing a constructor...