I I want, lets say, determine if a user can ban a user and delete messages I would need to call searchChatMembers for that particular user every time I enter a chat, with the right query and filter set. And then walk down chatMember->status->chatMemberStatusAdministrator->rights->can_delete_messages|can_restrict_members or of course its chatMember->status->chatMemberStatusCreator
That sounds complex, is there a better way to do this?
Hi there,
I I want, lets say, determine if a user can ban a user and delete messages I would need to call searchChatMembers for that particular user every time I enter a chat, with the right query and filter set. And then walk down chatMember->status->chatMemberStatusAdministrator->rights->can_delete_messages|can_restrict_members or of course its chatMember->status->chatMemberStatusCreator
That sounds complex, is there a better way to do this?