#chat.leave not a function. groupParticipants not coming, chat object changed URGENT HELP

20 messages · Page 1 of 1 (latest)

torpid berry
hearty marsh
#

great thanks @torpid berry

#

but still archived: undefined, coming inside groupMetaData

#

how can I get archived or not details? Can you please help? @torpid berry

torpid berry
#

I tested and it works fine

hearty marsh
#

ok checking

#

can you help me please in this ccase.

When I got removed from one group and I use that groups url to join again in that case chat object comes undefined and for Reset also it comes undefined. So how can i identify this and seperate Reset groups and Removed by admin groups

#

@torpid berry

hearty marsh
#

This chat object comes undefined for "You can't join this group because you were removed." and Also for a "Reset" group it come undefined. How to differentiate..

Can you please help me? @torpid berry

torpid berry
#

Don't keep ping me

#

You were removed from the group and groups have some security to avoid join spam

hearty marsh
#

ok sorry. but i don't want to join again. I just want to know whether i was removed or the link has been reset

torpid berry
#

But if you are not the group admin you aren't notified

#

You are only a regular user

#

I'm not sure but it is a better idea for you to get the group by id and check the participants

hearty marsh
#

yes yes by id only i am checking and getting chat object as UNDEFINED

torpid berry
#

Certainly you are doing something wrong, or you are not using the PR or you have a bad code

hearty marsh
#

Can you please test it. Like get a group from where admin had removed you. Then use that groups ID and use the same account and try to fetch chat object see it is coming undefined just as when a Group ID gets Reset then also it comes undefined

torpid berry
#

I don't have a way to test this specific case, so much work for a help