Packages

Whatsapp Automation tool

Current section

Files

Jump to
ex_what_kit lib ex_what_kit.ex
Raw

lib/ex_what_kit.ex

defmodule ExWhatKit do
@moduledoc """
Module for deal with whatsapp actions
"""
alias ExWhatKit.Utils
@doc """
Send a simple message by opening browser
"""
def send_message(phone_number, message) do
Utils.browser_open("https://web.whatsapp.com/send?phone=#{phone_number}&text=#{message}")
end
end