Class TdApi.GetChatSponsoredMessages

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetChatSponsoredMessages
Enclosing class:
TdApi

public static class TdApi.GetChatSponsoredMessages
extends TdApi.Function
Returns sponsored messages to be shown in a chat; for channel chats only.

Returns SponsoredMessages

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • CONSTRUCTOR

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

    • GetChatSponsoredMessages

      public GetChatSponsoredMessages()
      Returns sponsored messages to be shown in a chat; for channel chats only.

      Returns SponsoredMessages

    • GetChatSponsoredMessages

      public GetChatSponsoredMessages​(long chatId)
      Returns sponsored messages to be shown in a chat; for channel chats only.

      Returns SponsoredMessages

      Parameters:
      chatId - long Identifier of the chat.
    • GetChatSponsoredMessages

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