lib/bobot/page.rb in bobot-4.10.0 vs lib/bobot/page.rb in bobot-4.11.0
- old
+ new
@@ -73,10 +73,10 @@
def send_text(text:, to: nil, messaging_options: nil)
raise Bobot::FieldFormat.new('text is required') unless text.present?
raise Bobot::FieldFormat.new('text size is limited to 640.', "#{text} (#{text.size} chars)") if text.size > 640
send(
payload_message: {
- texto: text,
+ text: text,
},
to: to,
messaging_options: messaging_options,
)
end