painor
painor
Nope, it has nothing to do with that. That's just a callback function. Can you try a simple nodeJS script and see if that works? I'm not sure if meteorJS...
you can login once and save the session to use again without needing to login.
you can run the code in nodeJS and use the session string in meteor, In that case you will not need to login again. When I said a callback I...
Yes you can use the same session token on another environment. You just can't use the same session at the same time with two separate IPs. so if you only...
You only need to do this once. It's the same as logging in with your mobile app, you never need to relog unless you have logged out from somewhere else.
Yes. You don't need to call .start() actually since .connect() is enough after the first login.
as you can see in https://gram.js.org/tl/messages/GetChatInviteImporters , it has more params than just peer and link https://corefork.telegram.org/method/messages.getChatInviteImporters If something doesn't have the word "flag" in it's title then it's a...
you have to use downloadFile with thumbs not download media. Sometimes the thumb has all the info (when it's of type (Api.PhotoCachedSize and Api.PhotoStrippedSize) in which case you have to...
Sessions can be of different types. mtproto.session will be the type you passed to TelegramClient To make TS know that you can cast the session type. (session as StringSession).save()
you can use webpack to create a dist file (clone this repo and just run webpack) and then you import it like any other file.