Documentation ¶
Index ¶
- Constants
- type AddGroupMemberRequest
- type AddGroupMemberRequestParams
- type AddGroupMemberResponse
- type AddGroupMemberResponseParams
- type AppCustomContent
- type BackgroundPictureConfig
- type BatchAddGroupMemberRequest
- type BatchAddGroupMemberRequestParams
- type BatchAddGroupMemberResponse
- type BatchAddGroupMemberResponseParams
- type BatchCreateGroupWithMembersRequest
- type BatchCreateGroupWithMembersRequestParams
- type BatchCreateGroupWithMembersResponse
- type BatchCreateGroupWithMembersResponseParams
- type BatchCreateRoomRequest
- type BatchCreateRoomRequestParams
- type BatchCreateRoomResponse
- type BatchCreateRoomResponseParams
- type BatchDeleteGroupMemberRequest
- type BatchDeleteGroupMemberRequestParams
- type BatchDeleteGroupMemberResponse
- type BatchDeleteGroupMemberResponseParams
- type BatchDeleteRecordRequest
- type BatchDeleteRecordRequestParams
- type BatchDeleteRecordResponse
- type BatchDeleteRecordResponseParams
- type BatchRegisterRequest
- type BatchRegisterRequestParams
- type BatchRegisterResponse
- type BatchRegisterResponseParams
- type BatchUserInfo
- type BatchUserRequest
- type BindDocumentToRoomRequest
- type BindDocumentToRoomRequestParams
- type BindDocumentToRoomResponse
- type BindDocumentToRoomResponseParams
- type Client
- func (c *Client) AddGroupMember(request *AddGroupMemberRequest) (response *AddGroupMemberResponse, err error)
- func (c *Client) AddGroupMemberWithContext(ctx context.Context, request *AddGroupMemberRequest) (response *AddGroupMemberResponse, err error)
- func (c *Client) BatchAddGroupMember(request *BatchAddGroupMemberRequest) (response *BatchAddGroupMemberResponse, err error)
- func (c *Client) BatchAddGroupMemberWithContext(ctx context.Context, request *BatchAddGroupMemberRequest) (response *BatchAddGroupMemberResponse, err error)
- func (c *Client) BatchCreateGroupWithMembers(request *BatchCreateGroupWithMembersRequest) (response *BatchCreateGroupWithMembersResponse, err error)
- func (c *Client) BatchCreateGroupWithMembersWithContext(ctx context.Context, request *BatchCreateGroupWithMembersRequest) (response *BatchCreateGroupWithMembersResponse, err error)
- func (c *Client) BatchCreateRoom(request *BatchCreateRoomRequest) (response *BatchCreateRoomResponse, err error)
- func (c *Client) BatchCreateRoomWithContext(ctx context.Context, request *BatchCreateRoomRequest) (response *BatchCreateRoomResponse, err error)
- func (c *Client) BatchDeleteGroupMember(request *BatchDeleteGroupMemberRequest) (response *BatchDeleteGroupMemberResponse, err error)
- func (c *Client) BatchDeleteGroupMemberWithContext(ctx context.Context, request *BatchDeleteGroupMemberRequest) (response *BatchDeleteGroupMemberResponse, err error)
- func (c *Client) BatchDeleteRecord(request *BatchDeleteRecordRequest) (response *BatchDeleteRecordResponse, err error)
- func (c *Client) BatchDeleteRecordWithContext(ctx context.Context, request *BatchDeleteRecordRequest) (response *BatchDeleteRecordResponse, err error)
- func (c *Client) BatchRegister(request *BatchRegisterRequest) (response *BatchRegisterResponse, err error)
- func (c *Client) BatchRegisterWithContext(ctx context.Context, request *BatchRegisterRequest) (response *BatchRegisterResponse, err error)
- func (c *Client) BindDocumentToRoom(request *BindDocumentToRoomRequest) (response *BindDocumentToRoomResponse, err error)
- func (c *Client) BindDocumentToRoomWithContext(ctx context.Context, request *BindDocumentToRoomRequest) (response *BindDocumentToRoomResponse, err error)
- func (c *Client) CreateDocument(request *CreateDocumentRequest) (response *CreateDocumentResponse, err error)
- func (c *Client) CreateDocumentWithContext(ctx context.Context, request *CreateDocumentRequest) (response *CreateDocumentResponse, err error)
- func (c *Client) CreateGroupWithMembers(request *CreateGroupWithMembersRequest) (response *CreateGroupWithMembersResponse, err error)
- func (c *Client) CreateGroupWithMembersWithContext(ctx context.Context, request *CreateGroupWithMembersRequest) (response *CreateGroupWithMembersResponse, err error)
- func (c *Client) CreateGroupWithSubGroup(request *CreateGroupWithSubGroupRequest) (response *CreateGroupWithSubGroupResponse, err error)
- func (c *Client) CreateGroupWithSubGroupWithContext(ctx context.Context, request *CreateGroupWithSubGroupRequest) (response *CreateGroupWithSubGroupResponse, err error)
- func (c *Client) CreateRoom(request *CreateRoomRequest) (response *CreateRoomResponse, err error)
- func (c *Client) CreateRoomWithContext(ctx context.Context, request *CreateRoomRequest) (response *CreateRoomResponse, err error)
- func (c *Client) CreateSupervisor(request *CreateSupervisorRequest) (response *CreateSupervisorResponse, err error)
- func (c *Client) CreateSupervisorWithContext(ctx context.Context, request *CreateSupervisorRequest) (response *CreateSupervisorResponse, err error)
- func (c *Client) DeleteDocument(request *DeleteDocumentRequest) (response *DeleteDocumentResponse, err error)
- func (c *Client) DeleteDocumentWithContext(ctx context.Context, request *DeleteDocumentRequest) (response *DeleteDocumentResponse, err error)
- func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteGroupMember(request *DeleteGroupMemberRequest) (response *DeleteGroupMemberResponse, err error)
- func (c *Client) DeleteGroupMemberWithContext(ctx context.Context, request *DeleteGroupMemberRequest) (response *DeleteGroupMemberResponse, err error)
- func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteRecord(request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
- func (c *Client) DeleteRecordWithContext(ctx context.Context, request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
- func (c *Client) DeleteRoom(request *DeleteRoomRequest) (response *DeleteRoomResponse, err error)
- func (c *Client) DeleteRoomWithContext(ctx context.Context, request *DeleteRoomRequest) (response *DeleteRoomResponse, err error)
- func (c *Client) DescribeCurrentMemberList(request *DescribeCurrentMemberListRequest) (response *DescribeCurrentMemberListResponse, err error)
- func (c *Client) DescribeCurrentMemberListWithContext(ctx context.Context, request *DescribeCurrentMemberListRequest) (response *DescribeCurrentMemberListResponse, err error)
- func (c *Client) DescribeDocument(request *DescribeDocumentRequest) (response *DescribeDocumentResponse, err error)
- func (c *Client) DescribeDocumentWithContext(ctx context.Context, request *DescribeDocumentRequest) (response *DescribeDocumentResponse, err error)
- func (c *Client) DescribeDocumentsByRoom(request *DescribeDocumentsByRoomRequest) (response *DescribeDocumentsByRoomResponse, err error)
- func (c *Client) DescribeDocumentsByRoomWithContext(ctx context.Context, request *DescribeDocumentsByRoomRequest) (response *DescribeDocumentsByRoomResponse, err error)
- func (c *Client) DescribeGroup(request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
- func (c *Client) DescribeGroupList(request *DescribeGroupListRequest) (response *DescribeGroupListResponse, err error)
- func (c *Client) DescribeGroupListWithContext(ctx context.Context, request *DescribeGroupListRequest) (response *DescribeGroupListResponse, err error)
- func (c *Client) DescribeGroupMemberList(request *DescribeGroupMemberListRequest) (response *DescribeGroupMemberListResponse, err error)
- func (c *Client) DescribeGroupMemberListWithContext(ctx context.Context, request *DescribeGroupMemberListRequest) (response *DescribeGroupMemberListResponse, err error)
- func (c *Client) DescribeGroupWithContext(ctx context.Context, request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
- func (c *Client) DescribeRoom(request *DescribeRoomRequest) (response *DescribeRoomResponse, err error)
- func (c *Client) DescribeRoomStatistics(request *DescribeRoomStatisticsRequest) (response *DescribeRoomStatisticsResponse, err error)
- func (c *Client) DescribeRoomStatisticsWithContext(ctx context.Context, request *DescribeRoomStatisticsRequest) (response *DescribeRoomStatisticsResponse, err error)
- func (c *Client) DescribeRoomWithContext(ctx context.Context, request *DescribeRoomRequest) (response *DescribeRoomResponse, err error)
- func (c *Client) DescribeSdkAppIdUsers(request *DescribeSdkAppIdUsersRequest) (response *DescribeSdkAppIdUsersResponse, err error)
- func (c *Client) DescribeSdkAppIdUsersWithContext(ctx context.Context, request *DescribeSdkAppIdUsersRequest) (response *DescribeSdkAppIdUsersResponse, err error)
- func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) GetWatermark(request *GetWatermarkRequest) (response *GetWatermarkResponse, err error)
- func (c *Client) GetWatermarkWithContext(ctx context.Context, request *GetWatermarkRequest) (response *GetWatermarkResponse, err error)
- func (c *Client) LoginOriginId(request *LoginOriginIdRequest) (response *LoginOriginIdResponse, err error)
- func (c *Client) LoginOriginIdWithContext(ctx context.Context, request *LoginOriginIdRequest) (response *LoginOriginIdResponse, err error)
- func (c *Client) LoginUser(request *LoginUserRequest) (response *LoginUserResponse, err error)
- func (c *Client) LoginUserWithContext(ctx context.Context, request *LoginUserRequest) (response *LoginUserResponse, err error)
- func (c *Client) ModifyApp(request *ModifyAppRequest) (response *ModifyAppResponse, err error)
- func (c *Client) ModifyAppWithContext(ctx context.Context, request *ModifyAppRequest) (response *ModifyAppResponse, err error)
- func (c *Client) ModifyGroup(request *ModifyGroupRequest) (response *ModifyGroupResponse, err error)
- func (c *Client) ModifyGroupWithContext(ctx context.Context, request *ModifyGroupRequest) (response *ModifyGroupResponse, err error)
- func (c *Client) ModifyRoom(request *ModifyRoomRequest) (response *ModifyRoomResponse, err error)
- func (c *Client) ModifyRoomWithContext(ctx context.Context, request *ModifyRoomRequest) (response *ModifyRoomResponse, err error)
- func (c *Client) ModifyUserProfile(request *ModifyUserProfileRequest) (response *ModifyUserProfileResponse, err error)
- func (c *Client) ModifyUserProfileWithContext(ctx context.Context, request *ModifyUserProfileRequest) (response *ModifyUserProfileResponse, err error)
- func (c *Client) RegisterUser(request *RegisterUserRequest) (response *RegisterUserResponse, err error)
- func (c *Client) RegisterUserWithContext(ctx context.Context, request *RegisterUserRequest) (response *RegisterUserResponse, err error)
- func (c *Client) SetAppCustomContent(request *SetAppCustomContentRequest) (response *SetAppCustomContentResponse, err error)
- func (c *Client) SetAppCustomContentWithContext(ctx context.Context, request *SetAppCustomContentRequest) (response *SetAppCustomContentResponse, err error)
- func (c *Client) SetWatermark(request *SetWatermarkRequest) (response *SetWatermarkResponse, err error)
- func (c *Client) SetWatermarkWithContext(ctx context.Context, request *SetWatermarkRequest) (response *SetWatermarkResponse, err error)
- func (c *Client) UnbindDocumentFromRoom(request *UnbindDocumentFromRoomRequest) (response *UnbindDocumentFromRoomResponse, err error)
- func (c *Client) UnbindDocumentFromRoomWithContext(ctx context.Context, request *UnbindDocumentFromRoomRequest) (response *UnbindDocumentFromRoomResponse, err error)
- type CreateDocumentRequest
- type CreateDocumentRequestParams
- type CreateDocumentResponse
- type CreateDocumentResponseParams
- type CreateGroupWithMembersRequest
- type CreateGroupWithMembersRequestParams
- type CreateGroupWithMembersResponse
- type CreateGroupWithMembersResponseParams
- type CreateGroupWithSubGroupRequest
- type CreateGroupWithSubGroupRequestParams
- type CreateGroupWithSubGroupResponse
- type CreateGroupWithSubGroupResponseParams
- type CreateRoomRequest
- type CreateRoomRequestParams
- type CreateRoomResponse
- type CreateRoomResponseParams
- type CreateSupervisorRequest
- type CreateSupervisorRequestParams
- type CreateSupervisorResponse
- type CreateSupervisorResponseParams
- type DeleteDocumentRequest
- type DeleteDocumentRequestParams
- type DeleteDocumentResponse
- type DeleteDocumentResponseParams
- type DeleteGroupMemberRequest
- type DeleteGroupMemberRequestParams
- type DeleteGroupMemberResponse
- type DeleteGroupMemberResponseParams
- type DeleteGroupRequest
- type DeleteGroupRequestParams
- type DeleteGroupResponse
- type DeleteGroupResponseParams
- type DeleteRecordRequest
- type DeleteRecordRequestParams
- type DeleteRecordResponse
- type DeleteRecordResponseParams
- type DeleteRoomRequest
- type DeleteRoomRequestParams
- type DeleteRoomResponse
- type DeleteRoomResponseParams
- type DescribeCurrentMemberListRequest
- type DescribeCurrentMemberListRequestParams
- type DescribeCurrentMemberListResponse
- type DescribeCurrentMemberListResponseParams
- type DescribeDocumentRequest
- type DescribeDocumentRequestParams
- type DescribeDocumentResponse
- type DescribeDocumentResponseParams
- type DescribeDocumentsByRoomRequest
- type DescribeDocumentsByRoomRequestParams
- type DescribeDocumentsByRoomResponse
- type DescribeDocumentsByRoomResponseParams
- type DescribeGroupListRequest
- type DescribeGroupListRequestParams
- type DescribeGroupListResponse
- type DescribeGroupListResponseParams
- type DescribeGroupMemberListRequest
- type DescribeGroupMemberListRequestParams
- type DescribeGroupMemberListResponse
- type DescribeGroupMemberListResponseParams
- type DescribeGroupRequest
- type DescribeGroupRequestParams
- type DescribeGroupResponse
- type DescribeGroupResponseParams
- type DescribeRoomRequest
- type DescribeRoomRequestParams
- type DescribeRoomResponse
- type DescribeRoomResponseParams
- type DescribeRoomStatisticsRequest
- type DescribeRoomStatisticsRequestParams
- type DescribeRoomStatisticsResponse
- type DescribeRoomStatisticsResponseParams
- type DescribeSdkAppIdUsersRequest
- type DescribeSdkAppIdUsersRequestParams
- type DescribeSdkAppIdUsersResponse
- type DescribeSdkAppIdUsersResponseParams
- type DescribeUserRequest
- type DescribeUserRequestParams
- type DescribeUserResponse
- type DescribeUserResponseParams
- type DocumentInfo
- type GetWatermarkRequest
- type GetWatermarkRequestParams
- type GetWatermarkResponse
- type GetWatermarkResponseParams
- type GroupBaseInfo
- type GroupInfo
- type LoginOriginIdRequest
- type LoginOriginIdRequestParams
- type LoginOriginIdResponse
- type LoginOriginIdResponseParams
- type LoginUserRequest
- type LoginUserRequestParams
- type LoginUserResponse
- type LoginUserResponseParams
- type MemberRecord
- type ModifyAppRequest
- type ModifyAppRequestParams
- type ModifyAppResponse
- type ModifyAppResponseParams
- type ModifyGroupRequest
- type ModifyGroupRequestParams
- type ModifyGroupResponse
- type ModifyGroupResponseParams
- type ModifyRoomRequest
- type ModifyRoomRequestParams
- type ModifyRoomResponse
- type ModifyRoomResponseParams
- type ModifyUserProfileRequest
- type ModifyUserProfileRequestParams
- type ModifyUserProfileResponse
- type ModifyUserProfileResponseParams
- type RegisterUserRequest
- type RegisterUserRequestParams
- type RegisterUserResponse
- type RegisterUserResponseParams
- type RoomInfo
- type SetAppCustomContentRequest
- type SetAppCustomContentRequestParams
- type SetAppCustomContentResponse
- type SetAppCustomContentResponseParams
- type SetWatermarkRequest
- type SetWatermarkRequestParams
- type SetWatermarkResponse
- type SetWatermarkResponseParams
- type TextMarkConfig
- type UnbindDocumentFromRoomRequest
- type UnbindDocumentFromRoomRequestParams
- type UnbindDocumentFromRoomResponse
- type UnbindDocumentFromRoomResponseParams
- type UserInfo
- type WatermarkConfig
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The request would have succeeded, but the DryRun parameter was used. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Room status error. The room has ended. FAILEDOPERATION_CLASSENDED = "FailedOperation.ClassEnded" // Room status error. The room has expired. FAILEDOPERATION_CLASSEXPIRED = "FailedOperation.ClassExpired" // Class status error. The class has already started. FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" // A class session cannot be longer than five hours. FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" // Image parameter error. FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" // The user origin ID already exists. FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" // The class has not ended. FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" // Internal error. INTERNALERROR = "InternalError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Prohibited content (pornographic, terrorist, politically sensitive) detected. INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" // The end time cannot be earlier than the current time. INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" // The number of users in the group reached the limit. INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" // Parameter error. The teacher and group members are not specified. INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" // The teacher cannot be a group member. INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" // The teacher does not exist. INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" // Group type error. INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" // `SdkAppId` is incorrect. INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" // The start time cannot be earlier than the current time. INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is reached. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Too many requests. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // Insufficient storage space. RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" // Failed to enter the class. Please check your resource usage in the console. RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" // The resource doesn’t exist. RESOURCENOTFOUND = "ResourceNotFound" // The file does not exist. RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" // The group does not exist. RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" // The user ID does not exist. RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" // The room does not exist. RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" // The user does not exist. RESOURCENOTFOUND_USER = "ResourceNotFound.User" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Getting room data. Please wait. RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2022-08-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupMemberRequest ¶
type AddGroupMemberRequest struct { *tchttp.BaseRequest // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewAddGroupMemberRequest ¶
func NewAddGroupMemberRequest() (request *AddGroupMemberRequest)
func (*AddGroupMemberRequest) FromJsonString ¶
func (r *AddGroupMemberRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddGroupMemberRequest) ToJsonString ¶
func (r *AddGroupMemberRequest) ToJsonString() string
type AddGroupMemberRequestParams ¶
type AddGroupMemberRequestParams struct { // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type AddGroupMemberResponse ¶
type AddGroupMemberResponse struct { *tchttp.BaseResponse Response *AddGroupMemberResponseParams `json:"Response"` }
func NewAddGroupMemberResponse ¶
func NewAddGroupMemberResponse() (response *AddGroupMemberResponse)
func (*AddGroupMemberResponse) FromJsonString ¶
func (r *AddGroupMemberResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddGroupMemberResponse) ToJsonString ¶
func (r *AddGroupMemberResponse) ToJsonString() string
type AddGroupMemberResponseParams ¶
type AddGroupMemberResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AppCustomContent ¶
type AppCustomContent struct { // Multiple scenarios can be set for an application. Scene *string `json:"Scene,omitempty" name:"Scene"` // Logo URL LogoUrl *string `json:"LogoUrl,omitempty" name:"LogoUrl"` // Homepage URL, which can be used for redirection HomeUrl *string `json:"HomeUrl,omitempty" name:"HomeUrl"` // Custom JS URL JsUrl *string `json:"JsUrl,omitempty" name:"JsUrl"` // Custom CSS URL CssUrl *string `json:"CssUrl,omitempty" name:"CssUrl"` }
type BackgroundPictureConfig ¶
type BackgroundPictureConfig struct { // The URL of the background image. // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` }
type BatchAddGroupMemberRequest ¶
type BatchAddGroupMemberRequest struct { *tchttp.BaseRequest // The target group IDs. Array length limit: 100. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users to add. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewBatchAddGroupMemberRequest ¶
func NewBatchAddGroupMemberRequest() (request *BatchAddGroupMemberRequest)
func (*BatchAddGroupMemberRequest) FromJsonString ¶
func (r *BatchAddGroupMemberRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchAddGroupMemberRequest) ToJsonString ¶
func (r *BatchAddGroupMemberRequest) ToJsonString() string
type BatchAddGroupMemberRequestParams ¶
type BatchAddGroupMemberRequestParams struct { // The target group IDs. Array length limit: 100. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users to add. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type BatchAddGroupMemberResponse ¶
type BatchAddGroupMemberResponse struct { *tchttp.BaseResponse Response *BatchAddGroupMemberResponseParams `json:"Response"` }
func NewBatchAddGroupMemberResponse ¶
func NewBatchAddGroupMemberResponse() (response *BatchAddGroupMemberResponse)
func (*BatchAddGroupMemberResponse) FromJsonString ¶
func (r *BatchAddGroupMemberResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchAddGroupMemberResponse) ToJsonString ¶
func (r *BatchAddGroupMemberResponse) ToJsonString() string
type BatchAddGroupMemberResponseParams ¶
type BatchAddGroupMemberResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchCreateGroupWithMembersRequest ¶
type BatchCreateGroupWithMembersRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The information of the groups to create. Array length limit: 256. GroupBaseInfos []*GroupBaseInfo `json:"GroupBaseInfos,omitempty" name:"GroupBaseInfos"` // The group members. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewBatchCreateGroupWithMembersRequest ¶
func NewBatchCreateGroupWithMembersRequest() (request *BatchCreateGroupWithMembersRequest)
func (*BatchCreateGroupWithMembersRequest) FromJsonString ¶
func (r *BatchCreateGroupWithMembersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateGroupWithMembersRequest) ToJsonString ¶
func (r *BatchCreateGroupWithMembersRequest) ToJsonString() string
type BatchCreateGroupWithMembersRequestParams ¶
type BatchCreateGroupWithMembersRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The information of the groups to create. Array length limit: 256. GroupBaseInfos []*GroupBaseInfo `json:"GroupBaseInfos,omitempty" name:"GroupBaseInfos"` // The group members. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type BatchCreateGroupWithMembersResponse ¶
type BatchCreateGroupWithMembersResponse struct { *tchttp.BaseResponse Response *BatchCreateGroupWithMembersResponseParams `json:"Response"` }
func NewBatchCreateGroupWithMembersResponse ¶
func NewBatchCreateGroupWithMembersResponse() (response *BatchCreateGroupWithMembersResponse)
func (*BatchCreateGroupWithMembersResponse) FromJsonString ¶
func (r *BatchCreateGroupWithMembersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateGroupWithMembersResponse) ToJsonString ¶
func (r *BatchCreateGroupWithMembersResponse) ToJsonString() string
type BatchCreateGroupWithMembersResponseParams ¶
type BatchCreateGroupWithMembersResponseParams struct { // The IDs of the groups created, which are in the same order as the elements in the request parameter `GroupBaseInfos.N`. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchCreateRoomRequest ¶
type BatchCreateRoomRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The information of the rooms to create. RoomInfos []*RoomInfo `json:"RoomInfos,omitempty" name:"RoomInfos"` }
func NewBatchCreateRoomRequest ¶
func NewBatchCreateRoomRequest() (request *BatchCreateRoomRequest)
func (*BatchCreateRoomRequest) FromJsonString ¶
func (r *BatchCreateRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateRoomRequest) ToJsonString ¶
func (r *BatchCreateRoomRequest) ToJsonString() string
type BatchCreateRoomRequestParams ¶
type BatchCreateRoomRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The information of the rooms to create. RoomInfos []*RoomInfo `json:"RoomInfos,omitempty" name:"RoomInfos"` }
Predefined struct for user
type BatchCreateRoomResponse ¶
type BatchCreateRoomResponse struct { *tchttp.BaseResponse Response *BatchCreateRoomResponseParams `json:"Response"` }
func NewBatchCreateRoomResponse ¶
func NewBatchCreateRoomResponse() (response *BatchCreateRoomResponse)
func (*BatchCreateRoomResponse) FromJsonString ¶
func (r *BatchCreateRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateRoomResponse) ToJsonString ¶
func (r *BatchCreateRoomResponse) ToJsonString() string
type BatchCreateRoomResponseParams ¶
type BatchCreateRoomResponseParams struct { // The IDs of the rooms created, which are in the same order as they are passed in. RoomIds []*uint64 `json:"RoomIds,omitempty" name:"RoomIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchDeleteGroupMemberRequest ¶
type BatchDeleteGroupMemberRequest struct { *tchttp.BaseRequest // The target group IDs. Array length limit: 100. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users to remove. Array length limit: 256. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewBatchDeleteGroupMemberRequest ¶
func NewBatchDeleteGroupMemberRequest() (request *BatchDeleteGroupMemberRequest)
func (*BatchDeleteGroupMemberRequest) FromJsonString ¶
func (r *BatchDeleteGroupMemberRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteGroupMemberRequest) ToJsonString ¶
func (r *BatchDeleteGroupMemberRequest) ToJsonString() string
type BatchDeleteGroupMemberRequestParams ¶
type BatchDeleteGroupMemberRequestParams struct { // The target group IDs. Array length limit: 100. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users to remove. Array length limit: 256. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type BatchDeleteGroupMemberResponse ¶
type BatchDeleteGroupMemberResponse struct { *tchttp.BaseResponse Response *BatchDeleteGroupMemberResponseParams `json:"Response"` }
func NewBatchDeleteGroupMemberResponse ¶
func NewBatchDeleteGroupMemberResponse() (response *BatchDeleteGroupMemberResponse)
func (*BatchDeleteGroupMemberResponse) FromJsonString ¶
func (r *BatchDeleteGroupMemberResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteGroupMemberResponse) ToJsonString ¶
func (r *BatchDeleteGroupMemberResponse) ToJsonString() string
type BatchDeleteGroupMemberResponseParams ¶
type BatchDeleteGroupMemberResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchDeleteRecordRequest ¶
type BatchDeleteRecordRequest struct { *tchttp.BaseRequest // The room IDs. RoomIds []*int64 `json:"RoomIds,omitempty" name:"RoomIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewBatchDeleteRecordRequest ¶
func NewBatchDeleteRecordRequest() (request *BatchDeleteRecordRequest)
func (*BatchDeleteRecordRequest) FromJsonString ¶
func (r *BatchDeleteRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteRecordRequest) ToJsonString ¶
func (r *BatchDeleteRecordRequest) ToJsonString() string
type BatchDeleteRecordRequestParams ¶
type BatchDeleteRecordRequestParams struct { // The room IDs. RoomIds []*int64 `json:"RoomIds,omitempty" name:"RoomIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type BatchDeleteRecordResponse ¶
type BatchDeleteRecordResponse struct { *tchttp.BaseResponse Response *BatchDeleteRecordResponseParams `json:"Response"` }
func NewBatchDeleteRecordResponse ¶
func NewBatchDeleteRecordResponse() (response *BatchDeleteRecordResponse)
func (*BatchDeleteRecordResponse) FromJsonString ¶
func (r *BatchDeleteRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchDeleteRecordResponse) ToJsonString ¶
func (r *BatchDeleteRecordResponse) ToJsonString() string
type BatchDeleteRecordResponseParams ¶
type BatchDeleteRecordResponseParams struct { // The IDs of the rooms whose recordings are deleted. // Note: This field may return null, indicating that no valid values can be obtained. RoomIds []*int64 `json:"RoomIds,omitempty" name:"RoomIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchRegisterRequest ¶
type BatchRegisterRequest struct { *tchttp.BaseRequest // The information of the users to register. Users []*BatchUserRequest `json:"Users,omitempty" name:"Users"` }
func NewBatchRegisterRequest ¶
func NewBatchRegisterRequest() (request *BatchRegisterRequest)
func (*BatchRegisterRequest) FromJsonString ¶
func (r *BatchRegisterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterRequest) ToJsonString ¶
func (r *BatchRegisterRequest) ToJsonString() string
type BatchRegisterRequestParams ¶
type BatchRegisterRequestParams struct { // The information of the users to register. Users []*BatchUserRequest `json:"Users,omitempty" name:"Users"` }
Predefined struct for user
type BatchRegisterResponse ¶
type BatchRegisterResponse struct { *tchttp.BaseResponse Response *BatchRegisterResponseParams `json:"Response"` }
func NewBatchRegisterResponse ¶
func NewBatchRegisterResponse() (response *BatchRegisterResponse)
func (*BatchRegisterResponse) FromJsonString ¶
func (r *BatchRegisterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchRegisterResponse) ToJsonString ¶
func (r *BatchRegisterResponse) ToJsonString() string
type BatchRegisterResponseParams ¶
type BatchRegisterResponseParams struct { // The information of the successfully registered users. // Note: This field may return null, indicating that no valid values can be obtained. Users []*BatchUserInfo `json:"Users,omitempty" name:"Users"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BatchUserInfo ¶
type BatchUserInfo struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID. // Note: This field may return null, indicating that no valid values can be obtained. UserId *string `json:"UserId,omitempty" name:"UserId"` // The user’s ID in your system. If the same request parameter is not specified, the value of this parameter will be the same as `UserId`. // Note: This field may return null, indicating that no valid values can be obtained. OriginId *string `json:"OriginId,omitempty" name:"OriginId"` }
type BatchUserRequest ¶
type BatchUserRequest struct { // The SDKAppID assigned by LCIC. // // Note: This field may return null, indicating that no valid values can be obtained. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The username. // // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // The user’s ID in your system, which must be unique across the same application. // // Note: This field may return null, indicating that no valid values can be obtained. OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // The user’s profile photo. // // Note: This field may return null, indicating that no valid values can be obtained. Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
type BindDocumentToRoomRequest ¶
type BindDocumentToRoomRequest struct { *tchttp.BaseRequest // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Document ID DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` // Binding type. The default value is `0`. The backend passes through this parameter to clients so that the clients can implement business logic based on this parameter. BindType *uint64 `json:"BindType,omitempty" name:"BindType"` }
func NewBindDocumentToRoomRequest ¶
func NewBindDocumentToRoomRequest() (request *BindDocumentToRoomRequest)
func (*BindDocumentToRoomRequest) FromJsonString ¶
func (r *BindDocumentToRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindDocumentToRoomRequest) ToJsonString ¶
func (r *BindDocumentToRoomRequest) ToJsonString() string
type BindDocumentToRoomRequestParams ¶
type BindDocumentToRoomRequestParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Document ID DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` // Binding type. The default value is `0`. The backend passes through this parameter to clients so that the clients can implement business logic based on this parameter. BindType *uint64 `json:"BindType,omitempty" name:"BindType"` }
Predefined struct for user
type BindDocumentToRoomResponse ¶
type BindDocumentToRoomResponse struct { *tchttp.BaseResponse Response *BindDocumentToRoomResponseParams `json:"Response"` }
func NewBindDocumentToRoomResponse ¶
func NewBindDocumentToRoomResponse() (response *BindDocumentToRoomResponse)
func (*BindDocumentToRoomResponse) FromJsonString ¶
func (r *BindDocumentToRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindDocumentToRoomResponse) ToJsonString ¶
func (r *BindDocumentToRoomResponse) ToJsonString() string
type BindDocumentToRoomResponseParams ¶
type BindDocumentToRoomResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddGroupMember ¶
func (c *Client) AddGroupMember(request *AddGroupMemberRequest) (response *AddGroupMemberResponse, err error)
AddGroupMember This API is used to add users to a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AddGroupMemberWithContext ¶
func (c *Client) AddGroupMemberWithContext(ctx context.Context, request *AddGroupMemberRequest) (response *AddGroupMemberResponse, err error)
AddGroupMember This API is used to add users to a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchAddGroupMember ¶
func (c *Client) BatchAddGroupMember(request *BatchAddGroupMemberRequest) (response *BatchAddGroupMemberResponse, err error)
BatchAddGroupMember This API is used to add users to multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchAddGroupMemberWithContext ¶
func (c *Client) BatchAddGroupMemberWithContext(ctx context.Context, request *BatchAddGroupMemberRequest) (response *BatchAddGroupMemberResponse, err error)
BatchAddGroupMember This API is used to add users to multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchCreateGroupWithMembers ¶
func (c *Client) BatchCreateGroupWithMembers(request *BatchCreateGroupWithMembersRequest) (response *BatchCreateGroupWithMembersResponse, err error)
BatchCreateGroupWithMembers This API is used to create multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchCreateGroupWithMembersWithContext ¶
func (c *Client) BatchCreateGroupWithMembersWithContext(ctx context.Context, request *BatchCreateGroupWithMembersRequest) (response *BatchCreateGroupWithMembersResponse, err error)
BatchCreateGroupWithMembers This API is used to create multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchCreateRoom ¶
func (c *Client) BatchCreateRoom(request *BatchCreateRoomRequest) (response *BatchCreateRoomResponse, err error)
BatchCreateRoom This API is used to create multiple rooms at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchCreateRoomWithContext ¶
func (c *Client) BatchCreateRoomWithContext(ctx context.Context, request *BatchCreateRoomRequest) (response *BatchCreateRoomResponse, err error)
BatchCreateRoom This API is used to create multiple rooms at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BatchDeleteGroupMember ¶
func (c *Client) BatchDeleteGroupMember(request *BatchDeleteGroupMemberRequest) (response *BatchDeleteGroupMemberResponse, err error)
BatchDeleteGroupMember This API is used to remove users from multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) BatchDeleteGroupMemberWithContext ¶
func (c *Client) BatchDeleteGroupMemberWithContext(ctx context.Context, request *BatchDeleteGroupMemberRequest) (response *BatchDeleteGroupMemberResponse, err error)
BatchDeleteGroupMember This API is used to remove users from multiple groups at a time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) BatchDeleteRecord ¶
func (c *Client) BatchDeleteRecord(request *BatchDeleteRecordRequest) (response *BatchDeleteRecordResponse, err error)
BatchDeleteRecord This API is used to delete the recordings of multiple rooms.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) BatchDeleteRecordWithContext ¶
func (c *Client) BatchDeleteRecordWithContext(ctx context.Context, request *BatchDeleteRecordRequest) (response *BatchDeleteRecordResponse, err error)
BatchDeleteRecord This API is used to delete the recordings of multiple rooms.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) BatchRegister ¶
func (c *Client) BatchRegister(request *BatchRegisterRequest) (response *BatchRegisterResponse, err error)
BatchRegister This API is used to register multiple users (up to 1,000) at a time. If a user ID already exists, the existing one will be overwritten.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BatchRegisterWithContext ¶
func (c *Client) BatchRegisterWithContext(ctx context.Context, request *BatchRegisterRequest) (response *BatchRegisterResponse, err error)
BatchRegister This API is used to register multiple users (up to 1,000) at a time. If a user ID already exists, the existing one will be overwritten.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BindDocumentToRoom ¶
func (c *Client) BindDocumentToRoom(request *BindDocumentToRoomRequest) (response *BindDocumentToRoomResponse, err error)
BindDocumentToRoom This API is used to bind a document to a room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) BindDocumentToRoomWithContext ¶
func (c *Client) BindDocumentToRoomWithContext(ctx context.Context, request *BindDocumentToRoomRequest) (response *BindDocumentToRoomResponse, err error)
BindDocumentToRoom This API is used to bind a document to a room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) CreateDocument ¶
func (c *Client) CreateDocument(request *CreateDocumentRequest) (response *CreateDocumentResponse, err error)
CreateDocument This API is used to create a document to be used in a room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) CreateDocumentWithContext ¶
func (c *Client) CreateDocumentWithContext(ctx context.Context, request *CreateDocumentRequest) (response *CreateDocumentResponse, err error)
CreateDocument This API is used to create a document to be used in a room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) CreateGroupWithMembers ¶
func (c *Client) CreateGroupWithMembers(request *CreateGroupWithMembersRequest) (response *CreateGroupWithMembersResponse, err error)
CreateGroupWithMembers This API is used to create a group and specify its members.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateGroupWithMembersWithContext ¶
func (c *Client) CreateGroupWithMembersWithContext(ctx context.Context, request *CreateGroupWithMembersRequest) (response *CreateGroupWithMembersResponse, err error)
CreateGroupWithMembers This API is used to create a group and specify its members.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateGroupWithSubGroup ¶
func (c *Client) CreateGroupWithSubGroup(request *CreateGroupWithSubGroupRequest) (response *CreateGroupWithSubGroupResponse, err error)
CreateGroupWithSubGroup This API is used to merge groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateGroupWithSubGroupWithContext ¶
func (c *Client) CreateGroupWithSubGroupWithContext(ctx context.Context, request *CreateGroupWithSubGroupRequest) (response *CreateGroupWithSubGroupResponse, err error)
CreateGroupWithSubGroup This API is used to merge groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRoom ¶
func (c *Client) CreateRoom(request *CreateRoomRequest) (response *CreateRoomResponse, err error)
CreateRoom This API is used to create a room.
error code that may be returned:
FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) CreateRoomWithContext ¶
func (c *Client) CreateRoomWithContext(ctx context.Context, request *CreateRoomRequest) (response *CreateRoomResponse, err error)
CreateRoom This API is used to create a room.
error code that may be returned:
FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) CreateSupervisor ¶
func (c *Client) CreateSupervisor(request *CreateSupervisorRequest) (response *CreateSupervisorResponse, err error)
CreateSupervisor This API is used to create a spectator.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) CreateSupervisorWithContext ¶
func (c *Client) CreateSupervisorWithContext(ctx context.Context, request *CreateSupervisorRequest) (response *CreateSupervisorResponse, err error)
CreateSupervisor This API is used to create a spectator.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) DeleteDocument ¶
func (c *Client) DeleteDocument(request *DeleteDocumentRequest) (response *DeleteDocumentResponse, err error)
DeleteDocument This API is used to delete a document.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document"
func (*Client) DeleteDocumentWithContext ¶
func (c *Client) DeleteDocumentWithContext(ctx context.Context, request *DeleteDocumentRequest) (response *DeleteDocumentResponse, err error)
DeleteDocument This API is used to delete a document.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document"
func (*Client) DeleteGroup ¶
func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup This API is used to delete one or multiple groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteGroupMember ¶
func (c *Client) DeleteGroupMember(request *DeleteGroupMemberRequest) (response *DeleteGroupMemberResponse, err error)
DeleteGroupMember This API is used to remove users from a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteGroupMemberWithContext ¶
func (c *Client) DeleteGroupMemberWithContext(ctx context.Context, request *DeleteGroupMemberRequest) (response *DeleteGroupMemberResponse, err error)
DeleteGroupMember This API is used to remove users from a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTEACHERSNOTEXIST = "InvalidParameter.GroupTeachersNotExist" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteGroupWithContext ¶
func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup This API is used to delete one or multiple groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRecord ¶
func (c *Client) DeleteRecord(request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
DeleteRecord This example shows you how to delete the recording files of a specific room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRecordWithContext ¶
func (c *Client) DeleteRecordWithContext(ctx context.Context, request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
DeleteRecord This example shows you how to delete the recording files of a specific room.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRoom ¶
func (c *Client) DeleteRoom(request *DeleteRoomRequest) (response *DeleteRoomResponse, err error)
DeleteRoom This API is used to delete a room.
error code that may be returned:
FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DeleteRoomWithContext ¶
func (c *Client) DeleteRoomWithContext(ctx context.Context, request *DeleteRoomRequest) (response *DeleteRoomResponse, err error)
DeleteRoom This API is used to delete a room.
error code that may be returned:
FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DescribeCurrentMemberList ¶
func (c *Client) DescribeCurrentMemberList(request *DescribeCurrentMemberListRequest) (response *DescribeCurrentMemberListResponse, err error)
DescribeCurrentMemberList This API is used to get the user list of a room. This API will not work if a room has ended or expired.
error code that may be returned:
FAILEDOPERATION_CLASSENDED = "FailedOperation.ClassEnded" FAILEDOPERATION_CLASSEXPIRED = "FailedOperation.ClassExpired" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DescribeCurrentMemberListWithContext ¶
func (c *Client) DescribeCurrentMemberListWithContext(ctx context.Context, request *DescribeCurrentMemberListRequest) (response *DescribeCurrentMemberListResponse, err error)
DescribeCurrentMemberList This API is used to get the user list of a room. This API will not work if a room has ended or expired.
error code that may be returned:
FAILEDOPERATION_CLASSENDED = "FailedOperation.ClassEnded" FAILEDOPERATION_CLASSEXPIRED = "FailedOperation.ClassExpired" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DescribeDocument ¶
func (c *Client) DescribeDocument(request *DescribeDocumentRequest) (response *DescribeDocumentResponse, err error)
DescribeDocument This API is used to get the information of a specific document.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document"
func (*Client) DescribeDocumentWithContext ¶
func (c *Client) DescribeDocumentWithContext(ctx context.Context, request *DescribeDocumentRequest) (response *DescribeDocumentResponse, err error)
DescribeDocument This API is used to get the information of a specific document.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document"
func (*Client) DescribeDocumentsByRoom ¶
func (c *Client) DescribeDocumentsByRoom(request *DescribeDocumentsByRoomRequest) (response *DescribeDocumentsByRoomResponse, err error)
DescribeDocumentsByRoom This API is used to get the document list of a specific room.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDocumentsByRoomWithContext ¶
func (c *Client) DescribeDocumentsByRoomWithContext(ctx context.Context, request *DescribeDocumentsByRoomRequest) (response *DescribeDocumentsByRoomResponse, err error)
DescribeDocumentsByRoom This API is used to get the document list of a specific room.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroup ¶
func (c *Client) DescribeGroup(request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
DescribeGroup This API is used to get the details of a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupList ¶
func (c *Client) DescribeGroupList(request *DescribeGroupListRequest) (response *DescribeGroupListResponse, err error)
DescribeGroupList This API is used to query groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupListWithContext ¶
func (c *Client) DescribeGroupListWithContext(ctx context.Context, request *DescribeGroupListRequest) (response *DescribeGroupListResponse, err error)
DescribeGroupList This API is used to query groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPMEMBEROVERLIMIT = "InvalidParameter.GroupMemberOverLimit" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupMemberList ¶
func (c *Client) DescribeGroupMemberList(request *DescribeGroupMemberListRequest) (response *DescribeGroupMemberListResponse, err error)
DescribeGroupMemberList This API is used to get the members of a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupMemberListWithContext ¶
func (c *Client) DescribeGroupMemberListWithContext(ctx context.Context, request *DescribeGroupMemberListRequest) (response *DescribeGroupMemberListResponse, err error)
DescribeGroupMemberList This API is used to get the members of a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGroupWithContext ¶
func (c *Client) DescribeGroupWithContext(ctx context.Context, request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
DescribeGroup This API is used to get the details of a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRoom ¶
func (c *Client) DescribeRoom(request *DescribeRoomRequest) (response *DescribeRoomResponse, err error)
DescribeRoom This API is used to get room information.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DescribeRoomStatistics ¶
func (c *Client) DescribeRoomStatistics(request *DescribeRoomStatisticsRequest) (response *DescribeRoomStatisticsResponse, err error)
DescribeRoomStatistics This API is used to obtain the statistics of a room. It can be called only after the room is ended.
error code that may be returned:
FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics"
func (*Client) DescribeRoomStatisticsWithContext ¶
func (c *Client) DescribeRoomStatisticsWithContext(ctx context.Context, request *DescribeRoomStatisticsRequest) (response *DescribeRoomStatisticsResponse, err error)
DescribeRoomStatistics This API is used to obtain the statistics of a room. It can be called only after the room is ended.
error code that may be returned:
FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics"
func (*Client) DescribeRoomWithContext ¶
func (c *Client) DescribeRoomWithContext(ctx context.Context, request *DescribeRoomRequest) (response *DescribeRoomResponse, err error)
DescribeRoom This API is used to get room information.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) DescribeSdkAppIdUsers ¶
func (c *Client) DescribeSdkAppIdUsers(request *DescribeSdkAppIdUsersRequest) (response *DescribeSdkAppIdUsersResponse, err error)
DescribeSdkAppIdUsers This API is used to get the user list of a specific application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSdkAppIdUsersWithContext ¶
func (c *Client) DescribeSdkAppIdUsersWithContext(ctx context.Context, request *DescribeSdkAppIdUsersRequest) (response *DescribeSdkAppIdUsersResponse, err error)
DescribeSdkAppIdUsers This API is used to get the user list of a specific application.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUser ¶
func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser This API is used to obtain user profile.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) DescribeUserWithContext ¶
func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser This API is used to obtain user profile.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) GetWatermark ¶
func (c *Client) GetWatermark(request *GetWatermarkRequest) (response *GetWatermarkResponse, err error)
GetWatermark This API is used to get watermark settings.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) GetWatermarkWithContext ¶
func (c *Client) GetWatermarkWithContext(ctx context.Context, request *GetWatermarkRequest) (response *GetWatermarkResponse, err error)
GetWatermark This API is used to get watermark settings.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) LoginOriginId ¶
func (c *Client) LoginOriginId(request *LoginOriginIdRequest) (response *LoginOriginIdResponse, err error)
LoginOriginId This API is used to log in with an origin account, which is the `originId` entered during registration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) LoginOriginIdWithContext ¶
func (c *Client) LoginOriginIdWithContext(ctx context.Context, request *LoginOriginIdRequest) (response *LoginOriginIdResponse, err error)
LoginOriginId This API is used to log in with an origin account, which is the `originId` entered during registration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) LoginUser ¶
func (c *Client) LoginUser(request *LoginUserRequest) (response *LoginUserResponse, err error)
LoginUser This API is used to log in.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) LoginUserWithContext ¶
func (c *Client) LoginUserWithContext(ctx context.Context, request *LoginUserRequest) (response *LoginUserResponse, err error)
LoginUser This API is used to log in.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_USER = "ResourceNotFound.User"
func (*Client) ModifyApp ¶
func (c *Client) ModifyApp(request *ModifyAppRequest) (response *ModifyAppResponse, err error)
ModifyApp This API is used to modify an application.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) ModifyAppWithContext ¶
func (c *Client) ModifyAppWithContext(ctx context.Context, request *ModifyAppRequest) (response *ModifyAppResponse, err error)
ModifyApp This API is used to modify an application.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) ModifyGroup ¶
func (c *Client) ModifyGroup(request *ModifyGroupRequest) (response *ModifyGroupResponse, err error)
ModifyGroup This API is used to modify a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyGroupWithContext ¶
func (c *Client) ModifyGroupWithContext(ctx context.Context, request *ModifyGroupRequest) (response *ModifyGroupResponse, err error)
ModifyGroup This API is used to modify a group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPPARAMINVALID = "InvalidParameter.GroupParamInvalid" INVALIDPARAMETER_GROUPTEACHERNOTMEMBER = "InvalidParameter.GroupTeacherNotMember" INVALIDPARAMETER_GROUPTYPEINVALID = "InvalidParameter.GroupTypeInvalid" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_GROUPNOTEXIST = "ResourceNotFound.GroupNotExist" RESOURCENOTFOUND_GROUPPARTUSERSNOTEXIST = "ResourceNotFound.GroupPartUsersNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyRoom ¶
func (c *Client) ModifyRoom(request *ModifyRoomRequest) (response *ModifyRoomResponse, err error)
ModifyRoom This API is used to modify a room.
error code that may be returned:
FAILEDOPERATION_CLASSENDED = "FailedOperation.ClassEnded" FAILEDOPERATION_CLASSEXPIRED = "FailedOperation.ClassExpired" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyRoomWithContext ¶
func (c *Client) ModifyRoomWithContext(ctx context.Context, request *ModifyRoomRequest) (response *ModifyRoomResponse, err error)
ModifyRoom This API is used to modify a room.
error code that may be returned:
FAILEDOPERATION_CLASSENDED = "FailedOperation.ClassEnded" FAILEDOPERATION_CLASSEXPIRED = "FailedOperation.ClassExpired" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyUserProfile ¶
func (c *Client) ModifyUserProfile(request *ModifyUserProfileRequest) (response *ModifyUserProfileResponse, err error)
ModifyUserProfile This API is used to modify a user profile such as the nickname and profile photo.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyUserProfileWithContext ¶
func (c *Client) ModifyUserProfileWithContext(ctx context.Context, request *ModifyUserProfileRequest) (response *ModifyUserProfileResponse, err error)
ModifyUserProfile This API is used to modify a user profile such as the nickname and profile photo.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLASSSTARTED = "FailedOperation.ClassStarted" FAILEDOPERATION_CLASSTOOLONG = "FailedOperation.ClassTooLong" FAILEDOPERATION_IMAGEARGINVALID = "FailedOperation.ImageArgInvalid" FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" FAILEDOPERATION_ROOMNOTEND = "FailedOperation.RoomNotEnd" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_RECORD = "ResourceInsufficient.Record" RESOURCEINSUFFICIENT_ROOM = "ResourceInsufficient.Room" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room" RESOURCENOTFOUND_USER = "ResourceNotFound.User" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ROOMSTATISTICS = "ResourceUnavailable.RoomStatistics" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RegisterUser ¶
func (c *Client) RegisterUser(request *RegisterUserRequest) (response *RegisterUserResponse, err error)
RegisterUser This API is used to register a user.
error code that may be returned:
FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) RegisterUserWithContext ¶
func (c *Client) RegisterUserWithContext(ctx context.Context, request *RegisterUserRequest) (response *RegisterUserResponse, err error)
RegisterUser This API is used to register a user.
error code that may be returned:
FAILEDOPERATION_ORIGINIDEXISTS = "FailedOperation.OriginIdExists" INTERNALERROR = "InternalError" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) SetAppCustomContent ¶
func (c *Client) SetAppCustomContent(request *SetAppCustomContentRequest) (response *SetAppCustomContentResponse, err error)
SetAppCustomContent This API is used to set or update the custom content of an application, including the application icon and custom code. After you update JS and CSS content, you also need to call this API for the updates to take effect.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) SetAppCustomContentWithContext ¶
func (c *Client) SetAppCustomContentWithContext(ctx context.Context, request *SetAppCustomContentRequest) (response *SetAppCustomContentResponse, err error)
SetAppCustomContent This API is used to set or update the custom content of an application, including the application icon and custom code. After you update JS and CSS content, you also need to call this API for the updates to take effect.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId"
func (*Client) SetWatermark ¶
func (c *Client) SetWatermark(request *SetWatermarkRequest) (response *SetWatermarkResponse, err error)
SetWatermark This API is used to configure watermarks.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) SetWatermarkWithContext ¶
func (c *Client) SetWatermarkWithContext(ctx context.Context, request *SetWatermarkRequest) (response *SetWatermarkResponse, err error)
SetWatermark This API is used to configure watermarks.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SDKAPPID = "InvalidParameter.SdkAppId" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) UnbindDocumentFromRoom ¶
func (c *Client) UnbindDocumentFromRoom(request *UnbindDocumentFromRoomRequest) (response *UnbindDocumentFromRoomResponse, err error)
UnbindDocumentFromRoom This API is used to unbind a document from a room.
error code that may be returned:
RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
func (*Client) UnbindDocumentFromRoomWithContext ¶
func (c *Client) UnbindDocumentFromRoomWithContext(ctx context.Context, request *UnbindDocumentFromRoomRequest) (response *UnbindDocumentFromRoomResponse, err error)
UnbindDocumentFromRoom This API is used to unbind a document from a room.
error code that may be returned:
RESOURCENOTFOUND_DOCUMENT = "ResourceNotFound.Document" RESOURCENOTFOUND_ROOM = "ResourceNotFound.Room"
type CreateDocumentRequest ¶
type CreateDocumentRequest struct { *tchttp.BaseRequest // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Document URL DocumentUrl *string `json:"DocumentUrl,omitempty" name:"DocumentUrl"` // Document name DocumentName *string `json:"DocumentName,omitempty" name:"DocumentName"` // Document owner ID Owner *string `json:"Owner,omitempty" name:"Owner"` // Transcoding type. Valid values: `0`: No transcoding required (default); `1`: Documents that need to be transcoded: ppt, pptx, pdf, doc, docx; `2`: Videos that need to be transcoded: mp4, 3pg, mpeg, avi, flv, wmv, rm, h264, etc.; `2`: Audio that needs to be transcoded: mp3, wav, wma, aac, flac, opus TranscodeType *uint64 `json:"TranscodeType,omitempty" name:"TranscodeType"` // Permission. Valid values: `0`: Private document (default); `1`: Public document Permission *uint64 `json:"Permission,omitempty" name:"Permission"` // Document extension DocumentType *string `json:"DocumentType,omitempty" name:"DocumentType"` // Document size, in bytes DocumentSize *uint64 `json:"DocumentSize,omitempty" name:"DocumentSize"` }
func NewCreateDocumentRequest ¶
func NewCreateDocumentRequest() (request *CreateDocumentRequest)
func (*CreateDocumentRequest) FromJsonString ¶
func (r *CreateDocumentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDocumentRequest) ToJsonString ¶
func (r *CreateDocumentRequest) ToJsonString() string
type CreateDocumentRequestParams ¶
type CreateDocumentRequestParams struct { // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Document URL DocumentUrl *string `json:"DocumentUrl,omitempty" name:"DocumentUrl"` // Document name DocumentName *string `json:"DocumentName,omitempty" name:"DocumentName"` // Document owner ID Owner *string `json:"Owner,omitempty" name:"Owner"` // Transcoding type. Valid values: `0`: No transcoding required (default); `1`: Documents that need to be transcoded: ppt, pptx, pdf, doc, docx; `2`: Videos that need to be transcoded: mp4, 3pg, mpeg, avi, flv, wmv, rm, h264, etc.; `2`: Audio that needs to be transcoded: mp3, wav, wma, aac, flac, opus TranscodeType *uint64 `json:"TranscodeType,omitempty" name:"TranscodeType"` // Permission. Valid values: `0`: Private document (default); `1`: Public document Permission *uint64 `json:"Permission,omitempty" name:"Permission"` // Document extension DocumentType *string `json:"DocumentType,omitempty" name:"DocumentType"` // Document size, in bytes DocumentSize *uint64 `json:"DocumentSize,omitempty" name:"DocumentSize"` }
Predefined struct for user
type CreateDocumentResponse ¶
type CreateDocumentResponse struct { *tchttp.BaseResponse Response *CreateDocumentResponseParams `json:"Response"` }
func NewCreateDocumentResponse ¶
func NewCreateDocumentResponse() (response *CreateDocumentResponse)
func (*CreateDocumentResponse) FromJsonString ¶
func (r *CreateDocumentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDocumentResponse) ToJsonString ¶
func (r *CreateDocumentResponse) ToJsonString() string
type CreateDocumentResponseParams ¶
type CreateDocumentResponseParams struct { // Document ID DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGroupWithMembersRequest ¶
type CreateGroupWithMembersRequest struct { *tchttp.BaseRequest // The group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The group members. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewCreateGroupWithMembersRequest ¶
func NewCreateGroupWithMembersRequest() (request *CreateGroupWithMembersRequest)
func (*CreateGroupWithMembersRequest) FromJsonString ¶
func (r *CreateGroupWithMembersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupWithMembersRequest) ToJsonString ¶
func (r *CreateGroupWithMembersRequest) ToJsonString() string
type CreateGroupWithMembersRequestParams ¶
type CreateGroupWithMembersRequestParams struct { // The group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The group members. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type CreateGroupWithMembersResponse ¶
type CreateGroupWithMembersResponse struct { *tchttp.BaseResponse Response *CreateGroupWithMembersResponseParams `json:"Response"` }
func NewCreateGroupWithMembersResponse ¶
func NewCreateGroupWithMembersResponse() (response *CreateGroupWithMembersResponse)
func (*CreateGroupWithMembersResponse) FromJsonString ¶
func (r *CreateGroupWithMembersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupWithMembersResponse) ToJsonString ¶
func (r *CreateGroupWithMembersResponse) ToJsonString() string
type CreateGroupWithMembersResponseParams ¶
type CreateGroupWithMembersResponseParams struct { // The ID of the successfully created group. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGroupWithSubGroupRequest ¶
type CreateGroupWithSubGroupRequest struct { *tchttp.BaseRequest // The group name after merging. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The IDs of the groups to merge. Duplicate group IDs are not allowed. Array length limit: 40. SubGroupIds []*string `json:"SubGroupIds,omitempty" name:"SubGroupIds"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` }
func NewCreateGroupWithSubGroupRequest ¶
func NewCreateGroupWithSubGroupRequest() (request *CreateGroupWithSubGroupRequest)
func (*CreateGroupWithSubGroupRequest) FromJsonString ¶
func (r *CreateGroupWithSubGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupWithSubGroupRequest) ToJsonString ¶
func (r *CreateGroupWithSubGroupRequest) ToJsonString() string
type CreateGroupWithSubGroupRequestParams ¶
type CreateGroupWithSubGroupRequestParams struct { // The group name after merging. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The IDs of the groups to merge. Duplicate group IDs are not allowed. Array length limit: 40. SubGroupIds []*string `json:"SubGroupIds,omitempty" name:"SubGroupIds"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` }
Predefined struct for user
type CreateGroupWithSubGroupResponse ¶
type CreateGroupWithSubGroupResponse struct { *tchttp.BaseResponse Response *CreateGroupWithSubGroupResponseParams `json:"Response"` }
func NewCreateGroupWithSubGroupResponse ¶
func NewCreateGroupWithSubGroupResponse() (response *CreateGroupWithSubGroupResponse)
func (*CreateGroupWithSubGroupResponse) FromJsonString ¶
func (r *CreateGroupWithSubGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupWithSubGroupResponse) ToJsonString ¶
func (r *CreateGroupWithSubGroupResponse) ToJsonString() string
type CreateGroupWithSubGroupResponseParams ¶
type CreateGroupWithSubGroupResponseParams struct { // The ID of the merged group. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRoomRequest ¶
type CreateRoomRequest struct { *tchttp.BaseRequest // Room name Name *string `json:"Name,omitempty" name:"Name"` // Reserved room start time, in UNIX timestamp format StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // Reserved room end time, in UNIX timestamp format EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // Maximum number of mic-on users (excluding teachers). Value range: [0, 16] MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only. SubType *string `json:"SubType,omitempty" name:"SubType"` // The user ID of the teacher. User IDs are returned by the user registration APIs. The user specified will have teacher permissions in the room created. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // Whether to automatically turn the mic on when the user enters a room. Valid values: `0`: No (default value); `1`: Yes. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // The user IDs of the teaching assistants. User IDs are returned by the user registration APIs. The users specified will have teaching assistant permissions in the room created. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // Recording layout RecordLayout *uint64 `json:"RecordLayout,omitempty" name:"RecordLayout"` // The ID of the group to bind. If you specify this parameter, only members of the group can enter this room. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
func NewCreateRoomRequest ¶
func NewCreateRoomRequest() (request *CreateRoomRequest)
func (*CreateRoomRequest) FromJsonString ¶
func (r *CreateRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoomRequest) ToJsonString ¶
func (r *CreateRoomRequest) ToJsonString() string
type CreateRoomRequestParams ¶
type CreateRoomRequestParams struct { // Room name Name *string `json:"Name,omitempty" name:"Name"` // Reserved room start time, in UNIX timestamp format StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // Reserved room end time, in UNIX timestamp format EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // Maximum number of mic-on users (excluding teachers). Value range: [0, 16] MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only. SubType *string `json:"SubType,omitempty" name:"SubType"` // The user ID of the teacher. User IDs are returned by the user registration APIs. The user specified will have teacher permissions in the room created. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // Whether to automatically turn the mic on when the user enters a room. Valid values: `0`: No (default value); `1`: Yes. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // The user IDs of the teaching assistants. User IDs are returned by the user registration APIs. The users specified will have teaching assistant permissions in the room created. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // Recording layout RecordLayout *uint64 `json:"RecordLayout,omitempty" name:"RecordLayout"` // The ID of the group to bind. If you specify this parameter, only members of the group can enter this room. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type CreateRoomResponse ¶
type CreateRoomResponse struct { *tchttp.BaseResponse Response *CreateRoomResponseParams `json:"Response"` }
func NewCreateRoomResponse ¶
func NewCreateRoomResponse() (response *CreateRoomResponse)
func (*CreateRoomResponse) FromJsonString ¶
func (r *CreateRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoomResponse) ToJsonString ¶
func (r *CreateRoomResponse) ToJsonString() string
type CreateRoomResponseParams ¶
type CreateRoomResponseParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSupervisorRequest ¶
type CreateSupervisorRequest struct {
*tchttp.BaseRequest
}
func NewCreateSupervisorRequest ¶
func NewCreateSupervisorRequest() (request *CreateSupervisorRequest)
func (*CreateSupervisorRequest) FromJsonString ¶
func (r *CreateSupervisorRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSupervisorRequest) ToJsonString ¶
func (r *CreateSupervisorRequest) ToJsonString() string
type CreateSupervisorRequestParams ¶
type CreateSupervisorRequestParams struct { }
Predefined struct for user
type CreateSupervisorResponse ¶
type CreateSupervisorResponse struct { *tchttp.BaseResponse Response *CreateSupervisorResponseParams `json:"Response"` }
func NewCreateSupervisorResponse ¶
func NewCreateSupervisorResponse() (response *CreateSupervisorResponse)
func (*CreateSupervisorResponse) FromJsonString ¶
func (r *CreateSupervisorResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSupervisorResponse) ToJsonString ¶
func (r *CreateSupervisorResponse) ToJsonString() string
type CreateSupervisorResponseParams ¶
type CreateSupervisorResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { *tchttp.BaseRequest // The document ID. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
func NewDeleteDocumentRequest ¶
func NewDeleteDocumentRequest() (request *DeleteDocumentRequest)
func (*DeleteDocumentRequest) FromJsonString ¶
func (r *DeleteDocumentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDocumentRequest) ToJsonString ¶
func (r *DeleteDocumentRequest) ToJsonString() string
type DeleteDocumentRequestParams ¶
type DeleteDocumentRequestParams struct { // The document ID. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
Predefined struct for user
type DeleteDocumentResponse ¶
type DeleteDocumentResponse struct { *tchttp.BaseResponse Response *DeleteDocumentResponseParams `json:"Response"` }
func NewDeleteDocumentResponse ¶
func NewDeleteDocumentResponse() (response *DeleteDocumentResponse)
func (*DeleteDocumentResponse) FromJsonString ¶
func (r *DeleteDocumentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDocumentResponse) ToJsonString ¶
func (r *DeleteDocumentResponse) ToJsonString() string
type DeleteDocumentResponseParams ¶
type DeleteDocumentResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGroupMemberRequest ¶
type DeleteGroupMemberRequest struct { *tchttp.BaseRequest // The group ID. You cannot remove members from a merged group. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
func NewDeleteGroupMemberRequest ¶
func NewDeleteGroupMemberRequest() (request *DeleteGroupMemberRequest)
func (*DeleteGroupMemberRequest) FromJsonString ¶
func (r *DeleteGroupMemberRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupMemberRequest) ToJsonString ¶
func (r *DeleteGroupMemberRequest) ToJsonString() string
type DeleteGroupMemberRequestParams ¶
type DeleteGroupMemberRequestParams struct { // The group ID. You cannot remove members from a merged group. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The users. Array length limit: 200. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` }
Predefined struct for user
type DeleteGroupMemberResponse ¶
type DeleteGroupMemberResponse struct { *tchttp.BaseResponse Response *DeleteGroupMemberResponseParams `json:"Response"` }
func NewDeleteGroupMemberResponse ¶
func NewDeleteGroupMemberResponse() (response *DeleteGroupMemberResponse)
func (*DeleteGroupMemberResponse) FromJsonString ¶
func (r *DeleteGroupMemberResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupMemberResponse) ToJsonString ¶
func (r *DeleteGroupMemberResponse) ToJsonString() string
type DeleteGroupMemberResponseParams ¶
type DeleteGroupMemberResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { *tchttp.BaseRequest // The IDs of the groups to delete. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewDeleteGroupRequest ¶
func NewDeleteGroupRequest() (request *DeleteGroupRequest)
func (*DeleteGroupRequest) FromJsonString ¶
func (r *DeleteGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupRequest) ToJsonString ¶
func (r *DeleteGroupRequest) ToJsonString() string
type DeleteGroupRequestParams ¶
type DeleteGroupRequestParams struct { // The IDs of the groups to delete. GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type DeleteGroupResponse ¶
type DeleteGroupResponse struct { *tchttp.BaseResponse Response *DeleteGroupResponseParams `json:"Response"` }
func NewDeleteGroupResponse ¶
func NewDeleteGroupResponse() (response *DeleteGroupResponse)
func (*DeleteGroupResponse) FromJsonString ¶
func (r *DeleteGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupResponse) ToJsonString ¶
func (r *DeleteGroupResponse) ToJsonString() string
type DeleteGroupResponseParams ¶
type DeleteGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRecordRequest ¶
type DeleteRecordRequest struct { *tchttp.BaseRequest // The room ID. RoomId *int64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *int64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewDeleteRecordRequest ¶
func NewDeleteRecordRequest() (request *DeleteRecordRequest)
func (*DeleteRecordRequest) FromJsonString ¶
func (r *DeleteRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordRequest) ToJsonString ¶
func (r *DeleteRecordRequest) ToJsonString() string
type DeleteRecordRequestParams ¶
type DeleteRecordRequestParams struct { // The room ID. RoomId *int64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *int64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type DeleteRecordResponse ¶
type DeleteRecordResponse struct { *tchttp.BaseResponse Response *DeleteRecordResponseParams `json:"Response"` }
func NewDeleteRecordResponse ¶
func NewDeleteRecordResponse() (response *DeleteRecordResponse)
func (*DeleteRecordResponse) FromJsonString ¶
func (r *DeleteRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordResponse) ToJsonString ¶
func (r *DeleteRecordResponse) ToJsonString() string
type DeleteRecordResponseParams ¶
type DeleteRecordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRoomRequest ¶
type DeleteRoomRequest struct { *tchttp.BaseRequest // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` }
func NewDeleteRoomRequest ¶
func NewDeleteRoomRequest() (request *DeleteRoomRequest)
func (*DeleteRoomRequest) FromJsonString ¶
func (r *DeleteRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoomRequest) ToJsonString ¶
func (r *DeleteRoomRequest) ToJsonString() string
type DeleteRoomRequestParams ¶
type DeleteRoomRequestParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` }
Predefined struct for user
type DeleteRoomResponse ¶
type DeleteRoomResponse struct { *tchttp.BaseResponse Response *DeleteRoomResponseParams `json:"Response"` }
func NewDeleteRoomResponse ¶
func NewDeleteRoomResponse() (response *DeleteRoomResponse)
func (*DeleteRoomResponse) FromJsonString ¶
func (r *DeleteRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRoomResponse) ToJsonString ¶
func (r *DeleteRoomResponse) ToJsonString() string
type DeleteRoomResponseParams ¶
type DeleteRoomResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCurrentMemberListRequest ¶
type DescribeCurrentMemberListRequest struct { *tchttp.BaseRequest // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The page to return records from. Pagination starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeCurrentMemberListRequest ¶
func NewDescribeCurrentMemberListRequest() (request *DescribeCurrentMemberListRequest)
func (*DescribeCurrentMemberListRequest) FromJsonString ¶
func (r *DescribeCurrentMemberListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCurrentMemberListRequest) ToJsonString ¶
func (r *DescribeCurrentMemberListRequest) ToJsonString() string
type DescribeCurrentMemberListRequestParams ¶
type DescribeCurrentMemberListRequestParams struct { // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The page to return records from. Pagination starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeCurrentMemberListResponse ¶
type DescribeCurrentMemberListResponse struct { *tchttp.BaseResponse Response *DescribeCurrentMemberListResponseParams `json:"Response"` }
func NewDescribeCurrentMemberListResponse ¶
func NewDescribeCurrentMemberListResponse() (response *DescribeCurrentMemberListResponse)
func (*DescribeCurrentMemberListResponse) FromJsonString ¶
func (r *DescribeCurrentMemberListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCurrentMemberListResponse) ToJsonString ¶
func (r *DescribeCurrentMemberListResponse) ToJsonString() string
type DescribeCurrentMemberListResponseParams ¶
type DescribeCurrentMemberListResponseParams struct { // The total number of records. Total *uint64 `json:"Total,omitempty" name:"Total"` // The user list. MemberRecords []*MemberRecord `json:"MemberRecords,omitempty" name:"MemberRecords"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDocumentRequest ¶
type DescribeDocumentRequest struct { *tchttp.BaseRequest // The (unique) document ID. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
func NewDescribeDocumentRequest ¶
func NewDescribeDocumentRequest() (request *DescribeDocumentRequest)
func (*DescribeDocumentRequest) FromJsonString ¶
func (r *DescribeDocumentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDocumentRequest) ToJsonString ¶
func (r *DescribeDocumentRequest) ToJsonString() string
type DescribeDocumentRequestParams ¶
type DescribeDocumentRequestParams struct { // The (unique) document ID. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
Predefined struct for user
type DescribeDocumentResponse ¶
type DescribeDocumentResponse struct { *tchttp.BaseResponse Response *DescribeDocumentResponseParams `json:"Response"` }
func NewDescribeDocumentResponse ¶
func NewDescribeDocumentResponse() (response *DescribeDocumentResponse)
func (*DescribeDocumentResponse) FromJsonString ¶
func (r *DescribeDocumentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDocumentResponse) ToJsonString ¶
func (r *DescribeDocumentResponse) ToJsonString() string
type DescribeDocumentResponseParams ¶
type DescribeDocumentResponseParams struct { // The document ID. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` // The document’s original URL. DocumentUrl *string `json:"DocumentUrl,omitempty" name:"DocumentUrl"` // The document title. DocumentName *string `json:"DocumentName,omitempty" name:"DocumentName"` // The user ID of the document’s owner. Owner *string `json:"Owner,omitempty" name:"Owner"` // The application ID. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The document access type. Permission *uint64 `json:"Permission,omitempty" name:"Permission"` // The transcoding result. If the file is not transcoded, this parameter will be empty. If it is successfully transcoded, this parameter will be the URL of the transcoded file. If transcoding fails, this parameter will indicate the error code. TranscodeResult *string `json:"TranscodeResult,omitempty" name:"TranscodeResult"` // The transcoding type. TranscodeType *uint64 `json:"TranscodeType,omitempty" name:"TranscodeType"` // The transcoding progress. Value range: 0-100. TranscodeProgress *uint64 `json:"TranscodeProgress,omitempty" name:"TranscodeProgress"` // The transcoding status. `0`: The file is not transcoded. `1`: The file is being transcoded. `2`: Transcoding failed. `3`: Transcoding is successful. TranscodeState *uint64 `json:"TranscodeState,omitempty" name:"TranscodeState"` // The error message for failed transcoding. TranscodeInfo *string `json:"TranscodeInfo,omitempty" name:"TranscodeInfo"` // The document type. DocumentType *string `json:"DocumentType,omitempty" name:"DocumentType"` // The document size (bytes). DocumentSize *uint64 `json:"DocumentSize,omitempty" name:"DocumentSize"` // The time (Unix timestamp) when the document was last updated. UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDocumentsByRoomRequest ¶
type DescribeDocumentsByRoomRequest struct { *tchttp.BaseRequest // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. Pagination starts from 1, which is also the default value of this parameter. Page *int64 `json:"Page,omitempty" name:"Page"` // The maximum number of records to return per page. The maximum value can be `1000`. The default value is `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // The document access type. // [0]: The private documents of the owner. // [1]: The public documents of the owner. // [0,1]: The private and public documents of the owner. // [2]: The private and public documents of all users (including the owner). // Default value: [2]. Permission []*uint64 `json:"Permission,omitempty" name:"Permission"` // The user ID of the document owner. If you do not specify this, the information of all documents under the application will be returned. Owner *string `json:"Owner,omitempty" name:"Owner"` }
func NewDescribeDocumentsByRoomRequest ¶
func NewDescribeDocumentsByRoomRequest() (request *DescribeDocumentsByRoomRequest)
func (*DescribeDocumentsByRoomRequest) FromJsonString ¶
func (r *DescribeDocumentsByRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDocumentsByRoomRequest) ToJsonString ¶
func (r *DescribeDocumentsByRoomRequest) ToJsonString() string
type DescribeDocumentsByRoomRequestParams ¶
type DescribeDocumentsByRoomRequestParams struct { // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. Pagination starts from 1, which is also the default value of this parameter. Page *int64 `json:"Page,omitempty" name:"Page"` // The maximum number of records to return per page. The maximum value can be `1000`. The default value is `100`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // The document access type. // [0]: The private documents of the owner. // [1]: The public documents of the owner. // [0,1]: The private and public documents of the owner. // [2]: The private and public documents of all users (including the owner). // Default value: [2]. Permission []*uint64 `json:"Permission,omitempty" name:"Permission"` // The user ID of the document owner. If you do not specify this, the information of all documents under the application will be returned. Owner *string `json:"Owner,omitempty" name:"Owner"` }
Predefined struct for user
type DescribeDocumentsByRoomResponse ¶
type DescribeDocumentsByRoomResponse struct { *tchttp.BaseResponse Response *DescribeDocumentsByRoomResponseParams `json:"Response"` }
func NewDescribeDocumentsByRoomResponse ¶
func NewDescribeDocumentsByRoomResponse() (response *DescribeDocumentsByRoomResponse)
func (*DescribeDocumentsByRoomResponse) FromJsonString ¶
func (r *DescribeDocumentsByRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDocumentsByRoomResponse) ToJsonString ¶
func (r *DescribeDocumentsByRoomResponse) ToJsonString() string
type DescribeDocumentsByRoomResponseParams ¶
type DescribeDocumentsByRoomResponseParams struct { // The information of the documents. // Note: This field may return null, indicating that no valid values can be obtained. Documents []*DocumentInfo `json:"Documents,omitempty" name:"Documents"` // The total number of records that meet the conditions. Total *uint64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupListRequest ¶
type DescribeGroupListRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. Pagination starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000` and is `20` by default. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // The user ID of the teacher, which is used as the filter. This parameter and `MemberId` are mutually exclusive. If both are specified, only this parameter will take effect. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The user ID of a member, which is used as the filter. This parameter and `TeacherId` are mutually exclusive. MemberId *string `json:"MemberId,omitempty" name:"MemberId"` }
func NewDescribeGroupListRequest ¶
func NewDescribeGroupListRequest() (request *DescribeGroupListRequest)
func (*DescribeGroupListRequest) FromJsonString ¶
func (r *DescribeGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupListRequest) ToJsonString ¶
func (r *DescribeGroupListRequest) ToJsonString() string
type DescribeGroupListRequestParams ¶
type DescribeGroupListRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. Pagination starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000` and is `20` by default. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // The user ID of the teacher, which is used as the filter. This parameter and `MemberId` are mutually exclusive. If both are specified, only this parameter will take effect. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The user ID of a member, which is used as the filter. This parameter and `TeacherId` are mutually exclusive. MemberId *string `json:"MemberId,omitempty" name:"MemberId"` }
Predefined struct for user
type DescribeGroupListResponse ¶
type DescribeGroupListResponse struct { *tchttp.BaseResponse Response *DescribeGroupListResponseParams `json:"Response"` }
func NewDescribeGroupListResponse ¶
func NewDescribeGroupListResponse() (response *DescribeGroupListResponse)
func (*DescribeGroupListResponse) FromJsonString ¶
func (r *DescribeGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupListResponse) ToJsonString ¶
func (r *DescribeGroupListResponse) ToJsonString() string
type DescribeGroupListResponseParams ¶
type DescribeGroupListResponseParams struct { // The total number of groups that meet the conditions. Total *uint64 `json:"Total,omitempty" name:"Total"` // The information of the groups. // Note: This field may return null, indicating that no valid values can be obtained. GroupInfos []*GroupInfo `json:"GroupInfos,omitempty" name:"GroupInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupMemberListRequest ¶
type DescribeGroupMemberListRequest struct { *tchttp.BaseRequest // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. The default value is `1`. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000` and is `20` by default. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeGroupMemberListRequest ¶
func NewDescribeGroupMemberListRequest() (request *DescribeGroupMemberListRequest)
func (*DescribeGroupMemberListRequest) FromJsonString ¶
func (r *DescribeGroupMemberListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupMemberListRequest) ToJsonString ¶
func (r *DescribeGroupMemberListRequest) ToJsonString() string
type DescribeGroupMemberListRequestParams ¶
type DescribeGroupMemberListRequestParams struct { // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. The default value is `1`. Page *uint64 `json:"Page,omitempty" name:"Page"` // The maximum number of records per page. The value of this parameter cannot exceed `1000` and is `20` by default. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeGroupMemberListResponse ¶
type DescribeGroupMemberListResponse struct { *tchttp.BaseResponse Response *DescribeGroupMemberListResponseParams `json:"Response"` }
func NewDescribeGroupMemberListResponse ¶
func NewDescribeGroupMemberListResponse() (response *DescribeGroupMemberListResponse)
func (*DescribeGroupMemberListResponse) FromJsonString ¶
func (r *DescribeGroupMemberListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupMemberListResponse) ToJsonString ¶
func (r *DescribeGroupMemberListResponse) ToJsonString() string
type DescribeGroupMemberListResponseParams ¶
type DescribeGroupMemberListResponseParams struct { // The total number of records that meet the conditions. Total *uint64 `json:"Total,omitempty" name:"Total"` // The user IDs of the members. // Note: This field may return null, indicating that no valid values can be obtained. MemberIds []*string `json:"MemberIds,omitempty" name:"MemberIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupRequest ¶
type DescribeGroupRequest struct { *tchttp.BaseRequest // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewDescribeGroupRequest ¶
func NewDescribeGroupRequest() (request *DescribeGroupRequest)
func (*DescribeGroupRequest) FromJsonString ¶
func (r *DescribeGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupRequest) ToJsonString ¶
func (r *DescribeGroupRequest) ToJsonString() string
type DescribeGroupRequestParams ¶
type DescribeGroupRequestParams struct { // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type DescribeGroupResponse ¶
type DescribeGroupResponse struct { *tchttp.BaseResponse Response *DescribeGroupResponseParams `json:"Response"` }
func NewDescribeGroupResponse ¶
func NewDescribeGroupResponse() (response *DescribeGroupResponse)
func (*DescribeGroupResponse) FromJsonString ¶
func (r *DescribeGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupResponse) ToJsonString ¶
func (r *DescribeGroupResponse) ToJsonString() string
type DescribeGroupResponseParams ¶
type DescribeGroupResponseParams struct { // The group ID. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The user ID of the group’s teacher. // Note: This field may return null, indicating that no valid values can be obtained. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The group type. // `0`: Ordinary group. // `1`: Merged group. If the group queried is a merged group, the IDs of the sub-groups will be returned. GroupType *uint64 `json:"GroupType,omitempty" name:"GroupType"` // The IDs of the sub-groups. // Note: This field may return null, indicating that no valid values can be obtained. SubGroupIds []*string `json:"SubGroupIds,omitempty" name:"SubGroupIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRoomRequest ¶
type DescribeRoomRequest struct { *tchttp.BaseRequest // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` }
func NewDescribeRoomRequest ¶
func NewDescribeRoomRequest() (request *DescribeRoomRequest)
func (*DescribeRoomRequest) FromJsonString ¶
func (r *DescribeRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoomRequest) ToJsonString ¶
func (r *DescribeRoomRequest) ToJsonString() string
type DescribeRoomRequestParams ¶
type DescribeRoomRequestParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` }
Predefined struct for user
type DescribeRoomResponse ¶
type DescribeRoomResponse struct { *tchttp.BaseResponse Response *DescribeRoomResponseParams `json:"Response"` }
func NewDescribeRoomResponse ¶
func NewDescribeRoomResponse() (response *DescribeRoomResponse)
func (*DescribeRoomResponse) FromJsonString ¶
func (r *DescribeRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoomResponse) ToJsonString ¶
func (r *DescribeRoomResponse) ToJsonString() string
type DescribeRoomResponseParams ¶
type DescribeRoomResponseParams struct { // Room name Name *string `json:"Name,omitempty" name:"Name"` // Reserved room start time, in UNIX timestamp format StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // Reserved room end time, in UNIX timestamp format EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Teacher ID TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // Maximum number of mic-on users (excluding teachers). Value range: [0, 16] MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // Whether to automatically turn the mic on when the user enters a room. Valid values: `0`: No (default value); `1`: Yes. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only. SubType *string `json:"SubType,omitempty" name:"SubType"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // Assistant ID list // Note: This field may return null, indicating that no valid values can be obtained. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // Recording URL. This parameter exists only after a room is ended. // Note: This field may return null, indicating that no valid values can be obtained. RecordUrl *string `json:"RecordUrl,omitempty" name:"RecordUrl"` // The class status. `0`: The class has not started. `1`: The class has started. `2`: The class ended. `3`: The class expired. // Note: This field may return null, indicating that no valid values can be obtained. Status *uint64 `json:"Status,omitempty" name:"Status"` // // Note: This field may return null, indicating that no valid values can be obtained. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRoomStatisticsRequest ¶
type DescribeRoomStatisticsRequest struct { *tchttp.BaseRequest // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Current page in pagination, which starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // Number of data entries to return per page. Maximum value: 1000 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeRoomStatisticsRequest ¶
func NewDescribeRoomStatisticsRequest() (request *DescribeRoomStatisticsRequest)
func (*DescribeRoomStatisticsRequest) FromJsonString ¶
func (r *DescribeRoomStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoomStatisticsRequest) ToJsonString ¶
func (r *DescribeRoomStatisticsRequest) ToJsonString() string
type DescribeRoomStatisticsRequestParams ¶
type DescribeRoomStatisticsRequestParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Current page in pagination, which starts from 1. Page *uint64 `json:"Page,omitempty" name:"Page"` // Number of data entries to return per page. Maximum value: 1000 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeRoomStatisticsResponse ¶
type DescribeRoomStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeRoomStatisticsResponseParams `json:"Response"` }
func NewDescribeRoomStatisticsResponse ¶
func NewDescribeRoomStatisticsResponse() (response *DescribeRoomStatisticsResponse)
func (*DescribeRoomStatisticsResponse) FromJsonString ¶
func (r *DescribeRoomStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRoomStatisticsResponse) ToJsonString ¶
func (r *DescribeRoomStatisticsResponse) ToJsonString() string
type DescribeRoomStatisticsResponseParams ¶
type DescribeRoomStatisticsResponseParams struct { // Peak number of online members PeakMemberNumber *uint64 `json:"PeakMemberNumber,omitempty" name:"PeakMemberNumber"` // Accumulated number of online members MemberNumber *uint64 `json:"MemberNumber,omitempty" name:"MemberNumber"` // Total number of records, including members who entered the room and members who should attend the class but did not Total *uint64 `json:"Total,omitempty" name:"Total"` // Member record list MemberRecords []*MemberRecord `json:"MemberRecords,omitempty" name:"MemberRecords"` // The actual start time of the room, in Unix timestamp, accurate to seconds. // Note: This field may return null, indicating that no valid values can be obtained. RealStartTime *uint64 `json:"RealStartTime,omitempty" name:"RealStartTime"` // The actual end time of the room, in Unix timestamp, accurate to seconds. // Note: This field may return null, indicating that no valid values can be obtained. RealEndTime *uint64 `json:"RealEndTime,omitempty" name:"RealEndTime"` // The total number of room messages. MessageCount *uint64 `json:"MessageCount,omitempty" name:"MessageCount"` // The total number of mics in the room. MicCount *uint64 `json:"MicCount,omitempty" name:"MicCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSdkAppIdUsersRequest ¶
type DescribeSdkAppIdUsersRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. The default value is `1`. Page *int64 `json:"Page,omitempty" name:"Page"` // The maximum number of records to return per page. The default value is `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSdkAppIdUsersRequest ¶
func NewDescribeSdkAppIdUsersRequest() (request *DescribeSdkAppIdUsersRequest)
func (*DescribeSdkAppIdUsersRequest) FromJsonString ¶
func (r *DescribeSdkAppIdUsersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSdkAppIdUsersRequest) ToJsonString ¶
func (r *DescribeSdkAppIdUsersRequest) ToJsonString() string
type DescribeSdkAppIdUsersRequestParams ¶
type DescribeSdkAppIdUsersRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The page to return records from. The default value is `1`. Page *int64 `json:"Page,omitempty" name:"Page"` // The maximum number of records to return per page. The default value is `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeSdkAppIdUsersResponse ¶
type DescribeSdkAppIdUsersResponse struct { *tchttp.BaseResponse Response *DescribeSdkAppIdUsersResponseParams `json:"Response"` }
func NewDescribeSdkAppIdUsersResponse ¶
func NewDescribeSdkAppIdUsersResponse() (response *DescribeSdkAppIdUsersResponse)
func (*DescribeSdkAppIdUsersResponse) FromJsonString ¶
func (r *DescribeSdkAppIdUsersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSdkAppIdUsersResponse) ToJsonString ¶
func (r *DescribeSdkAppIdUsersResponse) ToJsonString() string
type DescribeSdkAppIdUsersResponseParams ¶
type DescribeSdkAppIdUsersResponseParams struct { // The total number of users. Total *uint64 `json:"Total,omitempty" name:"Total"` // The information of the users. // Note: This field may return null, indicating that no valid values can be obtained. Users []*UserInfo `json:"Users,omitempty" name:"Users"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserRequest ¶
type DescribeUserRequest struct { *tchttp.BaseRequest // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` }
func NewDescribeUserRequest ¶
func NewDescribeUserRequest() (request *DescribeUserRequest)
func (*DescribeUserRequest) FromJsonString ¶
func (r *DescribeUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRequest) ToJsonString ¶
func (r *DescribeUserRequest) ToJsonString() string
type DescribeUserRequestParams ¶
type DescribeUserRequestParams struct { // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` }
Predefined struct for user
type DescribeUserResponse ¶
type DescribeUserResponse struct { *tchttp.BaseResponse Response *DescribeUserResponseParams `json:"Response"` }
func NewDescribeUserResponse ¶
func NewDescribeUserResponse() (response *DescribeUserResponse)
func (*DescribeUserResponse) FromJsonString ¶
func (r *DescribeUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserResponse) ToJsonString ¶
func (r *DescribeUserResponse) ToJsonString() string
type DescribeUserResponseParams ¶
type DescribeUserResponseParams struct { // The application ID. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Username Name *string `json:"Name,omitempty" name:"Name"` // URL of user profile photo. Avatar *string `json:"Avatar,omitempty" name:"Avatar"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DocumentInfo ¶
type DocumentInfo struct { // The document ID. // Note: This field may return null, indicating that no valid values can be obtained. DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` // The document’s original URL. // Note: This field may return null, indicating that no valid values can be obtained. DocumentUrl *string `json:"DocumentUrl,omitempty" name:"DocumentUrl"` // The document title. // Note: This field may return null, indicating that no valid values can be obtained. DocumentName *string `json:"DocumentName,omitempty" name:"DocumentName"` // The user ID of the document’s owner. // Note: This field may return null, indicating that no valid values can be obtained. Owner *string `json:"Owner,omitempty" name:"Owner"` // The application ID. // Note: This field may return null, indicating that no valid values can be obtained. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The document access type. `0`: Private; `1`: Public. // Note: This field may return null, indicating that no valid values can be obtained. Permission *uint64 `json:"Permission,omitempty" name:"Permission"` // The transcoding result. If the file is not transcoded, this parameter will be empty. If it is successfully transcoded, this parameter will be the URL of the transcoded file. If transcoding fails, this parameter will indicate the error code. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeResult *string `json:"TranscodeResult,omitempty" name:"TranscodeResult"` // The transcoding type. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeType *uint64 `json:"TranscodeType,omitempty" name:"TranscodeType"` // The transcoding progress. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeProgress *uint64 `json:"TranscodeProgress,omitempty" name:"TranscodeProgress"` // The transcoding status. `0`: The file is not transcoded. `1`: The file is being transcoded. `2`: Transcoding failed. `3`: Transcoding is successful. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeState *uint64 `json:"TranscodeState,omitempty" name:"TranscodeState"` // The error message for failed transcoding. // Note: This field may return null, indicating that no valid values can be obtained. TranscodeInfo *string `json:"TranscodeInfo,omitempty" name:"TranscodeInfo"` // The document type. // Note: This field may return null, indicating that no valid values can be obtained. DocumentType *string `json:"DocumentType,omitempty" name:"DocumentType"` // The document size (bytes). // Note: This field may return null, indicating that no valid values can be obtained. DocumentSize *uint64 `json:"DocumentSize,omitempty" name:"DocumentSize"` // The time (Unix timestamp) when the document was last updated. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type GetWatermarkRequest ¶
type GetWatermarkRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewGetWatermarkRequest ¶
func NewGetWatermarkRequest() (request *GetWatermarkRequest)
func (*GetWatermarkRequest) FromJsonString ¶
func (r *GetWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetWatermarkRequest) ToJsonString ¶
func (r *GetWatermarkRequest) ToJsonString() string
type GetWatermarkRequestParams ¶
type GetWatermarkRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type GetWatermarkResponse ¶
type GetWatermarkResponse struct { *tchttp.BaseResponse Response *GetWatermarkResponseParams `json:"Response"` }
func NewGetWatermarkResponse ¶
func NewGetWatermarkResponse() (response *GetWatermarkResponse)
func (*GetWatermarkResponse) FromJsonString ¶
func (r *GetWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetWatermarkResponse) ToJsonString ¶
func (r *GetWatermarkResponse) ToJsonString() string
type GetWatermarkResponseParams ¶
type GetWatermarkResponseParams struct { // The watermark settings for the teacher’s video. // Note: This field may return null, indicating that no valid values can be obtained. TeacherLogo *WatermarkConfig `json:"TeacherLogo,omitempty" name:"TeacherLogo"` // The watermark settings for the whiteboard. // Note: This field may return null, indicating that no valid values can be obtained. BoardLogo *WatermarkConfig `json:"BoardLogo,omitempty" name:"BoardLogo"` // The background image. // Note: This field may return null, indicating that no valid values can be obtained. BackgroundPicture *BackgroundPictureConfig `json:"BackgroundPicture,omitempty" name:"BackgroundPicture"` // The watermark text. // Note: This field may return null, indicating that no valid values can be obtained. Text *TextMarkConfig `json:"Text,omitempty" name:"Text"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type GroupBaseInfo ¶
type GroupBaseInfo struct { // The group names. // Note: This field may return null, indicating that no valid values can be obtained. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The user ID of the teacher. // Note: This field may return null, indicating that no valid values can be obtained. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` }
type GroupInfo ¶
type GroupInfo struct { // Group ID // Note: This field may return null, indicating that no valid values can be obtained. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The group name. // Note: This field may return null, indicating that no valid values can be obtained. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The user ID of the teacher. // Note: This field may return null, indicating that no valid values can be obtained. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The group type. // `0`: Ordinary group. // `1`: Merged group. If the group queried is a merged group, the IDs of the sub-groups will be returned. // Note: This field may return null, indicating that no valid values can be obtained. GroupType *uint64 `json:"GroupType,omitempty" name:"GroupType"` // The IDs of the sub-groups. // Note: This field may return null, indicating that no valid values can be obtained. SubGroupIds *string `json:"SubGroupIds,omitempty" name:"SubGroupIds"` }
type LoginOriginIdRequest ¶
type LoginOriginIdRequest struct { *tchttp.BaseRequest // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // User's ID in the customer system, which should be unique under the same application OriginId *string `json:"OriginId,omitempty" name:"OriginId"` }
func NewLoginOriginIdRequest ¶
func NewLoginOriginIdRequest() (request *LoginOriginIdRequest)
func (*LoginOriginIdRequest) FromJsonString ¶
func (r *LoginOriginIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LoginOriginIdRequest) ToJsonString ¶
func (r *LoginOriginIdRequest) ToJsonString() string
type LoginOriginIdRequestParams ¶
type LoginOriginIdRequestParams struct { // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // User's ID in the customer system, which should be unique under the same application OriginId *string `json:"OriginId,omitempty" name:"OriginId"` }
Predefined struct for user
type LoginOriginIdResponse ¶
type LoginOriginIdResponse struct { *tchttp.BaseResponse Response *LoginOriginIdResponseParams `json:"Response"` }
func NewLoginOriginIdResponse ¶
func NewLoginOriginIdResponse() (response *LoginOriginIdResponse)
func (*LoginOriginIdResponse) FromJsonString ¶
func (r *LoginOriginIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LoginOriginIdResponse) ToJsonString ¶
func (r *LoginOriginIdResponse) ToJsonString() string
type LoginOriginIdResponseParams ¶
type LoginOriginIdResponseParams struct { // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Login status token returned after successful login or registration. The token is valid for seven days. Token *string `json:"Token,omitempty" name:"Token"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type LoginUserRequest ¶
type LoginUserRequest struct { *tchttp.BaseRequest // User ID obtained during registration UserId *string `json:"UserId,omitempty" name:"UserId"` }
func NewLoginUserRequest ¶
func NewLoginUserRequest() (request *LoginUserRequest)
func (*LoginUserRequest) FromJsonString ¶
func (r *LoginUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LoginUserRequest) ToJsonString ¶
func (r *LoginUserRequest) ToJsonString() string
type LoginUserRequestParams ¶
type LoginUserRequestParams struct { // User ID obtained during registration UserId *string `json:"UserId,omitempty" name:"UserId"` }
Predefined struct for user
type LoginUserResponse ¶
type LoginUserResponse struct { *tchttp.BaseResponse Response *LoginUserResponseParams `json:"Response"` }
func NewLoginUserResponse ¶
func NewLoginUserResponse() (response *LoginUserResponse)
func (*LoginUserResponse) FromJsonString ¶
func (r *LoginUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LoginUserResponse) ToJsonString ¶
func (r *LoginUserResponse) ToJsonString() string
type LoginUserResponseParams ¶
type LoginUserResponseParams struct { // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Login status token returned after successful login or registration. The token is valid for seven days. Token *string `json:"Token,omitempty" name:"Token"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MemberRecord ¶
type MemberRecord struct { // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Username UserName *string `json:"UserName,omitempty" name:"UserName"` // Online duration, in seconds PresentTime *uint64 `json:"PresentTime,omitempty" name:"PresentTime"` // Whether the camera is enabled Camera *uint64 `json:"Camera,omitempty" name:"Camera"` // Whether the mic is enabled Mic *uint64 `json:"Mic,omitempty" name:"Mic"` // Whether the user is muted Silence *uint64 `json:"Silence,omitempty" name:"Silence"` // Number of questions answered by the user AnswerQuestions *uint64 `json:"AnswerQuestions,omitempty" name:"AnswerQuestions"` // Number of hand raising times HandUps *uint64 `json:"HandUps,omitempty" name:"HandUps"` // First time that the user entered the room, in UNIX timestamp format FirstJoinTimestamp *uint64 `json:"FirstJoinTimestamp,omitempty" name:"FirstJoinTimestamp"` // Last time that the user left the room, in UNIX timestamp format LastQuitTimestamp *uint64 `json:"LastQuitTimestamp,omitempty" name:"LastQuitTimestamp"` // Number of rewards received Rewords *uint64 `json:"Rewords,omitempty" name:"Rewords"` // The user’s IP address. IPAddress *string `json:"IPAddress,omitempty" name:"IPAddress"` // The user’s location. Location *string `json:"Location,omitempty" name:"Location"` // The user’s device type. `0`: Unknown; `1`: Windows; `2`: macOS; `3`: Android; `4`: iOS; `5`: Web; `6`: Mobile webpage; `7`: Weixin Mini Program. Device *int64 `json:"Device,omitempty" name:"Device"` // The number of times each member mics. PerMemberMicCount *int64 `json:"PerMemberMicCount,omitempty" name:"PerMemberMicCount"` // The number of messages sent by each member. PerMemberMessageCount *int64 `json:"PerMemberMessageCount,omitempty" name:"PerMemberMessageCount"` }
type ModifyAppRequest ¶
type ModifyAppRequest struct { *tchttp.BaseRequest // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Callback URL. Currently, only port 80 and port 443 are supported. Callback *string `json:"Callback,omitempty" name:"Callback"` // The callback key. CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` }
func NewModifyAppRequest ¶
func NewModifyAppRequest() (request *ModifyAppRequest)
func (*ModifyAppRequest) FromJsonString ¶
func (r *ModifyAppRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAppRequest) ToJsonString ¶
func (r *ModifyAppRequest) ToJsonString() string
type ModifyAppRequestParams ¶
type ModifyAppRequestParams struct { // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Callback URL. Currently, only port 80 and port 443 are supported. Callback *string `json:"Callback,omitempty" name:"Callback"` // The callback key. CallbackKey *string `json:"CallbackKey,omitempty" name:"CallbackKey"` }
Predefined struct for user
type ModifyAppResponse ¶
type ModifyAppResponse struct { *tchttp.BaseResponse Response *ModifyAppResponseParams `json:"Response"` }
func NewModifyAppResponse ¶
func NewModifyAppResponse() (response *ModifyAppResponse)
func (*ModifyAppResponse) FromJsonString ¶
func (r *ModifyAppResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAppResponse) ToJsonString ¶
func (r *ModifyAppResponse) ToJsonString() string
type ModifyAppResponseParams ¶
type ModifyAppResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGroupRequest ¶
type ModifyGroupRequest struct { *tchttp.BaseRequest // The ID of the group to modify. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The new group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
func NewModifyGroupRequest ¶
func NewModifyGroupRequest() (request *ModifyGroupRequest)
func (*ModifyGroupRequest) FromJsonString ¶
func (r *ModifyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupRequest) ToJsonString ¶
func (r *ModifyGroupRequest) ToJsonString() string
type ModifyGroupRequestParams ¶
type ModifyGroupRequestParams struct { // The ID of the group to modify. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID of the teacher. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The new group name. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
Predefined struct for user
type ModifyGroupResponse ¶
type ModifyGroupResponse struct { *tchttp.BaseResponse Response *ModifyGroupResponseParams `json:"Response"` }
func NewModifyGroupResponse ¶
func NewModifyGroupResponse() (response *ModifyGroupResponse)
func (*ModifyGroupResponse) FromJsonString ¶
func (r *ModifyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupResponse) ToJsonString ¶
func (r *ModifyGroupResponse) ToJsonString() string
type ModifyGroupResponseParams ¶
type ModifyGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRoomRequest ¶
type ModifyRoomRequest struct { *tchttp.BaseRequest // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The room start time (Unix timestamp). StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The room end time (Unix timestamp). EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // The user ID of the teacher. User IDs are returned by the user registration APIs. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The room name. Name *string `json:"Name,omitempty" name:"Name"` // The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD. Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // The maximum number of mic-on users (excluding the teacher). Value range: 0-16. MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // Whether to automatically turn the mic on when a user enters the room. Valid values: `0`: No (default value); `1`: Yes. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher. SubType *string `json:"SubType,omitempty" name:"SubType"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // The user IDs of the teacher assistants. User IDs are returned by the user registration APIs. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // The ID of the group to bind. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
func NewModifyRoomRequest ¶
func NewModifyRoomRequest() (request *ModifyRoomRequest)
func (*ModifyRoomRequest) FromJsonString ¶
func (r *ModifyRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRoomRequest) ToJsonString ¶
func (r *ModifyRoomRequest) ToJsonString() string
type ModifyRoomRequestParams ¶
type ModifyRoomRequestParams struct { // The room ID. RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The room start time (Unix timestamp). StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The room end time (Unix timestamp). EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // The user ID of the teacher. User IDs are returned by the user registration APIs. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // The room name. Name *string `json:"Name,omitempty" name:"Name"` // The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD. Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // The maximum number of mic-on users (excluding the teacher). Value range: 0-16. MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // Whether to automatically turn the mic on when a user enters the room. Valid values: `0`: No (default value); `1`: Yes. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher. SubType *string `json:"SubType,omitempty" name:"SubType"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // The user IDs of the teacher assistants. User IDs are returned by the user registration APIs. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // The ID of the group to bind. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type ModifyRoomResponse ¶
type ModifyRoomResponse struct { *tchttp.BaseResponse Response *ModifyRoomResponseParams `json:"Response"` }
func NewModifyRoomResponse ¶
func NewModifyRoomResponse() (response *ModifyRoomResponse)
func (*ModifyRoomResponse) FromJsonString ¶
func (r *ModifyRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRoomResponse) ToJsonString ¶
func (r *ModifyRoomResponse) ToJsonString() string
type ModifyRoomResponseParams ¶
type ModifyRoomResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserProfileRequest ¶
type ModifyUserProfileRequest struct { *tchttp.BaseRequest // The ID of the user whose profile will be modified. UserId *string `json:"UserId,omitempty" name:"UserId"` // The new username to use. Nickname *string `json:"Nickname,omitempty" name:"Nickname"` // The URL of the new profile photo. Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
func NewModifyUserProfileRequest ¶
func NewModifyUserProfileRequest() (request *ModifyUserProfileRequest)
func (*ModifyUserProfileRequest) FromJsonString ¶
func (r *ModifyUserProfileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserProfileRequest) ToJsonString ¶
func (r *ModifyUserProfileRequest) ToJsonString() string
type ModifyUserProfileRequestParams ¶
type ModifyUserProfileRequestParams struct { // The ID of the user whose profile will be modified. UserId *string `json:"UserId,omitempty" name:"UserId"` // The new username to use. Nickname *string `json:"Nickname,omitempty" name:"Nickname"` // The URL of the new profile photo. Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
Predefined struct for user
type ModifyUserProfileResponse ¶
type ModifyUserProfileResponse struct { *tchttp.BaseResponse Response *ModifyUserProfileResponseParams `json:"Response"` }
func NewModifyUserProfileResponse ¶
func NewModifyUserProfileResponse() (response *ModifyUserProfileResponse)
func (*ModifyUserProfileResponse) FromJsonString ¶
func (r *ModifyUserProfileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserProfileResponse) ToJsonString ¶
func (r *ModifyUserProfileResponse) ToJsonString() string
type ModifyUserProfileResponseParams ¶
type ModifyUserProfileResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RegisterUserRequest ¶
type RegisterUserRequest struct { *tchttp.BaseRequest // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Username Name *string `json:"Name,omitempty" name:"Name"` // User's ID in the customer system, which should be unique under the same application OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // User's profile photo Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
func NewRegisterUserRequest ¶
func NewRegisterUserRequest() (request *RegisterUserRequest)
func (*RegisterUserRequest) FromJsonString ¶
func (r *RegisterUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterUserRequest) ToJsonString ¶
func (r *RegisterUserRequest) ToJsonString() string
type RegisterUserRequestParams ¶
type RegisterUserRequestParams struct { // LCIC SdkAppId SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // Username Name *string `json:"Name,omitempty" name:"Name"` // User's ID in the customer system, which should be unique under the same application OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // User's profile photo Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
Predefined struct for user
type RegisterUserResponse ¶
type RegisterUserResponse struct { *tchttp.BaseResponse Response *RegisterUserResponseParams `json:"Response"` }
func NewRegisterUserResponse ¶
func NewRegisterUserResponse() (response *RegisterUserResponse)
func (*RegisterUserResponse) FromJsonString ¶
func (r *RegisterUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RegisterUserResponse) ToJsonString ¶
func (r *RegisterUserResponse) ToJsonString() string
type RegisterUserResponseParams ¶
type RegisterUserResponseParams struct { // User ID UserId *string `json:"UserId,omitempty" name:"UserId"` // Login status token returned after successful login or registration. The token is valid for seven days. Token *string `json:"Token,omitempty" name:"Token"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RoomInfo ¶
type RoomInfo struct { // The room name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // The room start time (Unix timestamp). // Note: This field may return null, indicating that no valid values can be obtained. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // The room end time (Unix timestamp). // Note: This field may return null, indicating that no valid values can be obtained. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // The resolution. Valid values: `1`: SD; `2`: HD; `3`: FHD. // Note: This field may return null, indicating that no valid values can be obtained. Resolution *uint64 `json:"Resolution,omitempty" name:"Resolution"` // The maximum number of mic-on users (excluding the teacher). Value range: 0-16. // Note: This field may return null, indicating that no valid values can be obtained. MaxMicNumber *uint64 `json:"MaxMicNumber,omitempty" name:"MaxMicNumber"` // The room subtype. Valid values: `videodoc`: Document + Video; `video`: Video only; `coteaching`: Dual-teacher. // Note: This field may return null, indicating that no valid values can be obtained. SubType *string `json:"SubType,omitempty" name:"SubType"` // The user ID of the teacher. User IDs are returned by the user registration APIs. // Note: This field may return null, indicating that no valid values can be obtained. TeacherId *string `json:"TeacherId,omitempty" name:"TeacherId"` // Whether to automatically turn the mic on when a user enters the room. Valid values: `0`: No (default value); `1`: Yes. // Note: This field may return null, indicating that no valid values can be obtained. AutoMic *uint64 `json:"AutoMic,omitempty" name:"AutoMic"` // Whether to disconnect communication after audio/video permissions are revoked. Valid values: `0`: Yes (default value); `1`: No. // Note: This field may return null, indicating that no valid values can be obtained. TurnOffMic *uint64 `json:"TurnOffMic,omitempty" name:"TurnOffMic"` // Whether to enable the high audio quality mode. Valid values: `0`: No (default value); `1`: Yes. // Note: This field may return null, indicating that no valid values can be obtained. AudioQuality *uint64 `json:"AudioQuality,omitempty" name:"AudioQuality"` // Whether to disable auto recording. Valid values: `0`: No (default); `1`: Yes. If this parameter is `0`, recording will start when the class starts and stops when the class ends. // Note: This field may return null, indicating that no valid values can be obtained. DisableRecord *uint64 `json:"DisableRecord,omitempty" name:"DisableRecord"` // The user IDs of the teacher assistants. User IDs are returned by the user registration APIs. // Note: This field may return null, indicating that no valid values can be obtained. Assistants []*string `json:"Assistants,omitempty" name:"Assistants"` // The number of RTC users. // Note: This field may return null, indicating that no valid values can be obtained. RTCAudienceNumber *uint64 `json:"RTCAudienceNumber,omitempty" name:"RTCAudienceNumber"` // The audience type. // Note: This field may return null, indicating that no valid values can be obtained. AudienceType *uint64 `json:"AudienceType,omitempty" name:"AudienceType"` // The recording layout. // Note: This field may return null, indicating that no valid values can be obtained. RecordLayout *uint64 `json:"RecordLayout,omitempty" name:"RecordLayout"` // The ID of the group to bind. // Note: This field may return null, indicating that no valid values can be obtained. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
type SetAppCustomContentRequest ¶
type SetAppCustomContentRequest struct { *tchttp.BaseRequest // Custom content CustomContent []*AppCustomContent `json:"CustomContent,omitempty" name:"CustomContent"` // Application ID SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
func NewSetAppCustomContentRequest ¶
func NewSetAppCustomContentRequest() (request *SetAppCustomContentRequest)
func (*SetAppCustomContentRequest) FromJsonString ¶
func (r *SetAppCustomContentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAppCustomContentRequest) ToJsonString ¶
func (r *SetAppCustomContentRequest) ToJsonString() string
type SetAppCustomContentRequestParams ¶
type SetAppCustomContentRequestParams struct { // Custom content CustomContent []*AppCustomContent `json:"CustomContent,omitempty" name:"CustomContent"` // Application ID SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` }
Predefined struct for user
type SetAppCustomContentResponse ¶
type SetAppCustomContentResponse struct { *tchttp.BaseResponse Response *SetAppCustomContentResponseParams `json:"Response"` }
func NewSetAppCustomContentResponse ¶
func NewSetAppCustomContentResponse() (response *SetAppCustomContentResponse)
func (*SetAppCustomContentResponse) FromJsonString ¶
func (r *SetAppCustomContentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAppCustomContentResponse) ToJsonString ¶
func (r *SetAppCustomContentResponse) ToJsonString() string
type SetAppCustomContentResponseParams ¶
type SetAppCustomContentResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SetWatermarkRequest ¶
type SetWatermarkRequest struct { *tchttp.BaseRequest // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The URL of the watermark for the teacher’s video. If you pass in an empty string, the teacher’s video will not have a watermark. TeacherUrl *string `json:"TeacherUrl,omitempty" name:"TeacherUrl"` // The URL of the watermark for the whiteboard. If you pass in an empty string, the whiteboard video will not have a watermark. BoardUrl *string `json:"BoardUrl,omitempty" name:"BoardUrl"` // The image displayed when there is no video. If you pass in an empty string, no images will be displayed. VideoUrl *string `json:"VideoUrl,omitempty" name:"VideoUrl"` // The width of the whiteboard’s watermark, which is expressed as a percentage of the video width. The value range is 0-100, and the default value is `0`. BoardW *float64 `json:"BoardW,omitempty" name:"BoardW"` // The height of the whiteboard’s watermark, which is expressed as a percentage of the video height. The value range is 0-100, and the default value is `0`. BoardH *float64 `json:"BoardH,omitempty" name:"BoardH"` // The horizontal offset of the whiteboard’s watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle horizontally. Value range: 0-100. BoardX *float64 `json:"BoardX,omitempty" name:"BoardX"` // The vertical offset of the whiteboard’s watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle vertically. Value range: 0-100. BoardY *float64 `json:"BoardY,omitempty" name:"BoardY"` // The width of the watermark for the teacher’s video, which is expressed as a percentage of the video width. The value range is 0-100, and the default value is `0`. TeacherW *float64 `json:"TeacherW,omitempty" name:"TeacherW"` // The height of the watermark for the teacher’s video, which is expressed as a percentage of the video height. The value range is 0-100, and the default value is `0`. TeacherH *float64 `json:"TeacherH,omitempty" name:"TeacherH"` // The horizontal offset of the watermark for the teacher’s video, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle horizontally. Value range: 0-100. TeacherX *float64 `json:"TeacherX,omitempty" name:"TeacherX"` // The vertical offset of the watermark for the teacher’s video, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle vertically. Value range: 0-100. TeacherY *float64 `json:"TeacherY,omitempty" name:"TeacherY"` // The watermark text. If you pass in an empty string, there will be no text. Text *string `json:"Text,omitempty" name:"Text"` // The watermark text color. TextColor *string `json:"TextColor,omitempty" name:"TextColor"` }
func NewSetWatermarkRequest ¶
func NewSetWatermarkRequest() (request *SetWatermarkRequest)
func (*SetWatermarkRequest) FromJsonString ¶
func (r *SetWatermarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetWatermarkRequest) ToJsonString ¶
func (r *SetWatermarkRequest) ToJsonString() string
type SetWatermarkRequestParams ¶
type SetWatermarkRequestParams struct { // The SDKAppID assigned by LCIC. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The URL of the watermark for the teacher’s video. If you pass in an empty string, the teacher’s video will not have a watermark. TeacherUrl *string `json:"TeacherUrl,omitempty" name:"TeacherUrl"` // The URL of the watermark for the whiteboard. If you pass in an empty string, the whiteboard video will not have a watermark. BoardUrl *string `json:"BoardUrl,omitempty" name:"BoardUrl"` // The image displayed when there is no video. If you pass in an empty string, no images will be displayed. VideoUrl *string `json:"VideoUrl,omitempty" name:"VideoUrl"` // The width of the whiteboard’s watermark, which is expressed as a percentage of the video width. The value range is 0-100, and the default value is `0`. BoardW *float64 `json:"BoardW,omitempty" name:"BoardW"` // The height of the whiteboard’s watermark, which is expressed as a percentage of the video height. The value range is 0-100, and the default value is `0`. BoardH *float64 `json:"BoardH,omitempty" name:"BoardH"` // The horizontal offset of the whiteboard’s watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle horizontally. Value range: 0-100. BoardX *float64 `json:"BoardX,omitempty" name:"BoardX"` // The vertical offset of the whiteboard’s watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle vertically. Value range: 0-100. BoardY *float64 `json:"BoardY,omitempty" name:"BoardY"` // The width of the watermark for the teacher’s video, which is expressed as a percentage of the video width. The value range is 0-100, and the default value is `0`. TeacherW *float64 `json:"TeacherW,omitempty" name:"TeacherW"` // The height of the watermark for the teacher’s video, which is expressed as a percentage of the video height. The value range is 0-100, and the default value is `0`. TeacherH *float64 `json:"TeacherH,omitempty" name:"TeacherH"` // The horizontal offset of the watermark for the teacher’s video, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle horizontally. Value range: 0-100. TeacherX *float64 `json:"TeacherX,omitempty" name:"TeacherX"` // The vertical offset of the watermark for the teacher’s video, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle vertically. Value range: 0-100. TeacherY *float64 `json:"TeacherY,omitempty" name:"TeacherY"` // The watermark text. If you pass in an empty string, there will be no text. Text *string `json:"Text,omitempty" name:"Text"` // The watermark text color. TextColor *string `json:"TextColor,omitempty" name:"TextColor"` }
Predefined struct for user
type SetWatermarkResponse ¶
type SetWatermarkResponse struct { *tchttp.BaseResponse Response *SetWatermarkResponseParams `json:"Response"` }
func NewSetWatermarkResponse ¶
func NewSetWatermarkResponse() (response *SetWatermarkResponse)
func (*SetWatermarkResponse) FromJsonString ¶
func (r *SetWatermarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetWatermarkResponse) ToJsonString ¶
func (r *SetWatermarkResponse) ToJsonString() string
type SetWatermarkResponseParams ¶
type SetWatermarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TextMarkConfig ¶
type TextMarkConfig struct { // The watermark text. // Note: This field may return null, indicating that no valid values can be obtained. Text *string `json:"Text,omitempty" name:"Text"` // The watermark text color. // Note: This field may return null, indicating that no valid values can be obtained. Color *string `json:"Color,omitempty" name:"Color"` }
type UnbindDocumentFromRoomRequest ¶
type UnbindDocumentFromRoomRequest struct { *tchttp.BaseRequest // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Document ID DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
func NewUnbindDocumentFromRoomRequest ¶
func NewUnbindDocumentFromRoomRequest() (request *UnbindDocumentFromRoomRequest)
func (*UnbindDocumentFromRoomRequest) FromJsonString ¶
func (r *UnbindDocumentFromRoomRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindDocumentFromRoomRequest) ToJsonString ¶
func (r *UnbindDocumentFromRoomRequest) ToJsonString() string
type UnbindDocumentFromRoomRequestParams ¶
type UnbindDocumentFromRoomRequestParams struct { // Room ID RoomId *uint64 `json:"RoomId,omitempty" name:"RoomId"` // Document ID DocumentId *string `json:"DocumentId,omitempty" name:"DocumentId"` }
Predefined struct for user
type UnbindDocumentFromRoomResponse ¶
type UnbindDocumentFromRoomResponse struct { *tchttp.BaseResponse Response *UnbindDocumentFromRoomResponseParams `json:"Response"` }
func NewUnbindDocumentFromRoomResponse ¶
func NewUnbindDocumentFromRoomResponse() (response *UnbindDocumentFromRoomResponse)
func (*UnbindDocumentFromRoomResponse) FromJsonString ¶
func (r *UnbindDocumentFromRoomResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindDocumentFromRoomResponse) ToJsonString ¶
func (r *UnbindDocumentFromRoomResponse) ToJsonString() string
type UnbindDocumentFromRoomResponseParams ¶
type UnbindDocumentFromRoomResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UserInfo ¶
type UserInfo struct { // The application ID. // Note: This field may return null, indicating that no valid values can be obtained. SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` // The user ID. // Note: This field may return null, indicating that no valid values can be obtained. UserId *string `json:"UserId,omitempty" name:"UserId"` // The username. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // The URL of profile photo. // Note: This field may return null, indicating that no valid values can be obtained. Avatar *string `json:"Avatar,omitempty" name:"Avatar"` }
type WatermarkConfig ¶
type WatermarkConfig struct { // The URL of the watermark image. // Note: This field may return null, indicating that no valid values can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // The watermark width, which is expressed as a percentage of the video width. // Note: This field may return null, indicating that no valid values can be obtained. Width *float64 `json:"Width,omitempty" name:"Width"` // The watermark height, which is expressed as a percentage of the video height. // Note: This field may return null, indicating that no valid values can be obtained. Height *float64 `json:"Height,omitempty" name:"Height"` // The horizontal offset of the watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle horizontally. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. LocationX *float64 `json:"LocationX,omitempty" name:"LocationX"` // The vertical offset of the watermark, which is expressed as a percentage of the video width. For example, `50` indicates that the watermark will appear in the middle vertically. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. LocationY *float64 `json:"LocationY,omitempty" name:"LocationY"` }