Get Me
The getMe method is used to retrieve information about bot.
#
Request FormatYou need to send a POST request to:
https://yoai.yophone.com/api/pub/getMe
#
Request examplecurl -X POST https://yoai.yophone.com/api/pub/getMe \-H "Content-Type: application/json" \-H "X-YoAI-API-Key: your YoAI api key"
#
Success ResponseThe API returns a JSON object indicating the success of the operation.
{ "code": 200, "success": true, "data": { "id": "", "username": "", "ownerId":"", "apiKey": "", "pendingUpdatesCount": 0 }}
#
Failure ResponseThe API returns a JSON object indicating the success of the operation.
{ "code": 200, "success": false, "message": "not found"}