Sha256: f6e0da977f633753edf6436b0d95ea140f554ec483e4c33a10a246e7d7403cbd
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
module TD::Types # A message with an invoice; can be used only by bots. # # @attr invoice [TD::Types::Invoice] Invoice. # @attr title [String] Product title; 1-32 characters. # @attr description [String] Product description; 0-255 characters. # @attr photo_url [String, nil] Product photo URL; optional. # @attr photo_size [Integer] Product photo size. # @attr photo_width [Integer] Product photo width. # @attr photo_height [Integer] Product photo height. # @attr payload [String] The invoice payload. # @attr provider_token [String] Payment provider token. # @attr provider_data [String] JSON-encoded data about the invoice, which will be shared with the payment provider. # @attr start_parameter [String] Unique invoice bot deep link parameter for the generation of this invoice. # If empty, it would be possible to pay directly from forwards of the invoice message. class InputMessageContent::Invoice < InputMessageContent attribute :invoice, TD::Types::Invoice attribute :title, TD::Types::String attribute :description, TD::Types::String attribute :photo_url, TD::Types::String.optional.default(nil) attribute :photo_size, TD::Types::Integer attribute :photo_width, TD::Types::Integer attribute :photo_height, TD::Types::Integer attribute :payload, TD::Types::String attribute :provider_token, TD::Types::String attribute :provider_data, TD::Types::String attribute :start_parameter, TD::Types::String end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/input_message_content/invoice.rb |