Telegram API allows to get information about members of a SuperGroup. Use the method GetSuperGroupMembers to get information about members or banned users in a supergroup or channel. Can be used only if SupergroupFullInfo.can_get_members is true; additionally, administrator privileges may be required for some filters.
By default the method returns All members of the group, but you can filter the members returned using the Filter parameter. From sgcWebSockets 4.5.0 this method has been improved to allow to filter the members using a set of parameters.
There are the following parameters:
12345678Telegram.GetSupergroupMembers(1452979380);procedure OnTelegramEvent(Sender: TObject; const Event, Text: string);beginif Event = 'chatMembers' thenReadJSON(Text);end;
When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.