- 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
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
boolean
Pass true if a dark theme is used by the application. -
Constructor Summary
ConstructorDescriptionReturns detailed statistics about a chat.GetChatStatistics
(long chatId, boolean isDark) Returns detailed statistics about a chat.GetChatStatistics
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods 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.Returns
ChatStatistics
-
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.Returns
ChatStatistics
- Parameters:
chatId
- long Chat identifier.isDark
- boolean Pass true if a dark theme is used by the application.
-
GetChatStatistics
- 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()
-