lib/whats/api.rb in whatsapp-0.1.5 vs lib/whats/api.rb in whatsapp-1.0.0
- old
+ new
@@ -31,15 +31,16 @@
def send_message(username, body)
Actions::SendMessage.new(client, username, body).call
end
- def send_hsm_message(username, namespace, element_name, params)
+ def send_hsm_message(username, namespace, element_name, language, params)
Actions::SendHsmMessage.new(
client,
username,
namespace,
element_name,
+ language,
params
).call
end
private