Class TdApi.GetMessageStatistics

Enclosing class:
TdApi

public static class TdApi.GetMessageStatistics
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details