Documentation
¶
Overview ¶
* @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
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendPushMessage ¶
func SendPushMessage(to string, messages string, notificationDisabled bool) ([]byte, *http.Response, error)
*
- @description: 发送消息
- @param {string} to 消息接收的聊天ID
- @param {string} messages 消息内容
- @param {bool} notificationDisabled 是否需要静默发送
- @return {[]byte}
- @return {*http.Response}
- @return {error}
func SendReplyMessage ¶
func SendReplyMessage(replyToken string, messages string, notificationDisabled bool) ([]byte, *http.Response, error)
*
- @description: 发送回复消息
- @param {string} replyToken 消息回复令牌
- @param {string} messages 消息内容
- @param {bool} notificationDisabled 是否需要静默发送
- @return {[]byte}
- @return {*http.Response}
- @return {error}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.