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
      Identifier of the chat with the sponsored message.
    • sponsoredMessageId

      public int sponsoredMessageId
      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, int sponsoredMessageId)
      Informs TDLib that a sponsored message was viewed by the user.

      Returns Ok

      Parameters:
      chatId - long Identifier of the chat with the sponsored message.
      sponsoredMessageId - int The identifier of the sponsored message being viewed.
    • ViewSponsoredMessage

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