public static function make($agentName = null, $tempId = null)
{
$sms = new self();
$sms->smsData['type'] = self::TYPE_SMS;
if (is_array($agentName)) {
$sms->template($agentName);
} elseif ($agentName && is_string($agentName)) {
if ($tempId === null) {
$sms->content($agentName);
} elseif (is_string($tempId) || is_int($tempId)) {
$sms->template($agentName, "{$tempId}");
}
}
return $sms;
}