telegram-rb icon indicating copy to clipboard operation
telegram-rb copied to clipboard

A Ruby wrapper that communicates with the Telegram-CLI.

Results 5 telegram-rb issues
Sort by recently updated
recently updated
newest added

``` telegram = Telegram::Client.new do |cfg, auth| cfg.daemon = '~/tg/bin/telegram-cli' cfg.key = '~/tg/tg-server.pub' cfg.logger = Logger.new(STDOUT) puts cfg.class, auth.class auth.phone_number = '+whatever' auth.confirmation_code = -> { gets.strip.to_i } end ```...

code: ``` telegram = Telegram::Client.new do |cfg, auth| cfg.daemon = '/usr/local/src/tg/bin/telegram-cli' cfg.key = '/usr/local/src/tg/tg-server.pub' cfg.sock = '/home/telegramd/tg.sock' cfg.logger = Logger.new(STDOUT) # optional, default logger will be created if not set...

Hi, Where should I implement these codes in my rails project? https://github.com/ssut/telegram-rb#usage in lib folder in a new file? sorry for being novice 😭

I need to check if a person is registered in Telegram with specified number. According to telegram's docs, this is it: auth.checkPhone https://core.telegram.org/method/auth.checkPhone However i struggle to implement this in...

Steps to reproduce: 1. Run example code 2. Receive a message to current account, see `