I am writing a telegram application, and I cannot figure out how to determine which users are admins in the chat? I use the messages.getFullChat method https://core.telegram.org/method/messages.getFullChat to get all of the chat users. The data comes in the following format:
[ { _: 'user', flags: 2171, contact: true, id: 308452873, access_hash: '9950118122100162821', first_name: 'Dugarry', username: 'iwilldoit88', phone: '380990108863', photo: { _: 'userProfilePhoto', photo_id: '1324795002348480425', photo_small: { _: 'fileLocation', dc_id: 2, volume_id: '223024924', local_id: 417467, secret: '177921745850179414' }, photo_big: { _: 'fileLocation', dc_id: 2, volume_id: '223024924', local_id: 417469, secret: '7026522777044114568' } }, status: { _: 'userStatusOffline', was_online: 1508030678 } }, But it is not clear which of them are admins. Can someone suggest a way to get chat admins?
id: 308452873-id: 308452873. If you want to be a group or no supergroup - Tarasovych