Package it.tdlight.jni
Class TdApi.GetSupergroupMembers
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetSupergroupMembers
- Enclosing class:
- TdApi
public static class TdApi.GetSupergroupMembers extends TdApi.Function
Returns information about members or
banned users in a supergroup or channel.
Can be used only if supergroupFullInfo.canGetMembers
== true; additionally, administrator
privileges may be required for some filters.
Returns ChatMembers
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.SupergroupMembersFilter
filter
The type of users to return; pass null to use supergroupMembersFilterRecent.int
limit
The maximum number of users be returned; up to 200.int
offset
Number of users to skip.long
supergroupId
Identifier of the supergroup or channel. -
Constructor Summary
Constructors Constructor Description GetSupergroupMembers()
Returns information about members or banned users in a supergroup or channel.GetSupergroupMembers(long supergroupId, TdApi.SupergroupMembersFilter filter, int offset, int limit)
Returns information about members or banned users in a supergroup or channel.GetSupergroupMembers(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public long supergroupIdIdentifier of the supergroup or channel. -
filter
The type of users to return; pass null to use supergroupMembersFilterRecent. -
offset
public int offsetNumber of users to skip. -
limit
public int limitThe maximum number of users be returned; up to 200. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetSupergroupMembers
public GetSupergroupMembers()Returns information about members or banned users in a supergroup or channel. Can be used only if supergroupFullInfo.canGetMembers == true; additionally, administrator privileges may be required for some filters.Returns
ChatMembers
-
GetSupergroupMembers
public GetSupergroupMembers(long supergroupId, TdApi.SupergroupMembersFilter filter, int offset, int limit)Returns information about members or banned users in a supergroup or channel. Can be used only if supergroupFullInfo.canGetMembers == true; additionally, administrator privileges may be required for some filters.Returns
ChatMembers
- Parameters:
supergroupId
- long Identifier of the supergroup or channel.filter
- SupergroupMembersFilter The type of users to return; pass null to use supergroupMembersFilterRecent.offset
- int Number of users to skip.limit
- int The maximum number of users be returned; up to 200.
-
GetSupergroupMembers
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-