Uses of Class
org.drinkless.tdlib.TdApi.PaidMedia
Packages that use TdApi.PaidMedia
-
Uses of TdApi.PaidMedia in org.drinkless.tdlib
Subclasses of TdApi.PaidMedia in org.drinkless.tdlibModifier and TypeClassDescriptionstatic classThe media is a photo.static classThe media is hidden until the invoice is paid.static classThe media is unsupported.static classThe media is a video.Fields in org.drinkless.tdlib declared as TdApi.PaidMediaModifier and TypeFieldDescriptionTdApi.MessagePaidMedia.mediaInformation about the media.TdApi.StarTransactionTypeBotPaidMediaPurchase.mediaThe bought media if the transaction wasn't refunded.TdApi.StarTransactionTypeBotPaidMediaSale.mediaThe bought media.TdApi.StarTransactionTypeChannelPaidMediaPurchase.mediaThe bought media if the transaction wasn't refunded.TdApi.StarTransactionTypeChannelPaidMediaSale.mediaThe bought media.TdApi.MessageInvoice.paidMediaExtended media attached to the invoice; may be null if none.Constructors in org.drinkless.tdlib with parameters of type TdApi.PaidMediaModifierConstructorDescriptionMessageInvoice(TdApi.ProductInfo productInfo, String currency, long totalAmount, String startParameter, boolean isTest, boolean needShippingAddress, long receiptMessageId, TdApi.PaidMedia paidMedia, TdApi.FormattedText paidMediaCaption) A message with an invoice from a bot.MessagePaidMedia(long starCount, TdApi.PaidMedia[] media, TdApi.FormattedText caption, boolean showCaptionAboveMedia) A message with paid media.StarTransactionTypeBotPaidMediaPurchase(long userId, TdApi.PaidMedia[] media) The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.StarTransactionTypeBotPaidMediaSale(long userId, TdApi.PaidMedia[] media, String payload, TdApi.AffiliateInfo affiliate) The transaction is a sale of paid media by the bot or a business account managed by the bot; for bots only.StarTransactionTypeChannelPaidMediaPurchase(long chatId, long messageId, TdApi.PaidMedia[] media) The transaction is a purchase of paid media from a channel by the current user; for regular users only.StarTransactionTypeChannelPaidMediaSale(long userId, long messageId, TdApi.PaidMedia[] media) The transaction is a sale of paid media by the channel chat; for channel chats only.