Module tdlight.api

Class TdApi.GetChatSponsoredMessages

Enclosing class:
TdApi

public static final class TdApi.GetChatSponsoredMessages extends TdApi.Function<TdApi.SponsoredMessages>
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:
  • 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
      Returns sponsored messages to be shown in a chat; for channel chats only. Returns SponsoredMessages
      Throws:
      IOException
  • Method Details