Module tdlight.api

Class TdApi.GetMessageViewers

Enclosing class:
TdApi

public static final class TdApi.GetMessageViewers extends TdApi.Function<TdApi.MessageViewers>
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 MessageViewers
  • 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 MessageViewers
    • 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 MessageViewers
      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 MessageViewers
      Throws:
      IOException
  • Method Details