mirror of
https://github.com/awfufu/qbot.git
synced 2026-03-01 13:29:43 +08:00
14 lines
297 B
Go
14 lines
297 B
Go
package api
|
|
|
|
func ForwardFriendSingleMsg(c Client, userID uint64, messageID string) (uint64, error) {
|
|
params := map[string]any{
|
|
"user_id": userID,
|
|
"message_id": messageID,
|
|
}
|
|
_, err := c.SendParams("forward_friend_single_msg", params)
|
|
if err != nil {
|
|
return 0, err
|
|
}
|
|
return 0, nil
|
|
}
|