Skip to content

API Reference

MethodReturnsDescription
driver(?string)AbstractDriverGet driver
to(string|array)selfSet recipient(s)
message(string)selfSet content
send()ResponseDataSend now
queue(?string, ?string)PendingDispatchQueue
extend(string, Closure)voidRegister driver
PropertyTypeDescription
$successboolSucceeded
$dataarrayAPI response
$errorsarrayErrors
MethodReturns
toArray()array
MethodDescription
invalidNumber(string)Invalid phone
missingRecipient()No recipient
missingMessage()No message
MethodReturns
formatPhoneNumber(string)string