33 lines
1.0 KiB
Go
33 lines
1.0 KiB
Go
package main
|
|
|
|
type integration struct {
|
|
Category string `json:"category"`
|
|
Type string `json:"type"`
|
|
}
|
|
type dimensionAppMetadata struct {
|
|
InRoomID string `json:"inRoomId"`
|
|
WrapperURLBase string `json:"wrapperUrlBase"`
|
|
WrapperID string `json:"wrapperId"`
|
|
ScalarWrapperID string `json:"scalarWrapperId"`
|
|
Integration integration `json:"integration"`
|
|
LastUpdatedTs int64 `json:"lastUpdatedTs"`
|
|
}
|
|
type videoData struct {
|
|
VideoURL string `json:"videoUrl"`
|
|
URL string `json:"url"`
|
|
DimensionAppMetadata dimensionAppMetadata `json:"dimension:app:metadata"`
|
|
}
|
|
type youtubeWidget struct {
|
|
Type string `json:"type"`
|
|
URL string `json:"url"`
|
|
Name string `json:"name"`
|
|
Data videoData `json:"data"`
|
|
CreatorUserID string `json:"creatorUserId"`
|
|
ID string `json:"id"`
|
|
RoomID string `json:"roomId"`
|
|
EventID string `json:"eventId"`
|
|
}
|
|
type unsignedAge struct {
|
|
Age int `json:"age"`
|
|
}
|