Answer the question
In order to leave comments, you need to log in
How to get the ID of the creator of the conversation (or administrators)?
Hello, I'm having a problem getting the admins or creator ID. I use the "messages.getConversationMember" method and from it I was able to get the IDs of all the participants in the conversation, but I could not separate the IDs of the administrators and the creator from the main heap. How can I do that?
Now my script looks something like this:
get_id = session_api.messages.getById(message_ids=event.message_id)
admin_info = session_api.messages.getConversationMembers(peer_id=event.peer_id)
admin_items = admin_info["items"]
for item in admin_items:
member_get = item["is_owner"]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question