You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/youtube_v3.liveChatMessages.html
+33-6
Original file line number
Diff line number
Diff line change
@@ -131,8 +131,8 @@ <h3>Method Details</h3>
131
131
"etag": "A String", # Etag of this resource.
132
132
"id": "A String", # The ID that YouTube assigns to uniquely identify the message.
133
133
"kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage".
134
-
"snippet": { # Next ID: 29 # The snippet object contains basic details about the message.
135
-
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
134
+
"snippet": { # Next ID: 31 # The snippet object contains basic details about the message.
135
+
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
136
136
"displayMessage": "A String", # Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.
137
137
"fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'.
138
138
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
@@ -142,12 +142,21 @@ <h3>Method Details</h3>
142
142
},
143
143
"hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users.
144
144
"liveChatId": "A String",
145
+
"memberMilestoneChatDetails": { # Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.
146
+
"memberLevelName": "A String", # The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
147
+
"memberMonth": 42, # The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.
148
+
"userComment": "A String", # The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.
"newSponsorDetails": { # Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that "member" is the new term for "sponsor".
157
+
"isUpgrade": True or False, # If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.
158
+
"memberLevelName": "A String", # The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
159
+
},
151
160
"publishedAt": "A String", # The date and time when the message was orignally published.
152
161
"superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
153
162
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
@@ -206,8 +215,8 @@ <h3>Method Details</h3>
206
215
"etag": "A String", # Etag of this resource.
207
216
"id": "A String", # The ID that YouTube assigns to uniquely identify the message.
208
217
"kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage".
209
-
"snippet": { # Next ID: 29 # The snippet object contains basic details about the message.
210
-
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
218
+
"snippet": { # Next ID: 31 # The snippet object contains basic details about the message.
219
+
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
211
220
"displayMessage": "A String", # Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.
212
221
"fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'.
213
222
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
@@ -217,12 +226,21 @@ <h3>Method Details</h3>
217
226
},
218
227
"hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users.
219
228
"liveChatId": "A String",
229
+
"memberMilestoneChatDetails": { # Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.
230
+
"memberLevelName": "A String", # The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
231
+
"memberMonth": 42, # The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.
232
+
"userComment": "A String", # The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.
"newSponsorDetails": { # Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that "member" is the new term for "sponsor".
241
+
"isUpgrade": True or False, # If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.
242
+
"memberLevelName": "A String", # The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
243
+
},
226
244
"publishedAt": "A String", # The date and time when the message was orignally published.
227
245
"superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
228
246
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
@@ -297,8 +315,8 @@ <h3>Method Details</h3>
297
315
"etag": "A String", # Etag of this resource.
298
316
"id": "A String", # The ID that YouTube assigns to uniquely identify the message.
299
317
"kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage".
300
-
"snippet": { # Next ID: 29 # The snippet object contains basic details about the message.
301
-
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
318
+
"snippet": { # Next ID: 31 # The snippet object contains basic details about the message.
319
+
"authorChannelId": "A String", # The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase
302
320
"displayMessage": "A String", # Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.
303
321
"fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'.
304
322
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
@@ -308,12 +326,21 @@ <h3>Method Details</h3>
308
326
},
309
327
"hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users.
310
328
"liveChatId": "A String",
329
+
"memberMilestoneChatDetails": { # Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'.
330
+
"memberLevelName": "A String", # The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
331
+
"memberMonth": 42, # The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.
332
+
"userComment": "A String", # The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.
"newSponsorDetails": { # Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that "member" is the new term for "sponsor".
341
+
"isUpgrade": True or False, # If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.
342
+
"memberLevelName": "A String", # The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.
343
+
},
317
344
"publishedAt": "A String", # The date and time when the message was orignally published.
318
345
"superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
319
346
"amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/youtube.v3.json
+46-3
Original file line number
Diff line number
Diff line change
@@ -3765,7 +3765,7 @@
3765
3765
}
3766
3766
}
3767
3767
},
3768
-
"revision": "20210822",
3768
+
"revision": "20210828",
3769
3769
"rootUrl": "https://youtube.googleapis.com/",
3770
3770
"schemas": {
3771
3771
"AbuseReport": {
@@ -8132,6 +8132,25 @@
8132
8132
},
8133
8133
"type": "object"
8134
8134
},
8135
+
"LiveChatMemberMilestoneChatDetails": {
8136
+
"id": "LiveChatMemberMilestoneChatDetails",
8137
+
"properties": {
8138
+
"memberLevelName": {
8139
+
"description": "The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.",
8140
+
"type": "string"
8141
+
},
8142
+
"memberMonth": {
8143
+
"description": "The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.",
8144
+
"format": "uint32",
8145
+
"type": "integer"
8146
+
},
8147
+
"userComment": {
8148
+
"description": "The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.",
8149
+
"type": "string"
8150
+
}
8151
+
},
8152
+
"type": "object"
8153
+
},
8135
8154
"LiveChatMessage": {
8136
8155
"description": "A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.",
8137
8156
"id": "LiveChatMessage",
@@ -8266,11 +8285,11 @@
8266
8285
"type": "object"
8267
8286
},
8268
8287
"LiveChatMessageSnippet": {
8269
-
"description": "Next ID: 29",
8288
+
"description": "Next ID: 31",
8270
8289
"id": "LiveChatMessageSnippet",
8271
8290
"properties": {
8272
8291
"authorChannelId": {
8273
-
"description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase",
8292
+
"description": "The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor memberMilestoneChatEvent - the member that sent the message messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase superStickerEvent - the user that made the purchase",
8274
8293
"type": "string"
8275
8294
},
8276
8295
"displayMessage": {
@@ -8288,12 +8307,20 @@
8288
8307
"liveChatId": {
8289
8308
"type": "string"
8290
8309
},
8310
+
"memberMilestoneChatDetails": {
8311
+
"$ref": "LiveChatMemberMilestoneChatDetails",
8312
+
"description": "Details about the Member Milestone Chat event, this is only set if the type is 'memberMilestoneChatEvent'."
8313
+
},
8291
8314
"messageDeletedDetails": {
8292
8315
"$ref": "LiveChatMessageDeletedDetails"
8293
8316
},
8294
8317
"messageRetractedDetails": {
8295
8318
"$ref": "LiveChatMessageRetractedDetails"
8296
8319
},
8320
+
"newSponsorDetails": {
8321
+
"$ref": "LiveChatNewSponsorDetails",
8322
+
"description": "Details about the New Member Announcement event, this is only set if the type is 'newSponsorEvent'. Please note that \"member\" is the new term for \"sponsor\"."
8323
+
},
8297
8324
"publishedAt": {
8298
8325
"description": "The date and time when the message was orignally published.",
8299
8326
"format": "date-time",
@@ -8322,6 +8349,7 @@
8322
8349
"sponsorOnlyModeStartedEvent",
8323
8350
"sponsorOnlyModeEndedEvent",
8324
8351
"newSponsorEvent",
8352
+
"memberMilestoneChatEvent",
8325
8353
"messageDeletedEvent",
8326
8354
"messageRetractedEvent",
8327
8355
"userBannedEvent",
@@ -8341,6 +8369,7 @@
8341
8369
"",
8342
8370
"",
8343
8371
"",
8372
+
"",
8344
8373
""
8345
8374
],
8346
8375
"type": "string"
@@ -8434,6 +8463,20 @@
8434
8463
},
8435
8464
"type": "object"
8436
8465
},
8466
+
"LiveChatNewSponsorDetails": {
8467
+
"id": "LiveChatNewSponsorDetails",
8468
+
"properties": {
8469
+
"isUpgrade": {
8470
+
"description": "If the viewer just had upgraded from a lower level. For viewers that were not members at the time of purchase, this field is false.",
8471
+
"type": "boolean"
8472
+
},
8473
+
"memberLevelName": {
8474
+
"description": "The name of the Level that the viewer just had joined. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled.",
0 commit comments