painor
painor
> Hi @painor, > > I'm using getParticipant to check if the user who sent a message is a group admin. > > But that doesn't work on all channels...
I don't think this is the correct fix for it. In browsers, it should pickup `vesta.web.telegram.org` as the default URL. For Node it should be an IP not a URL.
This is a limitation done by telegram, You have to first add them as contact and then send a message to your contact as the number might not exists. This...
There is a hanging promise that runs once a minute the background to ping telegram. the client did disconnect but node won't close the program until that hanging promise is...
not currently sadly :/ you'd have to manually run it. if you are only using it in testing and won't have long running tasks you can maybe patch the method...
What method did you use to check if there are new messages? Telegram will sometimes skip these events for big channels if you don't show interest in them. You can...
> > What method did you use to check if there are new messages? Telegram will sometimes skip these events for big channels if you don't show interest in them....
The easiest way is to download the npm browser pack. it will come with all the correct files. if you want to use webpack then currently you'll have to rename...
you can't get a URL of a picture but you can download it and probably convert it to base64 to show it in your html. https://gram.js.org/beta/classes/TelegramClient.html#downloadProfilePhoto
They simply host it in their server. They download it as a blob (buffer) and then they can do whatever they want with it. Gramjs does not have a server...