Sha256: 6b62acb7da6ebe7adcac169c6d075f2ae2f56193e4dd786cf3822d851b99ed19
Contents?: true
Size: 1.36 KB
Versions: 2
Compression:
Stored size: 1.36 KB
Contents
module TD::Types # A message with an invoice from a bot. # # @attr title [TD::Types::String] Product title. # @attr description [TD::Types::String] Product description. # @attr photo [TD::Types::Photo, nil] Product photo; may be null. # @attr currency [TD::Types::String] Currency for the product price. # @attr total_amount [Integer] Product total price in the smallest units of the currency. # @attr start_parameter [TD::Types::String] Unique invoice bot start_parameter. # To share an invoice use the URL https://t.me/{bot_username}?start={start_parameter}. # @attr is_test [Boolean] True, if the invoice is a test invoice. # @attr need_shipping_address [Boolean] True, if the shipping address should be specified. # @attr receipt_message_id [Integer] The identifier of the message with the receipt, after the product has been # purchased. class MessageContent::Invoice < MessageContent attribute :title, TD::Types::String attribute :description, TD::Types::String attribute :photo, TD::Types::Photo.optional.default(nil) attribute :currency, TD::Types::String attribute :total_amount, TD::Types::Coercible::Integer attribute :start_parameter, TD::Types::String attribute :is_test, TD::Types::Bool attribute :need_shipping_address, TD::Types::Bool attribute :receipt_message_id, TD::Types::Coercible::Integer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/message_content/invoice.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/message_content/invoice.rb |