refac: 메시지 전달 j_ 코드를 API로 변경

- 메시지 전송
- 최근 메시지 수신
- 이전 메시지 수신
- 메시지 응답
- 연락처 수신
- 메시지 삭제
This commit is contained in:
2023-02-22 01:29:00 +09:00
parent 92cd195276
commit c060e05553
10 changed files with 73 additions and 699 deletions
+1 -1
View File
@@ -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();
}