Skip to content

Commit

Permalink
fix: SetMessageEmojiLike
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed May 5, 2024
1 parent c9c0e1f commit 562ffeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ func (ctx *Ctx) GetFile(fileID string) gjson.Result {
func (ctx *Ctx) SetMessageEmojiLike(messageID interface{}, emojiID rune) error {
ret := ctx.CallAction("set_msg_emoji_like", Params{
"message_id": messageID,
"emoji_id": emojiID,
"emoji_id": strconv.Itoa(int(emojiID)),
}).Data.Get("errMsg").Str
if ret != "" {
return errors.New(ret)
Expand Down

0 comments on commit 562ffeb

Please sign in to comment.