Class: TD::Types::ChannelTransactionPurpose::PaidMedia

Inherits:
TD::Types::ChannelTransactionPurpose show all
Defined in:
lib/tdlib/types/channel_transaction_purpose/paid_media.rb

Overview

Paid media were bought.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#mediaArray<TD::Types::PaidMedia>

The bought media if the trancastion wasn’t refunded.

Returns:



7
8
9
# File 'lib/tdlib/types/channel_transaction_purpose/paid_media.rb', line 7

def media
  @media
end

#message_idInteger

Identifier of the corresponding message with paid media; can be an identifier of a deleted message.

Returns:

  • (Integer)

    the current value of message_id



7
8
9
# File 'lib/tdlib/types/channel_transaction_purpose/paid_media.rb', line 7

def message_id
  @message_id
end