OBJECT
OnsiteNotification
link GraphQL Schema definition
1 type OnsiteNotification { 2 3 # Actions of the notification. 4 OnsiteNotificationAction!]! : [ 5 6 # Body of the notification in Markdown format. 7 String! : 8 9 # Category of the notification (only for dart ones). 10 String : 11 12 # When this notification was created. 13 Time! : 14 15 # List of users that created this notification. 16 User]! : [ 17 18 # Destination type to route users to when they interact with the notification on 19 # non-web clients. 20 # Values include Homepage, ChannelPage, NotificationSettingsPage, and 21 # BroadcasterDashboard. 22 String : 23 24 # Determines where the notification will be displayed at front end. 25 OnsiteNotificationDisplayType! : 26 27 # Optional extra notification content. 28 # When type is "vodupload", extra is Video. 29 # When type is "hotclipfollower", extra is Clip. 30 # When type is "hotclip", extra is Clip. 31 # When type is "subgiftreceived", extra is User. 32 # When type is "vodcomment", extra is VideoComment. 33 # When type is "vodcommentmod", extra is VideoComment. 34 # When type is "vodcommentreply", extra is VideoComment. 35 # When destination is "ChannelPage", extra is User. 36 # When destination is "BrowseGame", extra is Game. 37 # When destination is "ExternalLink", extra is OnsiteNotificationExternalLink. 38 OnsiteNotificationContent : 39 40 # ID of the notification. 41 ID! : 42 43 # Whether this notification is read. 44 Boolean! : 45 46 # Type of onsite render style. 47 OnsiteNotificationRenderStyle! : 48 49 # A URL to a thumbnail image. 50 String! : 51 52 # Type of notification. 53 String! : 54 55 # When notification was last updated. 56 Time! : 57 58 }