Skip to content

Commit

Permalink
Adding Team property to MessageEvent
Browse files Browse the repository at this point in the history
Resolves #89
  • Loading branch information
Simon Oxtoby committed Aug 17, 2021
1 parent 6f406ce commit db51f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SlackNet/Events/Messages/MessageEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class MessageEvent : Event
public string User { get; set; }
public string Text { get; set; }
public string Ts { get; set; }
public string Team { get; set; }
[JsonIgnore]
public DateTime Timestamp => Ts.ToDateTime().GetValueOrDefault();
public string ThreadTs { get; set; }
Expand Down

0 comments on commit db51f53

Please sign in to comment.