Module tdlight.api

Class TdApi.GetMessageStatistics

Enclosing class:
TdApi

public static final class TdApi.GetMessageStatistics extends TdApi.Function<TdApi.MessageStatistics>
Returns detailed statistics about a message. Can be used only if message.canGetStatistics == true. Returns MessageStatistics
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      Message identifier.
    • isDark

      public boolean isDark
      Pass true if a dark theme is used by the application.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageStatistics

      public GetMessageStatistics()
      Returns detailed statistics about a message. Can be used only if message.canGetStatistics == true. Returns MessageStatistics
    • GetMessageStatistics

      public GetMessageStatistics(long chatId, long messageId, boolean isDark)
      Returns detailed statistics about a message. Can be used only if message.canGetStatistics == true. Returns MessageStatistics
      Parameters:
      chatId - long Chat identifier.
      messageId - long Message identifier.
      isDark - boolean Pass true if a dark theme is used by the application.
    • GetMessageStatistics

      public GetMessageStatistics(DataInput input) throws IOException
      Returns detailed statistics about a message. Can be used only if message.canGetStatistics == true. Returns MessageStatistics
      Throws:
      IOException
  • Method Details