refac: 메시지 전달 j_ 코드를 API로 변경
- 메시지 전송 - 최근 메시지 수신 - 이전 메시지 수신 - 메시지 응답 - 연락처 수신 - 메시지 삭제
This commit is contained in:
@@ -19,7 +19,7 @@ class GetRecentMessage extends \sammo\BaseAPI
|
||||
public function validateArgs(): ?string
|
||||
{
|
||||
$v = new Validator($this->args);
|
||||
$v->rule('int', 'sequence');
|
||||
$v->rule('integer', 'sequence');
|
||||
if (!$v->validate()) {
|
||||
return $v->errorStr();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user