Documentation
¶
Overview ¶
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-01-24 21:12:06 * @LastEditors: NyanCatda * @Description: 消息发送封装 * @FilePath: \ShionBot\src\MessagePushAPI\SendMessage.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendMessage ¶
func SendMessage(SNSName string, ChatType string, UserID string, target string, text string, quote bool, quoteID string, AtID string, group int) ([]byte, *http.Response, error)
*
- @description: 发送消息
- @param {string} SNSName 聊天软件
- @param {string} ChatType 聊天类型(Default,Friend,Group,GroupAt,Temp)
- @param {string} UserID 接收消息的用户ID
- @param {string} target 接受的聊天的ID
- @param {string} text 消息文本
- @param {bool} quote 是否需要回复
- @param {string} quoteID 回复的消息ID(不需要时为空即可)
- @param {string} AtID 需要@的人的ID(不需要时为空即可)
- @param {int} group 临时会话群号(不需要时为0即可)
- @return {[]byte}
- @return {*http.Response}
- @return {error}
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-01-24 20:03:33 * @LastEditors: NyanCatda * @Description: 聊天软件API封装 * @FilePath: \ShionBot\src\MessagePushAPI\SNSAPI\SNSAPI.go
|
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-01-24 20:03:33 * @LastEditors: NyanCatda * @Description: 聊天软件API封装 * @FilePath: \ShionBot\src\MessagePushAPI\SNSAPI\SNSAPI.go |
|
KaiHeiLaAPI
* @Author: NyanCatda * @Date: 2021-11-15 17:23:29 * @LastEditTime: 2022-03-07 19:02:23 * @LastEditors: NyanCatda * @Description: KaiHeiLa API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\KaiHeiLaAPI\KaiHeiLaAPI.go
|
* @Author: NyanCatda * @Date: 2021-11-15 17:23:29 * @LastEditTime: 2022-03-07 19:02:23 * @LastEditors: NyanCatda * @Description: KaiHeiLa API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\KaiHeiLaAPI\KaiHeiLaAPI.go |
|
LineAPI
* @Author: NyanCatda * @Date: 2021-11-05 23:42:17 * @LastEditTime: 2022-03-07 19:03:28 * @LastEditors: NyanCatda * @Description: Line API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\LineAPI\LineAPI.go
|
* @Author: NyanCatda * @Date: 2021-11-05 23:42:17 * @LastEditTime: 2022-03-07 19:03:28 * @LastEditors: NyanCatda * @Description: Line API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\LineAPI\LineAPI.go |
|
QQAPI
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-03-07 19:04:32 * @LastEditors: NyanCatda * @Description: Session处理API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\QQAPI\SessionKey.go * @Author: NyanCatda * @Date: 2021-11-05 18:12:19 * @LastEditTime: 2022-01-24 21:20:31 * @LastEditors: NyanCatda * @Description: QQ API定时器 * @FilePath: \ShionBot\src\MessagePushAPI\SNSAPI\QQAPI\StartQQAPI.go
|
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-03-07 19:04:32 * @LastEditors: NyanCatda * @Description: Session处理API * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\QQAPI\SessionKey.go * @Author: NyanCatda * @Date: 2021-11-05 18:12:19 * @LastEditTime: 2022-01-24 21:20:31 * @LastEditors: NyanCatda * @Description: QQ API定时器 * @FilePath: \ShionBot\src\MessagePushAPI\SNSAPI\QQAPI\StartQQAPI.go |
|
TelegramAPI
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-03-07 19:04:56 * @LastEditors: NyanCatda * @Description: * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\TelegramAPI\TelegramAPI.go
|
* @Author: NyanCatda * @Date: 2021-11-05 13:51:15 * @LastEditTime: 2022-03-07 19:04:56 * @LastEditors: NyanCatda * @Description: * @FilePath: \ShionBot\Controller\MessagePushAPI\SNSAPI\TelegramAPI\TelegramAPI.go |
Click to show internal directories.
Click to hide internal directories.