File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,23 +89,23 @@ const entitiesStreamingActivitySchema = union([
8989 object ( {
9090 type : literal ( 'typing' ) ,
9191 entities : array ( activeSchema ) ,
92- channelData : any ( ) ,
92+ channelData : optional ( any ( ) ) ,
9393 ...activityExtras
9494 } ) ,
9595 // Conclude with a message.
9696 object ( {
9797 // If "text" is empty, it represents "regretting" the livestream.
9898 type : literal ( 'message' ) ,
9999 entities : array ( finalActivitySchema ) ,
100- channelData : any ( ) ,
100+ channelData : optional ( any ( ) ) ,
101101 ...activityExtras
102102 } ) ,
103103 // Conclude without a message.
104104 object ( {
105105 // If "text" is empty, it represents "regretting" the livestream.
106106 type : literal ( 'typing' ) ,
107107 entities : array ( finalActivitySchema ) ,
108- channelData : any ( ) ,
108+ channelData : optional ( any ( ) ) ,
109109 text : optional ( undefinedable ( literal ( '' ) ) ) ,
110110 ...activityExtrasFinal
111111 } )
You can’t perform that action at this time.
0 commit comments