diff --git a/lib/gateway/sms77.rb b/lib/gateway/sms77.rb index 82c1ed4..de7979b 100644 --- a/lib/gateway/sms77.rb +++ b/lib/gateway/sms77.rb @@ -56,8 +56,12 @@ def post_request(options) request = Net::HTTP::Post.new(uri.to_s) request.set_form_data( text: options[:text].force_encoding('utf-8'), + from: options[:from], to: options[:to], delay: options[:delay] || 0, + type: options[:type] || 'direct', # direct / economy + flash: options[:flash] || 0, # 0 / 1 + label: options[:label], debug: 0, utf8: 1, u: user,