tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.22k stars 1.46k forks source link

Get response from td_json_client_create() which is an Int64 data type of length 15 characters #1589

Closed sangle1996 closed 2 years ago

sangle1996 commented 3 years ago

image Hi guys, im creating a plugin for flutter using TDLib c++. But i don't know how to get the clientID which is an Int64 data type of length 15 characters (like Swift and Kotlin response from this). How can i get this. Thanks

levlam commented 3 years ago

client_id exists only in the new JSON interface and is returned by td_create_client_id. The old interface returned raw pointer.