windkh / node-red-contrib-telegrambot

Telegram bot nodes for node-red.
Other
256 stars 116 forks source link

live location in groups #297

Closed PeterHunt closed 8 months ago

PeterHunt commented 1 year ago

Hello,

I just started testing with live locations in a group. As far as I can see, only the initial location is sent, but I cannot find any updates (edited message). In private chats this is working perfectly.

Am I overseeing something, or might groups intendently have been excluded?

Kind regards, Peter Hunt

windkh commented 1 year ago

Hm never tried that. Can you share a flow where I can see what you want to achieve?

PeterHunt commented 1 year ago

My flows are pretty complicated :)

I think the user-case will be a bit too much to explain, but let me try a little basic, without the end-user data. A user can send his fixed location which can provide him some data in his area. A user can also send his live location so he gets constant updates from his (changing) area. When monitoring the debug node attached to the Event Node > Edited Message, I see the constant updates from the location.

As mentioned in the OP, when user sends his live location in a group, the BOT fetches the initial location coordinates, but I don't see any updates.

I think it should be enough to create a test group with you and the BOT and to see if you are able to fetch location updates anywhere. I think the current BOT version does not supports it (yet).

Kind regards, Peter Hunt.

windkh commented 1 year ago

You closed it?

PeterHunt commented 1 year ago

Sorry I don't think I intended to close this one. For my use-case I only needed a group for test-purposes. I don't need it permanently. So I guess this still remains an issue. Not for me, so you should't give it any priority right now :)

nkgiovannivl commented 8 months ago

Hi All,

I'm having the same issue, when a location is shared on a group, every coordinates change generate a updates message, but the node does not detect , using polling or webhook.

image

So, I'm not sure if it's a bug or I'm missing some configuration?

windkh commented 8 months ago

I will check if there are limitations by telegram...

nkgiovannivl commented 8 months ago

I will check if there are limitations by telegram...

Well, just after a full node red restart, location updates are incoming from edited message, thanks!

windkh commented 8 months ago

Hi all, I checked it out: in my group I get notifications for location updates as "edited_message" via the event node.