lib/direct7/whatsapp.rb in direct7-0.0.17 vs lib/direct7/whatsapp.rb in direct7-0.0.18
- old
+ new
@@ -239,10 +239,10 @@
@log.info('Message status retrieved successfully.')
response
end
def read_receipt(message_id)
- response = @client.get(
+ response = @client.post(
@client.host,
"/whatsapp/v2/read-receipt/#{message_id}"
)
@log.info('Message marked as read successfully.')
response