- Enclosing class:
- TdApi
Returns detailed statistics about a
chat. Currently, this method can be
used only for supergroups and channels.
Can be used only if
supergroupFullInfo.canGetStatistics == true.
Returns
ChatStatistics-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intbooleanPass true if a dark theme is used by the application. -
Constructor Summary
ConstructorsConstructorDescriptionReturns detailed statistics about a chat.GetChatStatistics(long chatId, boolean isDark) Returns detailed statistics about a chat.GetChatStatistics(DataInput input) Returns detailed statistics about a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
isDark
public boolean isDarkPass true if a dark theme is used by the application. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatStatistics
public GetChatStatistics()Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.canGetStatistics == true. ReturnsChatStatistics -
GetChatStatistics
public GetChatStatistics(long chatId, boolean isDark) Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.canGetStatistics == true. ReturnsChatStatistics- Parameters:
chatId- long Chat identifier.isDark- boolean Pass true if a dark theme is used by the application.
-
GetChatStatistics
Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.canGetStatistics == true. ReturnsChatStatistics- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-