# volcengine-livesaas-sdk-go **Repository Path**: changeden/volcengine-livesaas-sdk-go ## Basic Information - **Project Name**: volcengine-livesaas-sdk-go - **Description**: 该模块是为go提供调用[火山引擎-企业微信OpenApi](https://bytedance.feishu.cn/docs/doccnPWqPQUgPnIA85F3F8k1rIg)接口能力。 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-29 - **Last Updated**: 2022-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # volcengine-livesaas-sdk-go 该模块是为go提供调用[火山引擎-企业微信OpenApi](https://bytedance.feishu.cn/docs/doccnPWqPQUgPnIA85F3F8k1rIg)接口能力。 ## 安装 ``` $ go get gitee.com/changeden/volcengine-livesaas-sdk-go ``` ## 使用 ### 初始化请求工具 ```go package main import ( volcengine "gitee.com/changeden/volcengine-livesaas-sdk-go" "log" "os" ) func main() { instance := volcengine.Instance{ AccessKeyID: "AccessKeyID", SecretAccessKey: "SecretAccessKey", Region: "cn-north-1", Logger: log.New(os.Stdout, "", log.Lshortfile|log.Ldate|log.Ltime), } } ``` ### 请求 ```go package main import ( "fmt" volcengine "gitee.com/changeden/volcengine-livesaas-sdk-go" "log" "os" "gitee.com/changeden/volcengine-livesaas-sdk-go/api" ) func main() { instance := volcengine.Instance{ AccessKeyID: "AccessKeyID", SecretAccessKey: "SecretAccessKey", Region: "cn-north-1", Logger: log.New(os.Stdout, "", log.Lshortfile|log.Ldate|log.Ltime), } var activityId int64 = 1688046000000000 res, err := instance. SetVersion("2020-06-01"). GetActivity(&api.GetActivityRequest{ ActivityId: &activityId, }) fmt.Println(err) fmt.Println(*res) } ``` ### Api | 名称 | 函数 | 请求参数 | 响应结果 | | :-------------------------------------------: | :-------------------------------: | :--------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: | | 创建直播活动 | CreateActivity | *[api.CreateActivityRequest](#api.CreateActivityRequest) | *[api.CreateActivityResponse](#api.CreateActivityResponse), error | | 变更直播间状态 | UpdateActivityStatus | *[api.UpdateActivityStatusRequest](#api.UpdateActivityStatusRequest) | *[api.NoResultResponse](#api.NoResultResponse), error | | 开始/关闭拉流 | UpdatePullToPush | *[api.UpdatePullToPushRequest](#api.UpdatePullToPushRequest ) | *[api.NoResultResponse](#api.NoResultResponse), error | | 获取直播基础信息 | GetActivity | *[api.GetActivityRequest](#api.GetActivityRequest) | *[api.GetActivityResponse](#api.GetActivityResponse), error | | 获取直播流信息 | GetStreams | *[api.GetStreamsRequest](#api.GetStreamsRequest) | *[api.GetStreamsResponse](#api.GetStreamsResponse), error | | 配置直播页面基础信息 | UpdateActivityBasicConfig | *[api.UpdateActivityBasicConfigRequest](#api.UpdateActivityBasicConfigRequest) | *[api.NoResultResponse](#api.NoResultResponse), error | | 获取直播页面基础信息 | GetActivityBasicConfig | *[api.GetActivityBasicConfigRequest](#api.GetActivityBasicConfigRequest) | *[api.GetActivityBasicConfigResponse](#api.GetActivityBasicConfigResponse), error | | 获取直播活动列表信息 | ListActivity | *[api.ListActivityRequest](#api.ListActivityRequest) | *[api.ListActivityResponse](#api.ListActivityResponse), error | | 回放上传 | UploadReplay | *[api.UploadReplayRequest](#api.UploadReplayRequest) | *[api.NoResultResponse](#api.NoResultResponse), error | | 上架/下架/删除回放 | UpdateMediaOnlineStatus | *[api.UpdateMediaOnlineStatusRequest](#api.UpdateMediaOnlineStatusRequest) | *[api.NoResultResponse](#api.NoResultResponse), error | | 获取回放文件列表 | ListMedias | *[api.ListMediasRequest](#api.ListMediasRequest) | *[api.ListMediasResponse](#api.ListMediasResponse), error | | 直播基础数据信息 | GetPageWatchData | *[api.GetPageWatchDataRequest](#api.GetPageWatchDataRequest) | *[api.GetPageWatchDataResponse](#api.GetPageWatchDataResponse), error | | 营销数据信息 | GetAdvertisementData | *[api.GetAdvertisementDataRequest](#api.GetAdvertisementDataRequest) | *[api.GetAdvertisementDataResponse](#api.GetAdvertisementDataResponse), error | | 观众行为数据信息 | ListUserBehaviorData | *[api.ListUserBehaviorDataRequest](#api.ListUserBehaviorDataRequest) | *[api.ListUserBehaviorDataResponse](#api.ListUserBehaviorDataResponse), error | | 问卷数据信息 | ListQuestionnaireAnswerData | *[api.ListQuestionnaireAnswerDataRequest](#api.ListQuestionnaireAnswerDataRequest) | *[api.ListQuestionnaireAnswerDataResponse](#api.ListQuestionnaireAnswerDataResponse), error | | 问卷列表信息 | ListQuestionnaireData | *[api.ListQuestionnaireDataRequest](#api.ListQuestionnaireDataRequest) | *[api.ListQuestionnaireDataResponse](#api.ListQuestionnaireDataResponse), error | | 获取实时在线人数 | GetRealTimeOnlineNumber | *[api.GetRealTimeOnlineNumberRequest](#api.GetRealTimeOnlineNumberRequest) | *[api.GetRealTimeOnlineNumberResponse](#api.GetRealTimeOnlineNumberResponse), error | | 主持人发言 | PresenterChat | *[api.PresenterChatRequest](#api.PresenterChatRequest) | *[api.PresenterChatResponse](#api.PresenterChatResponse), error | | 获取直播间评论 | PollingChat | *[api.PollingChatRequest](#api.PollingChatRequest) | *[api.PollingChatResponse](#api.PollingChatResponse), error | | 获取直播间热门评论 | GetHotChat | *[api.GetHotChatRequest](#api.GetHotChatRequest) | *[api.GetHotChatResponse](#api.GetHotChatResponse), error | | 获取直播间置顶评论 | GetTopChat | *[api.GetTopChatRequest](#api.GetTopChatRequest) | *[api.GetTopChatResponse](#api.GetTopChatResponse), error | | 删除直播间评论 | DeleteChat | *[api.DeleteChatRequest](#api.DeleteChatRequest) | *[api.DeleteChatResponse](#api.DeleteChatResponse), error | | 评论点赞 | LikeChat | *[api.LikeChatRequest](#api.LikeChatRequest) | *[api.LikeChatResponse](#api.LikeChatResponse), error | | 评论置顶 | TopChat | *[api.TopChatRequest](#api.TopChatRequest) | *[api.TopChatResponse](#api.LikeChatResponse), error | | 清空直播间评论 | EmptyChat | *[api.EmptyChatRequest](#api.EmptyChatRequest) | *[api.EmptyChatResponse](#api.EmptyChatResponse), error | | 发送图文直播 | SendGraphicMessage | *[api.SendGraphicMessageRequest](#api.SendGraphicMessageRequest) | *[api.SendGraphicMessageResponse](#api.SendGraphicMessageResponse), error | | 删除图文直播 | DeleteGraphicMessage | *[api.DeleteGraphicMessageRequest](#api.DeleteGraphicMessageRequest) | *[api.DeleteGraphicMessageResponse](#api.DeleteGraphicMessageResponse), error | | 拉取直播间图文直播 | PollingGraphicMessage | *[api.PollingGraphicMessageRequest](#api.PollingGraphicMessageReques) | *[api.PollingGraphicMessageResponse](#api.PollingGraphicMessageResponse), error | | 更改直播间评论先审后发状态 | UpdateChatReviewStatus | *[api.UpdateChatReviewStatusRequest](#api.UpdateChatReviewStatusRequest) | *[api.UpdateChatReviewStatusResponse](#api.UpdateChatReviewStatusResponse), error | | 评论过审 | ConfirmReviewChat | *[api.ConfirmReviewChatRequest](#api.ConfirmReviewChatRequest) | *[api.ConfirmReviewChatResponse](#api.ConfirmReviewChatResponse), error | | 用户禁言 | SilenceUser | *[api.SilenceUserRequest](#api.SilenceUserRequest) | *[api.SilenceUserResponse](#api.SilenceUserResponse), error | | 获取禁言用户列表 | GetSilenceUserList | *[api.GetSilenceUserListRequest](#api.GetSilenceUserListRequest) | *[api.GetSilenceUserListResponse](#api.GetSilenceUserListResponse), error | | 修改主持人名称 | UpdatePresenterName | *[api.UpdatePresenterNameRequest](#api.UpdatePresenterNameRequest) | *[api.UpdatePresenterNameResponse](#api.UpdatePresenterNameResponse), error | | 修改弹幕开关 | UpdateBulletScreensSwitch | *[api.UpdateBulletScreensSwitchRequest](#api.UpdateBulletScreensSwitchRequest) | *[api.UpdateBulletScreensSwitchResponse](#api.UpdateBulletScreensSwitchResponse), error | | 编辑轮播 | UpdateLoopVideo | *[api.UpdateLoopVideoRequest](#api.UpdateLoopVideoRequest) | *[api.UpdateLoopVideoResponse](#api.UpdateLoopVideoResponse), error | | 开启/关闭轮播 | UpdateLoopVideoStatus | *[api.UpdateLoopVideoStatusRequest](#api.UpdateLoopVideoStatusRequest) | *[api.UpdateLoopVideoStatusResponse](#api.UpdateLoopVideoStatusResponse), error | | 修改直播间观看限制 | UpdateViewPermission | *[api.UpdateViewPermissionRequest](#api.UpdateViewPermissionRequest) | *[api.NoResultResponse](#api.NoResultResponse), error | | 修改直播间观看限制/评论限制自定义观看登录链接 | UpdateCustomizationViewPermission | *[api.UpdateCustomizationViewPermissionRequest](#api.UpdateCustomizationViewPermissionRequest) | *[api.UpdateCustomizationViewPermissionResponse](api.UpdateCustomizationViewPermissionResponse), error | | 获取拉流SDK初始化Token | GetSDKToken | *[api.GetSDKTokenRequest](#api.GetSDKTokenRequest) | *[api.GetSDKTokenResponse](#api.GetSDKTokenResponse), error | | 获取STS2 | GetSTS | | *[api.GetSTSResponse](#api.GetSTSResponse), error | ### Model #### api.CreateActivityRequest | 字段 | 类型 | | :---------: | :-----: | | Name | *string | | LiveTime | *int64 | | ViewUrlPath | *string | | CoverImage | *string | | OldId | *int64 | | CopyStream | *bool | #### api.CreateActivityResponse | 字段 | 类型 | | :--------: | :---: | | ActivityId | int64 | #### api.UpdateActivityStatusRequest | 字段 | 类型 | | :----------------: | :----: | | ActivityId | *int64 | | IsStreamViewEnable | *int32 | #### api.NoResultResponse | 字段 | 类型 | | :---: | :---: | | | | #### api.UpdatePullToPushRequest | 字段 | 类型 | | :----------------------: | :-----: | | ActivityId | *int64 | | LineId | *int64 | | PullStreamUrl | *string | | PullStreamStatus | *int32 | | PullStreamMode | *int8 | | PullStreamLineId | *int64 | | PullStreamMainBackupMode | *int32 | #### api.GetActivityRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetActivityResponse | 字段 | 类型 | | :--------------: | :----: | | Id | int64 | | Name | string | | LiveTime | int64 | | Status | int32 | | ViewUrl | string | | IsPageViewEnable | int32 | | IsLockPreview | int32 | | CoverImage | string | #### api.GetStreamsRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetStreamsResponse | 字段 | 类型 | | :---------: | :---------------------------------: | | LineDetails | [][api.LineDetail](#api.LineDetail) | #### api.LineDetail | 字段 | 类型 | | :---------------: | :---------------------------------: | | LineId | int64 | | LineName | string | | MainPushInfo | [api.PushInfo](#api.PushInfo) | | BackPushInfo | [api.PushInfo](#api.PushInfo) | | ForwardInfo | [api.ForwardInfo](#api.ForwardInfo) | | BackupForwardInfo | [api.ForwardInfo](#api.ForwardInfo) | | ExpireTime | int64 | | LineIndex | int64 | | MainBackupType | int32 | | LoopVideoStatus | int32 | #### api.PushInfo | 字段 | 类型 | | :-----------: | :----: | | PushUrl | string | | PushPath | string | | StreamingCode | string | #### api.ForwardInfo | 字段 | 类型 | | :----------------------: | :----: | | PullStreamUrl | string | | PullStreamStatus | int32 | | PullStreamCheckStatus | int32 | | PullStreamCheckMessage | string | | PullStreamLineId | int64 | | PullStreamMainBackupMode | int32 | | PullStreamExpireTime | int64 | #### api.UpdateActivityBasicConfigRequest | 字段 | 类型 | | :----------------------: | :------: | | ActivityId | *int64 | | Name | *string | | LiveTime | *int64 | | IsCoverImageEnable | *int32 | | CoverImageUrl | *string | | IsPcBackImageEnable | *int32 | | PcBackImageUrl | *string | | IsMobileBackImageEnable | *int32 | | MobileBackImageUrl | *string | | IsPreviewVideoEnable | *int32 | | PreviewVideoVid | *string | | IsPeopleCountEnable | *int32 | | IsHeaderImageEnable | *int32 | | HeaderImageUrl | *string | | IsWatermarkImageEnable | *int32 | | WatermarkImageUrl | *string | | IsThumbUpEnable | *int32 | | ThumbUpUrl | *string | | IsShareIconEnable | *int32 | | ShareIconUrl | *string | | IsCommentTranslateEnable | *int32 | | Announcement | *string | | BackgroundColor | *string | | FontColor | *string | | InteractionColor | *string | | ColorThemeIndex | *string | | IsCountDownEnable | *int32 | | IsAutoStartEnable | *int32 | | IsPCHeaderImageEnable | *int32 | | PCHeaderImageUrl | *string | | IsPageLimitEnable | *int32 | | PageLimitType | *string | | IsLanguageEnable | *int32 | | LanguageType | *[]int32 | #### api.GetActivityBasicConfigRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetActivityBasicConfigResponse | 字段 | 类型 | | :-----------------------: | :-----------: | | CoverImageUrlDefault | string | | IsLanguageEnable | int32 | | AccountId | int64 | | WatermarkImageUrl | string | | CoverImageUrl | string | | PreviewVideoId | int64 | | ReservationText | string | | IsReplayAutoOnlineEnable | int32 | | ShareIconUrlDefault | string | | PageLimitType | string | | PreviewVideoVidDefault | string | | Name | string | | IsHeaderImageEnable | int32 | | IsPreviewPromptEnable | int32 | | InteractionColor | string | | SourceSubtitleLanguage | string | | IsThumbUpEnable | int32 | | PlayerTopType | []interface{} | | IsCommentTranslateEnable | int32 | | PreviewPrompt | string | | LiveTime | int64 | | PreviewVideoVid | string | | PreviewVideoCoverImage | string | | IsMobileBackImageEnable | int32 | | FontColor | string | | HeaderImageUrl | string | | ThumbUpUrlDefault | string | | IsTimeShift | int32 | | IsReservationEnable | int32 | | SiteTags | []interface{} | | ColorThemeIndex | string | | IsCountdownEnable | int32 | | OpenLiveAvextractorTask | int64 | | IsPCHeaderImageEnable | int32 | | IsPlayerTopEnable | int32 | | PcBackImageUrl | string | | Announcement | string | | DefaultSubtitleLanguage | string | | PreviewVideoUrl | string | | ActivityId | int64 | | IsPageLimitEnable | int32 | | IsPreviewVideoEnable | int32 | | MobileBackImageUrlDefault | string | | ThumbUpUrl | string | | MobileBackImageUrl | string | | LanguageType | []interface{} | | IsPcBackImageEnable | int32 | | PcBackImageUrlDefault | string | | IsShareIconEnable | int32 | | PreviewVideoMediaName | string | | AutoStartType | int64 | | PCHeaderImageUrl | string | | IsCoverImageEnable | int32 | | IsAnnouncementEnable | int32 | | IsPeopleCountEnable | int32 | | ReservationTime | int64 | | IsAutoStartEnable | int32 | | IsWatermarkImageEnable | int32 | | PreviewVideoReviewStatus | int32 | | ShareIconUrl | string | | BackgroundColor | string | #### api.ListActivityRequest | 字段 | 类型 | | :--------------: | :-----: | | IsNeedTotalCount | *bool | | PageNo | *int32 | | PageItemCount | *int32 | | Name | *string | | Status | *int32 | | LiveTime | *int64 | | IsLockPreview | *int32 | #### api.ListActivityResponse | 字段 | 类型 | | :------------: | :-----------------------------: | | Activities | [][api.Activity](#api.Activity) | | TotalItemCount | int32 | | PageItemCount | int32 | | PageNo | int32 | #### api.Activity | 字段 | 类型 | | :-------------: | :-----------: | | Status | int32 | | CoverImage | string | | ViewUrl | string | | LiveTime | int64 | | CreateTime | int64 | | OnlineStatus | int32 | | SiteTags | []interface{} | | StreamStartTime | int32 | | Id | int64 | | IsLockPreview | int32 | | Name | string | #### api.UploadReplayRequest | 字段 | 类型 | | :--------: | :--------: | | ActivityId | *int64 | | Media | *api.Media | #### api.UpdateMediaOnlineStatusRequest | 字段 | 类型 | | :----------: | :----: | | ActivityId | *int64 | | MediaId | *int64 | | OnlineStatus | *int32 | #### api.Media | 字段 | 类型 | | :---: | :----: | | Name | string | | Vid | string | #### api.ListMediasRequest | 字段 | 类型 | | :--------------: | :-----: | | IsNeedTotalCount | *bool | | PageNo | *int32 | | PageItemCount | *int32 | | ActivityId | *int64 | | Name | *string | | Vid | *string | #### api.ListMediasResponse | 字段 | 类型 | | :----------: | :----: | | MediaId | int64 | | Name | string | | Duration | int32 | | SourceType | int32 | | OnlineStatus | int32 | | Vid | string | | CreateTime | int64 | | CoverImage | string | #### api.GetPageWatchDataRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | Soucre | *int32 | #### api.GetPageWatchDataResponse | 字段 | 类型 | | :--------: | :-------------------------------: | | ActivityID | int64 | | PageClicks | [api.PageClicks](#api.PageClicks) | #### api.PageClicks | 字段 | 类型 | | :-------: | :---: | | UV | int32 | | AvgNumber | int32 | | PV | int32 | | TotalTime | int64 | | AvgTime | int64 | #### api.GetAdvertisementDataRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | Soucre | *int32 | #### api.GetAdvertisementDataResponse | 字段 | 类型 | | :---------------: | :-----------------------------------------------: | | AdvertisingClicks | [api.AdvertisingClicks](#api.AdvertisingClicks) | | ActivityID | int64 | | AccountClicks | [api.AdvertisementData](#api.AdvertisementData) | | AdInfo | [][api.AdvertisementInfo](#api.AdvertisementInfo) | #### api.AdvertisementData | 字段 | 类型 | | :-------: | :---: | | UV | int32 | | PV | int32 | | TotalTime | int32 | #### api.AdvertisementInfo | 字段 | 类型 | | :-------: | :----: | | AdType | int32 | | Content | string | | Link | string | | UV | int32 | | PV | int32 | | TotalTime | int32 | #### api.ListUserBehaviorDataRequest | 字段 | 类型 | | :-----------: | :-----: | | PageNo | *int32 | | PageItemCount | *int32 | | ActivityId | *int64 | | Name | *string | | StartTime | *int64 | | EndTime | *int64 | | IsMerge | *int32 | | Sort | *string | | Order | *string | | NeedAll | *bool | | Soucre | *int32 | | PlayStatus | *int32 | #### api.ListUserBehaviorDataResponse | 字段 | 类型 | | :--------: | :-----: | | Department | string | | LeaveAt | []int64 | | UserName | string | | UserTel | string | | InviteCode | string | | UserID | int64 | | IP | string | | Region | string | | JoinAt | []int64 | | WatchTime | int64 | #### api.ListQuestionnaireAnswerDataRequest | 字段 | 类型 | | :-------------: | :----: | | ActivityId | *int64 | | QuestionnaireId | *int64 | | PageNo | *int32 | | PageItemCount | *int32 | | Source | *int32 | #### api.ListQuestionnaireAnswerDataResponse | 字段 | 类型 | | :------------: | :---------------------------------------: | | TotalItemCount | int64 | | Questionnaires | [][api.Questionnaire](#api.Questionnaire) | | PageItemCount | int32 | | PageNo | int32 | | Questions | [][api.Question](#api.Question) | #### api.Questionnaire | 字段 | 类型 | | :-------------: | :-----------------------------------------: | | SendTime | int64 | | QuestionAnswers | [][api.QuestionAnswer](#api.QuestionAnswer) | #### api.Question | 字段 | 类型 | | :--------: | :----: | | QuestionID | int64 | | Question | string | #### api.QuestionAnswer | 字段 | 类型 | | :--------: | :----: | | Answer | string | | QuestionID | string | | Question | string | #### api.ListQuestionnaireDataRequest | 字段 | 类型 | | :-----------: | :----: | | ActivityId | *int64 | | PageNo | *int32 | | PageItemCount | *int32 | | Soucre | *int32 | #### api.ListQuestionnaireDataResponse | 字段 | 类型 | | :----------------------: | :-----------------------------------------------------------: | | TotalItemCount | int64 | | PageItemCount | int32 | | PageNo | int32 | | StatisticsQuestionnaires | [][api.StatisticsQuestionnaire](#api.StatisticsQuestionnaire) | #### api.StatisticsQuestionnaire | 字段 | 类型 | | :-------------: | :----: | | UserCount | int32 | | QuestionnaireID | string | | Title | string | | PublishTime | int64 | #### api.GetRealTimeOnlineNumberRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetRealTimeOnlineNumberResponse | 字段 | 类型 | | :------------: | :---: | | RealPopularity | int32 | | FakePopularity | int32 | #### api.PresenterChatRequest | 字段 | 类型 | | :--------: | :-----: | | ActivityId | *int64 | | Comment | *string | #### api.PresenterChatResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.PollingChatRequest | 字段 | 类型 | | :---------: | :----: | | ActivityId | *int64 | | ChatId | *int64 | | Count | *int32 | | PollingType | *int32 | #### api.PollingChatResponse | 字段 | 类型 | | :---: | :------------: | | Data | []api.ChatData | #### api.ChatData | 字段 | 类型 | | :----------: | :---------------------------: | | User | [api.ChatUser](#api.ChatUser) | | CreateTime | int64 | | IsDelete | bool | | ReviewStatus | int32 | | TextContent | string | | LikeCount | int32 | | IsPresenter | bool | | ChatID | int64 | #### api.ChatUser | 字段 | 类型 | | :------: | :----: | | UserID | int64 | | Nickname | string | #### api.GetHotChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetHotChatResponse | 字段 | 类型 | | :---: | :-----------------------------: | | Data | [][api.ChatData](#api.ChatData) | #### api.GetTopChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetTopChatResponse | 字段 | 类型 | | :---: | :-----------------------------: | | Data | [][api.ChatData](#api.ChatData) | #### api.DeleteChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | ChatId | *int64 | #### api.DeleteChatResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.LikeChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | ChatId | *int64 | #### api.LikeChatResponse | 字段 | 类型 | | :-------: | :---: | | LikeCount | int32 | #### api.TopChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | ChatId | *int64 | | TopStatus | *int32 | #### api.TopChatResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.EmptyChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.EmptyChatResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.SendGraphicMessageRequest | 字段 | 类型 | | :-------------: | :------------------------------------------: | | ActivityId | *int64 | | GraphicMessages | *[api.GraphicMessages](#api.GraphicMessages) | #### api.GraphicMessages | 字段 | 类型 | | :------------: | :-----------------------------------------: | | GraphicMessage | [][api.GraphicMessage](#api.GraphicMessage) | #### api.GraphicMessage | 字段 | 类型 | | :-------------------: | :----: | | GraphicMessageContext | string | | GraphicMessageType | int32 | #### api.SendGraphicMessageResponse | 字段 | 类型 | | :--------------: | :---: | | GraphicMessageId | int64 | #### api.DeleteGraphicMessageRequest | 字段 | 类型 | | :--------------: | :----: | | ActivityId | *int64 | | GraphicMessageId | *int64 | #### api.DeleteGraphicMessageResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.PollingGraphicMessageRequest | 字段 | 类型 | | :-----------------: | :----: | | ActivityId | *int64 | | GraphicMessageId | *int64 | | GraphicMessageCount | *int32 | #### api.PollingGraphicMessageResponse | 字段 | 类型 | | :-------------: | :-------------------------------------------------------: | | GraphicMessages | [][api.PollingGraphicMessage](#api.PollingGraphicMessage) | #### api.PollingGraphicMessage | 字段 | 类型 | | :--------------: | :---------------------------------------------------------------------: | | Context | [][api.PollingGraphicMessageContext](#api.PollingGraphicMessageContext) | | CreateTime | int64 | | GraphicMessageID | int64 | | IsDelete | bool | #### api.PollingGraphicMessageContext | 字段 | 类型 | | :-------------------: | :----: | | GraphicMessageContext | string | | GraphicMessageType | int32 | #### api.UpdateChatReviewStatusRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | Status | *int32 | #### api.UpdateChatReviewStatusResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.ConfirmReviewChatRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | ChatId | *int64 | #### api.ConfirmReviewChatResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.SilenceUserRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | | UserId | *int64 | | Status | *bool | #### api.SilenceUserResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.GetSilenceUserListRequest | 字段 | 类型 | | :--------: | :----: | | ActivityId | *int64 | #### api.GetSilenceUserListResponse | 字段 | 类型 | | :------: | :---------------------: | | UserList | [][api.User](#api.User) | #### api.User | 字段 | 类型 | | :------: | :----: | | UserID | int64 | | Nickname | string | #### api.UpdatePresenterNameRequest | 字段 | 类型 | | :-----------: | :-----: | | ActivityId | *int64 | | PresenterName | *string | #### api.UpdatePresenterNameResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.UpdateBulletScreensSwitchRequest | 字段 | 类型 | | :-----------------: | :----: | | ActivityId | *int64 | | BulletScreensSwitch | *int32 | #### api.UpdateBulletScreensSwitchResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.UpdateLoopVideoRequest | 字段 | 类型 | | :--------: | :------------------------------: | | ActivityId | *int64 | | LineId | *int64 | | LoopNumber | *int32 | | LoopVideo | *[api.LoopVideo](#api.LoopVideo) | #### api.LoopVideo | 字段 | 类型 | | :-------------: | :----: | | VideoName | string | | Index | int32 | | VideoVid | string | | VideoCoverImage | string | #### api.UpdateLoopVideoResponse | 字段 | 类型 | | :---: | :---: | | Id | int64 | #### api.UpdateLoopVideoStatusRequest | 字段 | 类型 | | :--------------: | :----: | | ActivityId | *int64 | | IsStartLoopVideo | *int32 | | LineId | *int64 | #### api.UpdateLoopVideoStatusResponse | 字段 | 类型 | | :----: | :---: | | Status | bool | #### api.UpdateViewPermissionRequest | 字段 | 类型 | | :--------------: | :----: | | ActivityId | *int64 | | AccessPermission | *int32 | | ChatPermission | *int32 | #### api.UpdateCustomizationViewPermissionRequest | 字段 | 类型 | | :--------: | :-----: | | ActivityId | *int64 | | CustomUrl | *string | #### api.UpdateCustomizationViewPermissionResponse | 字段 | 类型 | | :-------: | :----: | | SecretKey | string | #### api.GetSDKTokenRequest | 字段 | 类型 | | :--------: | :-----: | | ActivityId | *int64 | | Mode | *int32 | | Nickname | *string | | UserIdStr | *string | #### api.GetSDKTokenResponse | 字段 | 类型 | | :---: | :----: | | Token | string | #### api.GetSTSResponse | 字段 | 类型 | | :-------------: | :----: | | SessionToken | string | | AccessKeyId | string | | SecretAccessKey | string | | ExpiredTime | string | | CurrentTime | string |