E
E
Egor2020-09-19 17:28:47
PHP
Egor, 2020-09-19 17:28:47

How do I know if the sender of a message is a conversation admin?

I use callback api vk to create my bot. Let's say the bot received a notification about a new message in a conversation, and this message is a command. How can I check if this message was sent by an administrator or a regular user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
felony13twelve, 2020-09-19
@KenKup11

Check the user ID and then compare :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question