Beispiel #1
0
 public async Task <SlackResponse> RemoveReactionAsync(SlackFileComment fileComment, string emojiName)
 {
     return(await GetApiData <SlackResponse>(ApiCommands.RemoveReaction, null,
                                             new KeyValuePair <string, string>("file_comment", fileComment.Id),
                                             new KeyValuePair <string, string>("name", emojiName)));
 }
Beispiel #2
0
 public async Task <SlackResponse> RemoveStarAsync(SlackFileComment fileComment)
 {
     return(await GetApiData <SlackResponse>(ApiCommands.RemoveStar, null,
                                             new KeyValuePair <string, string>("file_comment", fileComment.Id)));
 }
Beispiel #3
0
 public ReactionAddedEventArgs(string reaction, SlackUser user, SlackFileComment fileComment)
 {
     Reaction    = reaction;
     User        = user;
     FileComment = fileComment;
 }