I want to get admins of Telegram groups, I try with this code but I get empty response, my code
client.connect()
if not client.is_user_authorized():
client.send_code_request(phone)
client.sign_in(phone, input('Enter the code: '))
result = client(functions.channels.GetParticipantsRequest(
channel='mychannel',
filter=types.ChannelParticipantsAdmins(),
offset=42,
limit=100,
hash=0
))
print(result.stringify())
this is my response I've got
ChannelParticipants(
count=1,
participants=[
],
users=[
]
)