Class TdApi.PushMessageContentPaidMedia

Enclosing class:
TdApi

public static class TdApi.PushMessageContentPaidMedia extends TdApi.PushMessageContent
A message with paid media.
  • Field Details

    • starCount

      public long starCount
      Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.
    • isPinned

      public boolean isPinned
      True, if the message is a pinned message with the specified content.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PushMessageContentPaidMedia

      public PushMessageContentPaidMedia()
      A message with paid media.
    • PushMessageContentPaidMedia

      public PushMessageContentPaidMedia(long starCount, boolean isPinned)
      A message with paid media.
      Parameters:
      starCount - Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.
      isPinned - True, if the message is a pinned message with the specified content.
  • Method Details