Module tdlight.api

Class TdApi.GetMessageViewers

Enclosing class:
TdApi

public static final class TdApi.GetMessageViewers extends TdApi.Function<TdApi.Users>
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 Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      Identifier of the message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageViewers

      public GetMessageViewers()
      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)
      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 - long Chat identifier.
      messageId - long Identifier of the message.
    • GetMessageViewers

      public GetMessageViewers(DataInput input) throws IOException
      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

      Throws:
      IOException
  • Method Details