@@ -136,9 +136,9 @@ type MemberAPI interface {
136
136
ctx context.Context ,
137
137
guildID string , roleID dto.RoleID , userID string , value * dto.MemberAddRoleBody ,
138
138
) error
139
- //MemberMute 频道指定单个成员禁言
139
+ // MemberMute 频道指定单个成员禁言
140
140
MemberMute (ctx context.Context , guildID , userID string , mute * dto.UpdateGuildMute ) error
141
- //MultiMemberMute 频道指定批量成员禁言
141
+ // MultiMemberMute 频道指定批量成员禁言
142
142
MultiMemberMute (ctx context.Context , guildID string ,
143
143
mute * dto.UpdateGuildMute ) (* dto.UpdateGuildMuteResponse , error )
144
144
}
@@ -216,8 +216,8 @@ type MessageReactionAPI interface {
216
216
CreateMessageReaction (ctx context.Context , channelID , messageID string , emoji dto.Emoji ) error
217
217
// DeleteOwnMessageReaction 删除自己的消息表情表态
218
218
DeleteOwnMessageReaction (ctx context.Context , channelID , messageID string , emoji dto.Emoji ) error
219
- // GetMessageReactions 获取消息表情表态用户列表
220
- GetMessageReactions (ctx context.Context , channelID , messageID string , emoji dto.Emoji ,
219
+ // GetMessageReactionUsers 获取消息表情表态用户列表
220
+ GetMessageReactionUsers (ctx context.Context , channelID , messageID string , emoji dto.Emoji ,
221
221
pager * dto.MessageReactionPager ) (* dto.MessageReactionUsers , error )
222
222
}
223
223
0 commit comments