zerobias / telegram-mtproto

Telegram client api (MTProto) library
MIT License
620 stars 136 forks source link

New Telegram API Schema #226

Closed AlexAndr041 closed 5 years ago

AlexAndr041 commented 5 years ago

In telegram API added few new constructors like inputPeerContact and inputPeerForeign https://core.telegram.org/method/messages.sendMessage How i can send message to Dialog (not chat) with this constructors? i tried to use downloaded Schema https://core.telegram.org/schema/json and https://core.telegram.org/schema/mtproto-json but have error Constructor not found: 3251786849 6 34875619 (like this. Not correct) In teltgram docs last layer is 2-23 but i seen 57,62,71.. why numbers are different?

goodmind commented 5 years ago

this is old schemas

yoolsylva commented 5 years ago

Please check new schemas at: https://tjhorner.com/tl-schema