Push Template Message
Functionality
API for pushing template messages, supports pushing text messages.
Interface Address
/template/{chatToken}
Parameter Description
Parameter | Type | Required | Description |
---|---|---|---|
templateId | String | Yes | Template ID |
title | String | Yes | Title |
text | String | No | Content |
Usage Example
bash
# using get
# Push message
curl -X GET https://pushbot.dev/template/{chatToken}?templateId=1&title=HelloWorld&text=HelloWorld
# using post
# Push message
curl -d '{"templateId":"1", "title":"Hi"}' -X POST https://pushbot.dev/template/{chatToken}