Class TdApi.ViewSponsoredMessage

Enclosing class:
TdApi

public static class TdApi.ViewSponsoredMessage
extends TdApi.Function
Informs TDLib that a sponsored message was viewed by the user.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public byte[] messageId
      The identifier of the sponsored message being viewed.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • ViewSponsoredMessage

      public ViewSponsoredMessage()
      Informs TDLib that a sponsored message was viewed by the user.

      Returns Ok

    • ViewSponsoredMessage

      public ViewSponsoredMessage​(long chatId, byte[] messageId)
      Informs TDLib that a sponsored message was viewed by the user.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      messageId - byte[] The identifier of the sponsored message being viewed.
    • ViewSponsoredMessage

      public ViewSponsoredMessage​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details