southbridgeio / tdlib-ruby

Ruby bindings and client for TDLib
MIT License
94 stars 45 forks source link

Unknown class setProxy #16

Closed KonstantinReido closed 5 years ago

KonstantinReido commented 6 years ago

Looks like TDLib API changed, can't find setProxy class, maybe need to be replaced with addProxy

[ 1][t 0][1539072236.859003067][ClientJson.cpp:71]  Failed to parse [request:{\0042@type\0042:\0042setProxy\0042,\0042proxy\0042:{\0042@type\0042:\0042proxyEmpty\0042},\0042@extra\0042:\00421163962885272591761539072236.8580601\0042}] [Error : 0 : Unknown class]
vladislav-yashin commented 6 years ago

There's large pull request #14 which also fixes this issue. You can try this out until it merged.

yurijmi commented 6 years ago

You can pretty much ignore that issue, it still works even though it complains about non existing method.

addProxy is very different to use. You need to call it once on the first launch in order to set the proxy. Check out my pull request #14, it has documentation about all the available methods if you need the proxy support.

vladislav-yashin commented 5 years ago

Please, check out v2.0.0