Package org.drinkless.tdlib
Class TdApi.StorageStatisticsByChat
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StorageStatisticsByChat
- Enclosing class:
- TdApi
Contains the storage usage statistics for a specific chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionStatistics split by file types.longChat identifier; 0 if none.static final intIdentifier uniquely determining type of the object.intTotal number of files in the chat.longTotal size of the files in the chat, in bytes. -
Constructor Summary
ConstructorsConstructorDescriptionContains the storage usage statistics for a specific chat.StorageStatisticsByChat(long chatId, long size, int count, TdApi.StorageStatisticsByFileType[] byFileType) Contains the storage usage statistics for a specific chat. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier; 0 if none. -
size
public long sizeTotal size of the files in the chat, in bytes. -
count
public int countTotal number of files in the chat. -
byFileType
Statistics split by file types. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StorageStatisticsByChat
public StorageStatisticsByChat()Contains the storage usage statistics for a specific chat. -
StorageStatisticsByChat
public StorageStatisticsByChat(long chatId, long size, int count, TdApi.StorageStatisticsByFileType[] byFileType) Contains the storage usage statistics for a specific chat.- Parameters:
chatId- Chat identifier; 0 if none.size- Total size of the files in the chat, in bytes.count- Total number of files in the chat.byFileType- Statistics split by file types.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-