Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 75 | <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.liveChatMessages.html">liveChatMessages</a></h1> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#delete">delete(id, x__xgafv=None)</a></code></p> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 82 | <p class="firstline">Deletes a chat message.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 84 | <code><a href="#insert">insert(part, body=None, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Inserts a new resource into this collection.</p> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 86 | <p class="toc_element"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 87 | <code><a href="#list">list(liveChatId, part, profileImageSize=None, hl=None, pageToken=None, maxResults=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 88 | <p class="firstline">Retrieves a list of resources, possibly filtered.</p> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 89 | <p class="toc_element"> |
| 90 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 91 | <p class="firstline">Retrieves the next page of results.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 94 | <code class="details" id="close">close()</code> |
| 95 | <pre>Close httplib2 connections.</pre> |
| 96 | </div> |
| 97 | |
| 98 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 99 | <code class="details" id="delete">delete(id, x__xgafv=None)</code> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 100 | <pre>Deletes a chat message. |
| 101 | |
| 102 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 103 | id: string, A parameter (required) |
| 104 | x__xgafv: string, V1 error format. |
| 105 | Allowed values |
| 106 | 1 - v1 error format |
| 107 | 2 - v2 error format |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 108 | </pre> |
| 109 | </div> |
| 110 | |
| 111 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 112 | <code class="details" id="insert">insert(part, body=None, x__xgafv=None)</code> |
| 113 | <pre>Inserts a new resource into this collection. |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 114 | |
| 115 | Args: |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 116 | part: string, The *part* parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet. (required) (repeated) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 117 | body: object, The request body. |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 118 | The object takes the form of: |
| 119 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 120 | { # A *liveChatMessage* resource represents a chat message in a YouTube Live Chat. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 121 | "etag": "A String", # Etag of this resource. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 122 | "snippet": { # The snippet object contains basic details about the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 123 | "messageRetractedDetails": { |
| 124 | "retractedMessageId": "A String", |
| 125 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 126 | "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. |
| 127 | "fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'. |
| 128 | "userComment": "A String", # The comment added by the user to this fan funding event. |
| 129 | "currency": "A String", # The currency in which the fund was made. |
| 130 | "amountMicros": "A String", # The amount of the fund. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 131 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 132 | }, |
| 133 | "textMessageDetails": { # Details about the text message, this is only set if the type is 'textMessageEvent'. |
| 134 | "messageText": "A String", # The user's message. |
| 135 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 136 | "superStickerDetails": { # Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'. |
| 137 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 138 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 139 | "superStickerMetadata": { # Information about the Super Sticker. |
| 140 | "altTextLanguage": "A String", # Specifies the localization language in which the alt text is returned. |
| 141 | "altText": "A String", # Internationalized alt text that describes the sticker image and any animation associated with it. |
| 142 | "stickerId": "A String", # Unique identifier of the Super Sticker. This is a shorter form of the alt_text that includes pack name and a recognizable characteristic of the sticker. |
| 143 | }, |
| 144 | "currency": "A String", # The currency in which the purchase was made. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 145 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 146 | }, |
| 147 | "type": "A String", # The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. |
| 148 | "userBannedDetails": { |
| 149 | "banDurationSeconds": "A String", # The duration of the ban. This property is only present if the banType is temporary. |
| 150 | "bannedUserDetails": { # The details of the user that was banned. |
| 151 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 152 | "channelUrl": "A String", # The channel's URL. |
| 153 | "displayName": "A String", # The channel's display name. |
| 154 | "channelId": "A String", # The YouTube channel ID. |
| 155 | }, |
| 156 | "banType": "A String", # The type of ban. |
| 157 | }, |
| 158 | "liveChatId": "A String", |
| 159 | "messageDeletedDetails": { |
| 160 | "deletedMessageId": "A String", |
| 161 | }, |
| 162 | "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 |
| 163 | "hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users. |
| 164 | "superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'. |
| 165 | "currency": "A String", # The currency in which the purchase was made. |
| 166 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 167 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 168 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 169 | "userComment": "A String", # The comment added by the user to this Super Chat event. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 170 | }, |
| 171 | "publishedAt": "A String", # The date and time when the message was orignally published. The value is specified in ISO 8601 format. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 172 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 173 | "kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage". |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 174 | "authorDetails": { # The authorDetails object contains basic details about the user that posted this message. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 175 | "channelId": "A String", # The YouTube channel ID. |
| 176 | "channelUrl": "A String", # The channel's URL. |
| 177 | "displayName": "A String", # The channel's display name. |
| 178 | "isChatModerator": True or False, # Whether the author is a moderator of the live chat. |
| 179 | "isChatSponsor": True or False, # Whether the author is a sponsor of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 180 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 181 | "isVerified": True or False, # Whether the author's identity has been verified by YouTube. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 182 | "isChatOwner": True or False, # Whether the author is the owner of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 183 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 184 | "id": "A String", # The ID that YouTube assigns to uniquely identify the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 185 | } |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 186 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 187 | x__xgafv: string, V1 error format. |
| 188 | Allowed values |
| 189 | 1 - v1 error format |
| 190 | 2 - v2 error format |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 191 | |
| 192 | Returns: |
| 193 | An object of the form: |
| 194 | |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 195 | { # A *liveChatMessage* resource represents a chat message in a YouTube Live Chat. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 196 | "etag": "A String", # Etag of this resource. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 197 | "snippet": { # The snippet object contains basic details about the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 198 | "messageRetractedDetails": { |
| 199 | "retractedMessageId": "A String", |
| 200 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 201 | "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. |
| 202 | "fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'. |
| 203 | "userComment": "A String", # The comment added by the user to this fan funding event. |
| 204 | "currency": "A String", # The currency in which the fund was made. |
| 205 | "amountMicros": "A String", # The amount of the fund. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 206 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 207 | }, |
| 208 | "textMessageDetails": { # Details about the text message, this is only set if the type is 'textMessageEvent'. |
| 209 | "messageText": "A String", # The user's message. |
| 210 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 211 | "superStickerDetails": { # Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'. |
| 212 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 213 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 214 | "superStickerMetadata": { # Information about the Super Sticker. |
| 215 | "altTextLanguage": "A String", # Specifies the localization language in which the alt text is returned. |
| 216 | "altText": "A String", # Internationalized alt text that describes the sticker image and any animation associated with it. |
| 217 | "stickerId": "A String", # Unique identifier of the Super Sticker. This is a shorter form of the alt_text that includes pack name and a recognizable characteristic of the sticker. |
| 218 | }, |
| 219 | "currency": "A String", # The currency in which the purchase was made. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 220 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 221 | }, |
| 222 | "type": "A String", # The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. |
| 223 | "userBannedDetails": { |
| 224 | "banDurationSeconds": "A String", # The duration of the ban. This property is only present if the banType is temporary. |
| 225 | "bannedUserDetails": { # The details of the user that was banned. |
| 226 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 227 | "channelUrl": "A String", # The channel's URL. |
| 228 | "displayName": "A String", # The channel's display name. |
| 229 | "channelId": "A String", # The YouTube channel ID. |
| 230 | }, |
| 231 | "banType": "A String", # The type of ban. |
| 232 | }, |
| 233 | "liveChatId": "A String", |
| 234 | "messageDeletedDetails": { |
| 235 | "deletedMessageId": "A String", |
| 236 | }, |
| 237 | "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 |
| 238 | "hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users. |
| 239 | "superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'. |
| 240 | "currency": "A String", # The currency in which the purchase was made. |
| 241 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 242 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 243 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 244 | "userComment": "A String", # The comment added by the user to this Super Chat event. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 245 | }, |
| 246 | "publishedAt": "A String", # The date and time when the message was orignally published. The value is specified in ISO 8601 format. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 247 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 248 | "kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage". |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 249 | "authorDetails": { # The authorDetails object contains basic details about the user that posted this message. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 250 | "channelId": "A String", # The YouTube channel ID. |
| 251 | "channelUrl": "A String", # The channel's URL. |
| 252 | "displayName": "A String", # The channel's display name. |
| 253 | "isChatModerator": True or False, # Whether the author is a moderator of the live chat. |
| 254 | "isChatSponsor": True or False, # Whether the author is a sponsor of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 255 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 256 | "isVerified": True or False, # Whether the author's identity has been verified by YouTube. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 257 | "isChatOwner": True or False, # Whether the author is the owner of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 258 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 259 | "id": "A String", # The ID that YouTube assigns to uniquely identify the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 260 | }</pre> |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 261 | </div> |
| 262 | |
| 263 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 264 | <code class="details" id="list">list(liveChatId, part, profileImageSize=None, hl=None, pageToken=None, maxResults=None, x__xgafv=None)</code> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 265 | <pre>Retrieves a list of resources, possibly filtered. |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 266 | |
| 267 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 268 | liveChatId: string, The id of the live chat for which comments should be returned. (required) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 269 | part: string, The *part* parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet. (required) (repeated) |
| 270 | profileImageSize: integer, Specifies the size of the profile image that should be returned for each user. |
| 271 | hl: string, Specifies the localization language in which the system messages should be returned. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 272 | pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identify other pages that could be retrieved. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 273 | maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 274 | x__xgafv: string, V1 error format. |
| 275 | Allowed values |
| 276 | 1 - v1 error format |
| 277 | 2 - v2 error format |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 278 | |
| 279 | Returns: |
| 280 | An object of the form: |
| 281 | |
| 282 | { |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 283 | "nextPageToken": "A String", |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 284 | "items": [ |
| 285 | { # A *liveChatMessage* resource represents a chat message in a YouTube Live Chat. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 286 | "etag": "A String", # Etag of this resource. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 287 | "snippet": { # The snippet object contains basic details about the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 288 | "messageRetractedDetails": { |
| 289 | "retractedMessageId": "A String", |
| 290 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 291 | "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. |
| 292 | "fanFundingEventDetails": { # Details about the funding event, this is only set if the type is 'fanFundingEvent'. |
| 293 | "userComment": "A String", # The comment added by the user to this fan funding event. |
| 294 | "currency": "A String", # The currency in which the fund was made. |
| 295 | "amountMicros": "A String", # The amount of the fund. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 296 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 297 | }, |
| 298 | "textMessageDetails": { # Details about the text message, this is only set if the type is 'textMessageEvent'. |
| 299 | "messageText": "A String", # The user's message. |
| 300 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 301 | "superStickerDetails": { # Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'. |
| 302 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 303 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 304 | "superStickerMetadata": { # Information about the Super Sticker. |
| 305 | "altTextLanguage": "A String", # Specifies the localization language in which the alt text is returned. |
| 306 | "altText": "A String", # Internationalized alt text that describes the sticker image and any animation associated with it. |
| 307 | "stickerId": "A String", # Unique identifier of the Super Sticker. This is a shorter form of the alt_text that includes pack name and a recognizable characteristic of the sticker. |
| 308 | }, |
| 309 | "currency": "A String", # The currency in which the purchase was made. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 310 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 311 | }, |
| 312 | "type": "A String", # The type of message, this will always be present, it determines the contents of the message as well as which fields will be present. |
| 313 | "userBannedDetails": { |
| 314 | "banDurationSeconds": "A String", # The duration of the ban. This property is only present if the banType is temporary. |
| 315 | "bannedUserDetails": { # The details of the user that was banned. |
| 316 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 317 | "channelUrl": "A String", # The channel's URL. |
| 318 | "displayName": "A String", # The channel's display name. |
| 319 | "channelId": "A String", # The YouTube channel ID. |
| 320 | }, |
| 321 | "banType": "A String", # The type of ban. |
| 322 | }, |
| 323 | "liveChatId": "A String", |
| 324 | "messageDeletedDetails": { |
| 325 | "deletedMessageId": "A String", |
| 326 | }, |
| 327 | "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 |
| 328 | "hasDisplayContent": True or False, # Whether the message has display content that should be displayed to users. |
| 329 | "superChatDetails": { # Details about the Super Chat event, this is only set if the type is 'superChatEvent'. |
| 330 | "currency": "A String", # The currency in which the purchase was made. |
| 331 | "amountMicros": "A String", # The amount purchased by the user, in micros (1,750,000 micros = 1.75). |
| 332 | "amountDisplayString": "A String", # A rendered string that displays the fund amount and currency to the user. |
| 333 | "tier": 42, # The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1. |
| 334 | "userComment": "A String", # The comment added by the user to this Super Chat event. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 335 | }, |
| 336 | "publishedAt": "A String", # The date and time when the message was orignally published. The value is specified in ISO 8601 format. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 337 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 338 | "kind": "youtube#liveChatMessage", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage". |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 339 | "authorDetails": { # The authorDetails object contains basic details about the user that posted this message. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 340 | "channelId": "A String", # The YouTube channel ID. |
| 341 | "channelUrl": "A String", # The channel's URL. |
| 342 | "displayName": "A String", # The channel's display name. |
| 343 | "isChatModerator": True or False, # Whether the author is a moderator of the live chat. |
| 344 | "isChatSponsor": True or False, # Whether the author is a sponsor of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 345 | "profileImageUrl": "A String", # The channels's avatar URL. |
| 346 | "isVerified": True or False, # Whether the author's identity has been verified by YouTube. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 347 | "isChatOwner": True or False, # Whether the author is the owner of the live chat. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 348 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 349 | "id": "A String", # The ID that YouTube assigns to uniquely identify the message. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 350 | }, |
| 351 | ], |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 352 | "offlineAt": "A String", # The date and time when the underlying stream went offline. The value is specified in ISO 8601 format. |
| 353 | "kind": "youtube#liveChatMessageListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessageListResponse". |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 354 | "visitorId": "A String", # The visitorId identifies the visitor. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 355 | "pageInfo": { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 356 | "resultsPerPage": 42, # The number of results included in the API response. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 357 | "totalResults": 42, # The total number of results in the result set. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 358 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame] | 359 | "pollingIntervalMillis": 42, # The amount of time the client should wait before polling again. |
| 360 | "eventId": "A String", # Serialized EventId of the request which produced this response. |
| 361 | "etag": "A String", # Etag of this resource. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 362 | "tokenPagination": { # Stub token pagination template to suppress results. |
| 363 | }, |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 364 | }</pre> |
| 365 | </div> |
| 366 | |
| 367 | <div class="method"> |
| 368 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 369 | <pre>Retrieves the next page of results. |
| 370 | |
| 371 | Args: |
| 372 | previous_request: The request for the previous page. (required) |
| 373 | previous_response: The response from the request for the previous page. (required) |
| 374 | |
| 375 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 376 | A request object that you can call 'execute()' on to request the next |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 377 | page. Returns None if there are no more items in the collection. |
| 378 | </pre> |
| 379 | </div> |
| 380 | |
| 381 | </body></html> |