We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b75c5 commit 195e2bcCopy full SHA for 195e2bc
src/eventsub/channel/follow.rs
@@ -37,6 +37,8 @@ pub struct ChannelFollowV1Payload {
37
pub user_name: types::DisplayName,
38
/// The user login for the user now following the specified channel.
39
pub user_login: types::UserName,
40
+ /// RFC3339 timestamp of when the follow occurred.
41
+ pub followed_at: types::Timestamp,
42
}
43
44
#[test]
@@ -63,7 +65,8 @@ fn parse_payload() {
63
65
"user_name": "Cool_User",
64
66
"broadcaster_user_id": "1337",
67
"broadcaster_user_login": "cooler_user",
- "broadcaster_user_name": "Cooler_User"
68
+ "broadcaster_user_name": "Cooler_User",
69
+ "followed_at": "2020-07-15T18:16:11.17106713Z"
70
71
72
"#;
0 commit comments