diff --git a/readme.md b/readme.md index 4deb3f3..5ee9e62 100644 --- a/readme.md +++ b/readme.md @@ -65,19 +65,20 @@ You can fork or edit this source code ! ### Current API You can check [docs/openapi.yml](./docs/openapi.yaml) for detail API -| Feature | Menu | Method | URL | Payload | -|---------|-------------------------|--------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| ✅ | Login | GET | /app/login | | -| ✅ | Logout | GET | /app/logout | | -| ✅ | Reconnect | GET | /app/reconnect | | -| ✅ | User Info | GET | /user/info |
Param Type Type Example
phonestringquerystring6289685024099
| -| ✅ | User Avatar | GET | /user/avatar |
Param Type Type Example
phonestringquerystring6289685024099
| -| ✅ | User My Group List | GET | /user/my/groups | | -| ✅ | User My Privacy Setting | GET | /user/my/privacy | | -| ✅ | Send Message (Text) | POST | /send/message |
Param Data Type Type Example
phonestringform-data6289685024099
messagestringform-dataHello guys this is testing
typestring (user/group)form-datauser
| -| ✅ | Send Message (Image) | POST | /send/image |
Param Type Type Example
phonestringform-data6289685024099
captionstringform-dataHello guys this is caption
view_onceboolform-datafalse
imagebinaryform-dataimage/jpg,image/jpeg,image/png
typestring (user/group)form-datauser
| -| ✅ | Send Message (File) | POST | /send/file |
ParamTypeTypeExample
phonestringform-data6289685024099
filebinaryform-dataany (max: 10MB)
typestring (user/group)form-datauser
| -| ❌ | Send Message (Video) | POST | /send/video |
ParamTypeTypeExample
phonestringform-data6289685024099
videobinaryform-datamp4/avi/mkv
typestring (user/group)form-datauser
| +| Feature | Menu | Method | URL | +|---------|-------------------------|--------|------------------| +| ✅ | Login | GET | /app/login | +| ✅ | Logout | GET | /app/logout | +| ✅ | Reconnect | GET | /app/reconnect | +| ✅ | User Info | GET | /user/info | +| ✅ | User Avatar | GET | /user/avatar | +| ✅ | User My Group List | GET | /user/my/groups | +| ✅ | User My Privacy Setting | GET | /user/my/privacy | +| ✅ | Send Message | POST | /send/message | +| ✅ | Send Image | POST | /send/image | +| ✅ | Send File | POST | /send/file | +| ✅ | Send Video | POST | /send/video | +| ❌ | Send Contact | POST | /send/contact | ``` ✅ = Available