Skip to content

Commit

Permalink
Added missing attributes to FileShared event
Browse files Browse the repository at this point in the history
According to the event information 
https://api.slack.com/events/file_shared
The `user_id` and `channel_id`  are missing.
  • Loading branch information
misterjohannesson authored and soxtoby committed Jul 30, 2021
1 parent 9ae0279 commit 2b7da4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SlackNet/Events/FileShared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ namespace SlackNet.Events
public class FileShared : Event
{
public string FileId { get; set; }
public string ChannelId { get; set; }
public string UserId { get; set; }
public FileId File { get; set; }
}
}
}

0 comments on commit 2b7da4f

Please sign in to comment.