Sergey Noskov
Sergey Noskov
Solution: 1. U need recompile bytes string from file_reference represent for request (it's not working w/o Buffer - wrong bytes represent) 2. U need setting up limit = 1024* 1024...
Something wrong w/ user_id, access_hash. On my user this code work correctly. U can try it on your user.
U need use type InputChannel instead of inputPeerChannel [https://core.telegram.org/method/channels.readHistory](url)
I cant download Photos by using method upload.getFile (w/ inputPhotoFileLocation)
Param id's type need to be InputUser, not int [https://core.telegram.org/method/users.getFullUser](url) [https://core.telegram.org/type/InputUser](url) [https://core.telegram.org/constructor/inputUser](url) e.g. inputUserSelf const user_info = await api.call('users.getFullUser', { id: { _: 'inputUserSelf' } }) console.log(user_info); inputUser const user_info...