bd7aeba484
Enabling Support for Whatsapp via 360Dialog as a prototype for the provider APIs. Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
11 lines
245 B
Ruby
11 lines
245 B
Ruby
class Whatsapp::SendOnWhatsappService < Base::SendOnChannelService
|
|
private
|
|
|
|
def channel_class
|
|
Channel::Whatsapp
|
|
end
|
|
|
|
def perform_reply
|
|
channel.send_message(message.conversation.contact_inbox.source_id, message.content)
|
|
end
|
|
end
|