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 Detail

      • 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetMessageStatistics

        public GetMessageStatistics()
        Default constructor for a function, which 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)
        Creates a function, which returns detailed statistics about a message. Can be used only if message.canGetStatistics == true.

        Returns MessageStatistics

        Parameters:
        chatId - Chat identifier.
        messageId - Message identifier.
        isDark - Pass true if a dark theme is used by the application.