Class TdApi.GetMessageViewers

  • Enclosing class:
    TdApi

    public static class TdApi.GetMessageViewers
    extends TdApi.Function
    Returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.

    Returns Users

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • messageId

        public long messageId
        Identifier of the message.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetMessageViewers

        public GetMessageViewers()
        Default constructor for a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.

        Returns Users

      • GetMessageViewers

        public GetMessageViewers​(long chatId,
                                 long messageId)
        Creates a function, which returns viewers of a recent outgoing message in a basic group or a supergroup chat. For video notes and voice notes only users, opened content of the message, are returned. The method can be called if message.canGetViewers == true.

        Returns Users

        Parameters:
        chatId - Chat identifier.
        messageId - Identifier of the message.