From 53a1706b020df8e827046ebfc87fbb6d1f1a5c7c Mon Sep 17 00:00:00 2001 From: Aldino Kemal Date: Fri, 11 Feb 2022 12:51:48 +0700 Subject: [PATCH] chore: update docs --- readme.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/readme.md b/readme.md index b327d9e..045bc68 100644 --- a/readme.md +++ b/readme.md @@ -23,16 +23,17 @@ You can fork or edit this source code ! Current 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
phone_numberstringquerystring6289685024099
| -| ✅ | User Avatar | GET | /user/avatar |
Param Type Type Example
phone_numberstringquerystring6289685024099
| -| ✅ | Send Message (Text) | POST | /send/message |
Param Type Type Example
phone_numberstringform-data6289685024099
messagestringform-dataHello guys this is testing
| -| ✅ | Send Message (Image) | POST | /send/image |
Param Type Type Example
phone_numberstringform-data6289685024099
captionstringform-dataHello guys this is caption
view_onceboolform-datafalse
imagebinaryform-data
| -| ✅ | Send Message (File) | POST | /send/file |
ParamTypeTypeExample
phone_numberstringform-data6289685024099
filebinaryform-data
| +| 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
phone_numberstringquerystring6289685024099
| +| ✅ | User Avatar | GET | /user/avatar |
Param Type Type Example
phone_numberstringquerystring6289685024099
| +| ✅ | Send Message (Text) | POST | /send/message |
Param Type Type Example
phone_numberstringform-data6289685024099
messagestringform-dataHello guys this is testing
| +| ✅ | Send Message (Image) | POST | /send/image |
Param Type Type Example
phone_numberstringform-data6289685024099
captionstringform-dataHello guys this is caption
view_onceboolform-datafalse
imagebinaryform-dataimage/jpg,image/jpeg,image/png
| +| ✅ | Send Message (File) | POST | /send/file |
ParamTypeTypeExample
phone_numberstringform-data6289685024099
filebinaryform-dataany (max: 10MB)
| +| ❌ | Send Message (Video) | POST | /send/video |
ParamTypeTypeExample
phone_numberstringform-data6289685024099
videobinaryform-datamp4/avi/mkv
| ``` ✅ = Available