RUBYCRITIC
class Accounts::Apps::Chatwoots::Webhooks::Events::Message - Accounts::Apps::Chatwoots::Webhooks::Events::Message has no descriptive comment
def self.call(chatwoot, webhook)
contact = Accounts::Apps::Chatwoots::Webhooks::ImportContact.call(chatwoot, webhook['conversation']['contact_inbox']['contact_id'])[:ok]
message = Accounts::Apps::Chatwoots::Webhooks::ImportMessage.new(chatwoot, contact, webhook).call
return { ok: message }
end
end