GET api/BroadcastV770/BroadcastChatInfo?topicId={topicId}&lastChatId={lastChatId}
直播的互动信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| topicId |
直播id |
integer |
Default value is 0 |
| lastChatId |
最后一条聊天内容的id |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataMsgOfZaiMieApp.WebApi.ViewModel.BroadcastTopicView| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | ZaiMieApp.WebApi.ViewModel.BroadcastTopicView |
None. |
|
| addcoin | integer |
None. |
|
| message | string |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"data": {
"Id": 1,
"url": "sample string 2",
"title": "sample string 3",
"joinCount": 4,
"saygoodCount": 5,
"coverMedia": "sample string 6",
"starttime": "sample string 7",
"compere": {
"userinfo": {
"Id": 1,
"nickname": "sample string 2",
"userName": "sample string 3",
"headerImage": "sample string 4",
"backgroundImage": "sample string 5",
"sex": 6,
"loginSession": "sample string 7",
"userDesc": "sample string 8",
"score": 9,
"birthday": "sample string 10",
"city": 11,
"cityName": "sample string 12",
"constellation": "sample string 13",
"age": 14,
"phone": "sample string 15",
"audit": {
"isNickNameAudit": true,
"isHeaderImageAudit": true,
"isBackgroundImageAudit": true
},
"userCommunity": {
"communityId": 1,
"communityName": "sample string 2",
"streetId": 3,
"streetName": "sample string 4",
"countyId": 5,
"countyName": "sample string 6"
},
"userType": 16,
"realName": "sample string 17",
"idcard": "sample string 18",
"registerTime": "sample string 19",
"isNewUser": true,
"profile": 21,
"organizationUser": 22,
"commentatorUser": 23,
"talentAccount": 24,
"sign": "sample string 25",
"stamp": "sample string 26"
},
"myAttentionCount": 1,
"fansCount": 2,
"isAttention": true
},
"onlineUsers": [
{
"Id": 1,
"nickname": "sample string 2",
"userName": "sample string 3",
"headerImage": "sample string 4",
"backgroundImage": "sample string 5",
"sex": 6,
"loginSession": "sample string 7",
"userDesc": "sample string 8",
"score": 9,
"birthday": "sample string 10",
"city": 11,
"cityName": "sample string 12",
"constellation": "sample string 13",
"age": 14,
"phone": "sample string 15",
"audit": {
"isNickNameAudit": true,
"isHeaderImageAudit": true,
"isBackgroundImageAudit": true
},
"userCommunity": {
"communityId": 1,
"communityName": "sample string 2",
"streetId": 3,
"streetName": "sample string 4",
"countyId": 5,
"countyName": "sample string 6"
},
"userType": 16,
"realName": "sample string 17",
"idcard": "sample string 18",
"registerTime": "sample string 19",
"isNewUser": true,
"profile": 21,
"organizationUser": 22,
"commentatorUser": 23,
"talentAccount": 24,
"sign": "sample string 25",
"stamp": "sample string 26"
},
{
"Id": 1,
"nickname": "sample string 2",
"userName": "sample string 3",
"headerImage": "sample string 4",
"backgroundImage": "sample string 5",
"sex": 6,
"loginSession": "sample string 7",
"userDesc": "sample string 8",
"score": 9,
"birthday": "sample string 10",
"city": 11,
"cityName": "sample string 12",
"constellation": "sample string 13",
"age": 14,
"phone": "sample string 15",
"audit": {
"isNickNameAudit": true,
"isHeaderImageAudit": true,
"isBackgroundImageAudit": true
},
"userCommunity": {
"communityId": 1,
"communityName": "sample string 2",
"streetId": 3,
"streetName": "sample string 4",
"countyId": 5,
"countyName": "sample string 6"
},
"userType": 16,
"realName": "sample string 17",
"idcard": "sample string 18",
"registerTime": "sample string 19",
"isNewUser": true,
"profile": 21,
"organizationUser": 22,
"commentatorUser": 23,
"talentAccount": 24,
"sign": "sample string 25",
"stamp": "sample string 26"
}
],
"chats": [
{
"Id": 1,
"nickName": "sample string 2",
"headerImg": "sample string 3",
"content": "sample string 4",
"createDate": "2026-09-02T18:27:47.4983897+08:00",
"replyChatView": {
"nickName": "sample string 1",
"content": "sample string 2",
"createDate": "2026-09-02T18:27:47.4983897+08:00"
}
},
{
"Id": 1,
"nickName": "sample string 2",
"headerImg": "sample string 3",
"content": "sample string 4",
"createDate": "2026-09-02T18:27:47.4983897+08:00",
"replyChatView": {
"nickName": "sample string 1",
"content": "sample string 2",
"createDate": "2026-09-02T18:27:47.4983897+08:00"
}
}
],
"direction": 8,
"topicState": 9
},
"addcoin": 3,
"message": "sample string 4",
"page": 5,
"allPage": 6
}
application/xml, text/xml
Sample:
<ResultDataMsgOfBroadcastTopicViewPr2Hy9OI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
<addcoin>3</addcoin>
<allPage>6</allPage>
<code>2</code>
<data>
<Id>1</Id>
<chats>
<ChatRoomView>
<Id>1</Id>
<content>sample string 4</content>
<createDate>2026-09-02T18:27:47.4983897+08:00</createDate>
<headerImg>sample string 3</headerImg>
<nickName>sample string 2</nickName>
<replyChatView>
<content>sample string 2</content>
<createDate>2026-09-02T18:27:47.4983897+08:00</createDate>
<nickName>sample string 1</nickName>
</replyChatView>
</ChatRoomView>
<ChatRoomView>
<Id>1</Id>
<content>sample string 4</content>
<createDate>2026-09-02T18:27:47.4983897+08:00</createDate>
<headerImg>sample string 3</headerImg>
<nickName>sample string 2</nickName>
<replyChatView>
<content>sample string 2</content>
<createDate>2026-09-02T18:27:47.4983897+08:00</createDate>
<nickName>sample string 1</nickName>
</replyChatView>
</ChatRoomView>
</chats>
<compere>
<fansCount>2</fansCount>
<isAttention>true</isAttention>
<myAttentionCount>1</myAttentionCount>
<userinfo>
<sign>sample string 25</sign>
<stamp>sample string 26</stamp>
<Id>1</Id>
<age>14</age>
<audit>
<isBackgroundImageAudit>true</isBackgroundImageAudit>
<isHeaderImageAudit>true</isHeaderImageAudit>
<isNickNameAudit>true</isNickNameAudit>
</audit>
<backgroundImage>sample string 5</backgroundImage>
<birthday>sample string 10</birthday>
<city>11</city>
<cityName>sample string 12</cityName>
<commentatorUser>23</commentatorUser>
<constellation>sample string 13</constellation>
<headerImage>sample string 4</headerImage>
<idcard>sample string 18</idcard>
<isNewUser>true</isNewUser>
<loginSession>sample string 7</loginSession>
<nickname>sample string 2</nickname>
<organizationUser>22</organizationUser>
<phone>sample string 15</phone>
<profile>21</profile>
<realName>sample string 17</realName>
<registerTime>sample string 19</registerTime>
<score>9</score>
<sex>6</sex>
<talentAccount>24</talentAccount>
<userCommunity>
<communityId>1</communityId>
<communityName>sample string 2</communityName>
<countyId>5</countyId>
<countyName>sample string 6</countyName>
<streetId>3</streetId>
<streetName>sample string 4</streetName>
</userCommunity>
<userDesc>sample string 8</userDesc>
<userName>sample string 3</userName>
<userType>16</userType>
</userinfo>
</compere>
<coverMedia>sample string 6</coverMedia>
<direction>8</direction>
<joinCount>4</joinCount>
<onlineUsers>
<UserInfoView>
<sign>sample string 25</sign>
<stamp>sample string 26</stamp>
<Id>1</Id>
<age>14</age>
<audit>
<isBackgroundImageAudit>true</isBackgroundImageAudit>
<isHeaderImageAudit>true</isHeaderImageAudit>
<isNickNameAudit>true</isNickNameAudit>
</audit>
<backgroundImage>sample string 5</backgroundImage>
<birthday>sample string 10</birthday>
<city>11</city>
<cityName>sample string 12</cityName>
<commentatorUser>23</commentatorUser>
<constellation>sample string 13</constellation>
<headerImage>sample string 4</headerImage>
<idcard>sample string 18</idcard>
<isNewUser>true</isNewUser>
<loginSession>sample string 7</loginSession>
<nickname>sample string 2</nickname>
<organizationUser>22</organizationUser>
<phone>sample string 15</phone>
<profile>21</profile>
<realName>sample string 17</realName>
<registerTime>sample string 19</registerTime>
<score>9</score>
<sex>6</sex>
<talentAccount>24</talentAccount>
<userCommunity>
<communityId>1</communityId>
<communityName>sample string 2</communityName>
<countyId>5</countyId>
<countyName>sample string 6</countyName>
<streetId>3</streetId>
<streetName>sample string 4</streetName>
</userCommunity>
<userDesc>sample string 8</userDesc>
<userName>sample string 3</userName>
<userType>16</userType>
</UserInfoView>
<UserInfoView>
<sign>sample string 25</sign>
<stamp>sample string 26</stamp>
<Id>1</Id>
<age>14</age>
<audit>
<isBackgroundImageAudit>true</isBackgroundImageAudit>
<isHeaderImageAudit>true</isHeaderImageAudit>
<isNickNameAudit>true</isNickNameAudit>
</audit>
<backgroundImage>sample string 5</backgroundImage>
<birthday>sample string 10</birthday>
<city>11</city>
<cityName>sample string 12</cityName>
<commentatorUser>23</commentatorUser>
<constellation>sample string 13</constellation>
<headerImage>sample string 4</headerImage>
<idcard>sample string 18</idcard>
<isNewUser>true</isNewUser>
<loginSession>sample string 7</loginSession>
<nickname>sample string 2</nickname>
<organizationUser>22</organizationUser>
<phone>sample string 15</phone>
<profile>21</profile>
<realName>sample string 17</realName>
<registerTime>sample string 19</registerTime>
<score>9</score>
<sex>6</sex>
<talentAccount>24</talentAccount>
<userCommunity>
<communityId>1</communityId>
<communityName>sample string 2</communityName>
<countyId>5</countyId>
<countyName>sample string 6</countyName>
<streetId>3</streetId>
<streetName>sample string 4</streetName>
</userCommunity>
<userDesc>sample string 8</userDesc>
<userName>sample string 3</userName>
<userType>16</userType>
</UserInfoView>
</onlineUsers>
<saygoodCount>5</saygoodCount>
<starttime>sample string 7</starttime>
<title>sample string 3</title>
<topicState>9</topicState>
<url>sample string 2</url>
</data>
<message>sample string 4</message>
<page>5</page>
<success>true</success>
</ResultDataMsgOfBroadcastTopicViewPr2Hy9OI>