class Telegram::Bot::Types::ShippingQuery
Attributes
from[RW]
id[RW]
invoice_payload[RW]
shipping_address[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/shipping_query.rb, line 8 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
from=(attributes)
click to toggle source
# File lib/telegram/bot/types/shipping_query.rb, line 12 def from=(attributes) @from = User.new(attr) end
shipping_address=(attributes)
click to toggle source
# File lib/telegram/bot/types/shipping_query.rb, line 16 def shipping_address=(attributes) @shipping_address = ShippingAddress.new(attributes) end