mtproto icon indicating copy to clipboard operation
mtproto copied to clipboard

[BUG]: UserID is int64, not int32. updating to layer 133

Open r1der23 opened this issue 2 years ago • 4 comments

Unfortunately, when i have tried to send message to bot, i found that bot id is more than int32) etc

r1der23 avatar Oct 12 '22 02:10 r1der23

i used layer133 scheme, and has solved problems with PseudoBool, Null, sure i have not implement new methods from layer 121(current) to 133, but now it works with 64bit ids. i m not sure that it s good to make pull request for that, because it s not full layer 133 support, but if somebody need. also i have fixed problem BadMsgNotification if many sim calls. just put SeqNo mutex above in the code.

it s patch if somebody need

https://transfer.sh/apLbMh/0002-mutex.patch https://transfer.sh/CUUUJm/0001-layer133.patch

btw sorry for my english and code quality, i m newbie

r1der23 avatar Oct 12 '22 18:10 r1der23

Yes, the same problem, telegram does not accepting current AppID, so without 133 layer support by this package you won`t be able to even authenticate telegram account

KovshefulCoder avatar Apr 09 '23 11:04 KovshefulCoder

@r1der23 links are unavailable

KovshefulCoder avatar Apr 09 '23 11:04 KovshefulCoder

Hello. Thanks for you job. @r1der23 - update please links or share please your code

vench avatar Apr 18 '23 21:04 vench