Documentation ¶
Overview ¶
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
Index ¶
- Constants
- Variables
- func GetErrorCode(err error) int64
- func NewError(scope, funcName string, code int64, msg string) error
- type ACSService
- func (r *ACSService) GetACSAccessRecordList(ctx context.Context, request *GetACSAccessRecordListReq, ...) (*GetACSAccessRecordListResp, *Response, error)
- func (r *ACSService) GetACSAccessRecordPhoto(ctx context.Context, request *GetACSAccessRecordPhotoReq, ...) (*GetACSAccessRecordPhotoResp, *Response, error)
- func (r *ACSService) GetACSDeviceList(ctx context.Context, request *GetACSDeviceListReq, options ...MethodOptionFunc) (*GetACSDeviceListResp, *Response, error)
- func (r *ACSService) GetACSUser(ctx context.Context, request *GetACSUserReq, options ...MethodOptionFunc) (*GetACSUserResp, *Response, error)
- func (r *ACSService) GetACSUserFace(ctx context.Context, request *GetACSUserFaceReq, options ...MethodOptionFunc) (*GetACSUserFaceResp, *Response, error)
- func (r *ACSService) GetACSUserList(ctx context.Context, request *GetACSUserListReq, options ...MethodOptionFunc) (*GetACSUserListResp, *Response, error)
- func (r *ACSService) UpdateACSUser(ctx context.Context, request *UpdateACSUserReq, options ...MethodOptionFunc) (*UpdateACSUserResp, *Response, error)
- func (r *ACSService) UpdateACSUserFace(ctx context.Context, request *UpdateACSUserFaceReq, ...) (*UpdateACSUserFaceResp, *Response, error)
- type AIService
- func (r *AIService) DetectFaceAttributes(ctx context.Context, request *DetectFaceAttributesReq, ...) (*DetectFaceAttributesResp, *Response, error)
- func (r *AIService) DetectTextLanguage(ctx context.Context, request *DetectTextLanguageReq, ...) (*DetectTextLanguageResp, *Response, error)
- func (r *AIService) RecognizeBasicImage(ctx context.Context, request *RecognizeBasicImageReq, ...) (*RecognizeBasicImageResp, *Response, error)
- func (r *AIService) RecognizeSpeechFile(ctx context.Context, request *RecognizeSpeechFileReq, ...) (*RecognizeSpeechFileResp, *Response, error)
- func (r *AIService) RecognizeSpeechStream(ctx context.Context, request *RecognizeSpeechStreamReq, ...) (*RecognizeSpeechStreamResp, *Response, error)
- func (r *AIService) TranslateText(ctx context.Context, request *TranslateTextReq, options ...MethodOptionFunc) (*TranslateTextResp, *Response, error)
- type AddApprovalInstanceSignReq
- type AddApprovalInstanceSignResp
- type AddBotToChatReq
- type AddBotToChatResp
- type AddChatMemberReq
- type AddChatMemberResp
- type AddContactGroupMemberReq
- type AddContactGroupMemberResp
- type AddMemberPermission
- type AddSheetDimensionRangeReq
- type AddSheetDimensionRangeReqDimension
- type AddSheetDimensionRangeResp
- type AddWikiSpaceMemberReq
- type AddWikiSpaceMemberResp
- type AddWikiSpaceMemberRespMember
- type AdminService
- type AnswerHelpdeskTicketUserQueryReq
- type AnswerHelpdeskTicketUserQueryReqFAQ
- type AnswerHelpdeskTicketUserQueryResp
- type AppLinkService
- func (r *AppLinkService) OpenBot(req *OpenBotReq) string
- func (r *AppLinkService) OpenCalender(req *OpenCalenderReq) string
- func (r *AppLinkService) OpenCalenderAccount(req *OpenCalenderAccountReq) string
- func (r *AppLinkService) OpenCalenderEventCreate(req *OpenCalenderEventCreateReq) string
- func (r *AppLinkService) OpenCalenderView(req *OpenCalenderViewReq) string
- func (r *AppLinkService) OpenChat(req *OpenChatReq) string
- func (r *AppLinkService) OpenDocs(req *OpenDocsReq) string
- func (r *AppLinkService) OpenLark(req *OpenLarkReq) string
- func (r *AppLinkService) OpenMiniProgram(req *OpenMiniProgramReq) string
- func (r *AppLinkService) OpenSSOLogin(req *OpenSSOLoginReq) string
- func (r *AppLinkService) OpenTask(req *OpenTaskReq) string
- func (r *AppLinkService) OpenTaskCreate(req *OpenTaskCreateReq) string
- func (r *AppLinkService) OpenTaskDetail(req *OpenTaskDetailReq) string
- func (r *AppLinkService) OpenTaskTab(req *OpenTaskTabReq) string
- func (r *AppLinkService) OpenWebApp(req *OpenWebAppReq) string
- func (r *AppLinkService) OpenWebURL(req *OpenWebURLReq) string
- type AppendSheetValueReq
- type AppendSheetValueReqValueRange
- type AppendSheetValueResp
- type AppendSheetValueRespUpdates
- type ApplicationService
- func (r *ApplicationService) CheckUserIsInApplicationPaidScope(ctx context.Context, request *CheckUserIsInApplicationPaidScopeReq, ...) (*CheckUserIsInApplicationPaidScopeResp, *Response, error)
- func (r *ApplicationService) GetApplication(ctx context.Context, request *GetApplicationReq, options ...MethodOptionFunc) (*GetApplicationResp, *Response, error)
- func (r *ApplicationService) GetApplicationAppAdminUserList(ctx context.Context, request *GetApplicationAppAdminUserListReq, ...) (*GetApplicationAppAdminUserListResp, *Response, error)
- func (r *ApplicationService) GetApplicationAppList(ctx context.Context, request *GetApplicationAppListReq, ...) (*GetApplicationAppListResp, *Response, error)
- func (r *ApplicationService) GetApplicationAppVisibility(ctx context.Context, request *GetApplicationAppVisibilityReq, ...) (*GetApplicationAppVisibilityResp, *Response, error)
- func (r *ApplicationService) GetApplicationMessageDetail(ctx context.Context, request *GetApplicationMessageDetailReq, ...) (*GetApplicationMessageDetailResp, *Response, error)
- func (r *ApplicationService) GetApplicationMessageOverview(ctx context.Context, request *GetApplicationMessageOverviewReq, ...) (*GetApplicationMessageOverviewResp, *Response, error)
- func (r *ApplicationService) GetApplicationMessageTrend(ctx context.Context, request *GetApplicationMessageTrendReq, ...) (*GetApplicationMessageTrendResp, *Response, error)
- func (r *ApplicationService) GetApplicationOrder(ctx context.Context, request *GetApplicationOrderReq, ...) (*GetApplicationOrderResp, *Response, error)
- func (r *ApplicationService) GetApplicationOrderList(ctx context.Context, request *GetApplicationOrderListReq, ...) (*GetApplicationOrderListResp, *Response, error)
- func (r *ApplicationService) GetApplicationUnderAuditList(ctx context.Context, request *GetApplicationUnderAuditListReq, ...) (*GetApplicationUnderAuditListResp, *Response, error)
- func (r *ApplicationService) GetApplicationUsageDetail(ctx context.Context, request *GetApplicationUsageDetailReq, ...) (*GetApplicationUsageDetailResp, *Response, error)
- func (r *ApplicationService) GetApplicationUsageOverview(ctx context.Context, request *GetApplicationUsageOverviewReq, ...) (*GetApplicationUsageOverviewResp, *Response, error)
- func (r *ApplicationService) GetApplicationUsageTrend(ctx context.Context, request *GetApplicationUsageTrendReq, ...) (*GetApplicationUsageTrendResp, *Response, error)
- func (r *ApplicationService) GetApplicationUserAdminScope(ctx context.Context, request *GetApplicationUserAdminScopeReq, ...) (*GetApplicationUserAdminScopeResp, *Response, error)
- func (r *ApplicationService) GetApplicationUserVisibleApp(ctx context.Context, request *GetApplicationUserVisibleAppReq, ...) (*GetApplicationUserVisibleAppResp, *Response, error)
- func (r *ApplicationService) GetApplicationVersion(ctx context.Context, request *GetApplicationVersionReq, ...) (*GetApplicationVersionResp, *Response, error)
- func (r *ApplicationService) IsApplicationUserAdmin(ctx context.Context, request *IsApplicationUserAdminReq, ...) (*IsApplicationUserAdminResp, *Response, error)
- func (r *ApplicationService) UpdateApplication(ctx context.Context, request *UpdateApplicationReq, ...) (*UpdateApplicationResp, *Response, error)
- func (r *ApplicationService) UpdateApplicationAppVisibility(ctx context.Context, request *UpdateApplicationAppVisibilityReq, ...) (*UpdateApplicationAppVisibilityResp, *Response, error)
- func (r *ApplicationService) UpdateApplicationVersion(ctx context.Context, request *UpdateApplicationVersionReq, ...) (*UpdateApplicationVersionResp, *Response, error)
- type ApplyVCReserveReq
- type ApplyVCReserveReqMeetingSettings
- type ApplyVCReserveReqMeetingSettingsActionPermission
- type ApplyVCReserveReqMeetingSettingsActionPermissionPermissionChecker
- type ApplyVCReserveReqMeetingSettingsCallSetting
- type ApplyVCReserveReqMeetingSettingsCallSettingCallee
- type ApplyVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo
- type ApplyVCReserveResp
- type ApplyVCReserveRespReserve
- type ApprovalService
- func (r *ApprovalService) AddApprovalInstanceSign(ctx context.Context, request *AddApprovalInstanceSignReq, ...) (*AddApprovalInstanceSignResp, *Response, error)
- func (r *ApprovalService) ApproveApprovalInstance(ctx context.Context, request *ApproveApprovalInstanceReq, ...) (*ApproveApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) CancelApprovalInstance(ctx context.Context, request *CancelApprovalInstanceReq, ...) (*CancelApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) CreateApprovalCarbonCopy(ctx context.Context, request *CreateApprovalCarbonCopyReq, ...) (*CreateApprovalCarbonCopyResp, *Response, error)
- func (r *ApprovalService) CreateApprovalInstance(ctx context.Context, request *CreateApprovalInstanceReq, ...) (*CreateApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) GetApproval(ctx context.Context, request *GetApprovalReq, options ...MethodOptionFunc) (*GetApprovalResp, *Response, error)
- func (r *ApprovalService) GetApprovalInstance(ctx context.Context, request *GetApprovalInstanceReq, ...) (*GetApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) GetApprovalInstanceList(ctx context.Context, request *GetApprovalInstanceListReq, ...) (*GetApprovalInstanceListResp, *Response, error)
- func (r *ApprovalService) GetApprovalUserTaskList(ctx context.Context, request *GetApprovalUserTaskListReq, ...) (*GetApprovalUserTaskListResp, *Response, error)
- func (r *ApprovalService) PreviewApprovalInstance(ctx context.Context, request *PreviewApprovalInstanceReq, ...) (*PreviewApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) RejectApprovalInstance(ctx context.Context, request *RejectApprovalInstanceReq, ...) (*RejectApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) RollbackApprovalInstance(ctx context.Context, request *RollbackApprovalInstanceReq, ...) (*RollbackApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) SearchApprovalCarbonCopy(ctx context.Context, request *SearchApprovalCarbonCopyReq, ...) (*SearchApprovalCarbonCopyResp, *Response, error)
- func (r *ApprovalService) SearchApprovalInstance(ctx context.Context, request *SearchApprovalInstanceReq, ...) (*SearchApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) SearchApprovalTask(ctx context.Context, request *SearchApprovalTaskReq, ...) (*SearchApprovalTaskResp, *Response, error)
- func (r *ApprovalService) SubscribeApprovalSubscription(ctx context.Context, request *SubscribeApprovalSubscriptionReq, ...) (*SubscribeApprovalSubscriptionResp, *Response, error)
- func (r *ApprovalService) TransferApprovalInstance(ctx context.Context, request *TransferApprovalInstanceReq, ...) (*TransferApprovalInstanceResp, *Response, error)
- func (r *ApprovalService) UnsubscribeApprovalSubscription(ctx context.Context, request *UnsubscribeApprovalSubscriptionReq, ...) (*UnsubscribeApprovalSubscriptionResp, *Response, error)
- func (r *ApprovalService) UpdateApprovalMessage(ctx context.Context, request *UpdateApprovalMessageReq, ...) (*UpdateApprovalMessageResp, *Response, error)
- func (r *ApprovalService) UploadApprovalFile(ctx context.Context, request *UploadApprovalFileReq, ...) (*UploadApprovalFileResp, *Response, error)
- type ApprovalWidget
- type ApprovalWidgetList
- type ApprovalWidgetOption
- type ApprovalWidgetOptions
- type ApprovalWidgetType
- type ApprovalWidgetValue
- type ApproveApprovalInstanceReq
- type ApproveApprovalInstanceResp
- type AtAllPermission
- type AttendanceService
- func (r *AttendanceService) BatchCreateAttendanceUserDailyShift(ctx context.Context, request *BatchCreateAttendanceUserDailyShiftReq, ...) (*BatchCreateAttendanceUserDailyShiftResp, *Response, error)
- func (r *AttendanceService) BatchCreateAttendanceUserFlow(ctx context.Context, request *BatchCreateAttendanceUserFlowReq, ...) (*BatchCreateAttendanceUserFlowResp, *Response, error)
- func (r *AttendanceService) BatchGetAttendanceUserFlow(ctx context.Context, request *BatchGetAttendanceUserFlowReq, ...) (*BatchGetAttendanceUserFlowResp, *Response, error)
- func (r *AttendanceService) CreateAttendanceGroup(ctx context.Context, request *CreateAttendanceGroupReq, ...) (*CreateAttendanceGroupResp, *Response, error)
- func (r *AttendanceService) CreateAttendanceShift(ctx context.Context, request *CreateAttendanceShiftReq, ...) (*CreateAttendanceShiftResp, *Response, error)
- func (r *AttendanceService) CreateAttendanceUserApproval(ctx context.Context, request *CreateAttendanceUserApprovalReq, ...) (*CreateAttendanceUserApprovalResp, *Response, error)
- func (r *AttendanceService) CreateAttendanceUserTaskRemedy(ctx context.Context, request *CreateAttendanceUserTaskRemedyReq, ...) (*CreateAttendanceUserTaskRemedyResp, *Response, error)
- func (r *AttendanceService) CreateUpdateAttendanceUserDailyShift(ctx context.Context, request *CreateUpdateAttendanceUserDailyShiftReq, ...) (*CreateUpdateAttendanceUserDailyShiftResp, *Response, error)
- func (r *AttendanceService) DeleteAttendanceGroup(ctx context.Context, request *DeleteAttendanceGroupReq, ...) (*DeleteAttendanceGroupResp, *Response, error)
- func (r *AttendanceService) DeleteAttendanceShift(ctx context.Context, request *DeleteAttendanceShiftReq, ...) (*DeleteAttendanceShiftResp, *Response, error)
- func (r *AttendanceService) DownloadAttendanceFile(ctx context.Context, request *DownloadAttendanceFileReq, ...) (*DownloadAttendanceFileResp, *Response, error)
- func (r *AttendanceService) GetAttendanceGroup(ctx context.Context, request *GetAttendanceGroupReq, ...) (*GetAttendanceGroupResp, *Response, error)
- func (r *AttendanceService) GetAttendanceShift(ctx context.Context, request *GetAttendanceShiftReq, ...) (*GetAttendanceShiftResp, *Response, error)
- func (r *AttendanceService) GetAttendanceShiftDetail(ctx context.Context, request *GetAttendanceShiftDetailReq, ...) (*GetAttendanceShiftDetailResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserAllowedRemedy(ctx context.Context, request *GetAttendanceUserAllowedRemedyReq, ...) (*GetAttendanceUserAllowedRemedyResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserApproval(ctx context.Context, request *GetAttendanceUserApprovalReq, ...) (*GetAttendanceUserApprovalResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserDailyShift(ctx context.Context, request *GetAttendanceUserDailyShiftReq, ...) (*GetAttendanceUserDailyShiftResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserFlow(ctx context.Context, request *GetAttendanceUserFlowReq, ...) (*GetAttendanceUserFlowResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserSettingList(ctx context.Context, request *GetAttendanceUserSettingListReq, ...) (*GetAttendanceUserSettingListResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserStatsData(ctx context.Context, request *GetAttendanceUserStatsDataReq, ...) (*GetAttendanceUserStatsDataResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserStatsField(ctx context.Context, request *GetAttendanceUserStatsFieldReq, ...) (*GetAttendanceUserStatsFieldResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserStatsView(ctx context.Context, request *GetAttendanceUserStatsViewReq, ...) (*GetAttendanceUserStatsViewResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserTask(ctx context.Context, request *GetAttendanceUserTaskReq, ...) (*GetAttendanceUserTaskResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserTaskRemedy(ctx context.Context, request *GetAttendanceUserTaskRemedyReq, ...) (*GetAttendanceUserTaskRemedyResp, *Response, error)
- func (r *AttendanceService) GetAttendanceUserTaskRemedyAllowedRemedyList(ctx context.Context, request *GetAttendanceUserTaskRemedyAllowedRemedyListReq, ...) (*GetAttendanceUserTaskRemedyAllowedRemedyListResp, *Response, error)
- func (r *AttendanceService) InitAttendanceRemedyApproval(ctx context.Context, request *InitAttendanceRemedyApprovalReq, ...) (*InitAttendanceRemedyApprovalResp, *Response, error)
- func (r *AttendanceService) SearchAttendanceGroup(ctx context.Context, request *SearchAttendanceGroupReq, ...) (*SearchAttendanceGroupResp, *Response, error)
- func (r *AttendanceService) UpdateAttendanceRemedyApproval(ctx context.Context, request *UpdateAttendanceRemedyApprovalReq, ...) (*UpdateAttendanceRemedyApprovalResp, *Response, error)
- func (r *AttendanceService) UpdateAttendanceUserSetting(ctx context.Context, request *UpdateAttendanceUserSettingReq, ...) (*UpdateAttendanceUserSettingResp, *Response, error)
- func (r *AttendanceService) UpdateAttendanceUserStatsView(ctx context.Context, request *UpdateAttendanceUserStatsViewReq, ...) (*UpdateAttendanceUserStatsViewResp, *Response, error)
- func (r *AttendanceService) UploadAttendanceFile(ctx context.Context, request *UploadAttendanceFileReq, ...) (*UploadAttendanceFileResp, *Response, error)
- type AuthService
- func (r *AuthService) GenOAuthURL(ctx context.Context, request *GenOAuthURLReq) string
- func (r *AuthService) GetAccessToken(ctx context.Context, request *GetAccessTokenReq, options ...MethodOptionFunc) (*GetAccessTokenResp, *Response, error)
- func (r *AuthService) GetAppAccessToken(ctx context.Context) (*TokenExpire, *Response, error)
- func (r *AuthService) GetAppTicket(ctx context.Context) (string, error)
- func (r *AuthService) GetTenantAccessToken(ctx context.Context) (*TokenExpire, *Response, error)
- func (r *AuthService) GetUserInfo(ctx context.Context, request *GetUserInfoReq, options ...MethodOptionFunc) (*GetUserInfoResp, *Response, error)
- func (r *AuthService) RefreshAccessToken(ctx context.Context, request *RefreshAccessTokenReq, ...) (*RefreshAccessTokenResp, *Response, error)
- func (r *AuthService) ResendAppTicket(ctx context.Context, request *ResendAppTicketReq, options ...MethodOptionFunc) (*ResendAppTicketResp, *Response, error)
- func (r *AuthService) SetAppTicket(ctx context.Context, appTicket string) error
- type BatchCreateAttendanceUserDailyShiftReq
- type BatchCreateAttendanceUserDailyShiftReqUserDailyShift
- type BatchCreateAttendanceUserDailyShiftResp
- type BatchCreateAttendanceUserDailyShiftRespUserDailyShift
- type BatchCreateAttendanceUserFlowReq
- type BatchCreateAttendanceUserFlowReqFlowRecord
- type BatchCreateAttendanceUserFlowResp
- type BatchCreateAttendanceUserFlowRespFlowRecord
- type BatchCreateBitableRecordReq
- type BatchCreateBitableRecordReqRecord
- type BatchCreateBitableRecordResp
- type BatchCreateBitableRecordRespRecord
- type BatchCreateBitableTableReq
- type BatchCreateBitableTableReqTable
- type BatchCreateBitableTableResp
- type BatchDeleteBitableRecordReq
- type BatchDeleteBitableRecordResp
- type BatchDeleteBitableRecordRespRecord
- type BatchDeleteBitableTableReq
- type BatchDeleteBitableTableResp
- type BatchDeleteMessageReq
- type BatchDeleteMessageResp
- type BatchGetAttendanceUserFlowReq
- type BatchGetAttendanceUserFlowResp
- type BatchGetAttendanceUserFlowRespUserFlowResult
- type BatchGetDriveMediaTmpDownloadURLReq
- type BatchGetDriveMediaTmpDownloadURLResp
- type BatchGetDriveMediaTmpDownloadURLRespTmpDownloadURL
- type BatchGetMeetingRoomBuildingIDReq
- type BatchGetMeetingRoomBuildingIDResp
- type BatchGetMeetingRoomBuildingIDRespBuilding
- type BatchGetMeetingRoomBuildingReq
- type BatchGetMeetingRoomBuildingResp
- type BatchGetMeetingRoomBuildingRespBuilding
- type BatchGetMeetingRoomFreebusyReq
- type BatchGetMeetingRoomFreebusyResp
- type BatchGetMeetingRoomFreebusyRespFreeBusy
- type BatchGetMeetingRoomFreebusyRespFreeBusyRoomID
- type BatchGetMeetingRoomFreebusyRespFreeBusyRoomIDOrganizerInfo
- type BatchGetMeetingRoomRoomIDReq
- type BatchGetMeetingRoomRoomIDResp
- type BatchGetMeetingRoomRoomIDRespRoom
- type BatchGetMeetingRoomRoomReq
- type BatchGetMeetingRoomRoomResp
- type BatchGetMeetingRoomRoomRespRoom
- type BatchGetMeetingRoomSummaryReq
- type BatchGetMeetingRoomSummaryReqEventUid
- type BatchGetMeetingRoomSummaryResp
- type BatchGetMeetingRoomSummaryRespErrorEventUid
- type BatchGetMeetingRoomSummaryRespEventInfo
- type BatchGetOKRReq
- type BatchGetOKRResp
- type BatchGetOKRRespOKR
- type BatchGetOKRRespOKRObjective
- type BatchGetOKRRespOKRObjectiveAlignedObjective
- type BatchGetOKRRespOKRObjectiveAlignedObjectiveOwner
- type BatchGetOKRRespOKRObjectiveAligningObjective
- type BatchGetOKRRespOKRObjectiveAligningObjectiveOwner
- type BatchGetOKRRespOKRObjectiveKr
- type BatchGetOKRRespOKRObjectiveKrProgressRate
- type BatchGetOKRRespOKRObjectiveProgressRate
- type BatchGetSheetValueReq
- type BatchGetSheetValueResp
- type BatchGetSheetValueRespValueRange
- type BatchGetUserByIDOldReq
- type BatchGetUserByIDOldResp
- type BatchGetUserByIDOldRespEmailUser
- type BatchGetUserByIDReq
- type BatchGetUserByIDResp
- type BatchGetUserByIDRespUser
- type BatchGetUserReq
- type BatchGetUserResp
- type BatchGetUserRespUserInfo
- type BatchSendOldRawMessageReq
- type BatchSendOldRawMessageResp
- type BatchSetSheetStyleReq
- type BatchSetSheetStyleReqData
- type BatchSetSheetStyleReqDataStyle
- type BatchSetSheetStyleReqDataStyleFont
- type BatchSetSheetStyleResp
- type BatchSetSheetStyleRespResponse
- type BatchSetSheetValueReq
- type BatchSetSheetValueReqValueRange
- type BatchSetSheetValueResp
- type BatchSetSheetValueRespResponse
- type BatchUpdateBitableRecordReq
- type BatchUpdateBitableRecordReqRecord
- type BatchUpdateBitableRecordResp
- type BatchUpdateBitableRecordRespRecord
- type BatchUpdateSheetReq
- type BatchUpdateSheetReqRequest
- type BatchUpdateSheetReqRequestAddSheet
- type BatchUpdateSheetReqRequestAddSheetProperties
- type BatchUpdateSheetReqRequestCopySheet
- type BatchUpdateSheetReqRequestCopySheetDestination
- type BatchUpdateSheetReqRequestCopySheetSource
- type BatchUpdateSheetReqRequestDeleteSheet
- type BatchUpdateSheetReqRequestUpdateSheet
- type BatchUpdateSheetReqRequestUpdateSheetProperties
- type BatchUpdateSheetReqRequestUpdateSheetPropertiesProtect
- type BatchUpdateSheetResp
- type BatchUpdateSheetRespReply
- type BatchUpdateSheetRespReplyAddSheet
- type BatchUpdateSheetRespReplyAddSheetProperties
- type BatchUpdateSheetRespReplyCopySheet
- type BatchUpdateSheetRespReplyCopySheetProperties
- type BatchUpdateSheetRespReplyDeleteSheet
- type BatchUpdateSheetRespReplyUpdateSheet
- type BatchUpdateSheetRespReplyUpdateSheetProperties
- type BatchUpdateSheetRespReplyUpdateSheetPropertiesProtect
- type BindContactUnitDepartmentReq
- type BindContactUnitDepartmentResp
- type BitableService
- func (r *BitableService) BatchCreateBitableRecord(ctx context.Context, request *BatchCreateBitableRecordReq, ...) (*BatchCreateBitableRecordResp, *Response, error)
- func (r *BitableService) BatchCreateBitableTable(ctx context.Context, request *BatchCreateBitableTableReq, ...) (*BatchCreateBitableTableResp, *Response, error)
- func (r *BitableService) BatchDeleteBitableRecord(ctx context.Context, request *BatchDeleteBitableRecordReq, ...) (*BatchDeleteBitableRecordResp, *Response, error)
- func (r *BitableService) BatchDeleteBitableTable(ctx context.Context, request *BatchDeleteBitableTableReq, ...) (*BatchDeleteBitableTableResp, *Response, error)
- func (r *BitableService) BatchUpdateBitableRecord(ctx context.Context, request *BatchUpdateBitableRecordReq, ...) (*BatchUpdateBitableRecordResp, *Response, error)
- func (r *BitableService) CreateBitableField(ctx context.Context, request *CreateBitableFieldReq, ...) (*CreateBitableFieldResp, *Response, error)
- func (r *BitableService) CreateBitableRecord(ctx context.Context, request *CreateBitableRecordReq, ...) (*CreateBitableRecordResp, *Response, error)
- func (r *BitableService) CreateBitableTable(ctx context.Context, request *CreateBitableTableReq, ...) (*CreateBitableTableResp, *Response, error)
- func (r *BitableService) CreateBitableView(ctx context.Context, request *CreateBitableViewReq, ...) (*CreateBitableViewResp, *Response, error)
- func (r *BitableService) DeleteBitableField(ctx context.Context, request *DeleteBitableFieldReq, ...) (*DeleteBitableFieldResp, *Response, error)
- func (r *BitableService) DeleteBitableRecord(ctx context.Context, request *DeleteBitableRecordReq, ...) (*DeleteBitableRecordResp, *Response, error)
- func (r *BitableService) DeleteBitableTable(ctx context.Context, request *DeleteBitableTableReq, ...) (*DeleteBitableTableResp, *Response, error)
- func (r *BitableService) DeleteBitableView(ctx context.Context, request *DeleteBitableViewReq, ...) (*DeleteBitableViewResp, *Response, error)
- func (r *BitableService) GetBitableFieldList(ctx context.Context, request *GetBitableFieldListReq, ...) (*GetBitableFieldListResp, *Response, error)
- func (r *BitableService) GetBitableMeta(ctx context.Context, request *GetBitableMetaReq, options ...MethodOptionFunc) (*GetBitableMetaResp, *Response, error)
- func (r *BitableService) GetBitableRecord(ctx context.Context, request *GetBitableRecordReq, options ...MethodOptionFunc) (*GetBitableRecordResp, *Response, error)
- func (r *BitableService) GetBitableRecordList(ctx context.Context, request *GetBitableRecordListReq, ...) (*GetBitableRecordListResp, *Response, error)
- func (r *BitableService) GetBitableTableList(ctx context.Context, request *GetBitableTableListReq, ...) (*GetBitableTableListResp, *Response, error)
- func (r *BitableService) GetBitableViewList(ctx context.Context, request *GetBitableViewListReq, ...) (*GetBitableViewListResp, *Response, error)
- func (r *BitableService) UpdateBitableField(ctx context.Context, request *UpdateBitableFieldReq, ...) (*UpdateBitableFieldResp, *Response, error)
- func (r *BitableService) UpdateBitableRecord(ctx context.Context, request *UpdateBitableRecordReq, ...) (*UpdateBitableRecordResp, *Response, error)
- type BotService
- type CalendarEventAttendeeType
- type CalendarPermission
- type CalendarRole
- type CalendarService
- func (r *CalendarService) CreateCalendar(ctx context.Context, request *CreateCalendarReq, options ...MethodOptionFunc) (*CreateCalendarResp, *Response, error)
- func (r *CalendarService) CreateCalendarACL(ctx context.Context, request *CreateCalendarACLReq, ...) (*CreateCalendarACLResp, *Response, error)
- func (r *CalendarService) CreateCalendarEvent(ctx context.Context, request *CreateCalendarEventReq, ...) (*CreateCalendarEventResp, *Response, error)
- func (r *CalendarService) CreateCalendarEventAttendee(ctx context.Context, request *CreateCalendarEventAttendeeReq, ...) (*CreateCalendarEventAttendeeResp, *Response, error)
- func (r *CalendarService) CreateCalendarExchangeBinding(ctx context.Context, request *CreateCalendarExchangeBindingReq, ...) (*CreateCalendarExchangeBindingResp, *Response, error)
- func (r *CalendarService) CreateCalendarTimeoffEvent(ctx context.Context, request *CreateCalendarTimeoffEventReq, ...) (*CreateCalendarTimeoffEventResp, *Response, error)
- func (r *CalendarService) DeleteCalendar(ctx context.Context, request *DeleteCalendarReq, options ...MethodOptionFunc) (*DeleteCalendarResp, *Response, error)
- func (r *CalendarService) DeleteCalendarACL(ctx context.Context, request *DeleteCalendarACLReq, ...) (*DeleteCalendarACLResp, *Response, error)
- func (r *CalendarService) DeleteCalendarEvent(ctx context.Context, request *DeleteCalendarEventReq, ...) (*DeleteCalendarEventResp, *Response, error)
- func (r *CalendarService) DeleteCalendarEventAttendee(ctx context.Context, request *DeleteCalendarEventAttendeeReq, ...) (*DeleteCalendarEventAttendeeResp, *Response, error)
- func (r *CalendarService) DeleteCalendarExchangeBinding(ctx context.Context, request *DeleteCalendarExchangeBindingReq, ...) (*DeleteCalendarExchangeBindingResp, *Response, error)
- func (r *CalendarService) DeleteCalendarTimeoffEvent(ctx context.Context, request *DeleteCalendarTimeoffEventReq, ...) (*DeleteCalendarTimeoffEventResp, *Response, error)
- func (r *CalendarService) GenerateCaldavConf(ctx context.Context, request *GenerateCaldavConfReq, ...) (*GenerateCaldavConfResp, *Response, error)
- func (r *CalendarService) GetCalendar(ctx context.Context, request *GetCalendarReq, options ...MethodOptionFunc) (*GetCalendarResp, *Response, error)
- func (r *CalendarService) GetCalendarACLList(ctx context.Context, request *GetCalendarACLListReq, ...) (*GetCalendarACLListResp, *Response, error)
- func (r *CalendarService) GetCalendarEvent(ctx context.Context, request *GetCalendarEventReq, options ...MethodOptionFunc) (*GetCalendarEventResp, *Response, error)
- func (r *CalendarService) GetCalendarEventAttendeeChatMemberList(ctx context.Context, request *GetCalendarEventAttendeeChatMemberListReq, ...) (*GetCalendarEventAttendeeChatMemberListResp, *Response, error)
- func (r *CalendarService) GetCalendarEventAttendeeList(ctx context.Context, request *GetCalendarEventAttendeeListReq, ...) (*GetCalendarEventAttendeeListResp, *Response, error)
- func (r *CalendarService) GetCalendarEventList(ctx context.Context, request *GetCalendarEventListReq, ...) (*GetCalendarEventListResp, *Response, error)
- func (r *CalendarService) GetCalendarExchangeBinding(ctx context.Context, request *GetCalendarExchangeBindingReq, ...) (*GetCalendarExchangeBindingResp, *Response, error)
- func (r *CalendarService) GetCalendarFreeBusyList(ctx context.Context, request *GetCalendarFreeBusyListReq, ...) (*GetCalendarFreeBusyListResp, *Response, error)
- func (r *CalendarService) GetCalendarList(ctx context.Context, request *GetCalendarListReq, options ...MethodOptionFunc) (*GetCalendarListResp, *Response, error)
- func (r *CalendarService) SearchCalendar(ctx context.Context, request *SearchCalendarReq, options ...MethodOptionFunc) (*SearchCalendarResp, *Response, error)
- func (r *CalendarService) SearchCalendarEvent(ctx context.Context, request *SearchCalendarEventReq, ...) (*SearchCalendarEventResp, *Response, error)
- func (r *CalendarService) SubscribeCalendar(ctx context.Context, request *SubscribeCalendarReq, ...) (*SubscribeCalendarResp, *Response, error)
- func (r *CalendarService) SubscribeCalendarACL(ctx context.Context, request *SubscribeCalendarACLReq, ...) (*SubscribeCalendarACLResp, *Response, error)
- func (r *CalendarService) SubscribeCalendarChangeEvent(ctx context.Context, request *SubscribeCalendarChangeEventReq, ...) (*SubscribeCalendarChangeEventResp, *Response, error)
- func (r *CalendarService) SubscribeCalendarEvent(ctx context.Context, request *SubscribeCalendarEventReq, ...) (*SubscribeCalendarEventResp, *Response, error)
- func (r *CalendarService) UnsubscribeCalendar(ctx context.Context, request *UnsubscribeCalendarReq, ...) (*UnsubscribeCalendarResp, *Response, error)
- func (r *CalendarService) UpdateCalendar(ctx context.Context, request *UpdateCalendarReq, options ...MethodOptionFunc) (*UpdateCalendarResp, *Response, error)
- func (r *CalendarService) UpdateCalendarEvent(ctx context.Context, request *UpdateCalendarEventReq, ...) (*UpdateCalendarEventResp, *Response, error)
- type CalendarType
- type CancelApprovalInstanceReq
- type CancelApprovalInstanceResp
- type CancelApproveHelpdeskNotificationReq
- type CancelApproveHelpdeskNotificationResp
- type CancelSendHelpdeskNotificationReq
- type CancelSendHelpdeskNotificationResp
- type ChatService
- func (r *ChatService) AddChatMember(ctx context.Context, request *AddChatMemberReq, options ...MethodOptionFunc) (*AddChatMemberResp, *Response, error)
- func (r *ChatService) CreateChat(ctx context.Context, request *CreateChatReq, options ...MethodOptionFunc) (*CreateChatResp, *Response, error)
- func (r *ChatService) CreateChatManager(ctx context.Context, request *CreateChatManagerReq, ...) (*CreateChatManagerResp, *Response, error)
- func (r *ChatService) DeleteChat(ctx context.Context, request *DeleteChatReq, options ...MethodOptionFunc) (*DeleteChatResp, *Response, error)
- func (r *ChatService) DeleteChatManager(ctx context.Context, request *DeleteChatManagerReq, ...) (*DeleteChatManagerResp, *Response, error)
- func (r *ChatService) DeleteChatMember(ctx context.Context, request *DeleteChatMemberReq, options ...MethodOptionFunc) (*DeleteChatMemberResp, *Response, error)
- func (r *ChatService) GetChat(ctx context.Context, request *GetChatReq, options ...MethodOptionFunc) (*GetChatResp, *Response, error)
- func (r *ChatService) GetChatAnnouncement(ctx context.Context, request *GetChatAnnouncementReq, ...) (*GetChatAnnouncementResp, *Response, error)
- func (r *ChatService) GetChatListOfSelf(ctx context.Context, request *GetChatListOfSelfReq, ...) (*GetChatListOfSelfResp, *Response, error)
- func (r *ChatService) GetChatMemberList(ctx context.Context, request *GetChatMemberListReq, ...) (*GetChatMemberListResp, *Response, error)
- func (r *ChatService) GetChatModeration(ctx context.Context, request *GetChatModerationReq, ...) (*GetChatModerationResp, *Response, error)
- func (r *ChatService) GetChatOld(ctx context.Context, request *GetChatOldReq, options ...MethodOptionFunc) (*GetChatOldResp, *Response, error)
- func (r *ChatService) IsInChat(ctx context.Context, request *IsInChatReq, options ...MethodOptionFunc) (*IsInChatResp, *Response, error)
- func (r *ChatService) JoinChat(ctx context.Context, request *JoinChatReq, options ...MethodOptionFunc) (*JoinChatResp, *Response, error)
- func (r *ChatService) SearchChat(ctx context.Context, request *SearchChatReq, options ...MethodOptionFunc) (*SearchChatResp, *Response, error)
- func (r *ChatService) UpdateChat(ctx context.Context, request *UpdateChatReq, options ...MethodOptionFunc) (*UpdateChatResp, *Response, error)
- func (r *ChatService) UpdateChatAnnouncement(ctx context.Context, request *UpdateChatAnnouncementReq, ...) (*UpdateChatAnnouncementResp, *Response, error)
- func (r *ChatService) UpdateChatModeration(ctx context.Context, request *UpdateChatModerationReq, ...) (*UpdateChatModerationResp, *Response, error)
- type ChatType
- type CheckDriveMemberPermissionReq
- type CheckDriveMemberPermissionResp
- type CheckUserIsInApplicationPaidScopeReq
- type CheckUserIsInApplicationPaidScopeResp
- type ClearPublicMailboxMemberReq
- type ClearPublicMailboxMemberResp
- type ClientOptionFunc
- func WithAppCredential(appID, appSecret string) ClientOptionFunc
- func WithCustomBot(customBotWebHookURL, customBotSecret string) ClientOptionFunc
- func WithEventCallbackVerify(encryptKey, verificationToken string) ClientOptionFunc
- func WithHelpdeskCredential(helpdeskID, helpdeskToken string) ClientOptionFunc
- func WithHttpClient(cli HttpClient) ClientOptionFunc
- func WithISV(isISV bool) ClientOptionFunc
- func WithLogger(logger Logger, level LogLevel) ClientOptionFunc
- func WithOpenBaseURL(baseURL string) ClientOptionFunc
- func WithStore(store Store) ClientOptionFunc
- func WithTimeout(timeout time.Duration) ClientOptionFunc
- func WithWWWBaseURL(baseURL string) ClientOptionFunc
- type CompleteTaskReq
- type CompleteTaskResp
- type ContactService
- func (r *ContactService) AddContactGroupMember(ctx context.Context, request *AddContactGroupMemberReq, ...) (*AddContactGroupMemberResp, *Response, error)
- func (r *ContactService) BatchGetUser(ctx context.Context, request *BatchGetUserReq, options ...MethodOptionFunc) (*BatchGetUserResp, *Response, error)
- func (r *ContactService) BatchGetUserByID(ctx context.Context, request *BatchGetUserByIDReq, options ...MethodOptionFunc) (*BatchGetUserByIDResp, *Response, error)
- func (r *ContactService) BatchGetUserByIDOld(ctx context.Context, request *BatchGetUserByIDOldReq, ...) (*BatchGetUserByIDOldResp, *Response, error)
- func (r *ContactService) BindContactUnitDepartment(ctx context.Context, request *BindContactUnitDepartmentReq, ...) (*BindContactUnitDepartmentResp, *Response, error)
- func (r *ContactService) CreateContactGroup(ctx context.Context, request *CreateContactGroupReq, ...) (*CreateContactGroupResp, *Response, error)
- func (r *ContactService) CreateContactUnit(ctx context.Context, request *CreateContactUnitReq, ...) (*CreateContactUnitResp, *Response, error)
- func (r *ContactService) CreateDepartment(ctx context.Context, request *CreateDepartmentReq, options ...MethodOptionFunc) (*CreateDepartmentResp, *Response, error)
- func (r *ContactService) CreateEmployeeTypeEnum(ctx context.Context, request *CreateEmployeeTypeEnumReq, ...) (*CreateEmployeeTypeEnumResp, *Response, error)
- func (r *ContactService) CreateUser(ctx context.Context, request *CreateUserReq, options ...MethodOptionFunc) (*CreateUserResp, *Response, error)
- func (r *ContactService) DeleteContactGroup(ctx context.Context, request *DeleteContactGroupReq, ...) (*DeleteContactGroupResp, *Response, error)
- func (r *ContactService) DeleteContactGroupMember(ctx context.Context, request *DeleteContactGroupMemberReq, ...) (*DeleteContactGroupMemberResp, *Response, error)
- func (r *ContactService) DeleteContactUnit(ctx context.Context, request *DeleteContactUnitReq, ...) (*DeleteContactUnitResp, *Response, error)
- func (r *ContactService) DeleteDepartment(ctx context.Context, request *DeleteDepartmentReq, options ...MethodOptionFunc) (*DeleteDepartmentResp, *Response, error)
- func (r *ContactService) DeleteEmployeeTypeEnum(ctx context.Context, request *DeleteEmployeeTypeEnumReq, ...) (*DeleteEmployeeTypeEnumResp, *Response, error)
- func (r *ContactService) DeleteUser(ctx context.Context, request *DeleteUserReq, options ...MethodOptionFunc) (*DeleteUserResp, *Response, error)
- func (r *ContactService) GetContactCustomAttrList(ctx context.Context, request *GetContactCustomAttrListReq, ...) (*GetContactCustomAttrListResp, *Response, error)
- func (r *ContactService) GetContactGroup(ctx context.Context, request *GetContactGroupReq, options ...MethodOptionFunc) (*GetContactGroupResp, *Response, error)
- func (r *ContactService) GetContactGroupList(ctx context.Context, request *GetContactGroupListReq, ...) (*GetContactGroupListResp, *Response, error)
- func (r *ContactService) GetContactGroupMember(ctx context.Context, request *GetContactGroupMemberReq, ...) (*GetContactGroupMemberResp, *Response, error)
- func (r *ContactService) GetContactScopeList(ctx context.Context, request *GetContactScopeListReq, ...) (*GetContactScopeListResp, *Response, error)
- func (r *ContactService) GetContactUnit(ctx context.Context, request *GetContactUnitReq, options ...MethodOptionFunc) (*GetContactUnitResp, *Response, error)
- func (r *ContactService) GetContactUnitDepartmentList(ctx context.Context, request *GetContactUnitDepartmentListReq, ...) (*GetContactUnitDepartmentListResp, *Response, error)
- func (r *ContactService) GetContactUnitList(ctx context.Context, request *GetContactUnitListReq, ...) (*GetContactUnitListResp, *Response, error)
- func (r *ContactService) GetDepartment(ctx context.Context, request *GetDepartmentReq, options ...MethodOptionFunc) (*GetDepartmentResp, *Response, error)
- func (r *ContactService) GetDepartmentList(ctx context.Context, request *GetDepartmentListReq, ...) (*GetDepartmentListResp, *Response, error)
- func (r *ContactService) GetDepartmentListOld(ctx context.Context, request *GetDepartmentListOldReq, ...) (*GetDepartmentListOldResp, *Response, error)
- func (r *ContactService) GetEmployeeTypeEnumList(ctx context.Context, request *GetEmployeeTypeEnumListReq, ...) (*GetEmployeeTypeEnumListResp, *Response, error)
- func (r *ContactService) GetParentDepartment(ctx context.Context, request *GetParentDepartmentReq, ...) (*GetParentDepartmentResp, *Response, error)
- func (r *ContactService) GetUser(ctx context.Context, request *GetUserReq, options ...MethodOptionFunc) (*GetUserResp, *Response, error)
- func (r *ContactService) GetUserList(ctx context.Context, request *GetUserListReq, options ...MethodOptionFunc) (*GetUserListResp, *Response, error)
- func (r *ContactService) GetUserListOld(ctx context.Context, request *GetUserListOldReq, options ...MethodOptionFunc) (*GetUserListOldResp, *Response, error)
- func (r *ContactService) SearchDepartment(ctx context.Context, request *SearchDepartmentReq, options ...MethodOptionFunc) (*SearchDepartmentResp, *Response, error)
- func (r *ContactService) SearchUserOld(ctx context.Context, request *SearchUserOldReq, options ...MethodOptionFunc) (*SearchUserOldResp, *Response, error)
- func (r *ContactService) UnbindContactUnitDepartment(ctx context.Context, request *UnbindContactUnitDepartmentReq, ...) (*UnbindContactUnitDepartmentResp, *Response, error)
- func (r *ContactService) UpdateContactGroup(ctx context.Context, request *UpdateContactGroupReq, ...) (*UpdateContactGroupResp, *Response, error)
- func (r *ContactService) UpdateContactUnit(ctx context.Context, request *UpdateContactUnitReq, ...) (*UpdateContactUnitResp, *Response, error)
- func (r *ContactService) UpdateDepartment(ctx context.Context, request *UpdateDepartmentReq, options ...MethodOptionFunc) (*UpdateDepartmentResp, *Response, error)
- func (r *ContactService) UpdateDepartmentPatch(ctx context.Context, request *UpdateDepartmentPatchReq, ...) (*UpdateDepartmentPatchResp, *Response, error)
- func (r *ContactService) UpdateEmployeeTypeEnumPatch(ctx context.Context, request *UpdateEmployeeTypeEnumPatchReq, ...) (*UpdateEmployeeTypeEnumPatchResp, *Response, error)
- func (r *ContactService) UpdateUser(ctx context.Context, request *UpdateUserReq, options ...MethodOptionFunc) (*UpdateUserResp, *Response, error)
- func (r *ContactService) UpdateUserPatch(ctx context.Context, request *UpdateUserPatchReq, options ...MethodOptionFunc) (*UpdateUserPatchResp, *Response, error)
- type ContainerIDType
- type CopyDriveFileReq
- type CopyDriveFileResp
- type CreateApprovalCarbonCopyReq
- type CreateApprovalCarbonCopyResp
- type CreateApprovalInstanceReq
- type CreateApprovalInstanceResp
- type CreateAttendanceGroupReq
- type CreateAttendanceGroupReqGroup
- type CreateAttendanceGroupReqGroupFreePunchCfg
- type CreateAttendanceGroupReqGroupLocation
- type CreateAttendanceGroupReqGroupMachine
- type CreateAttendanceGroupReqGroupNeedPunchSpecialDay
- type CreateAttendanceGroupReqGroupNoNeedPunchSpecialDay
- type CreateAttendanceGroupResp
- type CreateAttendanceGroupRespGroup
- type CreateAttendanceGroupRespGroupFreePunchCfg
- type CreateAttendanceGroupRespGroupLocation
- type CreateAttendanceGroupRespGroupMachine
- type CreateAttendanceGroupRespGroupNeedPunchSpecialDay
- type CreateAttendanceGroupRespGroupNoNeedPunchSpecialDay
- type CreateAttendanceShiftReq
- type CreateAttendanceShiftReqLateOffLateOnRule
- type CreateAttendanceShiftReqPunchTimeRule
- type CreateAttendanceShiftReqRestTimeRule
- type CreateAttendanceShiftResp
- type CreateAttendanceShiftRespShift
- type CreateAttendanceShiftRespShiftLateOffLateOnRule
- type CreateAttendanceShiftRespShiftPunchTimeRule
- type CreateAttendanceShiftRespShiftRestTimeRule
- type CreateAttendanceUserApprovalReq
- type CreateAttendanceUserApprovalReqUserApproval
- type CreateAttendanceUserApprovalReqUserApprovalLeave
- type CreateAttendanceUserApprovalReqUserApprovalOut
- type CreateAttendanceUserApprovalReqUserApprovalOvertimeWork
- type CreateAttendanceUserApprovalReqUserApprovalTrip
- type CreateAttendanceUserApprovalResp
- type CreateAttendanceUserApprovalRespUserApproval
- type CreateAttendanceUserApprovalRespUserApprovalLeave
- type CreateAttendanceUserApprovalRespUserApprovalOut
- type CreateAttendanceUserApprovalRespUserApprovalOvertimeWork
- type CreateAttendanceUserApprovalRespUserApprovalTrip
- type CreateAttendanceUserTaskRemedyReq
- type CreateAttendanceUserTaskRemedyResp
- type CreateAttendanceUserTaskRemedyRespUserRemedy
- type CreateBitableFieldReq
- type CreateBitableFieldReqProperty
- type CreateBitableFieldReqPropertyOption
- type CreateBitableFieldResp
- type CreateBitableFieldRespField
- type CreateBitableFieldRespFieldProperty
- type CreateBitableFieldRespFieldPropertyOption
- type CreateBitableRecordReq
- type CreateBitableRecordResp
- type CreateBitableRecordRespRecord
- type CreateBitableTableReq
- type CreateBitableTableReqTable
- type CreateBitableTableResp
- type CreateBitableViewReq
- type CreateBitableViewResp
- type CreateBitableViewRespApptableview
- type CreateCalendarACLReq
- type CreateCalendarACLReqScope
- type CreateCalendarACLResp
- type CreateCalendarACLRespScope
- type CreateCalendarEventAttendeeReq
- type CreateCalendarEventAttendeeReqAttendee
- type CreateCalendarEventAttendeeReqAttendeeResourceCustomization
- type CreateCalendarEventAttendeeReqAttendeeResourceCustomizationOption
- type CreateCalendarEventAttendeeResp
- type CreateCalendarEventAttendeeRespAttendee
- type CreateCalendarEventAttendeeRespAttendeeChatMember
- type CreateCalendarEventAttendeeRespAttendeeResourceCustomization
- type CreateCalendarEventAttendeeRespAttendeeResourceCustomizationOption
- type CreateCalendarEventReq
- type CreateCalendarEventReqEndTime
- type CreateCalendarEventReqLocation
- type CreateCalendarEventReqReminder
- type CreateCalendarEventReqSchema
- type CreateCalendarEventReqStartTime
- type CreateCalendarEventReqVchat
- type CreateCalendarEventResp
- type CreateCalendarEventRespEvent
- type CreateCalendarEventRespEventEndTime
- type CreateCalendarEventRespEventLocation
- type CreateCalendarEventRespEventReminder
- type CreateCalendarEventRespEventSchema
- type CreateCalendarEventRespEventStartTime
- type CreateCalendarEventRespEventVchat
- type CreateCalendarExchangeBindingReq
- type CreateCalendarExchangeBindingResp
- type CreateCalendarReq
- type CreateCalendarResp
- type CreateCalendarRespCalendar
- type CreateCalendarTimeoffEventReq
- type CreateCalendarTimeoffEventResp
- type CreateChatManagerReq
- type CreateChatManagerResp
- type CreateChatReq
- type CreateChatResp
- type CreateContactGroupReq
- type CreateContactGroupResp
- type CreateContactUnitReq
- type CreateContactUnitResp
- type CreateDepartmentReq
- type CreateDepartmentReqI18nName
- type CreateDepartmentResp
- type CreateDepartmentRespDepartment
- type CreateDepartmentRespDepartmentI18nName
- type CreateDepartmentRespDepartmentStatus
- type CreateDriveCommentReq
- type CreateDriveCommentReqReplyList
- type CreateDriveCommentReqReplyListReply
- type CreateDriveCommentReqReplyListReplyContent
- type CreateDriveCommentReqReplyListReplyContentElement
- type CreateDriveCommentReqReplyListReplyContentElementDocsLink
- type CreateDriveCommentReqReplyListReplyContentElementPerson
- type CreateDriveCommentReqReplyListReplyContentElementTextRun
- type CreateDriveCommentResp
- type CreateDriveCommentRespReplyList
- type CreateDriveCommentRespReplyListReply
- type CreateDriveCommentRespReplyListReplyContent
- type CreateDriveCommentRespReplyListReplyContentElement
- type CreateDriveCommentRespReplyListReplyContentElementDocsLink
- type CreateDriveCommentRespReplyListReplyContentElementPerson
- type CreateDriveCommentRespReplyListReplyContentElementTextRun
- type CreateDriveDocReq
- type CreateDriveDocResp
- type CreateDriveFileReq
- type CreateDriveFileResp
- type CreateDriveFolderReq
- type CreateDriveFolderResp
- type CreateDriveImportTaskReq
- type CreateDriveImportTaskReqPoint
- type CreateDriveImportTaskResp
- type CreateDriveMemberPermissionOldReq
- type CreateDriveMemberPermissionOldReqMembers
- type CreateDriveMemberPermissionOldResp
- type CreateDriveMemberPermissionOldRespFailMembers
- type CreateDriveMemberPermissionReq
- type CreateDriveMemberPermissionResp
- type CreateDriveMemberPermissionRespMember
- type CreateEmployeeTypeEnumReq
- type CreateEmployeeTypeEnumReqI18nContent
- type CreateEmployeeTypeEnumResp
- type CreateEmployeeTypeEnumRespEmployeeTypeEnum
- type CreateEmployeeTypeEnumRespEmployeeTypeEnumI18nContent
- type CreateHelpdeskAgentScheduleReq
- type CreateHelpdeskAgentScheduleReqAgentSchedule
- type CreateHelpdeskAgentScheduleReqAgentScheduleSchedule
- type CreateHelpdeskAgentScheduleResp
- type CreateHelpdeskAgentSkillReq
- type CreateHelpdeskAgentSkillReqRule
- type CreateHelpdeskAgentSkillResp
- type CreateHelpdeskCategoryReq
- type CreateHelpdeskCategoryResp
- type CreateHelpdeskFAQReq
- type CreateHelpdeskFAQReqFAQ
- type CreateHelpdeskFAQResp
- type CreateHelpdeskFAQRespFAQ
- type CreateHelpdeskFAQRespFAQCreateUser
- type CreateHelpdeskFAQRespFAQUpdateUser
- type CreateHelpdeskNotificationReq
- type CreateHelpdeskNotificationReqChat
- type CreateHelpdeskNotificationReqCreateUser
- type CreateHelpdeskNotificationReqDepartment
- type CreateHelpdeskNotificationReqNewStaffScopeDepartment
- type CreateHelpdeskNotificationReqUpdateUser
- type CreateHelpdeskNotificationReqUser
- type CreateHelpdeskNotificationResp
- type CreateHelpdeskTicketCustomizedFieldReq
- type CreateHelpdeskTicketCustomizedFieldResp
- type CreateHireApplicationReq
- type CreateHireApplicationResp
- type CreateHireNoteReq
- type CreateHireNoteResp
- type CreateHireNoteRespNote
- type CreateIdentityReq
- type CreateIdentityResp
- type CreateMailGroupMemberReq
- type CreateMailGroupMemberResp
- type CreateMailGroupPermissionMemberReq
- type CreateMailGroupPermissionMemberResp
- type CreateMailGroupReq
- type CreateMailGroupResp
- type CreateMailUserAliasReq
- type CreateMailUserAliasResp
- type CreateMailUserAliasRespUserAlias
- type CreateMeetingRoomBuildingReq
- type CreateMeetingRoomBuildingResp
- type CreateMeetingRoomRoomReq
- type CreateMeetingRoomRoomResp
- type CreateMessageReactionReq
- type CreateMessageReactionReqReactionType
- type CreateMessageReactionResp
- type CreateMessageReactionRespOperator
- type CreateMessageReactionRespReactionType
- type CreatePublicMailboxMemberReq
- type CreatePublicMailboxMemberResp
- type CreatePublicMailboxReq
- type CreatePublicMailboxResp
- type CreateSearchDataSourceItemReq
- type CreateSearchDataSourceItemReqACL
- type CreateSearchDataSourceItemReqContent
- type CreateSearchDataSourceItemReqMetadata
- type CreateSearchDataSourceItemResp
- type CreateSearchDataSourceReq
- type CreateSearchDataSourceResp
- type CreateSearchDataSourceRespDataSource
- type CreateSheetConditionFormatReq
- type CreateSheetConditionFormatReqSheetConditionFormat
- type CreateSheetConditionFormatReqSheetConditionFormatConditionFormat
- type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatAttr
- type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyle
- type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyleFont
- type CreateSheetConditionFormatResp
- type CreateSheetConditionFormatRespResponse
- type CreateSheetDataValidationDropdownReq
- type CreateSheetDataValidationDropdownReqDataValidation
- type CreateSheetDataValidationDropdownReqDataValidationOptions
- type CreateSheetDataValidationDropdownResp
- type CreateSheetFilterReq
- type CreateSheetFilterReqCondition
- type CreateSheetFilterResp
- type CreateSheetFilterViewConditionReq
- type CreateSheetFilterViewConditionResp
- type CreateSheetFilterViewConditionRespCondition
- type CreateSheetFilterViewReq
- type CreateSheetFilterViewResp
- type CreateSheetFilterViewRespFilterView
- type CreateSheetFloatImageReq
- type CreateSheetFloatImageResp
- type CreateSheetFloatImageRespFloatImage
- type CreateSheetProtectedDimensionReq
- type CreateSheetProtectedDimensionReqAddProtectedDimension
- type CreateSheetProtectedDimensionReqAddProtectedDimensionDimension
- type CreateSheetProtectedDimensionResp
- type CreateSheetProtectedDimensionRespAddProtectedDimension
- type CreateSheetProtectedDimensionRespAddProtectedDimensionDimension
- type CreateSheetReq
- type CreateSheetResp
- type CreateSheetRespSpreadsheet
- type CreateTaskCollaboratorReq
- type CreateTaskCollaboratorResp
- type CreateTaskCollaboratorRespCollaborator
- type CreateTaskCommentReq
- type CreateTaskCommentResp
- type CreateTaskCommentRespComment
- type CreateTaskFollowerReq
- type CreateTaskFollowerResp
- type CreateTaskFollowerRespFollower
- type CreateTaskReminderReq
- type CreateTaskReminderResp
- type CreateTaskReminderRespReminder
- type CreateTaskReq
- type CreateTaskReqDue
- type CreateTaskReqOrigin
- type CreateTaskReqOriginHref
- type CreateTaskResp
- type CreateTaskRespTask
- type CreateTaskRespTaskDue
- type CreateTaskRespTaskOrigin
- type CreateTaskRespTaskOriginHref
- type CreateUpdateAttendanceUserDailyShiftReq
- type CreateUpdateAttendanceUserDailyShiftReqUserDailyShift
- type CreateUpdateAttendanceUserDailyShiftResp
- type CreateUpdateAttendanceUserDailyShiftRespUserDailyShift
- type CreateUserReq
- type CreateUserReqCustomAttr
- type CreateUserReqCustomAttrValue
- type CreateUserReqCustomAttrValueGenericUser
- type CreateUserReqOrder
- type CreateUserResp
- type CreateUserRespUser
- type CreateUserRespUserAvatar
- type CreateUserRespUserCustomAttr
- type CreateUserRespUserCustomAttrValue
- type CreateUserRespUserCustomAttrValueGenericUser
- type CreateUserRespUserOrder
- type CreateUserRespUserStatus
- type CreateWikiNodeReq
- type CreateWikiNodeResp
- type CreateWikiNodeRespNode
- type CreateWikiSpaceReq
- type CreateWikiSpaceResp
- type CreateWikiSpaceRespSpace
- type CropFaceVerifyImageReq
- type CropFaceVerifyImageResp
- type DeleteAttendanceGroupReq
- type DeleteAttendanceGroupResp
- type DeleteAttendanceShiftReq
- type DeleteAttendanceShiftResp
- type DeleteBitableFieldReq
- type DeleteBitableFieldResp
- type DeleteBitableRecordReq
- type DeleteBitableRecordResp
- type DeleteBitableTableReq
- type DeleteBitableTableResp
- type DeleteBitableViewReq
- type DeleteBitableViewResp
- type DeleteCalendarACLReq
- type DeleteCalendarACLResp
- type DeleteCalendarEventAttendeeReq
- type DeleteCalendarEventAttendeeResp
- type DeleteCalendarEventReq
- type DeleteCalendarEventResp
- type DeleteCalendarExchangeBindingReq
- type DeleteCalendarExchangeBindingResp
- type DeleteCalendarReq
- type DeleteCalendarResp
- type DeleteCalendarTimeoffEventReq
- type DeleteCalendarTimeoffEventResp
- type DeleteChatManagerReq
- type DeleteChatManagerResp
- type DeleteChatMemberReq
- type DeleteChatMemberResp
- type DeleteChatReq
- type DeleteChatResp
- type DeleteContactGroupMemberReq
- type DeleteContactGroupMemberResp
- type DeleteContactGroupReq
- type DeleteContactGroupResp
- type DeleteContactUnitReq
- type DeleteContactUnitResp
- type DeleteDepartmentReq
- type DeleteDepartmentResp
- type DeleteDriveCommentReq
- type DeleteDriveCommentResp
- type DeleteDriveDocFileReq
- type DeleteDriveDocFileResp
- type DeleteDriveFileReq
- type DeleteDriveFileResp
- type DeleteDriveMemberPermissionOldReq
- type DeleteDriveMemberPermissionOldResp
- type DeleteDriveMemberPermissionReq
- type DeleteDriveMemberPermissionResp
- type DeleteDriveSheetFileReq
- type DeleteDriveSheetFileResp
- type DeleteEmployeeTypeEnumReq
- type DeleteEmployeeTypeEnumResp
- type DeleteEphemeralMessageReq
- type DeleteEphemeralMessageResp
- type DeleteHelpdeskAgentScheduleReq
- type DeleteHelpdeskAgentScheduleResp
- type DeleteHelpdeskAgentSkillReq
- type DeleteHelpdeskAgentSkillResp
- type DeleteHelpdeskCategoryReq
- type DeleteHelpdeskCategoryResp
- type DeleteHelpdeskFAQReq
- type DeleteHelpdeskFAQResp
- type DeleteHelpdeskTicketCustomizedFieldReq
- type DeleteHelpdeskTicketCustomizedFieldResp
- type DeleteMailGroupMemberReq
- type DeleteMailGroupMemberResp
- type DeleteMailGroupPermissionMemberReq
- type DeleteMailGroupPermissionMemberResp
- type DeleteMailGroupReq
- type DeleteMailGroupResp
- type DeleteMailUserAliasReq
- type DeleteMailUserAliasResp
- type DeleteMeetingRoomBuildingReq
- type DeleteMeetingRoomBuildingResp
- type DeleteMeetingRoomRoomReq
- type DeleteMeetingRoomRoomResp
- type DeleteMessageReactionReq
- type DeleteMessageReactionResp
- type DeleteMessageReactionRespOperator
- type DeleteMessageReactionRespReactionType
- type DeleteMessageReq
- type DeleteMessageResp
- type DeletePublicMailboxMemberReq
- type DeletePublicMailboxMemberResp
- type DeletePublicMailboxReq
- type DeletePublicMailboxResp
- type DeleteSearchDataSourceItemReq
- type DeleteSearchDataSourceItemResp
- type DeleteSearchDataSourceReq
- type DeleteSearchDataSourceResp
- type DeleteSheetConditionFormatReq
- type DeleteSheetConditionFormatReqSheetCfIDs
- type DeleteSheetConditionFormatResp
- type DeleteSheetConditionFormatRespResponse
- type DeleteSheetDataValidationDropdownReq
- type DeleteSheetDataValidationDropdownReqDataValidationRange
- type DeleteSheetDataValidationDropdownResp
- type DeleteSheetDataValidationDropdownRespRangeResult
- type DeleteSheetDimensionRangeReq
- type DeleteSheetDimensionRangeReqDimension
- type DeleteSheetDimensionRangeResp
- type DeleteSheetFilterReq
- type DeleteSheetFilterResp
- type DeleteSheetFilterViewConditionReq
- type DeleteSheetFilterViewConditionResp
- type DeleteSheetFilterViewReq
- type DeleteSheetFilterViewResp
- type DeleteSheetFloatImageReq
- type DeleteSheetFloatImageResp
- type DeleteSheetProtectedDimensionReq
- type DeleteSheetProtectedDimensionResp
- type DeleteTaskCollaboratorReq
- type DeleteTaskCollaboratorResp
- type DeleteTaskCommentReq
- type DeleteTaskCommentResp
- type DeleteTaskFollowerReq
- type DeleteTaskFollowerResp
- type DeleteTaskReminderReq
- type DeleteTaskReminderResp
- type DeleteTaskReq
- type DeleteTaskResp
- type DeleteUserReq
- type DeleteUserResp
- type DeleteVCReserveReq
- type DeleteVCReserveResp
- type DeleteWikiSpaceMemberReq
- type DeleteWikiSpaceMemberResp
- type DeleteWikiSpaceMemberRespMember
- type DepartmentIDType
- type DetectFaceAttributesReq
- type DetectFaceAttributesResp
- type DetectFaceAttributesRespFaceInfo
- type DetectFaceAttributesRespFaceInfoAttribute
- type DetectFaceAttributesRespFaceInfoAttributeEmotion
- type DetectFaceAttributesRespFaceInfoAttributeGender
- type DetectFaceAttributesRespFaceInfoAttributeGlass
- type DetectFaceAttributesRespFaceInfoAttributeHat
- type DetectFaceAttributesRespFaceInfoAttributeMask
- type DetectFaceAttributesRespFaceInfoAttributePose
- type DetectFaceAttributesRespFaceInfoPosition
- type DetectFaceAttributesRespFaceInfoPositionLowerRight
- type DetectFaceAttributesRespFaceInfoPositionUpperLeft
- type DetectFaceAttributesRespFaceInfoQuality
- type DetectFaceAttributesRespFaceInfoQualityOcclude
- type DetectFaceAttributesRespImageInfo
- type DetectTextLanguageReq
- type DetectTextLanguageResp
- type DocBitable
- type DocBlock
- type DocBody
- type DocCallout
- type DocChatGroup
- type DocCode
- type DocContent
- type DocDiagram
- type DocDocsApp
- type DocDocsLink
- type DocEmbeddedPage
- type DocEquation
- type DocFile
- type DocGallery
- type DocGalleryStyle
- type DocHorizontalLine
- type DocImageItem
- type DocJira
- type DocLink
- type DocLocation
- type DocMergedCell
- type DocParagraph
- type DocParagraphElement
- type DocParagraphStyle
- type DocPerson
- type DocPoll
- type DocRGBColor
- type DocReminder
- type DocSheet
- type DocStyleList
- type DocTable
- type DocTableCell
- type DocTableColumnProperty
- type DocTableRow
- type DocTableStyle
- type DocTextRun
- type DocTextStyle
- type DocUndefinedBlock
- type DocUndefinedElement
- type DownloadAttendanceFileReq
- type DownloadAttendanceFileResp
- type DownloadDriveFileReq
- type DownloadDriveFileResp
- type DownloadDriveMediaReq
- type DownloadDriveMediaResp
- type DownloadEHRAttachmentsReq
- type DownloadEHRAttachmentsResp
- type DownloadFileReq
- type DownloadFileResp
- type DownloadHelpdeskTicketImageReq
- type DownloadHelpdeskTicketImageResp
- type DownloadImageReq
- type DownloadImageResp
- type DriveService
- func (r *DriveService) AddSheetDimensionRange(ctx context.Context, request *AddSheetDimensionRangeReq, ...) (*AddSheetDimensionRangeResp, *Response, error)
- func (r *DriveService) AddWikiSpaceMember(ctx context.Context, request *AddWikiSpaceMemberReq, ...) (*AddWikiSpaceMemberResp, *Response, error)
- func (r *DriveService) AppendSheetValue(ctx context.Context, request *AppendSheetValueReq, options ...MethodOptionFunc) (*AppendSheetValueResp, *Response, error)
- func (r *DriveService) BatchGetDriveMediaTmpDownloadURL(ctx context.Context, request *BatchGetDriveMediaTmpDownloadURLReq, ...) (*BatchGetDriveMediaTmpDownloadURLResp, *Response, error)
- func (r *DriveService) BatchGetSheetValue(ctx context.Context, request *BatchGetSheetValueReq, ...) (*BatchGetSheetValueResp, *Response, error)
- func (r *DriveService) BatchSetSheetStyle(ctx context.Context, request *BatchSetSheetStyleReq, ...) (*BatchSetSheetStyleResp, *Response, error)
- func (r *DriveService) BatchSetSheetValue(ctx context.Context, request *BatchSetSheetValueReq, ...) (*BatchSetSheetValueResp, *Response, error)
- func (r *DriveService) BatchUpdateSheet(ctx context.Context, request *BatchUpdateSheetReq, options ...MethodOptionFunc) (*BatchUpdateSheetResp, *Response, error)
- func (r *DriveService) CheckDriveMemberPermission(ctx context.Context, request *CheckDriveMemberPermissionReq, ...) (*CheckDriveMemberPermissionResp, *Response, error)
- func (r *DriveService) CopyDriveFile(ctx context.Context, request *CopyDriveFileReq, options ...MethodOptionFunc) (*CopyDriveFileResp, *Response, error)
- func (r *DriveService) CreateDriveComment(ctx context.Context, request *CreateDriveCommentReq, ...) (*CreateDriveCommentResp, *Response, error)
- func (r *DriveService) CreateDriveDoc(ctx context.Context, request *CreateDriveDocReq, options ...MethodOptionFunc) (*CreateDriveDocResp, *Response, error)
- func (r *DriveService) CreateDriveFile(ctx context.Context, request *CreateDriveFileReq, options ...MethodOptionFunc) (*CreateDriveFileResp, *Response, error)
- func (r *DriveService) CreateDriveFolder(ctx context.Context, request *CreateDriveFolderReq, ...) (*CreateDriveFolderResp, *Response, error)
- func (r *DriveService) CreateDriveImportTask(ctx context.Context, request *CreateDriveImportTaskReq, ...) (*CreateDriveImportTaskResp, *Response, error)
- func (r *DriveService) CreateDriveMemberPermission(ctx context.Context, request *CreateDriveMemberPermissionReq, ...) (*CreateDriveMemberPermissionResp, *Response, error)
- func (r *DriveService) CreateDriveMemberPermissionOld(ctx context.Context, request *CreateDriveMemberPermissionOldReq, ...) (*CreateDriveMemberPermissionOldResp, *Response, error)
- func (r *DriveService) CreateSheet(ctx context.Context, request *CreateSheetReq, options ...MethodOptionFunc) (*CreateSheetResp, *Response, error)
- func (r *DriveService) CreateSheetConditionFormat(ctx context.Context, request *CreateSheetConditionFormatReq, ...) (*CreateSheetConditionFormatResp, *Response, error)
- func (r *DriveService) CreateSheetDataValidationDropdown(ctx context.Context, request *CreateSheetDataValidationDropdownReq, ...) (*CreateSheetDataValidationDropdownResp, *Response, error)
- func (r *DriveService) CreateSheetFilter(ctx context.Context, request *CreateSheetFilterReq, ...) (*CreateSheetFilterResp, *Response, error)
- func (r *DriveService) CreateSheetFilterView(ctx context.Context, request *CreateSheetFilterViewReq, ...) (*CreateSheetFilterViewResp, *Response, error)
- func (r *DriveService) CreateSheetFilterViewCondition(ctx context.Context, request *CreateSheetFilterViewConditionReq, ...) (*CreateSheetFilterViewConditionResp, *Response, error)
- func (r *DriveService) CreateSheetFloatImage(ctx context.Context, request *CreateSheetFloatImageReq, ...) (*CreateSheetFloatImageResp, *Response, error)
- func (r *DriveService) CreateSheetProtectedDimension(ctx context.Context, request *CreateSheetProtectedDimensionReq, ...) (*CreateSheetProtectedDimensionResp, *Response, error)
- func (r *DriveService) CreateWikiNode(ctx context.Context, request *CreateWikiNodeReq, options ...MethodOptionFunc) (*CreateWikiNodeResp, *Response, error)
- func (r *DriveService) CreateWikiSpace(ctx context.Context, request *CreateWikiSpaceReq, options ...MethodOptionFunc) (*CreateWikiSpaceResp, *Response, error)
- func (r *DriveService) DeleteDriveComment(ctx context.Context, request *DeleteDriveCommentReq, ...) (*DeleteDriveCommentResp, *Response, error)
- func (r *DriveService) DeleteDriveDocFile(ctx context.Context, request *DeleteDriveDocFileReq, ...) (*DeleteDriveDocFileResp, *Response, error)
- func (r *DriveService) DeleteDriveFile(ctx context.Context, request *DeleteDriveFileReq, options ...MethodOptionFunc) (*DeleteDriveFileResp, *Response, error)
- func (r *DriveService) DeleteDriveMemberPermission(ctx context.Context, request *DeleteDriveMemberPermissionReq, ...) (*DeleteDriveMemberPermissionResp, *Response, error)
- func (r *DriveService) DeleteDriveMemberPermissionOld(ctx context.Context, request *DeleteDriveMemberPermissionOldReq, ...) (*DeleteDriveMemberPermissionOldResp, *Response, error)
- func (r *DriveService) DeleteDriveSheetFile(ctx context.Context, request *DeleteDriveSheetFileReq, ...) (*DeleteDriveSheetFileResp, *Response, error)
- func (r *DriveService) DeleteSheetConditionFormat(ctx context.Context, request *DeleteSheetConditionFormatReq, ...) (*DeleteSheetConditionFormatResp, *Response, error)
- func (r *DriveService) DeleteSheetDataValidationDropdown(ctx context.Context, request *DeleteSheetDataValidationDropdownReq, ...) (*DeleteSheetDataValidationDropdownResp, *Response, error)
- func (r *DriveService) DeleteSheetDimensionRange(ctx context.Context, request *DeleteSheetDimensionRangeReq, ...) (*DeleteSheetDimensionRangeResp, *Response, error)
- func (r *DriveService) DeleteSheetFilter(ctx context.Context, request *DeleteSheetFilterReq, ...) (*DeleteSheetFilterResp, *Response, error)
- func (r *DriveService) DeleteSheetFilterView(ctx context.Context, request *DeleteSheetFilterViewReq, ...) (*DeleteSheetFilterViewResp, *Response, error)
- func (r *DriveService) DeleteSheetFilterViewCondition(ctx context.Context, request *DeleteSheetFilterViewConditionReq, ...) (*DeleteSheetFilterViewConditionResp, *Response, error)
- func (r *DriveService) DeleteSheetFloatImage(ctx context.Context, request *DeleteSheetFloatImageReq, ...) (*DeleteSheetFloatImageResp, *Response, error)
- func (r *DriveService) DeleteSheetProtectedDimension(ctx context.Context, request *DeleteSheetProtectedDimensionReq, ...) (*DeleteSheetProtectedDimensionResp, *Response, error)
- func (r *DriveService) DeleteWikiSpaceMember(ctx context.Context, request *DeleteWikiSpaceMemberReq, ...) (*DeleteWikiSpaceMemberResp, *Response, error)
- func (r *DriveService) DownloadDriveFile(ctx context.Context, request *DownloadDriveFileReq, ...) (*DownloadDriveFileResp, *Response, error)
- func (r *DriveService) DownloadDriveMedia(ctx context.Context, request *DownloadDriveMediaReq, ...) (*DownloadDriveMediaResp, *Response, error)
- func (r *DriveService) FindSheet(ctx context.Context, request *FindSheetReq, options ...MethodOptionFunc) (*FindSheetResp, *Response, error)
- func (r *DriveService) FinishUploadDriveFile(ctx context.Context, request *FinishUploadDriveFileReq, ...) (*FinishUploadDriveFileResp, *Response, error)
- func (r *DriveService) FinishUploadDriveMedia(ctx context.Context, request *FinishUploadDriveMediaReq, ...) (*FinishUploadDriveMediaResp, *Response, error)
- func (r *DriveService) GetDriveComment(ctx context.Context, request *GetDriveCommentReq, options ...MethodOptionFunc) (*GetDriveCommentResp, *Response, error)
- func (r *DriveService) GetDriveCommentList(ctx context.Context, request *GetDriveCommentListReq, ...) (*GetDriveCommentListResp, *Response, error)
- func (r *DriveService) GetDriveDocContent(ctx context.Context, request *GetDriveDocContentReq, ...) (*GetDriveDocContentResp, *Response, error)
- func (r *DriveService) GetDriveDocMeta(ctx context.Context, request *GetDriveDocMetaReq, options ...MethodOptionFunc) (*GetDriveDocMetaResp, *Response, error)
- func (r *DriveService) GetDriveDocRawContent(ctx context.Context, request *GetDriveDocRawContentReq, ...) (*GetDriveDocRawContentResp, *Response, error)
- func (r *DriveService) GetDriveFileMeta(ctx context.Context, request *GetDriveFileMetaReq, options ...MethodOptionFunc) (*GetDriveFileMetaResp, *Response, error)
- func (r *DriveService) GetDriveFileStatistics(ctx context.Context, request *GetDriveFileStatisticsReq, ...) (*GetDriveFileStatisticsResp, *Response, error)
- func (r *DriveService) GetDriveFolderChildren(ctx context.Context, request *GetDriveFolderChildrenReq, ...) (*GetDriveFolderChildrenResp, *Response, error)
- func (r *DriveService) GetDriveFolderMeta(ctx context.Context, request *GetDriveFolderMetaReq, ...) (*GetDriveFolderMetaResp, *Response, error)
- func (r *DriveService) GetDriveImportTask(ctx context.Context, request *GetDriveImportTaskReq, ...) (*GetDriveImportTaskResp, *Response, error)
- func (r *DriveService) GetDriveMemberPermissionList(ctx context.Context, request *GetDriveMemberPermissionListReq, ...) (*GetDriveMemberPermissionListResp, *Response, error)
- func (r *DriveService) GetDrivePublicPermissionV2(ctx context.Context, request *GetDrivePublicPermissionV2Req, ...) (*GetDrivePublicPermissionV2Resp, *Response, error)
- func (r *DriveService) GetDriveRootFolderMeta(ctx context.Context, request *GetDriveRootFolderMetaReq, ...) (*GetDriveRootFolderMetaResp, *Response, error)
- func (r *DriveService) GetSheetConditionFormat(ctx context.Context, request *GetSheetConditionFormatReq, ...) (*GetSheetConditionFormatResp, *Response, error)
- func (r *DriveService) GetSheetDataValidationDropdown(ctx context.Context, request *GetSheetDataValidationDropdownReq, ...) (*GetSheetDataValidationDropdownResp, *Response, error)
- func (r *DriveService) GetSheetFilter(ctx context.Context, request *GetSheetFilterReq, options ...MethodOptionFunc) (*GetSheetFilterResp, *Response, error)
- func (r *DriveService) GetSheetFilterView(ctx context.Context, request *GetSheetFilterViewReq, ...) (*GetSheetFilterViewResp, *Response, error)
- func (r *DriveService) GetSheetFilterViewCondition(ctx context.Context, request *GetSheetFilterViewConditionReq, ...) (*GetSheetFilterViewConditionResp, *Response, error)
- func (r *DriveService) GetSheetFloatImage(ctx context.Context, request *GetSheetFloatImageReq, ...) (*GetSheetFloatImageResp, *Response, error)
- func (r *DriveService) GetSheetMeta(ctx context.Context, request *GetSheetMetaReq, options ...MethodOptionFunc) (*GetSheetMetaResp, *Response, error)
- func (r *DriveService) GetSheetProtectedDimension(ctx context.Context, request *GetSheetProtectedDimensionReq, ...) (*GetSheetProtectedDimensionResp, *Response, error)
- func (r *DriveService) GetSheetValue(ctx context.Context, request *GetSheetValueReq, options ...MethodOptionFunc) (*GetSheetValueResp, *Response, error)
- func (r *DriveService) GetWikiNode(ctx context.Context, request *GetWikiNodeReq, options ...MethodOptionFunc) (*GetWikiNodeResp, *Response, error)
- func (r *DriveService) GetWikiNodeList(ctx context.Context, request *GetWikiNodeListReq, options ...MethodOptionFunc) (*GetWikiNodeListResp, *Response, error)
- func (r *DriveService) GetWikiSpace(ctx context.Context, request *GetWikiSpaceReq, options ...MethodOptionFunc) (*GetWikiSpaceResp, *Response, error)
- func (r *DriveService) GetWikiSpaceList(ctx context.Context, request *GetWikiSpaceListReq, options ...MethodOptionFunc) (*GetWikiSpaceListResp, *Response, error)
- func (r *DriveService) GetWikiTask(ctx context.Context, request *GetWikiTaskReq, options ...MethodOptionFunc) (*GetWikiTaskResp, *Response, error)
- func (r *DriveService) ImportSheet(ctx context.Context, request *ImportSheetReq, options ...MethodOptionFunc) (*ImportSheetResp, *Response, error)
- func (r *DriveService) InsertSheetDimensionRange(ctx context.Context, request *InsertSheetDimensionRangeReq, ...) (*InsertSheetDimensionRangeResp, *Response, error)
- func (r *DriveService) MergeSheetCell(ctx context.Context, request *MergeSheetCellReq, options ...MethodOptionFunc) (*MergeSheetCellResp, *Response, error)
- func (r *DriveService) MoveDocsToWiki(ctx context.Context, request *MoveDocsToWikiReq, options ...MethodOptionFunc) (*MoveDocsToWikiResp, *Response, error)
- func (r *DriveService) MoveSheetDimension(ctx context.Context, request *MoveSheetDimensionReq, ...) (*MoveSheetDimensionResp, *Response, error)
- func (r *DriveService) MoveWikiNode(ctx context.Context, request *MoveWikiNodeReq, options ...MethodOptionFunc) (*MoveWikiNodeResp, *Response, error)
- func (r *DriveService) PartUploadDriveFile(ctx context.Context, request *PartUploadDriveFileReq, ...) (*PartUploadDriveFileResp, *Response, error)
- func (r *DriveService) PartUploadDriveMedia(ctx context.Context, request *PartUploadDriveMediaReq, ...) (*PartUploadDriveMediaResp, *Response, error)
- func (r *DriveService) PrepareUploadDriveFile(ctx context.Context, request *PrepareUploadDriveFileReq, ...) (*PrepareUploadDriveFileResp, *Response, error)
- func (r *DriveService) PrepareUploadDriveMedia(ctx context.Context, request *PrepareUploadDriveMediaReq, ...) (*PrepareUploadDriveMediaResp, *Response, error)
- func (r *DriveService) PrependSheetValue(ctx context.Context, request *PrependSheetValueReq, ...) (*PrependSheetValueResp, *Response, error)
- func (r *DriveService) QuerySheetFilterView(ctx context.Context, request *QuerySheetFilterViewReq, ...) (*QuerySheetFilterViewResp, *Response, error)
- func (r *DriveService) QuerySheetFilterViewCondition(ctx context.Context, request *QuerySheetFilterViewConditionReq, ...) (*QuerySheetFilterViewConditionResp, *Response, error)
- func (r *DriveService) QuerySheetFloatImage(ctx context.Context, request *QuerySheetFloatImageReq, ...) (*QuerySheetFloatImageResp, *Response, error)
- func (r *DriveService) ReplaceSheet(ctx context.Context, request *ReplaceSheetReq, options ...MethodOptionFunc) (*ReplaceSheetResp, *Response, error)
- func (r *DriveService) SearchDriveFile(ctx context.Context, request *SearchDriveFileReq, options ...MethodOptionFunc) (*SearchDriveFileResp, *Response, error)
- func (r *DriveService) SetSheetStyle(ctx context.Context, request *SetSheetStyleReq, options ...MethodOptionFunc) (*SetSheetStyleResp, *Response, error)
- func (r *DriveService) SetSheetValue(ctx context.Context, request *SetSheetValueReq, options ...MethodOptionFunc) (*SetSheetValueResp, *Response, error)
- func (r *DriveService) SetSheetValueImage(ctx context.Context, request *SetSheetValueImageReq, ...) (*SetSheetValueImageResp, *Response, error)
- func (r *DriveService) TransferDriveMemberPermission(ctx context.Context, request *TransferDriveMemberPermissionReq, ...) (*TransferDriveMemberPermissionResp, *Response, error)
- func (r *DriveService) UnmergeSheetCell(ctx context.Context, request *UnmergeSheetCellReq, options ...MethodOptionFunc) (*UnmergeSheetCellResp, *Response, error)
- func (r *DriveService) UpdateDriveComment(ctx context.Context, request *UpdateDriveCommentReq, ...) (*UpdateDriveCommentResp, *Response, error)
- func (r *DriveService) UpdateDriveCommentPatch(ctx context.Context, request *UpdateDriveCommentPatchReq, ...) (*UpdateDriveCommentPatchResp, *Response, error)
- func (r *DriveService) UpdateDriveMemberPermission(ctx context.Context, request *UpdateDriveMemberPermissionReq, ...) (*UpdateDriveMemberPermissionResp, *Response, error)
- func (r *DriveService) UpdateDriveMemberPermissionOld(ctx context.Context, request *UpdateDriveMemberPermissionOldReq, ...) (*UpdateDriveMemberPermissionOldResp, *Response, error)
- func (r *DriveService) UpdateDrivePublicPermission(ctx context.Context, request *UpdateDrivePublicPermissionReq, ...) (*UpdateDrivePublicPermissionResp, *Response, error)
- func (r *DriveService) UpdateDrivePublicPermissionV1Old(ctx context.Context, request *UpdateDrivePublicPermissionV1OldReq, ...) (*UpdateDrivePublicPermissionV1OldResp, *Response, error)
- func (r *DriveService) UpdateDrivePublicPermissionV2Old(ctx context.Context, request *UpdateDrivePublicPermissionV2OldReq, ...) (*UpdateDrivePublicPermissionV2OldResp, *Response, error)
- func (r *DriveService) UpdateSheetConditionFormat(ctx context.Context, request *UpdateSheetConditionFormatReq, ...) (*UpdateSheetConditionFormatResp, *Response, error)
- func (r *DriveService) UpdateSheetDataValidationDropdown(ctx context.Context, request *UpdateSheetDataValidationDropdownReq, ...) (*UpdateSheetDataValidationDropdownResp, *Response, error)
- func (r *DriveService) UpdateSheetDimensionRange(ctx context.Context, request *UpdateSheetDimensionRangeReq, ...) (*UpdateSheetDimensionRangeResp, *Response, error)
- func (r *DriveService) UpdateSheetFilter(ctx context.Context, request *UpdateSheetFilterReq, ...) (*UpdateSheetFilterResp, *Response, error)
- func (r *DriveService) UpdateSheetFilterView(ctx context.Context, request *UpdateSheetFilterViewReq, ...) (*UpdateSheetFilterViewResp, *Response, error)
- func (r *DriveService) UpdateSheetFilterViewCondition(ctx context.Context, request *UpdateSheetFilterViewConditionReq, ...) (*UpdateSheetFilterViewConditionResp, *Response, error)
- func (r *DriveService) UpdateSheetFloatImage(ctx context.Context, request *UpdateSheetFloatImageReq, ...) (*UpdateSheetFloatImageResp, *Response, error)
- func (r *DriveService) UpdateSheetProperty(ctx context.Context, request *UpdateSheetPropertyReq, ...) (*UpdateSheetPropertyResp, *Response, error)
- func (r *DriveService) UpdateSheetProtectedDimension(ctx context.Context, request *UpdateSheetProtectedDimensionReq, ...) (*UpdateSheetProtectedDimensionResp, *Response, error)
- func (r *DriveService) UpdateWikiSpaceSetting(ctx context.Context, request *UpdateWikiSpaceSettingReq, ...) (*UpdateWikiSpaceSettingResp, *Response, error)
- func (r *DriveService) UploadDriveFile(ctx context.Context, request *UploadDriveFileReq, options ...MethodOptionFunc) (*UploadDriveFileResp, *Response, error)
- func (r *DriveService) UploadDriveMedia(ctx context.Context, request *UploadDriveMediaReq, options ...MethodOptionFunc) (*UploadDriveMediaResp, *Response, error)
- type EHRAttachment
- type EHREducation
- type EHREmergencyContact
- type EHRService
- type EHRWorkExperience
- type EcosystemService
- type EditPermission
- type EmojiType
- type EmployeeType
- type EndVCMeetingReq
- type EndVCMeetingResp
- type Error
- type EventCallbackService
- func (r *EventCallbackService) HandlerEventCard(f EventCardHandler)
- func (r *EventCallbackService) HandlerEventV1AddBot(f EventV1AddBotHandler)
- func (r *EventCallbackService) HandlerEventV1AddUserToChat(f EventV1AddUserToChatHandler)
- func (r *EventCallbackService) HandlerEventV1AppOpen(f EventV1AppOpenHandler)
- func (r *EventCallbackService) HandlerEventV1AppStatusChange(f EventV1AppStatusChangeHandler)
- func (r *EventCallbackService) HandlerEventV1AppTicket(f EventV1AppTicketHandler)
- func (r *EventCallbackService) HandlerEventV1AppUninstalled(f EventV1AppUninstalledHandler)
- func (r *EventCallbackService) HandlerEventV1ChatDisband(f EventV1ChatDisbandHandler)
- func (r *EventCallbackService) HandlerEventV1LeaveApprovalV2(f EventV1LeaveApprovalV2Handler)
- func (r *EventCallbackService) HandlerEventV1OrderPaid(f EventV1OrderPaidHandler)
- func (r *EventCallbackService) HandlerEventV1OutApproval(f EventV1OutApprovalHandler)
- func (r *EventCallbackService) HandlerEventV1P2PChatCreate(f EventV1P2PChatCreateHandler)
- func (r *EventCallbackService) HandlerEventV1ReceiveMessage(f EventV1ReceiveMessageHandler)
- func (r *EventCallbackService) HandlerEventV1RemedyApproval(f EventV1RemedyApprovalHandler)
- func (r *EventCallbackService) HandlerEventV1RemoveBot(f EventV1RemoveBotHandler)
- func (r *EventCallbackService) HandlerEventV1RemoveUserFromChat(f EventV1RemoveUserFromChatHandler)
- func (r *EventCallbackService) HandlerEventV1RevokeAddUserFromChat(f EventV1RevokeAddUserFromChatHandler)
- func (r *EventCallbackService) HandlerEventV1ShiftApproval(f EventV1ShiftApprovalHandler)
- func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventCreated(f EventV1ThirdPartyMeetingRoomEventCreatedHandler)
- func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventDeleted(f EventV1ThirdPartyMeetingRoomEventDeletedHandler)
- func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventUpdated(f EventV1ThirdPartyMeetingRoomEventUpdatedHandler)
- func (r *EventCallbackService) HandlerEventV1TripApproval(f EventV1TripApprovalHandler)
- func (r *EventCallbackService) HandlerEventV1WorkApproval(f EventV1WorkApprovalHandler)
- func (r *EventCallbackService) HandlerEventV2ACSAccessRecordCreatedV1(f EventV2ACSAccessRecordCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2ACSUserUpdatedV1(f EventV2ACSUserUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionAuditV6(f EventV2ApplicationApplicationAppVersionAuditV6Handler)
- func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishApplyV6(f EventV2ApplicationApplicationAppVersionPublishApplyV6Handler)
- func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishRevokeV6(f EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler)
- func (r *EventCallbackService) HandlerEventV2ApplicationApplicationCreatedV6(f EventV2ApplicationApplicationCreatedV6Handler)
- func (r *EventCallbackService) HandlerEventV2ApplicationApplicationVisibilityAddedV6(f EventV2ApplicationApplicationVisibilityAddedV6Handler)
- func (r *EventCallbackService) HandlerEventV2ApprovalApprovalUpdatedV4(f EventV2ApprovalApprovalUpdatedV4Handler)
- func (r *EventCallbackService) HandlerEventV2AttendanceUserFlowCreatedV1(f EventV2AttendanceUserFlowCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2AttendanceUserTaskUpdatedV1(f EventV2AttendanceUserTaskUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2AwemeEcosystemAwemeUserBindedAccountV1(f EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler)
- func (r *EventCallbackService) HandlerEventV2CalendarCalendarACLCreatedV4(f EventV2CalendarCalendarACLCreatedV4Handler)
- func (r *EventCallbackService) HandlerEventV2CalendarCalendarACLDeletedV4(f EventV2CalendarCalendarACLDeletedV4Handler)
- func (r *EventCallbackService) HandlerEventV2CalendarCalendarChangedV4(f EventV2CalendarCalendarChangedV4Handler)
- func (r *EventCallbackService) HandlerEventV2CalendarCalendarEventChangedV4(f EventV2CalendarCalendarEventChangedV4Handler)
- func (r *EventCallbackService) HandlerEventV2ContactCustomAttrEventUpdatedV3(f EventV2ContactCustomAttrEventUpdatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactDepartmentCreatedV3(f EventV2ContactDepartmentCreatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactDepartmentDeletedV3(f EventV2ContactDepartmentDeletedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactDepartmentUpdatedV3(f EventV2ContactDepartmentUpdatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumActivedV3(f EventV2ContactEmployeeTypeEnumActivedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumCreatedV3(f EventV2ContactEmployeeTypeEnumCreatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeactivatedV3(f EventV2ContactEmployeeTypeEnumDeactivatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeletedV3(f EventV2ContactEmployeeTypeEnumDeletedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumUpdatedV3(f EventV2ContactEmployeeTypeEnumUpdatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactScopeUpdatedV3(f EventV2ContactScopeUpdatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactUserCreatedV3(f EventV2ContactUserCreatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactUserDeletedV3(f EventV2ContactUserDeletedV3Handler)
- func (r *EventCallbackService) HandlerEventV2ContactUserUpdatedV3(f EventV2ContactUserUpdatedV3Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFileDeletedV1(f EventV2DriveFileDeletedV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFileEditV1(f EventV2DriveFileEditV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFilePermissionMemberAddedV1(f EventV2DriveFilePermissionMemberAddedV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFilePermissionMemberRemovedV1(f EventV2DriveFilePermissionMemberRemovedV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFileReadV1(f EventV2DriveFileReadV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFileTitleUpdatedV1(f EventV2DriveFileTitleUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2DriveFileTrashedV1(f EventV2DriveFileTrashedV1Handler)
- func (r *EventCallbackService) HandlerEventV2HelpdeskNotificationApproveV1(f EventV2HelpdeskNotificationApproveV1Handler)
- func (r *EventCallbackService) HandlerEventV2HelpdeskTicketCreatedV1(f EventV2HelpdeskTicketCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2HelpdeskTicketMessageCreatedV1(f EventV2HelpdeskTicketMessageCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2HelpdeskTicketMessageUpdatedV1(f EventV2HelpdeskTicketMessageUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatDisbandedV1(f EventV2IMChatDisbandedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatMemberBotAddedV1(f EventV2IMChatMemberBotAddedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatMemberBotDeletedV1(f EventV2IMChatMemberBotDeletedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatMemberUserAddedV1(f EventV2IMChatMemberUserAddedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatMemberUserDeletedV1(f EventV2IMChatMemberUserDeletedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatMemberUserWithdrawnV1(f EventV2IMChatMemberUserWithdrawnV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMChatUpdatedV1(f EventV2IMChatUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMMessageReactionCreatedV1(f EventV2IMMessageReactionCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMMessageReactionDeletedV1(f EventV2IMMessageReactionDeletedV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMMessageReadV1(f EventV2IMMessageReadV1Handler)
- func (r *EventCallbackService) HandlerEventV2IMMessageReceiveV1(f EventV2IMMessageReceiveV1Handler)
- func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomCreatedV1(f EventV2MeetingRoomMeetingRoomCreatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomDeletedV1(f EventV2MeetingRoomMeetingRoomDeletedV1Handler)
- func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomStatusChangedV1(f EventV2MeetingRoomMeetingRoomStatusChangedV1Handler)
- func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomUpdatedV1(f EventV2MeetingRoomMeetingRoomUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2TaskTaskCommentUpdatedV1(f EventV2TaskTaskCommentUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2TaskTaskUpdateTenantV1(f EventV2TaskTaskUpdateTenantV1Handler)
- func (r *EventCallbackService) HandlerEventV2TaskTaskUpdatedV1(f EventV2TaskTaskUpdatedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingJoinMeetingV1(f EventV2VCMeetingJoinMeetingV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingLeaveMeetingV1(f EventV2VCMeetingLeaveMeetingV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingMeetingEndedV1(f EventV2VCMeetingMeetingEndedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingMeetingStartedV1(f EventV2VCMeetingMeetingStartedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingEndedV1(f EventV2VCMeetingRecordingEndedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingReadyV1(f EventV2VCMeetingRecordingReadyV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingStartedV1(f EventV2VCMeetingRecordingStartedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingShareEndedV1(f EventV2VCMeetingShareEndedV1Handler)
- func (r *EventCallbackService) HandlerEventV2VCMeetingShareStartedV1(f EventV2VCMeetingShareStartedV1Handler)
- func (r *EventCallbackService) ListenCallback(ctx context.Context, reader io.Reader, writer http.ResponseWriter)
- func (r *EventCallbackService) ListenCardCallback(ctx context.Context, checkSecurity bool, header http.Header, reader io.Reader, ...)
- func (r *EventCallbackService) ListenSecurityCallback(ctx context.Context, header http.Header, reader io.Reader, ...)
- type EventCardCallback
- type EventCardCallbackAction
- type EventCardHandler
- type EventHeaderV1
- type EventHeaderV2
- type EventType
- type EventV1AddBot
- type EventV1AddBotEventChatI18nNames
- type EventV1AddBotHandler
- type EventV1AddUserToChat
- type EventV1AddUserToChatEventOperator
- type EventV1AddUserToChatEventUser
- type EventV1AddUserToChatHandler
- type EventV1AppOpen
- type EventV1AppOpenEventApplicant
- type EventV1AppOpenEventInstaller
- type EventV1AppOpenEventInstallerEmployee
- type EventV1AppOpenHandler
- type EventV1AppStatusChange
- type EventV1AppStatusChangeEventOperator
- type EventV1AppStatusChangeHandler
- type EventV1AppTicket
- type EventV1AppTicketHandler
- type EventV1AppUninstalled
- type EventV1AppUninstalledHandler
- type EventV1ChatDisband
- type EventV1ChatDisbandEventOperator
- type EventV1ChatDisbandHandler
- type EventV1LeaveApprovalV2
- type EventV1LeaveApprovalV2EventI18nResource
- type EventV1LeaveApprovalV2Handler
- type EventV1OrderPaid
- type EventV1OrderPaidHandler
- type EventV1OutApproval
- type EventV1OutApprovalEventI18nResource
- type EventV1OutApprovalHandler
- type EventV1P2PChatCreate
- type EventV1P2PChatCreateEventOperator
- type EventV1P2PChatCreateEventUser
- type EventV1P2PChatCreateHandler
- type EventV1ReceiveMessage
- type EventV1ReceiveMessageHandler
- type EventV1RemedyApproval
- type EventV1RemedyApprovalHandler
- type EventV1RemoveBot
- type EventV1RemoveBotEventChatI18nNames
- type EventV1RemoveBotHandler
- type EventV1RemoveUserFromChat
- type EventV1RemoveUserFromChatEventOperator
- type EventV1RemoveUserFromChatEventUser
- type EventV1RemoveUserFromChatHandler
- type EventV1RevokeAddUserFromChat
- type EventV1RevokeAddUserFromChatEventOperator
- type EventV1RevokeAddUserFromChatEventUser
- type EventV1RevokeAddUserFromChatHandler
- type EventV1ShiftApproval
- type EventV1ShiftApprovalHandler
- type EventV1ThirdPartyMeetingRoomEventCreated
- type EventV1ThirdPartyMeetingRoomEventCreatedHandler
- type EventV1ThirdPartyMeetingRoomEventDeleted
- type EventV1ThirdPartyMeetingRoomEventDeletedHandler
- type EventV1ThirdPartyMeetingRoomEventUpdated
- type EventV1ThirdPartyMeetingRoomEventUpdatedHandler
- type EventV1TripApproval
- type EventV1TripApprovalEventSchedule
- type EventV1TripApprovalEventTripPeer
- type EventV1TripApprovalHandler
- type EventV1WorkApproval
- type EventV1WorkApprovalHandler
- type EventV2ACSAccessRecordCreatedV1
- type EventV2ACSAccessRecordCreatedV1Handler
- type EventV2ACSAccessRecordCreatedV1UserID
- type EventV2ACSUserUpdatedV1
- type EventV2ACSUserUpdatedV1Handler
- type EventV2ACSUserUpdatedV1UserID
- type EventV2ApplicationApplicationAppVersionAuditV6
- type EventV2ApplicationApplicationAppVersionAuditV6CreatorID
- type EventV2ApplicationApplicationAppVersionAuditV6Handler
- type EventV2ApplicationApplicationAppVersionAuditV6OperatorID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6
- type EventV2ApplicationApplicationAppVersionPublishApplyV6Handler
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersion
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbility
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityBot
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDoc
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDocI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlock
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlockI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityGadget
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageAction
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageActionI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigate
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigateMobile
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigatePc
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityPlusMenu
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWebApp
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWorkplaceWidget
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemark
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibility
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleList
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleListOpenID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleList
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleListOpenID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionScope
- type EventV2ApplicationApplicationAppVersionPublishApplyV6OperatorID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersion
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbility
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityBot
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDoc
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDocI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlock
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlockI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityGadget
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageAction
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageActionI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigate
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigateMobile
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigatePc
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityPlusMenu
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWebApp
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWorkplaceWidget
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionI18n
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemark
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibility
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleList
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleListOpenID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleList
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleListOpenID
- type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionScope
- type EventV2ApplicationApplicationAppVersionPublishRevokeV6
- type EventV2ApplicationApplicationAppVersionPublishRevokeV6CreatorID
- type EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler
- type EventV2ApplicationApplicationAppVersionPublishRevokeV6OperatorID
- type EventV2ApplicationApplicationCreatedV6
- type EventV2ApplicationApplicationCreatedV6Handler
- type EventV2ApplicationApplicationCreatedV6OperatorID
- type EventV2ApplicationApplicationVisibilityAddedV6
- type EventV2ApplicationApplicationVisibilityAddedV6Handler
- type EventV2ApplicationApplicationVisibilityAddedV6User
- type EventV2ApplicationApplicationVisibilityAddedV6UserUserID
- type EventV2ApprovalApprovalUpdatedV4
- type EventV2ApprovalApprovalUpdatedV4Handler
- type EventV2AttendanceUserFlowCreatedV1
- type EventV2AttendanceUserFlowCreatedV1Handler
- type EventV2AttendanceUserTaskUpdatedV1
- type EventV2AttendanceUserTaskUpdatedV1Handler
- type EventV2AttendanceUserTaskUpdatedV1StatusChange
- type EventV2AwemeEcosystemAwemeUserBindedAccountV1
- type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUser
- type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUserUserID
- type EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler
- type EventV2CalendarCalendarACLCreatedV4
- type EventV2CalendarCalendarACLCreatedV4Handler
- type EventV2CalendarCalendarACLCreatedV4Scope
- type EventV2CalendarCalendarACLCreatedV4ScopeUserID
- type EventV2CalendarCalendarACLCreatedV4UserID
- type EventV2CalendarCalendarACLDeletedV4
- type EventV2CalendarCalendarACLDeletedV4Handler
- type EventV2CalendarCalendarACLDeletedV4Scope
- type EventV2CalendarCalendarACLDeletedV4ScopeUserID
- type EventV2CalendarCalendarACLDeletedV4UserID
- type EventV2CalendarCalendarChangedV4
- type EventV2CalendarCalendarChangedV4Handler
- type EventV2CalendarCalendarChangedV4UserID
- type EventV2CalendarCalendarEventChangedV4
- type EventV2CalendarCalendarEventChangedV4Handler
- type EventV2CalendarCalendarEventChangedV4UserID
- type EventV2ContactCustomAttrEventUpdatedV3
- type EventV2ContactCustomAttrEventUpdatedV3Handler
- type EventV2ContactCustomAttrEventUpdatedV3Object
- type EventV2ContactCustomAttrEventUpdatedV3OldObject
- type EventV2ContactDepartmentCreatedV3
- type EventV2ContactDepartmentCreatedV3Handler
- type EventV2ContactDepartmentCreatedV3Object
- type EventV2ContactDepartmentCreatedV3ObjectStatus
- type EventV2ContactDepartmentDeletedV3
- type EventV2ContactDepartmentDeletedV3Handler
- type EventV2ContactDepartmentDeletedV3Object
- type EventV2ContactDepartmentDeletedV3ObjectStatus
- type EventV2ContactDepartmentDeletedV3OldObject
- type EventV2ContactDepartmentDeletedV3OldObjectStatus
- type EventV2ContactDepartmentUpdatedV3
- type EventV2ContactDepartmentUpdatedV3Handler
- type EventV2ContactDepartmentUpdatedV3Object
- type EventV2ContactDepartmentUpdatedV3ObjectStatus
- type EventV2ContactDepartmentUpdatedV3OldObject
- type EventV2ContactDepartmentUpdatedV3OldObjectStatus
- type EventV2ContactEmployeeTypeEnumActivedV3
- type EventV2ContactEmployeeTypeEnumActivedV3Handler
- type EventV2ContactEmployeeTypeEnumActivedV3NewEnum
- type EventV2ContactEmployeeTypeEnumActivedV3NewEnumI18nContent
- type EventV2ContactEmployeeTypeEnumActivedV3OldEnum
- type EventV2ContactEmployeeTypeEnumActivedV3OldEnumI18nContent
- type EventV2ContactEmployeeTypeEnumCreatedV3
- type EventV2ContactEmployeeTypeEnumCreatedV3Handler
- type EventV2ContactEmployeeTypeEnumCreatedV3NewEnum
- type EventV2ContactEmployeeTypeEnumCreatedV3NewEnumI18nContent
- type EventV2ContactEmployeeTypeEnumDeactivatedV3
- type EventV2ContactEmployeeTypeEnumDeactivatedV3Handler
- type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnum
- type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnumI18nContent
- type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnum
- type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnumI18nContent
- type EventV2ContactEmployeeTypeEnumDeletedV3
- type EventV2ContactEmployeeTypeEnumDeletedV3Handler
- type EventV2ContactEmployeeTypeEnumDeletedV3OldEnum
- type EventV2ContactEmployeeTypeEnumDeletedV3OldEnumI18nContent
- type EventV2ContactEmployeeTypeEnumUpdatedV3
- type EventV2ContactEmployeeTypeEnumUpdatedV3Handler
- type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnum
- type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnumI18nContent
- type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnum
- type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnumI18nContent
- type EventV2ContactScopeUpdatedV3
- type EventV2ContactScopeUpdatedV3Added
- type EventV2ContactScopeUpdatedV3AddedDepartment
- type EventV2ContactScopeUpdatedV3AddedDepartmentI18nName
- type EventV2ContactScopeUpdatedV3AddedDepartmentStatus
- type EventV2ContactScopeUpdatedV3AddedUser
- type EventV2ContactScopeUpdatedV3AddedUserAvatar
- type EventV2ContactScopeUpdatedV3AddedUserCustomAttr
- type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValue
- type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValueGenericUser
- type EventV2ContactScopeUpdatedV3AddedUserGroup
- type EventV2ContactScopeUpdatedV3AddedUserNotificationOption
- type EventV2ContactScopeUpdatedV3AddedUserStatus
- type EventV2ContactScopeUpdatedV3Handler
- type EventV2ContactScopeUpdatedV3Removed
- type EventV2ContactScopeUpdatedV3RemovedDepartment
- type EventV2ContactScopeUpdatedV3RemovedDepartmentI18nName
- type EventV2ContactScopeUpdatedV3RemovedDepartmentStatus
- type EventV2ContactScopeUpdatedV3RemovedUser
- type EventV2ContactScopeUpdatedV3RemovedUserAvatar
- type EventV2ContactScopeUpdatedV3RemovedUserCustomAttr
- type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValue
- type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValueGenericUser
- type EventV2ContactScopeUpdatedV3RemovedUserGroup
- type EventV2ContactScopeUpdatedV3RemovedUserNotificationOption
- type EventV2ContactScopeUpdatedV3RemovedUserStatus
- type EventV2ContactUserCreatedV3
- type EventV2ContactUserCreatedV3Handler
- type EventV2ContactUserCreatedV3Object
- type EventV2ContactUserCreatedV3ObjectAvatar
- type EventV2ContactUserCreatedV3ObjectCustomAttr
- type EventV2ContactUserCreatedV3ObjectCustomAttrValue
- type EventV2ContactUserCreatedV3ObjectCustomAttrValueGenericUser
- type EventV2ContactUserCreatedV3ObjectOrder
- type EventV2ContactUserCreatedV3ObjectStatus
- type EventV2ContactUserDeletedV3
- type EventV2ContactUserDeletedV3Handler
- type EventV2ContactUserDeletedV3Object
- type EventV2ContactUserDeletedV3ObjectAvatar
- type EventV2ContactUserDeletedV3ObjectCustomAttr
- type EventV2ContactUserDeletedV3ObjectCustomAttrValue
- type EventV2ContactUserDeletedV3ObjectCustomAttrValueGenericUser
- type EventV2ContactUserDeletedV3ObjectOrder
- type EventV2ContactUserDeletedV3ObjectStatus
- type EventV2ContactUserDeletedV3OldObject
- type EventV2ContactUserUpdatedV3
- type EventV2ContactUserUpdatedV3Handler
- type EventV2ContactUserUpdatedV3Object
- type EventV2ContactUserUpdatedV3ObjectAvatar
- type EventV2ContactUserUpdatedV3ObjectCustomAttr
- type EventV2ContactUserUpdatedV3ObjectCustomAttrValue
- type EventV2ContactUserUpdatedV3ObjectCustomAttrValueGenericUser
- type EventV2ContactUserUpdatedV3ObjectOrder
- type EventV2ContactUserUpdatedV3ObjectStatus
- type EventV2ContactUserUpdatedV3OldObject
- type EventV2ContactUserUpdatedV3OldObjectAvatar
- type EventV2ContactUserUpdatedV3OldObjectCustomAttr
- type EventV2ContactUserUpdatedV3OldObjectCustomAttrValue
- type EventV2ContactUserUpdatedV3OldObjectCustomAttrValueGenericUser
- type EventV2ContactUserUpdatedV3OldObjectOrder
- type EventV2ContactUserUpdatedV3OldObjectStatus
- type EventV2DriveFileDeletedV1
- type EventV2DriveFileDeletedV1Handler
- type EventV2DriveFileDeletedV1OperatorID
- type EventV2DriveFileEditV1
- type EventV2DriveFileEditV1Handler
- type EventV2DriveFileEditV1OperatorID
- type EventV2DriveFileEditV1SubscriberID
- type EventV2DriveFilePermissionMemberAddedV1
- type EventV2DriveFilePermissionMemberAddedV1Handler
- type EventV2DriveFilePermissionMemberRemovedV1
- type EventV2DriveFilePermissionMemberRemovedV1Handler
- type EventV2DriveFileReadV1
- type EventV2DriveFileReadV1Handler
- type EventV2DriveFileReadV1OperatorID
- type EventV2DriveFileTitleUpdatedV1
- type EventV2DriveFileTitleUpdatedV1Handler
- type EventV2DriveFileTrashedV1
- type EventV2DriveFileTrashedV1Handler
- type EventV2DriveFileTrashedV1OperatorID
- type EventV2HelpdeskNotificationApproveV1
- type EventV2HelpdeskNotificationApproveV1Handler
- type EventV2HelpdeskTicketCreatedV1
- type EventV2HelpdeskTicketCreatedV1Guest
- type EventV2HelpdeskTicketCreatedV1GuestID
- type EventV2HelpdeskTicketCreatedV1Handler
- type EventV2HelpdeskTicketMessageCreatedV1
- type EventV2HelpdeskTicketMessageCreatedV1Content
- type EventV2HelpdeskTicketMessageCreatedV1Handler
- type EventV2HelpdeskTicketMessageCreatedV1SenderID
- type EventV2HelpdeskTicketMessageCreatedV1Ticket
- type EventV2HelpdeskTicketMessageUpdatedV1
- type EventV2HelpdeskTicketMessageUpdatedV1Handler
- type EventV2HelpdeskTicketMessageUpdatedV1Object
- type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuest
- type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuestID
- type EventV2HelpdeskTicketMessageUpdatedV1OldObject
- type EventV2IMChatDisbandedV1
- type EventV2IMChatDisbandedV1Handler
- type EventV2IMChatDisbandedV1OperatorID
- type EventV2IMChatMemberBotAddedV1
- type EventV2IMChatMemberBotAddedV1Handler
- type EventV2IMChatMemberBotAddedV1OperatorID
- type EventV2IMChatMemberBotDeletedV1
- type EventV2IMChatMemberBotDeletedV1Handler
- type EventV2IMChatMemberBotDeletedV1OperatorID
- type EventV2IMChatMemberUserAddedV1
- type EventV2IMChatMemberUserAddedV1Handler
- type EventV2IMChatMemberUserAddedV1OperatorID
- type EventV2IMChatMemberUserAddedV1User
- type EventV2IMChatMemberUserAddedV1UserUserID
- type EventV2IMChatMemberUserDeletedV1
- type EventV2IMChatMemberUserDeletedV1Handler
- type EventV2IMChatMemberUserDeletedV1OperatorID
- type EventV2IMChatMemberUserDeletedV1User
- type EventV2IMChatMemberUserDeletedV1UserUserID
- type EventV2IMChatMemberUserWithdrawnV1
- type EventV2IMChatMemberUserWithdrawnV1Handler
- type EventV2IMChatMemberUserWithdrawnV1OperatorID
- type EventV2IMChatMemberUserWithdrawnV1User
- type EventV2IMChatMemberUserWithdrawnV1UserUserID
- type EventV2IMChatUpdatedV1
- type EventV2IMChatUpdatedV1AfterChange
- type EventV2IMChatUpdatedV1AfterChangeOwnerID
- type EventV2IMChatUpdatedV1BeforeChange
- type EventV2IMChatUpdatedV1BeforeChangeOwnerID
- type EventV2IMChatUpdatedV1Handler
- type EventV2IMChatUpdatedV1ModeratorList
- type EventV2IMChatUpdatedV1ModeratorListAddedMember
- type EventV2IMChatUpdatedV1ModeratorListAddedMemberUserID
- type EventV2IMChatUpdatedV1ModeratorListRemovedMember
- type EventV2IMChatUpdatedV1ModeratorListRemovedMemberUserID
- type EventV2IMChatUpdatedV1OperatorID
- type EventV2IMMessageReactionCreatedV1
- type EventV2IMMessageReactionCreatedV1Handler
- type EventV2IMMessageReactionCreatedV1ReactionType
- type EventV2IMMessageReactionCreatedV1UserID
- type EventV2IMMessageReactionDeletedV1
- type EventV2IMMessageReactionDeletedV1Handler
- type EventV2IMMessageReactionDeletedV1ReactionType
- type EventV2IMMessageReactionDeletedV1UserID
- type EventV2IMMessageReadV1
- type EventV2IMMessageReadV1Handler
- type EventV2IMMessageReadV1Reader
- type EventV2IMMessageReadV1ReaderReaderID
- type EventV2IMMessageReceiveV1
- type EventV2IMMessageReceiveV1Handler
- type EventV2IMMessageReceiveV1Message
- type EventV2IMMessageReceiveV1MessageMention
- type EventV2IMMessageReceiveV1MessageMentionID
- type EventV2IMMessageReceiveV1Sender
- type EventV2IMMessageReceiveV1SenderSenderID
- type EventV2MeetingRoomMeetingRoomCreatedV1
- type EventV2MeetingRoomMeetingRoomCreatedV1Handler
- type EventV2MeetingRoomMeetingRoomDeletedV1
- type EventV2MeetingRoomMeetingRoomDeletedV1Handler
- type EventV2MeetingRoomMeetingRoomStatusChangedV1
- type EventV2MeetingRoomMeetingRoomStatusChangedV1Handler
- type EventV2MeetingRoomMeetingRoomUpdatedV1
- type EventV2MeetingRoomMeetingRoomUpdatedV1Handler
- type EventV2TaskTaskCommentUpdatedV1
- type EventV2TaskTaskCommentUpdatedV1Handler
- type EventV2TaskTaskUpdateTenantV1
- type EventV2TaskTaskUpdateTenantV1Handler
- type EventV2TaskTaskUpdateTenantV1UserIDList
- type EventV2TaskTaskUpdateTenantV1UserIDListUserID
- type EventV2TaskTaskUpdatedV1
- type EventV2TaskTaskUpdatedV1Handler
- type EventV2VCMeetingJoinMeetingV1
- type EventV2VCMeetingJoinMeetingV1Handler
- type EventV2VCMeetingJoinMeetingV1Meeting
- type EventV2VCMeetingJoinMeetingV1MeetingHostUser
- type EventV2VCMeetingJoinMeetingV1MeetingHostUserID
- type EventV2VCMeetingJoinMeetingV1MeetingOwner
- type EventV2VCMeetingJoinMeetingV1MeetingOwnerID
- type EventV2VCMeetingJoinMeetingV1Operator
- type EventV2VCMeetingJoinMeetingV1OperatorID
- type EventV2VCMeetingLeaveMeetingV1
- type EventV2VCMeetingLeaveMeetingV1Handler
- type EventV2VCMeetingLeaveMeetingV1Meeting
- type EventV2VCMeetingLeaveMeetingV1MeetingHostUser
- type EventV2VCMeetingLeaveMeetingV1MeetingHostUserID
- type EventV2VCMeetingLeaveMeetingV1MeetingOwner
- type EventV2VCMeetingLeaveMeetingV1MeetingOwnerID
- type EventV2VCMeetingLeaveMeetingV1Operator
- type EventV2VCMeetingLeaveMeetingV1OperatorID
- type EventV2VCMeetingMeetingEndedV1
- type EventV2VCMeetingMeetingEndedV1Handler
- type EventV2VCMeetingMeetingEndedV1Meeting
- type EventV2VCMeetingMeetingEndedV1MeetingHostUser
- type EventV2VCMeetingMeetingEndedV1MeetingHostUserID
- type EventV2VCMeetingMeetingEndedV1MeetingOwner
- type EventV2VCMeetingMeetingEndedV1MeetingOwnerID
- type EventV2VCMeetingMeetingEndedV1Operator
- type EventV2VCMeetingMeetingEndedV1OperatorID
- type EventV2VCMeetingMeetingStartedV1
- type EventV2VCMeetingMeetingStartedV1Handler
- type EventV2VCMeetingMeetingStartedV1Meeting
- type EventV2VCMeetingMeetingStartedV1MeetingHostUser
- type EventV2VCMeetingMeetingStartedV1MeetingHostUserID
- type EventV2VCMeetingMeetingStartedV1MeetingOwner
- type EventV2VCMeetingMeetingStartedV1MeetingOwnerID
- type EventV2VCMeetingMeetingStartedV1Operator
- type EventV2VCMeetingMeetingStartedV1OperatorID
- type EventV2VCMeetingRecordingEndedV1
- type EventV2VCMeetingRecordingEndedV1Handler
- type EventV2VCMeetingRecordingEndedV1Meeting
- type EventV2VCMeetingRecordingEndedV1MeetingHostUser
- type EventV2VCMeetingRecordingEndedV1MeetingHostUserID
- type EventV2VCMeetingRecordingEndedV1MeetingOwner
- type EventV2VCMeetingRecordingEndedV1MeetingOwnerID
- type EventV2VCMeetingRecordingEndedV1Operator
- type EventV2VCMeetingRecordingEndedV1OperatorID
- type EventV2VCMeetingRecordingReadyV1
- type EventV2VCMeetingRecordingReadyV1Handler
- type EventV2VCMeetingRecordingReadyV1Meeting
- type EventV2VCMeetingRecordingReadyV1MeetingOwner
- type EventV2VCMeetingRecordingReadyV1MeetingOwnerID
- type EventV2VCMeetingRecordingStartedV1
- type EventV2VCMeetingRecordingStartedV1Handler
- type EventV2VCMeetingRecordingStartedV1Meeting
- type EventV2VCMeetingRecordingStartedV1MeetingHostUser
- type EventV2VCMeetingRecordingStartedV1MeetingHostUserID
- type EventV2VCMeetingRecordingStartedV1MeetingOwner
- type EventV2VCMeetingRecordingStartedV1MeetingOwnerID
- type EventV2VCMeetingRecordingStartedV1Operator
- type EventV2VCMeetingRecordingStartedV1OperatorID
- type EventV2VCMeetingShareEndedV1
- type EventV2VCMeetingShareEndedV1Handler
- type EventV2VCMeetingShareEndedV1Meeting
- type EventV2VCMeetingShareEndedV1MeetingHostUser
- type EventV2VCMeetingShareEndedV1MeetingHostUserID
- type EventV2VCMeetingShareEndedV1MeetingOwner
- type EventV2VCMeetingShareEndedV1MeetingOwnerID
- type EventV2VCMeetingShareEndedV1Operator
- type EventV2VCMeetingShareEndedV1OperatorID
- type EventV2VCMeetingShareStartedV1
- type EventV2VCMeetingShareStartedV1Handler
- type EventV2VCMeetingShareStartedV1Meeting
- type EventV2VCMeetingShareStartedV1MeetingHostUser
- type EventV2VCMeetingShareStartedV1MeetingHostUserID
- type EventV2VCMeetingShareStartedV1MeetingOwner
- type EventV2VCMeetingShareStartedV1MeetingOwnerID
- type EventV2VCMeetingShareStartedV1Operator
- type EventV2VCMeetingShareStartedV1OperatorID
- type ExecuteSendHelpdeskNotificationReq
- type ExecuteSendHelpdeskNotificationResp
- type FileService
- func (r *FileService) DownloadFile(ctx context.Context, request *DownloadFileReq, options ...MethodOptionFunc) (*DownloadFileResp, *Response, error)
- func (r *FileService) DownloadImage(ctx context.Context, request *DownloadImageReq, options ...MethodOptionFunc) (*DownloadImageResp, *Response, error)
- func (r *FileService) UploadFile(ctx context.Context, request *UploadFileReq, options ...MethodOptionFunc) (*UploadFileResp, *Response, error)
- func (r *FileService) UploadImage(ctx context.Context, request *UploadImageReq, options ...MethodOptionFunc) (*UploadImageResp, *Response, error)
- type FileType
- type FindSheetReq
- type FindSheetReqFindCondition
- type FindSheetResp
- type FindSheetRespFindResult
- type FinishUploadDriveFileReq
- type FinishUploadDriveFileResp
- type FinishUploadDriveMediaReq
- type FinishUploadDriveMediaResp
- type GenOAuthURLReq
- type GenerateCaldavConfReq
- type GenerateCaldavConfResp
- type GenerateJssdkSignatureReq
- type GetACSAccessRecordListReq
- type GetACSAccessRecordListResp
- type GetACSAccessRecordListRespItem
- type GetACSAccessRecordPhotoReq
- type GetACSAccessRecordPhotoResp
- type GetACSDeviceListReq
- type GetACSDeviceListResp
- type GetACSDeviceListRespItem
- type GetACSUserFaceReq
- type GetACSUserFaceResp
- type GetACSUserListReq
- type GetACSUserListResp
- type GetACSUserListRespItem
- type GetACSUserListRespItemFeature
- type GetACSUserReq
- type GetACSUserResp
- type GetACSUserRespUser
- type GetACSUserRespUserFeature
- type GetAccessTokenReq
- type GetAccessTokenResp
- type GetAdminDeptStatsReq
- type GetAdminDeptStatsResp
- type GetAdminDeptStatsRespItem
- type GetAdminUserStatsReq
- type GetAdminUserStatsResp
- type GetAdminUserStatsRespItem
- type GetApplicationAppAdminUserListReq
- type GetApplicationAppAdminUserListResp
- type GetApplicationAppAdminUserListRespUser
- type GetApplicationAppAdminUserListRespUserOpenID
- type GetApplicationAppListReq
- type GetApplicationAppListResp
- type GetApplicationAppListRespAppList
- type GetApplicationAppVisibilityReq
- type GetApplicationAppVisibilityResp
- type GetApplicationAppVisibilityRespDepartment
- type GetApplicationAppVisibilityRespUser
- type GetApplicationMessageDetailReq
- type GetApplicationMessageDetailResp
- type GetApplicationMessageDetailRespTarget
- type GetApplicationMessageDetailRespUsersRead
- type GetApplicationMessageOverviewReq
- type GetApplicationMessageOverviewResp
- type GetApplicationMessageOverviewRespGroupRead
- type GetApplicationMessageOverviewRespGroupReadPv
- type GetApplicationMessageOverviewRespGroupReceived
- type GetApplicationMessageOverviewRespGroupReceivedPv
- type GetApplicationMessageOverviewRespGroupSent
- type GetApplicationMessageOverviewRespGroupSentPv
- type GetApplicationMessageOverviewRespP2pRead
- type GetApplicationMessageOverviewRespP2pReadPv
- type GetApplicationMessageOverviewRespP2pReceived
- type GetApplicationMessageOverviewRespP2pReceivedPv
- type GetApplicationMessageOverviewRespP2pSent
- type GetApplicationMessageOverviewRespP2pSentPv
- type GetApplicationMessageTrendReq
- type GetApplicationMessageTrendResp
- type GetApplicationMessageTrendRespGroupRead
- type GetApplicationMessageTrendRespGroupReadTimestamp
- type GetApplicationMessageTrendRespGroupReceived
- type GetApplicationMessageTrendRespGroupReceivedTimestamp
- type GetApplicationMessageTrendRespGroupSent
- type GetApplicationMessageTrendRespGroupSentTimestamp
- type GetApplicationMessageTrendRespP2pRead
- type GetApplicationMessageTrendRespP2pReadTimestamp
- type GetApplicationMessageTrendRespP2pReceived
- type GetApplicationMessageTrendRespP2pReceivedTimestamp
- type GetApplicationMessageTrendRespP2pSent
- type GetApplicationMessageTrendRespP2pSentTimestamp
- type GetApplicationOrderListReq
- type GetApplicationOrderListResp
- type GetApplicationOrderListRespOrderList
- type GetApplicationOrderReq
- type GetApplicationOrderResp
- type GetApplicationOrderRespOrder
- type GetApplicationReq
- type GetApplicationResp
- type GetApplicationRespApp
- type GetApplicationRespAppI18n
- type GetApplicationRespAppScope
- type GetApplicationUnderAuditListReq
- type GetApplicationUnderAuditListResp
- type GetApplicationUnderAuditListRespItem
- type GetApplicationUnderAuditListRespItemI18n
- type GetApplicationUnderAuditListRespItemScope
- type GetApplicationUsageDetailReq
- type GetApplicationUsageDetailReqFilter
- type GetApplicationUsageDetailResp
- type GetApplicationUsageDetailRespUser
- type GetApplicationUsageOverviewReq
- type GetApplicationUsageOverviewResp
- type GetApplicationUsageOverviewRespItem
- type GetApplicationUsageTrendReq
- type GetApplicationUsageTrendReqFilter
- type GetApplicationUsageTrendResp
- type GetApplicationUsageTrendRespItem
- type GetApplicationUsageTrendRespItemTrend
- type GetApplicationUserAdminScopeReq
- type GetApplicationUserAdminScopeResp
- type GetApplicationUserVisibleAppReq
- type GetApplicationUserVisibleAppResp
- type GetApplicationUserVisibleAppRespAppList
- type GetApplicationVersionReq
- type GetApplicationVersionResp
- type GetApplicationVersionRespAppVersion
- type GetApplicationVersionRespAppVersionAbility
- type GetApplicationVersionRespAppVersionAbilityBot
- type GetApplicationVersionRespAppVersionAbilityCloudDoc
- type GetApplicationVersionRespAppVersionAbilityCloudDocI18n
- type GetApplicationVersionRespAppVersionAbilityDocsBlock
- type GetApplicationVersionRespAppVersionAbilityDocsBlockI18n
- type GetApplicationVersionRespAppVersionAbilityGadget
- type GetApplicationVersionRespAppVersionAbilityMessageAction
- type GetApplicationVersionRespAppVersionAbilityMessageActionI18n
- type GetApplicationVersionRespAppVersionAbilityNavigate
- type GetApplicationVersionRespAppVersionAbilityNavigateMobile
- type GetApplicationVersionRespAppVersionAbilityNavigatePc
- type GetApplicationVersionRespAppVersionAbilityPlusMenu
- type GetApplicationVersionRespAppVersionAbilityWebApp
- type GetApplicationVersionRespAppVersionAbilityWorkplaceWidget
- type GetApplicationVersionRespAppVersionI18n
- type GetApplicationVersionRespAppVersionRemark
- type GetApplicationVersionRespAppVersionRemarkVisibility
- type GetApplicationVersionRespAppVersionRemarkVisibilityInvisibleList
- type GetApplicationVersionRespAppVersionRemarkVisibilityVisibleList
- type GetApplicationVersionRespAppVersionScope
- type GetApprovalInstanceListReq
- type GetApprovalInstanceListResp
- type GetApprovalInstanceReq
- type GetApprovalInstanceResp
- type GetApprovalInstanceRespComment
- type GetApprovalInstanceRespTask
- type GetApprovalInstanceRespTimeline
- type GetApprovalInstanceRespTimelineCcUser
- type GetApprovalInstanceRespTimelineExt
- type GetApprovalReq
- type GetApprovalResp
- type GetApprovalRespNode
- type GetApprovalRespViewer
- type GetApprovalUserTaskListReq
- type GetApprovalUserTaskListResp
- type GetApprovalUserTaskListRespCount
- type GetApprovalUserTaskListRespTask
- type GetApprovalUserTaskListRespTaskURLs
- type GetAttendanceGroupReq
- type GetAttendanceGroupResp
- type GetAttendanceGroupRespFreePunchCfg
- type GetAttendanceGroupRespLocation
- type GetAttendanceGroupRespMachine
- type GetAttendanceGroupRespNeedPunchSpecialDay
- type GetAttendanceGroupRespNoNeedPunchSpecialDay
- type GetAttendanceShiftDetailReq
- type GetAttendanceShiftDetailResp
- type GetAttendanceShiftDetailRespLateOffLateOnRule
- type GetAttendanceShiftDetailRespPunchTimeRule
- type GetAttendanceShiftDetailRespRestTimeRule
- type GetAttendanceShiftReq
- type GetAttendanceShiftResp
- type GetAttendanceShiftRespLateOffLateOnRule
- type GetAttendanceShiftRespPunchTimeRule
- type GetAttendanceShiftRespRestTimeRule
- type GetAttendanceUserAllowedRemedyReq
- type GetAttendanceUserAllowedRemedyResp
- type GetAttendanceUserAllowedRemedyRespUserAllowedRemedys
- type GetAttendanceUserApprovalReq
- type GetAttendanceUserApprovalResp
- type GetAttendanceUserApprovalRespUserApproval
- type GetAttendanceUserApprovalRespUserApprovalLeave
- type GetAttendanceUserApprovalRespUserApprovalOut
- type GetAttendanceUserApprovalRespUserApprovalOvertimeWork
- type GetAttendanceUserApprovalRespUserApprovalTrip
- type GetAttendanceUserDailyShiftReq
- type GetAttendanceUserDailyShiftResp
- type GetAttendanceUserDailyShiftRespUserDailyShift
- type GetAttendanceUserFlowReq
- type GetAttendanceUserFlowResp
- type GetAttendanceUserSettingListReq
- type GetAttendanceUserSettingListResp
- type GetAttendanceUserSettingListRespUserSetting
- type GetAttendanceUserStatsDataReq
- type GetAttendanceUserStatsDataResp
- type GetAttendanceUserStatsDataRespUserData
- type GetAttendanceUserStatsDataRespUserDataData
- type GetAttendanceUserStatsDataRespUserDataDataFeature
- type GetAttendanceUserStatsFieldReq
- type GetAttendanceUserStatsFieldResp
- type GetAttendanceUserStatsFieldRespUserStatsField
- type GetAttendanceUserStatsFieldRespUserStatsFieldField
- type GetAttendanceUserStatsFieldRespUserStatsFieldFieldChildField
- type GetAttendanceUserStatsViewReq
- type GetAttendanceUserStatsViewResp
- type GetAttendanceUserStatsViewRespView
- type GetAttendanceUserStatsViewRespViewItem
- type GetAttendanceUserStatsViewRespViewItemChildItem
- type GetAttendanceUserTaskRemedyAllowedRemedyListReq
- type GetAttendanceUserTaskRemedyAllowedRemedyListResp
- type GetAttendanceUserTaskRemedyAllowedRemedyListRespUserAllowedRemedy
- type GetAttendanceUserTaskRemedyReq
- type GetAttendanceUserTaskRemedyResp
- type GetAttendanceUserTaskRemedyRespUserRemedy
- type GetAttendanceUserTaskReq
- type GetAttendanceUserTaskResp
- type GetAttendanceUserTaskRespUserTaskResult
- type GetAttendanceUserTaskRespUserTaskResultRecord
- type GetAttendanceUserTaskRespUserTaskResultRecordCheckInRecord
- type GetAttendanceUserTaskRespUserTaskResultRecordCheckOutRecord
- type GetBatchSentMessageProgressReq
- type GetBatchSentMessageProgressResp
- type GetBatchSentMessageProgressRespBatchMessageRecallProgres
- type GetBatchSentMessageProgressRespBatchMessageSendProgres
- type GetBatchSentMessageReadUserReq
- type GetBatchSentMessageReadUserResp
- type GetBatchSentMessageReadUserRespReadUser
- type GetBitableFieldListReq
- type GetBitableFieldListResp
- type GetBitableFieldListRespItem
- type GetBitableFieldListRespItemProperty
- type GetBitableFieldListRespItemPropertyOption
- type GetBitableMetaReq
- type GetBitableMetaResp
- type GetBitableMetaRespApp
- type GetBitableRecordListReq
- type GetBitableRecordListResp
- type GetBitableRecordListRespItem
- type GetBitableRecordReq
- type GetBitableRecordResp
- type GetBitableRecordRespRecord
- type GetBitableTableListReq
- type GetBitableTableListResp
- type GetBitableTableListRespItem
- type GetBitableViewListReq
- type GetBitableViewListResp
- type GetBitableViewListRespItem
- type GetBotInfoReq
- type GetBotInfoResp
- type GetCalendarACLListReq
- type GetCalendarACLListResp
- type GetCalendarACLListRespACL
- type GetCalendarACLListRespACLScope
- type GetCalendarEventAttendeeChatMemberListReq
- type GetCalendarEventAttendeeChatMemberListResp
- type GetCalendarEventAttendeeChatMemberListRespItem
- type GetCalendarEventAttendeeListReq
- type GetCalendarEventAttendeeListResp
- type GetCalendarEventAttendeeListRespItem
- type GetCalendarEventAttendeeListRespItemChatMember
- type GetCalendarEventAttendeeListRespItemResourceCustomization
- type GetCalendarEventAttendeeListRespItemResourceCustomizationOption
- type GetCalendarEventListReq
- type GetCalendarEventListResp
- type GetCalendarEventListRespItem
- type GetCalendarEventListRespItemEndTime
- type GetCalendarEventListRespItemLocation
- type GetCalendarEventListRespItemReminder
- type GetCalendarEventListRespItemSchema
- type GetCalendarEventListRespItemStartTime
- type GetCalendarEventListRespItemVchat
- type GetCalendarEventReq
- type GetCalendarEventResp
- type GetCalendarEventRespEvent
- type GetCalendarEventRespEventEndTime
- type GetCalendarEventRespEventLocation
- type GetCalendarEventRespEventReminder
- type GetCalendarEventRespEventSchema
- type GetCalendarEventRespEventStartTime
- type GetCalendarEventRespEventVchat
- type GetCalendarExchangeBindingReq
- type GetCalendarExchangeBindingResp
- type GetCalendarFreeBusyListReq
- type GetCalendarFreeBusyListResp
- type GetCalendarFreeBusyListRespFreebusy
- type GetCalendarListReq
- type GetCalendarListResp
- type GetCalendarListRespCalendar
- type GetCalendarReq
- type GetCalendarResp
- type GetChatAnnouncementReq
- type GetChatAnnouncementResp
- type GetChatListOfSelfReq
- type GetChatListOfSelfResp
- type GetChatListOfSelfRespItem
- type GetChatMemberListReq
- type GetChatMemberListResp
- type GetChatMemberListRespItem
- type GetChatModerationReq
- type GetChatModerationResp
- type GetChatModerationRespItem
- type GetChatOldReq
- type GetChatOldResp
- type GetChatOldRespMember
- type GetChatReq
- type GetChatResp
- type GetContactCustomAttrListReq
- type GetContactCustomAttrListResp
- type GetContactCustomAttrListRespItem
- type GetContactCustomAttrListRespItemI18nName
- type GetContactCustomAttrListRespItemOptions
- type GetContactCustomAttrListRespItemOptionsOption
- type GetContactGroupListReq
- type GetContactGroupListResp
- type GetContactGroupListRespGroup
- type GetContactGroupMemberReq
- type GetContactGroupMemberResp
- type GetContactGroupMemberRespMember
- type GetContactGroupReq
- type GetContactGroupResp
- type GetContactGroupRespGroup
- type GetContactScopeListReq
- type GetContactScopeListResp
- type GetContactUnitDepartmentListReq
- type GetContactUnitDepartmentListResp
- type GetContactUnitDepartmentListRespDepartment
- type GetContactUnitListReq
- type GetContactUnitListResp
- type GetContactUnitListRespUnit
- type GetContactUnitReq
- type GetContactUnitResp
- type GetContactUnitRespUnit
- type GetDepartmentListOldReq
- type GetDepartmentListOldResp
- type GetDepartmentListOldRespItem
- type GetDepartmentListOldRespItemI18nName
- type GetDepartmentListOldRespItemStatus
- type GetDepartmentListReq
- type GetDepartmentListResp
- type GetDepartmentListRespItem
- type GetDepartmentListRespItemI18nName
- type GetDepartmentListRespItemStatus
- type GetDepartmentReq
- type GetDepartmentResp
- type GetDepartmentRespDepartment
- type GetDepartmentRespDepartmentI18nName
- type GetDepartmentRespDepartmentStatus
- type GetDriveCommentListReq
- type GetDriveCommentListResp
- type GetDriveCommentListRespItem
- type GetDriveCommentListRespItemReplyList
- type GetDriveCommentListRespItemReplyListReply
- type GetDriveCommentListRespItemReplyListReplyContent
- type GetDriveCommentListRespItemReplyListReplyContentElement
- type GetDriveCommentListRespItemReplyListReplyContentElementDocsLink
- type GetDriveCommentListRespItemReplyListReplyContentElementPerson
- type GetDriveCommentListRespItemReplyListReplyContentElementTextRun
- type GetDriveCommentReq
- type GetDriveCommentResp
- type GetDriveCommentRespReplyList
- type GetDriveCommentRespReplyListReply
- type GetDriveCommentRespReplyListReplyContent
- type GetDriveCommentRespReplyListReplyContentElement
- type GetDriveCommentRespReplyListReplyContentElementDocsLink
- type GetDriveCommentRespReplyListReplyContentElementPerson
- type GetDriveCommentRespReplyListReplyContentElementTextRun
- type GetDriveDocContentReq
- type GetDriveDocContentResp
- type GetDriveDocMetaReq
- type GetDriveDocMetaResp
- type GetDriveDocRawContentReq
- type GetDriveDocRawContentResp
- type GetDriveFileMetaReq
- type GetDriveFileMetaReqRequestDocs
- type GetDriveFileMetaResp
- type GetDriveFileMetaRespDocsMetas
- type GetDriveFileStatisticsReq
- type GetDriveFileStatisticsResp
- type GetDriveFileStatisticsRespStatistics
- type GetDriveFolderChildrenReq
- type GetDriveFolderChildrenResp
- type GetDriveFolderChildrenRespChildren
- type GetDriveFolderMetaReq
- type GetDriveFolderMetaResp
- type GetDriveImportTaskReq
- type GetDriveImportTaskResp
- type GetDriveImportTaskRespResult
- type GetDriveMemberPermissionListReq
- type GetDriveMemberPermissionListResp
- type GetDriveMemberPermissionListRespMember
- type GetDrivePublicPermissionV2Req
- type GetDrivePublicPermissionV2Resp
- type GetDriveRootFolderMetaReq
- type GetDriveRootFolderMetaResp
- type GetEHREmployeeListReq
- type GetEHREmployeeListResp
- type GetEHREmployeeListRespItem
- type GetEHREmployeeListRespItemCustomField
- type GetEHREmployeeListRespItemSystemFields
- type GetEHREmployeeListRespItemSystemFieldsContractCompany
- type GetEHREmployeeListRespItemSystemFieldsJob
- type GetEHREmployeeListRespItemSystemFieldsJobLevel
- type GetEHREmployeeListRespItemSystemFieldsManager
- type GetEHREmployeeListRespItemSystemFieldsNativeRegion
- type GetEHREmployeeListRespItemSystemFieldsWorkLocation
- type GetEcosystemBindAwemeUserReq
- type GetEcosystemBindAwemeUserResp
- type GetEcosystemBindAwemeUserRespAwemeUser
- type GetEmployeeTypeEnumListReq
- type GetEmployeeTypeEnumListResp
- type GetEmployeeTypeEnumListRespItem
- type GetEmployeeTypeEnumListRespItemI18nContent
- type GetFaceVerifyAuthResultReq
- type GetFaceVerifyAuthResultResp
- type GetHelpdeskAgentEmailReq
- type GetHelpdeskAgentEmailResp
- type GetHelpdeskAgentScheduleListReq
- type GetHelpdeskAgentScheduleListResp
- type GetHelpdeskAgentScheduleListRespAgentSchedule
- type GetHelpdeskAgentScheduleListRespAgentScheduleAgent
- type GetHelpdeskAgentScheduleListRespAgentScheduleAgentSkill
- type GetHelpdeskAgentScheduleListRespAgentScheduleSchedule
- type GetHelpdeskAgentScheduleReq
- type GetHelpdeskAgentScheduleResp
- type GetHelpdeskAgentScheduleRespAgentSchedule
- type GetHelpdeskAgentScheduleRespAgentScheduleAgent
- type GetHelpdeskAgentScheduleRespAgentScheduleAgentSkill
- type GetHelpdeskAgentScheduleRespAgentScheduleSchedule
- type GetHelpdeskAgentSkillListReq
- type GetHelpdeskAgentSkillListResp
- type GetHelpdeskAgentSkillListRespAgentSkill
- type GetHelpdeskAgentSkillReq
- type GetHelpdeskAgentSkillResp
- type GetHelpdeskAgentSkillRespAgentSkill
- type GetHelpdeskAgentSkillRespAgentSkillAgent
- type GetHelpdeskAgentSkillRespAgentSkillRule
- type GetHelpdeskAgentSkillRuleListReq
- type GetHelpdeskAgentSkillRuleListResp
- type GetHelpdeskAgentSkillRuleListRespRule
- type GetHelpdeskCategoryListReq
- type GetHelpdeskCategoryListResp
- type GetHelpdeskCategoryReq
- type GetHelpdeskCategoryResp
- type GetHelpdeskFAQImageReq
- type GetHelpdeskFAQImageResp
- type GetHelpdeskFAQListReq
- type GetHelpdeskFAQListResp
- type GetHelpdeskFAQListRespItem
- type GetHelpdeskFAQListRespItemCreateUser
- type GetHelpdeskFAQListRespItemUpdateUser
- type GetHelpdeskFAQReq
- type GetHelpdeskFAQResp
- type GetHelpdeskFAQRespFAQ
- type GetHelpdeskFAQRespFAQCreateUser
- type GetHelpdeskFAQRespFAQUpdateUser
- type GetHelpdeskNotificationReq
- type GetHelpdeskNotificationResp
- type GetHelpdeskNotificationRespNotification
- type GetHelpdeskNotificationRespNotificationChat
- type GetHelpdeskNotificationRespNotificationCreateUser
- type GetHelpdeskNotificationRespNotificationDepartment
- type GetHelpdeskNotificationRespNotificationNewStaffScopeDepartment
- type GetHelpdeskNotificationRespNotificationUpdateUser
- type GetHelpdeskNotificationRespNotificationUser
- type GetHelpdeskTicketCustomizedFieldListReq
- type GetHelpdeskTicketCustomizedFieldListResp
- type GetHelpdeskTicketCustomizedFieldListRespItem
- type GetHelpdeskTicketCustomizedFieldListRespItemCreatedBy
- type GetHelpdeskTicketCustomizedFieldListRespItemUpdatedBy
- type GetHelpdeskTicketCustomizedFieldReq
- type GetHelpdeskTicketCustomizedFieldResp
- type GetHelpdeskTicketCustomizedFieldRespCreatedBy
- type GetHelpdeskTicketCustomizedFieldRespUpdatedBy
- type GetHelpdeskTicketListReq
- type GetHelpdeskTicketListResp
- type GetHelpdeskTicketListRespTicket
- type GetHelpdeskTicketListRespTicketAgent
- type GetHelpdeskTicketListRespTicketClosedBy
- type GetHelpdeskTicketListRespTicketCollaborator
- type GetHelpdeskTicketListRespTicketComments
- type GetHelpdeskTicketListRespTicketCustomizedField
- type GetHelpdeskTicketListRespTicketGuest
- type GetHelpdeskTicketMessageListReq
- type GetHelpdeskTicketMessageListResp
- type GetHelpdeskTicketMessageListRespMessage
- type GetHelpdeskTicketReq
- type GetHelpdeskTicketResp
- type GetHelpdeskTicketRespTicket
- type GetHelpdeskTicketRespTicketAgent
- type GetHelpdeskTicketRespTicketClosedBy
- type GetHelpdeskTicketRespTicketCollaborator
- type GetHelpdeskTicketRespTicketComments
- type GetHelpdeskTicketRespTicketCustomizedField
- type GetHelpdeskTicketRespTicketGuest
- type GetHireApplicationInterviewListReq
- type GetHireApplicationInterviewListResp
- type GetHireApplicationInterviewListRespItem
- type GetHireApplicationInterviewListRespItemInterviewRecord
- type GetHireApplicationInterviewListRespItemInterviewRecordInterviewScore
- type GetHireApplicationListReq
- type GetHireApplicationListResp
- type GetHireApplicationReq
- type GetHireApplicationResp
- type GetHireApplicationRespApplication
- type GetHireApplicationRespApplicationResumeSourceInfo
- type GetHireApplicationRespApplicationResumeSourceInfoName
- type GetHireApplicationRespApplicationStage
- type GetHireApplicationRespApplicationStageTime
- type GetHireAttachmentPreviewReq
- type GetHireAttachmentPreviewResp
- type GetHireAttachmentReq
- type GetHireAttachmentResp
- type GetHireAttachmentRespAttachment
- type GetHireEmployeeByApplicationReq
- type GetHireEmployeeByApplicationResp
- type GetHireEmployeeByApplicationRespEmployee
- type GetHireEmployeeReq
- type GetHireEmployeeResp
- type GetHireEmployeeRespEmployee
- type GetHireJobManagerReq
- type GetHireJobManagerResp
- type GetHireJobManagerRespInfo
- type GetHireJobProcessListReq
- type GetHireJobProcessListResp
- type GetHireJobProcessListRespItem
- type GetHireJobProcessListRespItemStage
- type GetHireJobReq
- type GetHireJobResp
- type GetHireJobRespJob
- type GetHireJobRespJobCity
- type GetHireJobRespJobCustomizedData
- type GetHireJobRespJobCustomizedDataName
- type GetHireJobRespJobCustomizedDataValue
- type GetHireJobRespJobCustomizedDataValueOption
- type GetHireJobRespJobCustomizedDataValueOptionName
- type GetHireJobRespJobCustomizedDataValueTimeRange
- type GetHireJobRespJobDepartment
- type GetHireJobRespJobHighlight
- type GetHireJobRespJobJobCategory
- type GetHireJobRespJobJobFunction
- type GetHireJobRespJobJobFunctionName
- type GetHireJobRespJobJobType
- type GetHireJobRespJobMaxJobLevel
- type GetHireJobRespJobMinJobLevel
- type GetHireJobRespJobRecruitmentType
- type GetHireJobRespJobSubject
- type GetHireJobRespJobSubjectName
- type GetHireNoteListReq
- type GetHireNoteListResp
- type GetHireNoteListRespItem
- type GetHireNoteReq
- type GetHireNoteResp
- type GetHireNoteRespNote
- type GetHireOfferByApplicationReq
- type GetHireOfferByApplicationResp
- type GetHireOfferByApplicationRespOffer
- type GetHireOfferByApplicationRespOfferBasicInfo
- type GetHireOfferByApplicationRespOfferBasicInfoCustomizeInfo
- type GetHireOfferByApplicationRespOfferBasicInfoLevel
- type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddress
- type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCity
- type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCountry
- type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressDistrict
- type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressState
- type GetHireOfferByApplicationRespOfferBasicInfoRecruitmentType
- type GetHireOfferByApplicationRespOfferBasicInfoSequence
- type GetHireOfferByApplicationRespOfferBasicInfoWorkAddress
- type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCity
- type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCountry
- type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressDistrict
- type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressState
- type GetHireOfferByApplicationRespOfferSalaryPlan
- type GetHireOfferByApplicationRespOfferSalaryPlanCustomizeInfo
- type GetHireOfferSchemaReq
- type GetHireOfferSchemaResp
- type GetHireOfferSchemaRespObject
- type GetHireOfferSchemaRespObjectName
- type GetHireOfferSchemaRespObjectOption
- type GetHireOfferSchemaRespObjectOptionName
- type GetHireReferralByApplicationReq
- type GetHireReferralByApplicationResp
- type GetHireReferralByApplicationRespReferral
- type GetHireResumeSourceReq
- type GetHireResumeSourceResp
- type GetHireResumeSourceRespItem
- type GetHireTalentReq
- type GetHireTalentResp
- type GetHireTalentRespTalent
- type GetHireTalentRespTalentAward
- type GetHireTalentRespTalentAwardCustomizedData
- type GetHireTalentRespTalentAwardCustomizedDataName
- type GetHireTalentRespTalentAwardCustomizedDataValue
- type GetHireTalentRespTalentAwardCustomizedDataValueOption
- type GetHireTalentRespTalentAwardCustomizedDataValueOptionName
- type GetHireTalentRespTalentAwardCustomizedDataValueTimeRange
- type GetHireTalentRespTalentBasicInfo
- type GetHireTalentRespTalentBasicInfoCurrentCity
- type GetHireTalentRespTalentBasicInfoCustomizedData
- type GetHireTalentRespTalentBasicInfoCustomizedDataName
- type GetHireTalentRespTalentBasicInfoCustomizedDataValue
- type GetHireTalentRespTalentBasicInfoCustomizedDataValueOption
- type GetHireTalentRespTalentBasicInfoCustomizedDataValueOptionName
- type GetHireTalentRespTalentBasicInfoCustomizedDataValueTimeRange
- type GetHireTalentRespTalentBasicInfoHometownCity
- type GetHireTalentRespTalentBasicInfoNationality
- type GetHireTalentRespTalentBasicInfoPreferredCity
- type GetHireTalentRespTalentCareer
- type GetHireTalentRespTalentCareerCustomizedData
- type GetHireTalentRespTalentCareerCustomizedDataName
- type GetHireTalentRespTalentCareerCustomizedDataValue
- type GetHireTalentRespTalentCareerCustomizedDataValueOption
- type GetHireTalentRespTalentCareerCustomizedDataValueOptionName
- type GetHireTalentRespTalentCareerCustomizedDataValueTimeRange
- type GetHireTalentRespTalentCustomizedData
- type GetHireTalentRespTalentCustomizedDataChildren
- type GetHireTalentRespTalentCustomizedDataChildrenName
- type GetHireTalentRespTalentCustomizedDataChildrenValue
- type GetHireTalentRespTalentCustomizedDataChildrenValueOption
- type GetHireTalentRespTalentCustomizedDataChildrenValueOptionName
- type GetHireTalentRespTalentCustomizedDataChildrenValueTimeRange
- type GetHireTalentRespTalentCustomizedDataName
- type GetHireTalentRespTalentEducation
- type GetHireTalentRespTalentEducationCustomizedData
- type GetHireTalentRespTalentEducationCustomizedDataName
- type GetHireTalentRespTalentEducationCustomizedDataValue
- type GetHireTalentRespTalentEducationCustomizedDataValueOption
- type GetHireTalentRespTalentEducationCustomizedDataValueOptionName
- type GetHireTalentRespTalentEducationCustomizedDataValueTimeRange
- type GetHireTalentRespTalentInterviewRegistration
- type GetHireTalentRespTalentLanguage
- type GetHireTalentRespTalentLanguageCustomizedData
- type GetHireTalentRespTalentLanguageCustomizedDataName
- type GetHireTalentRespTalentLanguageCustomizedDataValue
- type GetHireTalentRespTalentLanguageCustomizedDataValueOption
- type GetHireTalentRespTalentLanguageCustomizedDataValueOptionName
- type GetHireTalentRespTalentLanguageCustomizedDataValueTimeRange
- type GetHireTalentRespTalentProject
- type GetHireTalentRespTalentProjectCustomizedData
- type GetHireTalentRespTalentProjectCustomizedDataName
- type GetHireTalentRespTalentProjectCustomizedDataValue
- type GetHireTalentRespTalentProjectCustomizedDataValueOption
- type GetHireTalentRespTalentProjectCustomizedDataValueOptionName
- type GetHireTalentRespTalentProjectCustomizedDataValueTimeRange
- type GetHireTalentRespTalentResumeSource
- type GetHireTalentRespTalentSns
- type GetHireTalentRespTalentSnsCustomizedData
- type GetHireTalentRespTalentSnsCustomizedDataName
- type GetHireTalentRespTalentSnsCustomizedDataValue
- type GetHireTalentRespTalentSnsCustomizedDataValueOption
- type GetHireTalentRespTalentSnsCustomizedDataValueOptionName
- type GetHireTalentRespTalentSnsCustomizedDataValueTimeRange
- type GetHireTalentRespTalentWorks
- type GetHireTalentRespTalentWorksCustomizedData
- type GetHireTalentRespTalentWorksCustomizedDataName
- type GetHireTalentRespTalentWorksCustomizedDataValue
- type GetHireTalentRespTalentWorksCustomizedDataValueOption
- type GetHireTalentRespTalentWorksCustomizedDataValueOptionName
- type GetHireTalentRespTalentWorksCustomizedDataValueTimeRange
- type GetJssdkTicketReq
- type GetJssdkTicketResp
- type GetMailGroupListReq
- type GetMailGroupListResp
- type GetMailGroupListRespItem
- type GetMailGroupMemberListReq
- type GetMailGroupMemberListResp
- type GetMailGroupMemberListRespItem
- type GetMailGroupMemberReq
- type GetMailGroupMemberResp
- type GetMailGroupPermissionMemberListReq
- type GetMailGroupPermissionMemberListResp
- type GetMailGroupPermissionMemberListRespItem
- type GetMailGroupPermissionMemberReq
- type GetMailGroupPermissionMemberResp
- type GetMailGroupReq
- type GetMailGroupResp
- type GetMailUserAliasListReq
- type GetMailUserAliasListResp
- type GetMailUserAliasListRespItem
- type GetMeetingRoomBuildingListReq
- type GetMeetingRoomBuildingListResp
- type GetMeetingRoomBuildingListRespBuilding
- type GetMeetingRoomCountryListReq
- type GetMeetingRoomCountryListResp
- type GetMeetingRoomCountryListRespCountries
- type GetMeetingRoomCustomizationReq
- type GetMeetingRoomCustomizationResp
- type GetMeetingRoomCustomizationRespErrorRoomIDBuildingID
- type GetMeetingRoomCustomizationRespErrorRoomIDs
- type GetMeetingRoomCustomizationRespRoomIDToCustomization
- type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomID
- type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationData
- type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataConditions
- type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataOptions
- type GetMeetingRoomDistrictListReq
- type GetMeetingRoomDistrictListResp
- type GetMeetingRoomDistrictListRespDistrict
- type GetMeetingRoomRoomListReq
- type GetMeetingRoomRoomListResp
- type GetMeetingRoomRoomListRespRoom
- type GetMessageFileReq
- type GetMessageFileResp
- type GetMessageListReq
- type GetMessageListResp
- type GetMessageListRespItem
- type GetMessageReactionListReq
- type GetMessageReactionListResp
- type GetMessageReactionListRespItem
- type GetMessageReactionListRespItemOperator
- type GetMessageReactionListRespItemReactionType
- type GetMessageReadUserListReq
- type GetMessageReadUserListResp
- type GetMessageReadUserListRespItem
- type GetMessageReq
- type GetMessageResp
- type GetMessageRespItem
- type GetOKRPeriodListReq
- type GetOKRPeriodListResp
- type GetOKRPeriodListRespItem
- type GetParentDepartmentReq
- type GetParentDepartmentResp
- type GetParentDepartmentRespItem
- type GetParentDepartmentRespItemI18nName
- type GetParentDepartmentRespItemStatus
- type GetPublicMailboxListReq
- type GetPublicMailboxListResp
- type GetPublicMailboxListRespItem
- type GetPublicMailboxMemberListReq
- type GetPublicMailboxMemberListResp
- type GetPublicMailboxMemberListRespItem
- type GetPublicMailboxMemberReq
- type GetPublicMailboxMemberResp
- type GetPublicMailboxReq
- type GetPublicMailboxResp
- type GetSearchDataSourceItemReq
- type GetSearchDataSourceItemResp
- type GetSearchDataSourceItemRespItem
- type GetSearchDataSourceItemRespItemACL
- type GetSearchDataSourceItemRespItemContent
- type GetSearchDataSourceItemRespItemMetadata
- type GetSearchDataSourceListReq
- type GetSearchDataSourceListResp
- type GetSearchDataSourceListRespItem
- type GetSearchDataSourceReq
- type GetSearchDataSourceResp
- type GetSearchDataSourceRespDataSource
- type GetSheetConditionFormatReq
- type GetSheetConditionFormatResp
- type GetSheetConditionFormatRespSheetConditionFormat
- type GetSheetConditionFormatRespSheetConditionFormatConditionFormat
- type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyle
- type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyleFont
- type GetSheetDataValidationDropdownReq
- type GetSheetDataValidationDropdownResp
- type GetSheetDataValidationDropdownRespDataValidation
- type GetSheetDataValidationDropdownRespDataValidationOptions
- type GetSheetFilterReq
- type GetSheetFilterResp
- type GetSheetFilterRespSheetFilterInfo
- type GetSheetFilterRespSheetFilterInfoFilterInfo
- type GetSheetFilterRespSheetFilterInfoFilterInfoCondition
- type GetSheetFilterViewConditionReq
- type GetSheetFilterViewConditionResp
- type GetSheetFilterViewConditionRespCondition
- type GetSheetFilterViewReq
- type GetSheetFilterViewResp
- type GetSheetFilterViewRespFilterView
- type GetSheetFloatImageReq
- type GetSheetFloatImageResp
- type GetSheetFloatImageRespFloatImage
- type GetSheetMetaReq
- type GetSheetMetaResp
- type GetSheetMetaRespProperties
- type GetSheetMetaRespSheet
- type GetSheetMetaRespSheetBlockInfo
- type GetSheetMetaRespSheetMerge
- type GetSheetMetaRespSheetProtectedRange
- type GetSheetMetaRespSheetProtectedRangeDimension
- type GetSheetProtectedDimensionReq
- type GetSheetProtectedDimensionResp
- type GetSheetProtectedDimensionRespProtectedRange
- type GetSheetProtectedDimensionRespProtectedRangeDimension
- type GetSheetProtectedDimensionRespProtectedRangeEditors
- type GetSheetProtectedDimensionRespProtectedRangeEditorsUser
- type GetSheetValueReq
- type GetSheetValueResp
- type GetSheetValueRespValueRange
- type GetTaskCollaboratorListReq
- type GetTaskCollaboratorListResp
- type GetTaskCollaboratorListRespItem
- type GetTaskCommentReq
- type GetTaskCommentResp
- type GetTaskCommentRespComment
- type GetTaskFollowerListReq
- type GetTaskFollowerListResp
- type GetTaskFollowerListRespItem
- type GetTaskListReq
- type GetTaskListResp
- type GetTaskListRespItem
- type GetTaskListRespItemDue
- type GetTaskListRespItemOrigin
- type GetTaskListRespItemOriginHref
- type GetTaskReminderListReq
- type GetTaskReminderListResp
- type GetTaskReminderListRespItem
- type GetTaskReq
- type GetTaskResp
- type GetTaskRespTask
- type GetTaskRespTaskDue
- type GetTaskRespTaskOrigin
- type GetTaskRespTaskOriginHref
- type GetTenantReq
- type GetTenantResp
- type GetTenantRespTenant
- type GetTenantRespTenantAvatar
- type GetUserInfoReq
- type GetUserInfoResp
- type GetUserListOldReq
- type GetUserListOldResp
- type GetUserListOldRespItem
- type GetUserListOldRespItemAvatar
- type GetUserListOldRespItemCustomAttr
- type GetUserListOldRespItemCustomAttrValue
- type GetUserListOldRespItemCustomAttrValueGenericUser
- type GetUserListOldRespItemOrder
- type GetUserListOldRespItemStatus
- type GetUserListReq
- type GetUserListResp
- type GetUserListRespItem
- type GetUserListRespItemAvatar
- type GetUserListRespItemCustomAttr
- type GetUserListRespItemCustomAttrValue
- type GetUserListRespItemCustomAttrValueGenericUser
- type GetUserListRespItemOrder
- type GetUserListRespItemStatus
- type GetUserOKRListReq
- type GetUserOKRListResp
- type GetUserOKRListRespOKR
- type GetUserOKRListRespOKRObjective
- type GetUserOKRListRespOKRObjectiveAlignedObjective
- type GetUserOKRListRespOKRObjectiveAlignedObjectiveOwner
- type GetUserOKRListRespOKRObjectiveAligningObjective
- type GetUserOKRListRespOKRObjectiveAligningObjectiveOwner
- type GetUserOKRListRespOKRObjectiveKr
- type GetUserOKRListRespOKRObjectiveKrProgressRate
- type GetUserOKRListRespOKRObjectiveProgressRate
- type GetUserReq
- type GetUserResp
- type GetUserRespUser
- type GetUserRespUserAvatar
- type GetUserRespUserCustomAttr
- type GetUserRespUserCustomAttrValue
- type GetUserRespUserCustomAttrValueGenericUser
- type GetUserRespUserOrder
- type GetUserRespUserStatus
- type GetVCDailyReportReq
- type GetVCDailyReportResp
- type GetVCDailyReportRespMeetingReport
- type GetVCDailyReportRespMeetingReportDailyReport
- type GetVCMeetingRecordingReq
- type GetVCMeetingRecordingResp
- type GetVCMeetingRecordingRespRecording
- type GetVCMeetingReq
- type GetVCMeetingResp
- type GetVCMeetingRespMeeting
- type GetVCMeetingRespMeetingAbility
- type GetVCMeetingRespMeetingHostUser
- type GetVCMeetingRespMeetingParticipant
- type GetVCReserveActiveMeetingReq
- type GetVCReserveActiveMeetingResp
- type GetVCReserveActiveMeetingRespMeeting
- type GetVCReserveActiveMeetingRespMeetingAbility
- type GetVCReserveActiveMeetingRespMeetingHostUser
- type GetVCReserveActiveMeetingRespMeetingParticipant
- type GetVCReserveReq
- type GetVCReserveResp
- type GetVCReserveRespReserve
- type GetVCReserveRespReserveMeetingSettings
- type GetVCReserveRespReserveMeetingSettingsActionPermission
- type GetVCReserveRespReserveMeetingSettingsActionPermissionPermissionChecker
- type GetVCReserveRespReserveMeetingSettingsCallSetting
- type GetVCReserveRespReserveMeetingSettingsCallSettingCallee
- type GetVCReserveRespReserveMeetingSettingsCallSettingCalleePstnSipInfo
- type GetVCRoomConfigReq
- type GetVCRoomConfigResp
- type GetVCRoomConfigRespDigitalSignage
- type GetVCRoomConfigRespDigitalSignageMaterial
- type GetVCTopUserReportReq
- type GetVCTopUserReportResp
- type GetVCTopUserReportRespTopUserReport
- type GetWikiNodeListReq
- type GetWikiNodeListResp
- type GetWikiNodeListRespItem
- type GetWikiNodeReq
- type GetWikiNodeResp
- type GetWikiNodeRespNode
- type GetWikiSpaceListReq
- type GetWikiSpaceListResp
- type GetWikiSpaceListRespItem
- type GetWikiSpaceReq
- type GetWikiSpaceResp
- type GetWikiSpaceRespSpace
- type GetWikiTaskReq
- type GetWikiTaskResp
- type GetWikiTaskRespTask
- type GetWikiTaskRespTaskMoveResult
- type GetWikiTaskRespTaskMoveResultNode
- type HelpdeskCategory
- type HelpdeskCustomizedField
- type HelpdeskDropdownOption
- type HelpdeskService
- func (r *HelpdeskService) AnswerHelpdeskTicketUserQuery(ctx context.Context, request *AnswerHelpdeskTicketUserQueryReq, ...) (*AnswerHelpdeskTicketUserQueryResp, *Response, error)
- func (r *HelpdeskService) CancelApproveHelpdeskNotification(ctx context.Context, request *CancelApproveHelpdeskNotificationReq, ...) (*CancelApproveHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) CancelSendHelpdeskNotification(ctx context.Context, request *CancelSendHelpdeskNotificationReq, ...) (*CancelSendHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskAgentSchedule(ctx context.Context, request *CreateHelpdeskAgentScheduleReq, ...) (*CreateHelpdeskAgentScheduleResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskAgentSkill(ctx context.Context, request *CreateHelpdeskAgentSkillReq, ...) (*CreateHelpdeskAgentSkillResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskCategory(ctx context.Context, request *CreateHelpdeskCategoryReq, ...) (*CreateHelpdeskCategoryResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskFAQ(ctx context.Context, request *CreateHelpdeskFAQReq, ...) (*CreateHelpdeskFAQResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskNotification(ctx context.Context, request *CreateHelpdeskNotificationReq, ...) (*CreateHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) CreateHelpdeskTicketCustomizedField(ctx context.Context, request *CreateHelpdeskTicketCustomizedFieldReq, ...) (*CreateHelpdeskTicketCustomizedFieldResp, *Response, error)
- func (r *HelpdeskService) DeleteHelpdeskAgentSchedule(ctx context.Context, request *DeleteHelpdeskAgentScheduleReq, ...) (*DeleteHelpdeskAgentScheduleResp, *Response, error)
- func (r *HelpdeskService) DeleteHelpdeskAgentSkill(ctx context.Context, request *DeleteHelpdeskAgentSkillReq, ...) (*DeleteHelpdeskAgentSkillResp, *Response, error)
- func (r *HelpdeskService) DeleteHelpdeskCategory(ctx context.Context, request *DeleteHelpdeskCategoryReq, ...) (*DeleteHelpdeskCategoryResp, *Response, error)
- func (r *HelpdeskService) DeleteHelpdeskFAQ(ctx context.Context, request *DeleteHelpdeskFAQReq, ...) (*DeleteHelpdeskFAQResp, *Response, error)
- func (r *HelpdeskService) DeleteHelpdeskTicketCustomizedField(ctx context.Context, request *DeleteHelpdeskTicketCustomizedFieldReq, ...) (*DeleteHelpdeskTicketCustomizedFieldResp, *Response, error)
- func (r *HelpdeskService) DownloadHelpdeskTicketImage(ctx context.Context, request *DownloadHelpdeskTicketImageReq, ...) (*DownloadHelpdeskTicketImageResp, *Response, error)
- func (r *HelpdeskService) ExecuteSendHelpdeskNotification(ctx context.Context, request *ExecuteSendHelpdeskNotificationReq, ...) (*ExecuteSendHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentEmail(ctx context.Context, request *GetHelpdeskAgentEmailReq, ...) (*GetHelpdeskAgentEmailResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentSchedule(ctx context.Context, request *GetHelpdeskAgentScheduleReq, ...) (*GetHelpdeskAgentScheduleResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentScheduleList(ctx context.Context, request *GetHelpdeskAgentScheduleListReq, ...) (*GetHelpdeskAgentScheduleListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentSkill(ctx context.Context, request *GetHelpdeskAgentSkillReq, ...) (*GetHelpdeskAgentSkillResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentSkillList(ctx context.Context, request *GetHelpdeskAgentSkillListReq, ...) (*GetHelpdeskAgentSkillListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskAgentSkillRuleList(ctx context.Context, request *GetHelpdeskAgentSkillRuleListReq, ...) (*GetHelpdeskAgentSkillRuleListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskCategory(ctx context.Context, request *GetHelpdeskCategoryReq, ...) (*GetHelpdeskCategoryResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskCategoryList(ctx context.Context, request *GetHelpdeskCategoryListReq, ...) (*GetHelpdeskCategoryListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskFAQ(ctx context.Context, request *GetHelpdeskFAQReq, options ...MethodOptionFunc) (*GetHelpdeskFAQResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskFAQImage(ctx context.Context, request *GetHelpdeskFAQImageReq, ...) (*GetHelpdeskFAQImageResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskFAQList(ctx context.Context, request *GetHelpdeskFAQListReq, ...) (*GetHelpdeskFAQListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskNotification(ctx context.Context, request *GetHelpdeskNotificationReq, ...) (*GetHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskTicket(ctx context.Context, request *GetHelpdeskTicketReq, ...) (*GetHelpdeskTicketResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskTicketCustomizedField(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldReq, ...) (*GetHelpdeskTicketCustomizedFieldResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskTicketCustomizedFieldList(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldListReq, ...) (*GetHelpdeskTicketCustomizedFieldListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskTicketList(ctx context.Context, request *GetHelpdeskTicketListReq, ...) (*GetHelpdeskTicketListResp, *Response, error)
- func (r *HelpdeskService) GetHelpdeskTicketMessageList(ctx context.Context, request *GetHelpdeskTicketMessageListReq, ...) (*GetHelpdeskTicketMessageListResp, *Response, error)
- func (r *HelpdeskService) PreviewHelpdeskNotification(ctx context.Context, request *PreviewHelpdeskNotificationReq, ...) (*PreviewHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) SearchHelpdeskFAQ(ctx context.Context, request *SearchHelpdeskFAQReq, ...) (*SearchHelpdeskFAQResp, *Response, error)
- func (r *HelpdeskService) SendHelpdeskMessage(ctx context.Context, request *SendHelpdeskMessageReq, ...) (*SendHelpdeskMessageResp, *Response, error)
- func (r *HelpdeskService) SendHelpdeskTicketMessage(ctx context.Context, request *SendHelpdeskTicketMessageReq, ...) (*SendHelpdeskTicketMessageResp, *Response, error)
- func (r *HelpdeskService) StartHelpdeskService(ctx context.Context, request *StartHelpdeskServiceReq, ...) (*StartHelpdeskServiceResp, *Response, error)
- func (r *HelpdeskService) SubmitApproveHelpdeskNotification(ctx context.Context, request *SubmitApproveHelpdeskNotificationReq, ...) (*SubmitApproveHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) SubscribeHelpdeskEvent(ctx context.Context, request *SubscribeHelpdeskEventReq, ...) (*SubscribeHelpdeskEventResp, *Response, error)
- func (r *HelpdeskService) UnsubscribeHelpdeskEvent(ctx context.Context, request *UnsubscribeHelpdeskEventReq, ...) (*UnsubscribeHelpdeskEventResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskAgent(ctx context.Context, request *UpdateHelpdeskAgentReq, ...) (*UpdateHelpdeskAgentResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskAgentSchedule(ctx context.Context, request *UpdateHelpdeskAgentScheduleReq, ...) (*UpdateHelpdeskAgentScheduleResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskAgentSkill(ctx context.Context, request *UpdateHelpdeskAgentSkillReq, ...) (*UpdateHelpdeskAgentSkillResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskCategory(ctx context.Context, request *UpdateHelpdeskCategoryReq, ...) (*UpdateHelpdeskCategoryResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskFAQ(ctx context.Context, request *UpdateHelpdeskFAQReq, ...) (*UpdateHelpdeskFAQResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskNotification(ctx context.Context, request *UpdateHelpdeskNotificationReq, ...) (*UpdateHelpdeskNotificationResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskTicket(ctx context.Context, request *UpdateHelpdeskTicketReq, ...) (*UpdateHelpdeskTicketResp, *Response, error)
- func (r *HelpdeskService) UpdateHelpdeskTicketCustomizedField(ctx context.Context, request *UpdateHelpdeskTicketCustomizedFieldReq, ...) (*UpdateHelpdeskTicketCustomizedFieldResp, *Response, error)
- type HireService
- func (r *HireService) CreateHireApplication(ctx context.Context, request *CreateHireApplicationReq, ...) (*CreateHireApplicationResp, *Response, error)
- func (r *HireService) CreateHireNote(ctx context.Context, request *CreateHireNoteReq, options ...MethodOptionFunc) (*CreateHireNoteResp, *Response, error)
- func (r *HireService) GetHireApplication(ctx context.Context, request *GetHireApplicationReq, ...) (*GetHireApplicationResp, *Response, error)
- func (r *HireService) GetHireApplicationInterviewList(ctx context.Context, request *GetHireApplicationInterviewListReq, ...) (*GetHireApplicationInterviewListResp, *Response, error)
- func (r *HireService) GetHireApplicationList(ctx context.Context, request *GetHireApplicationListReq, ...) (*GetHireApplicationListResp, *Response, error)
- func (r *HireService) GetHireAttachment(ctx context.Context, request *GetHireAttachmentReq, ...) (*GetHireAttachmentResp, *Response, error)
- func (r *HireService) GetHireAttachmentPreview(ctx context.Context, request *GetHireAttachmentPreviewReq, ...) (*GetHireAttachmentPreviewResp, *Response, error)
- func (r *HireService) GetHireEmployee(ctx context.Context, request *GetHireEmployeeReq, options ...MethodOptionFunc) (*GetHireEmployeeResp, *Response, error)
- func (r *HireService) GetHireEmployeeByApplication(ctx context.Context, request *GetHireEmployeeByApplicationReq, ...) (*GetHireEmployeeByApplicationResp, *Response, error)
- func (r *HireService) GetHireJob(ctx context.Context, request *GetHireJobReq, options ...MethodOptionFunc) (*GetHireJobResp, *Response, error)
- func (r *HireService) GetHireJobManager(ctx context.Context, request *GetHireJobManagerReq, ...) (*GetHireJobManagerResp, *Response, error)
- func (r *HireService) GetHireJobProcessList(ctx context.Context, request *GetHireJobProcessListReq, ...) (*GetHireJobProcessListResp, *Response, error)
- func (r *HireService) GetHireNote(ctx context.Context, request *GetHireNoteReq, options ...MethodOptionFunc) (*GetHireNoteResp, *Response, error)
- func (r *HireService) GetHireNoteList(ctx context.Context, request *GetHireNoteListReq, options ...MethodOptionFunc) (*GetHireNoteListResp, *Response, error)
- func (r *HireService) GetHireOfferByApplication(ctx context.Context, request *GetHireOfferByApplicationReq, ...) (*GetHireOfferByApplicationResp, *Response, error)
- func (r *HireService) GetHireOfferSchema(ctx context.Context, request *GetHireOfferSchemaReq, ...) (*GetHireOfferSchemaResp, *Response, error)
- func (r *HireService) GetHireReferralByApplication(ctx context.Context, request *GetHireReferralByApplicationReq, ...) (*GetHireReferralByApplicationResp, *Response, error)
- func (r *HireService) GetHireResumeSource(ctx context.Context, request *GetHireResumeSourceReq, ...) (*GetHireResumeSourceResp, *Response, error)
- func (r *HireService) GetHireTalent(ctx context.Context, request *GetHireTalentReq, options ...MethodOptionFunc) (*GetHireTalentResp, *Response, error)
- func (r *HireService) MakeHireTransferOnboardByApplication(ctx context.Context, request *MakeHireTransferOnboardByApplicationReq, ...) (*MakeHireTransferOnboardByApplicationResp, *Response, error)
- func (r *HireService) TerminateHireApplication(ctx context.Context, request *TerminateHireApplicationReq, ...) (*TerminateHireApplicationResp, *Response, error)
- func (r *HireService) UpdateHireEmployee(ctx context.Context, request *UpdateHireEmployeeReq, ...) (*UpdateHireEmployeeResp, *Response, error)
- func (r *HireService) UpdateHireNote(ctx context.Context, request *UpdateHireNoteReq, options ...MethodOptionFunc) (*UpdateHireNoteResp, *Response, error)
- type HttpClient
- type HumanAuthService
- func (r *HumanAuthService) CreateIdentity(ctx context.Context, request *CreateIdentityReq, options ...MethodOptionFunc) (*CreateIdentityResp, *Response, error)
- func (r *HumanAuthService) CropFaceVerifyImage(ctx context.Context, request *CropFaceVerifyImageReq, ...) (*CropFaceVerifyImageResp, *Response, error)
- func (r *HumanAuthService) GetFaceVerifyAuthResult(ctx context.Context, request *GetFaceVerifyAuthResultReq, ...) (*GetFaceVerifyAuthResultResp, *Response, error)
- func (r *HumanAuthService) UploadFaceVerifyImage(ctx context.Context, request *UploadFaceVerifyImageReq, ...) (*UploadFaceVerifyImageResp, *Response, error)
- type I18nNames
- type IDType
- type ImageType
- type ImportSheetReq
- type ImportSheetResp
- type InitAttendanceRemedyApprovalReq
- type InitAttendanceRemedyApprovalResp
- type InitAttendanceRemedyApprovalRespUserRemedy
- type InsertSheetDimensionRangeReq
- type InsertSheetDimensionRangeReqDimension
- type InsertSheetDimensionRangeResp
- type InviteVCMeetingReq
- type InviteVCMeetingReqInvitee
- type InviteVCMeetingResp
- type InviteVCMeetingRespInviteResult
- type IsApplicationUserAdminReq
- type IsApplicationUserAdminResp
- type IsInChatReq
- type IsInChatResp
- type JoinChatReq
- type JoinChatResp
- type JssdkService
- type KickoutVCMeetingReq
- type KickoutVCMeetingReqKickoutUser
- type KickoutVCMeetingResp
- type KickoutVCMeetingRespKickoutResult
- type Lark
- type ListVCMeetingByNoReq
- type ListVCMeetingByNoResp
- type ListVCMeetingByNoRespMeetingBrief
- type LogLevel
- type Logger
- type LoggerStdout
- type MailService
- func (r *MailService) ClearPublicMailboxMember(ctx context.Context, request *ClearPublicMailboxMemberReq, ...) (*ClearPublicMailboxMemberResp, *Response, error)
- func (r *MailService) CreateMailGroup(ctx context.Context, request *CreateMailGroupReq, options ...MethodOptionFunc) (*CreateMailGroupResp, *Response, error)
- func (r *MailService) CreateMailGroupMember(ctx context.Context, request *CreateMailGroupMemberReq, ...) (*CreateMailGroupMemberResp, *Response, error)
- func (r *MailService) CreateMailGroupPermissionMember(ctx context.Context, request *CreateMailGroupPermissionMemberReq, ...) (*CreateMailGroupPermissionMemberResp, *Response, error)
- func (r *MailService) CreateMailUserAlias(ctx context.Context, request *CreateMailUserAliasReq, ...) (*CreateMailUserAliasResp, *Response, error)
- func (r *MailService) CreatePublicMailbox(ctx context.Context, request *CreatePublicMailboxReq, ...) (*CreatePublicMailboxResp, *Response, error)
- func (r *MailService) CreatePublicMailboxMember(ctx context.Context, request *CreatePublicMailboxMemberReq, ...) (*CreatePublicMailboxMemberResp, *Response, error)
- func (r *MailService) DeleteMailGroup(ctx context.Context, request *DeleteMailGroupReq, options ...MethodOptionFunc) (*DeleteMailGroupResp, *Response, error)
- func (r *MailService) DeleteMailGroupMember(ctx context.Context, request *DeleteMailGroupMemberReq, ...) (*DeleteMailGroupMemberResp, *Response, error)
- func (r *MailService) DeleteMailGroupPermissionMember(ctx context.Context, request *DeleteMailGroupPermissionMemberReq, ...) (*DeleteMailGroupPermissionMemberResp, *Response, error)
- func (r *MailService) DeleteMailUserAlias(ctx context.Context, request *DeleteMailUserAliasReq, ...) (*DeleteMailUserAliasResp, *Response, error)
- func (r *MailService) DeletePublicMailbox(ctx context.Context, request *DeletePublicMailboxReq, ...) (*DeletePublicMailboxResp, *Response, error)
- func (r *MailService) DeletePublicMailboxMember(ctx context.Context, request *DeletePublicMailboxMemberReq, ...) (*DeletePublicMailboxMemberResp, *Response, error)
- func (r *MailService) GetMailGroup(ctx context.Context, request *GetMailGroupReq, options ...MethodOptionFunc) (*GetMailGroupResp, *Response, error)
- func (r *MailService) GetMailGroupList(ctx context.Context, request *GetMailGroupListReq, options ...MethodOptionFunc) (*GetMailGroupListResp, *Response, error)
- func (r *MailService) GetMailGroupMember(ctx context.Context, request *GetMailGroupMemberReq, ...) (*GetMailGroupMemberResp, *Response, error)
- func (r *MailService) GetMailGroupMemberList(ctx context.Context, request *GetMailGroupMemberListReq, ...) (*GetMailGroupMemberListResp, *Response, error)
- func (r *MailService) GetMailGroupPermissionMember(ctx context.Context, request *GetMailGroupPermissionMemberReq, ...) (*GetMailGroupPermissionMemberResp, *Response, error)
- func (r *MailService) GetMailGroupPermissionMemberList(ctx context.Context, request *GetMailGroupPermissionMemberListReq, ...) (*GetMailGroupPermissionMemberListResp, *Response, error)
- func (r *MailService) GetMailUserAliasList(ctx context.Context, request *GetMailUserAliasListReq, ...) (*GetMailUserAliasListResp, *Response, error)
- func (r *MailService) GetPublicMailbox(ctx context.Context, request *GetPublicMailboxReq, options ...MethodOptionFunc) (*GetPublicMailboxResp, *Response, error)
- func (r *MailService) GetPublicMailboxList(ctx context.Context, request *GetPublicMailboxListReq, ...) (*GetPublicMailboxListResp, *Response, error)
- func (r *MailService) GetPublicMailboxMember(ctx context.Context, request *GetPublicMailboxMemberReq, ...) (*GetPublicMailboxMemberResp, *Response, error)
- func (r *MailService) GetPublicMailboxMemberList(ctx context.Context, request *GetPublicMailboxMemberListReq, ...) (*GetPublicMailboxMemberListResp, *Response, error)
- func (r *MailService) UpdateMailGroup(ctx context.Context, request *UpdateMailGroupReq, options ...MethodOptionFunc) (*UpdateMailGroupResp, *Response, error)
- func (r *MailService) UpdateMailGroupPatch(ctx context.Context, request *UpdateMailGroupPatchReq, ...) (*UpdateMailGroupPatchResp, *Response, error)
- func (r *MailService) UpdatePublicMailbox(ctx context.Context, request *UpdatePublicMailboxReq, ...) (*UpdatePublicMailboxResp, *Response, error)
- func (r *MailService) UpdatePublicMailboxPatch(ctx context.Context, request *UpdatePublicMailboxPatchReq, ...) (*UpdatePublicMailboxPatchResp, *Response, error)
- type MailUserType
- type MakeHireTransferOnboardByApplicationReq
- type MakeHireTransferOnboardByApplicationResp
- type MakeHireTransferOnboardByApplicationRespEmployee
- type MeetingRoomService
- func (r *MeetingRoomService) BatchGetMeetingRoomBuilding(ctx context.Context, request *BatchGetMeetingRoomBuildingReq, ...) (*BatchGetMeetingRoomBuildingResp, *Response, error)
- func (r *MeetingRoomService) BatchGetMeetingRoomBuildingID(ctx context.Context, request *BatchGetMeetingRoomBuildingIDReq, ...) (*BatchGetMeetingRoomBuildingIDResp, *Response, error)
- func (r *MeetingRoomService) BatchGetMeetingRoomFreebusy(ctx context.Context, request *BatchGetMeetingRoomFreebusyReq, ...) (*BatchGetMeetingRoomFreebusyResp, *Response, error)
- func (r *MeetingRoomService) BatchGetMeetingRoomRoom(ctx context.Context, request *BatchGetMeetingRoomRoomReq, ...) (*BatchGetMeetingRoomRoomResp, *Response, error)
- func (r *MeetingRoomService) BatchGetMeetingRoomRoomID(ctx context.Context, request *BatchGetMeetingRoomRoomIDReq, ...) (*BatchGetMeetingRoomRoomIDResp, *Response, error)
- func (r *MeetingRoomService) BatchGetMeetingRoomSummary(ctx context.Context, request *BatchGetMeetingRoomSummaryReq, ...) (*BatchGetMeetingRoomSummaryResp, *Response, error)
- func (r *MeetingRoomService) CreateMeetingRoomBuilding(ctx context.Context, request *CreateMeetingRoomBuildingReq, ...) (*CreateMeetingRoomBuildingResp, *Response, error)
- func (r *MeetingRoomService) CreateMeetingRoomRoom(ctx context.Context, request *CreateMeetingRoomRoomReq, ...) (*CreateMeetingRoomRoomResp, *Response, error)
- func (r *MeetingRoomService) DeleteMeetingRoomBuilding(ctx context.Context, request *DeleteMeetingRoomBuildingReq, ...) (*DeleteMeetingRoomBuildingResp, *Response, error)
- func (r *MeetingRoomService) DeleteMeetingRoomRoom(ctx context.Context, request *DeleteMeetingRoomRoomReq, ...) (*DeleteMeetingRoomRoomResp, *Response, error)
- func (r *MeetingRoomService) GetMeetingRoomBuildingList(ctx context.Context, request *GetMeetingRoomBuildingListReq, ...) (*GetMeetingRoomBuildingListResp, *Response, error)
- func (r *MeetingRoomService) GetMeetingRoomCountryList(ctx context.Context, request *GetMeetingRoomCountryListReq, ...) (*GetMeetingRoomCountryListResp, *Response, error)
- func (r *MeetingRoomService) GetMeetingRoomCustomization(ctx context.Context, request *GetMeetingRoomCustomizationReq, ...) (*GetMeetingRoomCustomizationResp, *Response, error)
- func (r *MeetingRoomService) GetMeetingRoomDistrictList(ctx context.Context, request *GetMeetingRoomDistrictListReq, ...) (*GetMeetingRoomDistrictListResp, *Response, error)
- func (r *MeetingRoomService) GetMeetingRoomRoomList(ctx context.Context, request *GetMeetingRoomRoomListReq, ...) (*GetMeetingRoomRoomListResp, *Response, error)
- func (r *MeetingRoomService) ReplyMeetingRoomInstance(ctx context.Context, request *ReplyMeetingRoomInstanceReq, ...) (*ReplyMeetingRoomInstanceResp, *Response, error)
- func (r *MeetingRoomService) UpdateMeetingRoomBuilding(ctx context.Context, request *UpdateMeetingRoomBuildingReq, ...) (*UpdateMeetingRoomBuildingResp, *Response, error)
- func (r *MeetingRoomService) UpdateMeetingRoomRoom(ctx context.Context, request *UpdateMeetingRoomRoomReq, ...) (*UpdateMeetingRoomRoomResp, *Response, error)
- type MembershipApproval
- type Mention
- type MergeSheetCellReq
- type MergeSheetCellResp
- type MessageBody
- type MessageContent
- type MessageContentAudio
- type MessageContentCard
- type MessageContentCardConfig
- type MessageContentCardElement
- type MessageContentCardElementButton
- type MessageContentCardElementDatePicker
- type MessageContentCardElementImage
- type MessageContentCardElementOverflow
- type MessageContentCardElementSelectMenu
- type MessageContentCardElementTag
- type MessageContentCardHeader
- type MessageContentCardHeaderTemplate
- type MessageContentCardModule
- type MessageContentCardModuleAction
- type MessageContentCardModuleDIV
- type MessageContentCardModuleHR
- type MessageContentCardModuleImage
- type MessageContentCardModuleNote
- type MessageContentCardModuleTag
- type MessageContentCardObjectConfirm
- type MessageContentCardObjectField
- type MessageContentCardObjectOption
- type MessageContentCardObjectText
- type MessageContentCardObjectTextType
- type MessageContentCardObjectURL
- type MessageContentFile
- type MessageContentImage
- type MessageContentLocation
- type MessageContentMedia
- type MessageContentPost
- type MessageContentPostAll
- type MessageContentPostAt
- type MessageContentPostImage
- type MessageContentPostItem
- type MessageContentPostLink
- type MessageContentPostText
- type MessageContentRedBag
- type MessageContentShareCalendarEvent
- type MessageContentShareChat
- type MessageContentShareUser
- type MessageContentSticker
- type MessageContentSystem
- type MessageContentText
- type MessageContentVideoChat
- type MessageReplyAPI
- func (r *MessageReplyAPI) SendAudio(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendCard(ctx context.Context, card string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendFile(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendImage(ctx context.Context, imageKey string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendMedia(ctx context.Context, imageKey, fileKey string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendPost(ctx context.Context, card string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendShareChat(ctx context.Context, chatID string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendShareUser(ctx context.Context, userID string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendSticker(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageReplyAPI) SendText(ctx context.Context, text string) (*ReplyRawMessageResp, *Response, error)
- type MessageSendAPI
- func (r *MessageSendAPI) SendAudio(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendCard(ctx context.Context, card string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendFile(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendImage(ctx context.Context, imageKey string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendMedia(ctx context.Context, imageKey, fileKey string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendPost(ctx context.Context, post string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendShareChat(ctx context.Context, chatID string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendShareUser(ctx context.Context, userID string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendSticker(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) SendText(ctx context.Context, text string) (*SendRawMessageResp, *Response, error)
- func (r *MessageSendAPI) ToAppID(id string) *MessageSendAPI
- func (r *MessageSendAPI) ToChatID(id string) *MessageSendAPI
- func (r *MessageSendAPI) ToEmail(id string) *MessageSendAPI
- func (r *MessageSendAPI) ToOpenID(id string) *MessageSendAPI
- func (r *MessageSendAPI) ToUnionID(id string) *MessageSendAPI
- func (r *MessageSendAPI) ToUserID(id string) *MessageSendAPI
- type MessageService
- func (r *MessageService) BatchDeleteMessage(ctx context.Context, request *BatchDeleteMessageReq, ...) (*BatchDeleteMessageResp, *Response, error)
- func (r *MessageService) BatchSendOldRawMessage(ctx context.Context, request *BatchSendOldRawMessageReq, ...) (*BatchSendOldRawMessageResp, *Response, error)
- func (r *MessageService) CreateMessageReaction(ctx context.Context, request *CreateMessageReactionReq, ...) (*CreateMessageReactionResp, *Response, error)
- func (r *MessageService) DeleteEphemeralMessage(ctx context.Context, request *DeleteEphemeralMessageReq, ...) (*DeleteEphemeralMessageResp, *Response, error)
- func (r *MessageService) DeleteMessage(ctx context.Context, request *DeleteMessageReq, options ...MethodOptionFunc) (*DeleteMessageResp, *Response, error)
- func (r *MessageService) DeleteMessageReaction(ctx context.Context, request *DeleteMessageReactionReq, ...) (*DeleteMessageReactionResp, *Response, error)
- func (r *MessageService) GetBatchSentMessageProgress(ctx context.Context, request *GetBatchSentMessageProgressReq, ...) (*GetBatchSentMessageProgressResp, *Response, error)
- func (r *MessageService) GetBatchSentMessageReadUser(ctx context.Context, request *GetBatchSentMessageReadUserReq, ...) (*GetBatchSentMessageReadUserResp, *Response, error)
- func (r *MessageService) GetMessage(ctx context.Context, request *GetMessageReq, options ...MethodOptionFunc) (*GetMessageResp, *Response, error)
- func (r *MessageService) GetMessageFile(ctx context.Context, request *GetMessageFileReq, options ...MethodOptionFunc) (*GetMessageFileResp, *Response, error)
- func (r *MessageService) GetMessageList(ctx context.Context, request *GetMessageListReq, options ...MethodOptionFunc) (*GetMessageListResp, *Response, error)
- func (r *MessageService) GetMessageReactionList(ctx context.Context, request *GetMessageReactionListReq, ...) (*GetMessageReactionListResp, *Response, error)
- func (r *MessageService) GetMessageReadUserList(ctx context.Context, request *GetMessageReadUserListReq, ...) (*GetMessageReadUserListResp, *Response, error)
- func (r *MessageService) Reply(messageID string) *MessageReplyAPI
- func (r *MessageService) ReplyRawMessage(ctx context.Context, request *ReplyRawMessageReq, options ...MethodOptionFunc) (*ReplyRawMessageResp, *Response, error)
- func (r *MessageService) Send() *MessageSendAPI
- func (r *MessageService) SendEphemeralMessage(ctx context.Context, request *SendEphemeralMessageReq, ...) (*SendEphemeralMessageResp, *Response, error)
- func (r *MessageService) SendRawMessage(ctx context.Context, request *SendRawMessageReq, options ...MethodOptionFunc) (*SendRawMessageResp, *Response, error)
- func (r *MessageService) SendRawMessageOld(ctx context.Context, request *SendRawMessageOldReq, ...) (*SendRawMessageOldResp, *Response, error)
- func (r *MessageService) SendUrgentAppMessage(ctx context.Context, request *SendUrgentAppMessageReq, ...) (*SendUrgentAppMessageResp, *Response, error)
- func (r *MessageService) SendUrgentPhoneMessage(ctx context.Context, request *SendUrgentPhoneMessageReq, ...) (*SendUrgentPhoneMessageResp, *Response, error)
- func (r *MessageService) SendUrgentSmsMessage(ctx context.Context, request *SendUrgentSmsMessageReq, ...) (*SendUrgentSmsMessageResp, *Response, error)
- func (r *MessageService) UpdateMessage(ctx context.Context, request *UpdateMessageReq, options ...MethodOptionFunc) (*UpdateMessageResp, *Response, error)
- func (r *MessageService) UpdateMessageDelay(ctx context.Context, request *UpdateMessageDelayReq, ...) (*UpdateMessageDelayResp, *Response, error)
- type MessageVisibility
- type MethodOption
- type MethodOptionFunc
- type Mock
- func (r *Mock) MockACSGetACSAccessRecordList(...)
- func (r *Mock) MockACSGetACSAccessRecordPhoto(...)
- func (r *Mock) MockACSGetACSDeviceList(...)
- func (r *Mock) MockACSGetACSUser(...)
- func (r *Mock) MockACSGetACSUserFace(...)
- func (r *Mock) MockACSGetACSUserList(...)
- func (r *Mock) MockACSUpdateACSUser(...)
- func (r *Mock) MockACSUpdateACSUserFace(...)
- func (r *Mock) MockAIDetectFaceAttributes(...)
- func (r *Mock) MockAIDetectTextLanguage(...)
- func (r *Mock) MockAIRecognizeBasicImage(...)
- func (r *Mock) MockAIRecognizeSpeechFile(...)
- func (r *Mock) MockAIRecognizeSpeechStream(...)
- func (r *Mock) MockAITranslateText(...)
- func (r *Mock) MockAdminGetAdminDeptStats(...)
- func (r *Mock) MockAdminGetAdminUserStats(...)
- func (r *Mock) MockApplicationCheckUserIsInApplicationPaidScope(...)
- func (r *Mock) MockApplicationGetApplication(...)
- func (r *Mock) MockApplicationGetApplicationAppAdminUserList(...)
- func (r *Mock) MockApplicationGetApplicationAppList(...)
- func (r *Mock) MockApplicationGetApplicationAppVisibility(...)
- func (r *Mock) MockApplicationGetApplicationMessageDetail(...)
- func (r *Mock) MockApplicationGetApplicationMessageOverview(...)
- func (r *Mock) MockApplicationGetApplicationMessageTrend(...)
- func (r *Mock) MockApplicationGetApplicationOrder(...)
- func (r *Mock) MockApplicationGetApplicationOrderList(...)
- func (r *Mock) MockApplicationGetApplicationUnderAuditList(...)
- func (r *Mock) MockApplicationGetApplicationUsageDetail(...)
- func (r *Mock) MockApplicationGetApplicationUsageOverview(...)
- func (r *Mock) MockApplicationGetApplicationUsageTrend(...)
- func (r *Mock) MockApplicationGetApplicationUserAdminScope(...)
- func (r *Mock) MockApplicationGetApplicationUserVisibleApp(...)
- func (r *Mock) MockApplicationGetApplicationVersion(...)
- func (r *Mock) MockApplicationIsApplicationUserAdmin(...)
- func (r *Mock) MockApplicationUpdateApplication(...)
- func (r *Mock) MockApplicationUpdateApplicationAppVisibility(...)
- func (r *Mock) MockApplicationUpdateApplicationVersion(...)
- func (r *Mock) MockApprovalAddApprovalInstanceSign(...)
- func (r *Mock) MockApprovalApproveApprovalInstance(...)
- func (r *Mock) MockApprovalCancelApprovalInstance(...)
- func (r *Mock) MockApprovalCreateApprovalCarbonCopy(...)
- func (r *Mock) MockApprovalCreateApprovalInstance(...)
- func (r *Mock) MockApprovalGetApproval(...)
- func (r *Mock) MockApprovalGetApprovalInstance(...)
- func (r *Mock) MockApprovalGetApprovalInstanceList(...)
- func (r *Mock) MockApprovalGetApprovalUserTaskList(...)
- func (r *Mock) MockApprovalPreviewApprovalInstance(...)
- func (r *Mock) MockApprovalRejectApprovalInstance(...)
- func (r *Mock) MockApprovalRollbackApprovalInstance(...)
- func (r *Mock) MockApprovalSearchApprovalCarbonCopy(...)
- func (r *Mock) MockApprovalSearchApprovalInstance(...)
- func (r *Mock) MockApprovalSearchApprovalTask(...)
- func (r *Mock) MockApprovalSubscribeApprovalSubscription(...)
- func (r *Mock) MockApprovalTransferApprovalInstance(...)
- func (r *Mock) MockApprovalUnsubscribeApprovalSubscription(...)
- func (r *Mock) MockApprovalUpdateApprovalMessage(...)
- func (r *Mock) MockApprovalUploadApprovalFile(...)
- func (r *Mock) MockAttendanceBatchCreateAttendanceUserDailyShift(...)
- func (r *Mock) MockAttendanceBatchCreateAttendanceUserFlow(...)
- func (r *Mock) MockAttendanceBatchGetAttendanceUserFlow(...)
- func (r *Mock) MockAttendanceCreateAttendanceGroup(...)
- func (r *Mock) MockAttendanceCreateAttendanceShift(...)
- func (r *Mock) MockAttendanceCreateAttendanceUserApproval(...)
- func (r *Mock) MockAttendanceCreateAttendanceUserTaskRemedy(...)
- func (r *Mock) MockAttendanceCreateUpdateAttendanceUserDailyShift(...)
- func (r *Mock) MockAttendanceDeleteAttendanceGroup(...)
- func (r *Mock) MockAttendanceDeleteAttendanceShift(...)
- func (r *Mock) MockAttendanceDownloadAttendanceFile(...)
- func (r *Mock) MockAttendanceGetAttendanceGroup(...)
- func (r *Mock) MockAttendanceGetAttendanceShift(...)
- func (r *Mock) MockAttendanceGetAttendanceShiftDetail(...)
- func (r *Mock) MockAttendanceGetAttendanceUserAllowedRemedy(...)
- func (r *Mock) MockAttendanceGetAttendanceUserApproval(...)
- func (r *Mock) MockAttendanceGetAttendanceUserDailyShift(...)
- func (r *Mock) MockAttendanceGetAttendanceUserFlow(...)
- func (r *Mock) MockAttendanceGetAttendanceUserSettingList(...)
- func (r *Mock) MockAttendanceGetAttendanceUserStatsData(...)
- func (r *Mock) MockAttendanceGetAttendanceUserStatsField(...)
- func (r *Mock) MockAttendanceGetAttendanceUserStatsView(...)
- func (r *Mock) MockAttendanceGetAttendanceUserTask(...)
- func (r *Mock) MockAttendanceGetAttendanceUserTaskRemedy(...)
- func (r *Mock) MockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList(...)
- func (r *Mock) MockAttendanceInitAttendanceRemedyApproval(...)
- func (r *Mock) MockAttendanceSearchAttendanceGroup(...)
- func (r *Mock) MockAttendanceUpdateAttendanceRemedyApproval(...)
- func (r *Mock) MockAttendanceUpdateAttendanceUserSetting(...)
- func (r *Mock) MockAttendanceUpdateAttendanceUserStatsView(...)
- func (r *Mock) MockAttendanceUploadAttendanceFile(...)
- func (r *Mock) MockAuthGetAccessToken(...)
- func (r *Mock) MockAuthGetUserInfo(...)
- func (r *Mock) MockAuthRefreshAccessToken(...)
- func (r *Mock) MockAuthResendAppTicket(...)
- func (r *Mock) MockBitableBatchCreateBitableRecord(...)
- func (r *Mock) MockBitableBatchCreateBitableTable(...)
- func (r *Mock) MockBitableBatchDeleteBitableRecord(...)
- func (r *Mock) MockBitableBatchDeleteBitableTable(...)
- func (r *Mock) MockBitableBatchUpdateBitableRecord(...)
- func (r *Mock) MockBitableCreateBitableField(...)
- func (r *Mock) MockBitableCreateBitableRecord(...)
- func (r *Mock) MockBitableCreateBitableTable(...)
- func (r *Mock) MockBitableCreateBitableView(...)
- func (r *Mock) MockBitableDeleteBitableField(...)
- func (r *Mock) MockBitableDeleteBitableRecord(...)
- func (r *Mock) MockBitableDeleteBitableTable(...)
- func (r *Mock) MockBitableDeleteBitableView(...)
- func (r *Mock) MockBitableGetBitableFieldList(...)
- func (r *Mock) MockBitableGetBitableMeta(...)
- func (r *Mock) MockBitableGetBitableRecord(...)
- func (r *Mock) MockBitableGetBitableRecordList(...)
- func (r *Mock) MockBitableGetBitableTableList(...)
- func (r *Mock) MockBitableGetBitableViewList(...)
- func (r *Mock) MockBitableUpdateBitableField(...)
- func (r *Mock) MockBitableUpdateBitableRecord(...)
- func (r *Mock) MockBotAddBotToChat(...)
- func (r *Mock) MockBotGetBotInfo(...)
- func (r *Mock) MockCalendarCreateCalendar(...)
- func (r *Mock) MockCalendarCreateCalendarACL(...)
- func (r *Mock) MockCalendarCreateCalendarEvent(...)
- func (r *Mock) MockCalendarCreateCalendarEventAttendee(...)
- func (r *Mock) MockCalendarCreateCalendarExchangeBinding(...)
- func (r *Mock) MockCalendarCreateCalendarTimeoffEvent(...)
- func (r *Mock) MockCalendarDeleteCalendar(...)
- func (r *Mock) MockCalendarDeleteCalendarACL(...)
- func (r *Mock) MockCalendarDeleteCalendarEvent(...)
- func (r *Mock) MockCalendarDeleteCalendarEventAttendee(...)
- func (r *Mock) MockCalendarDeleteCalendarExchangeBinding(...)
- func (r *Mock) MockCalendarDeleteCalendarTimeoffEvent(...)
- func (r *Mock) MockCalendarGenerateCaldavConf(...)
- func (r *Mock) MockCalendarGetCalendar(...)
- func (r *Mock) MockCalendarGetCalendarACLList(...)
- func (r *Mock) MockCalendarGetCalendarEvent(...)
- func (r *Mock) MockCalendarGetCalendarEventAttendeeChatMemberList(...)
- func (r *Mock) MockCalendarGetCalendarEventAttendeeList(...)
- func (r *Mock) MockCalendarGetCalendarEventList(...)
- func (r *Mock) MockCalendarGetCalendarExchangeBinding(...)
- func (r *Mock) MockCalendarGetCalendarFreeBusyList(...)
- func (r *Mock) MockCalendarGetCalendarList(...)
- func (r *Mock) MockCalendarSearchCalendar(...)
- func (r *Mock) MockCalendarSearchCalendarEvent(...)
- func (r *Mock) MockCalendarSubscribeCalendar(...)
- func (r *Mock) MockCalendarSubscribeCalendarACL(...)
- func (r *Mock) MockCalendarSubscribeCalendarChangeEvent(...)
- func (r *Mock) MockCalendarSubscribeCalendarEvent(...)
- func (r *Mock) MockCalendarUnsubscribeCalendar(...)
- func (r *Mock) MockCalendarUpdateCalendar(...)
- func (r *Mock) MockCalendarUpdateCalendarEvent(...)
- func (r *Mock) MockChatAddChatMember(...)
- func (r *Mock) MockChatCreateChat(...)
- func (r *Mock) MockChatCreateChatManager(...)
- func (r *Mock) MockChatDeleteChat(...)
- func (r *Mock) MockChatDeleteChatManager(...)
- func (r *Mock) MockChatDeleteChatMember(...)
- func (r *Mock) MockChatGetChat(...)
- func (r *Mock) MockChatGetChatAnnouncement(...)
- func (r *Mock) MockChatGetChatListOfSelf(...)
- func (r *Mock) MockChatGetChatMemberList(...)
- func (r *Mock) MockChatGetChatModeration(...)
- func (r *Mock) MockChatGetChatOld(...)
- func (r *Mock) MockChatIsInChat(...)
- func (r *Mock) MockChatJoinChat(...)
- func (r *Mock) MockChatSearchChat(...)
- func (r *Mock) MockChatUpdateChat(...)
- func (r *Mock) MockChatUpdateChatAnnouncement(...)
- func (r *Mock) MockChatUpdateChatModeration(...)
- func (r *Mock) MockContactAddContactGroupMember(...)
- func (r *Mock) MockContactBatchGetUser(...)
- func (r *Mock) MockContactBatchGetUserByID(...)
- func (r *Mock) MockContactBatchGetUserByIDOld(...)
- func (r *Mock) MockContactBindContactUnitDepartment(...)
- func (r *Mock) MockContactCreateContactGroup(...)
- func (r *Mock) MockContactCreateContactUnit(...)
- func (r *Mock) MockContactCreateDepartment(...)
- func (r *Mock) MockContactCreateEmployeeTypeEnum(...)
- func (r *Mock) MockContactCreateUser(...)
- func (r *Mock) MockContactDeleteContactGroup(...)
- func (r *Mock) MockContactDeleteContactGroupMember(...)
- func (r *Mock) MockContactDeleteContactUnit(...)
- func (r *Mock) MockContactDeleteDepartment(...)
- func (r *Mock) MockContactDeleteEmployeeTypeEnum(...)
- func (r *Mock) MockContactDeleteUser(...)
- func (r *Mock) MockContactGetContactCustomAttrList(...)
- func (r *Mock) MockContactGetContactGroup(...)
- func (r *Mock) MockContactGetContactGroupList(...)
- func (r *Mock) MockContactGetContactGroupMember(...)
- func (r *Mock) MockContactGetContactScopeList(...)
- func (r *Mock) MockContactGetContactUnit(...)
- func (r *Mock) MockContactGetContactUnitDepartmentList(...)
- func (r *Mock) MockContactGetContactUnitList(...)
- func (r *Mock) MockContactGetDepartment(...)
- func (r *Mock) MockContactGetDepartmentList(...)
- func (r *Mock) MockContactGetDepartmentListOld(...)
- func (r *Mock) MockContactGetEmployeeTypeEnumList(...)
- func (r *Mock) MockContactGetParentDepartment(...)
- func (r *Mock) MockContactGetUser(...)
- func (r *Mock) MockContactGetUserList(...)
- func (r *Mock) MockContactGetUserListOld(...)
- func (r *Mock) MockContactSearchDepartment(...)
- func (r *Mock) MockContactSearchUserOld(...)
- func (r *Mock) MockContactUnbindContactUnitDepartment(...)
- func (r *Mock) MockContactUpdateContactGroup(...)
- func (r *Mock) MockContactUpdateContactUnit(...)
- func (r *Mock) MockContactUpdateDepartment(...)
- func (r *Mock) MockContactUpdateDepartmentPatch(...)
- func (r *Mock) MockContactUpdateEmployeeTypeEnumPatch(...)
- func (r *Mock) MockContactUpdateUser(...)
- func (r *Mock) MockContactUpdateUserPatch(...)
- func (r *Mock) MockDriveAddSheetDimensionRange(...)
- func (r *Mock) MockDriveAddWikiSpaceMember(...)
- func (r *Mock) MockDriveAppendSheetValue(...)
- func (r *Mock) MockDriveBatchGetDriveMediaTmpDownloadURL(...)
- func (r *Mock) MockDriveBatchGetSheetValue(...)
- func (r *Mock) MockDriveBatchSetSheetStyle(...)
- func (r *Mock) MockDriveBatchSetSheetValue(...)
- func (r *Mock) MockDriveBatchUpdateSheet(...)
- func (r *Mock) MockDriveCheckDriveMemberPermission(...)
- func (r *Mock) MockDriveCopyDriveFile(...)
- func (r *Mock) MockDriveCreateDriveComment(...)
- func (r *Mock) MockDriveCreateDriveDoc(...)
- func (r *Mock) MockDriveCreateDriveFile(...)
- func (r *Mock) MockDriveCreateDriveFolder(...)
- func (r *Mock) MockDriveCreateDriveImportTask(...)
- func (r *Mock) MockDriveCreateDriveMemberPermission(...)
- func (r *Mock) MockDriveCreateDriveMemberPermissionOld(...)
- func (r *Mock) MockDriveCreateSheet(...)
- func (r *Mock) MockDriveCreateSheetConditionFormat(...)
- func (r *Mock) MockDriveCreateSheetDataValidationDropdown(...)
- func (r *Mock) MockDriveCreateSheetFilter(...)
- func (r *Mock) MockDriveCreateSheetFilterView(...)
- func (r *Mock) MockDriveCreateSheetFilterViewCondition(...)
- func (r *Mock) MockDriveCreateSheetFloatImage(...)
- func (r *Mock) MockDriveCreateSheetProtectedDimension(...)
- func (r *Mock) MockDriveCreateWikiNode(...)
- func (r *Mock) MockDriveCreateWikiSpace(...)
- func (r *Mock) MockDriveDeleteDriveComment(...)
- func (r *Mock) MockDriveDeleteDriveDocFile(...)
- func (r *Mock) MockDriveDeleteDriveFile(...)
- func (r *Mock) MockDriveDeleteDriveMemberPermission(...)
- func (r *Mock) MockDriveDeleteDriveMemberPermissionOld(...)
- func (r *Mock) MockDriveDeleteDriveSheetFile(...)
- func (r *Mock) MockDriveDeleteSheetConditionFormat(...)
- func (r *Mock) MockDriveDeleteSheetDataValidationDropdown(...)
- func (r *Mock) MockDriveDeleteSheetDimensionRange(...)
- func (r *Mock) MockDriveDeleteSheetFilter(...)
- func (r *Mock) MockDriveDeleteSheetFilterView(...)
- func (r *Mock) MockDriveDeleteSheetFilterViewCondition(...)
- func (r *Mock) MockDriveDeleteSheetFloatImage(...)
- func (r *Mock) MockDriveDeleteSheetProtectedDimension(...)
- func (r *Mock) MockDriveDeleteWikiSpaceMember(...)
- func (r *Mock) MockDriveDownloadDriveFile(...)
- func (r *Mock) MockDriveDownloadDriveMedia(...)
- func (r *Mock) MockDriveFindSheet(...)
- func (r *Mock) MockDriveFinishUploadDriveFile(...)
- func (r *Mock) MockDriveFinishUploadDriveMedia(...)
- func (r *Mock) MockDriveGetDriveComment(...)
- func (r *Mock) MockDriveGetDriveCommentList(...)
- func (r *Mock) MockDriveGetDriveDocContent(...)
- func (r *Mock) MockDriveGetDriveDocMeta(...)
- func (r *Mock) MockDriveGetDriveDocRawContent(...)
- func (r *Mock) MockDriveGetDriveFileMeta(...)
- func (r *Mock) MockDriveGetDriveFileStatistics(...)
- func (r *Mock) MockDriveGetDriveFolderChildren(...)
- func (r *Mock) MockDriveGetDriveFolderMeta(...)
- func (r *Mock) MockDriveGetDriveImportTask(...)
- func (r *Mock) MockDriveGetDriveMemberPermissionList(...)
- func (r *Mock) MockDriveGetDrivePublicPermissionV2(...)
- func (r *Mock) MockDriveGetDriveRootFolderMeta(...)
- func (r *Mock) MockDriveGetSheetConditionFormat(...)
- func (r *Mock) MockDriveGetSheetDataValidationDropdown(...)
- func (r *Mock) MockDriveGetSheetFilter(...)
- func (r *Mock) MockDriveGetSheetFilterView(...)
- func (r *Mock) MockDriveGetSheetFilterViewCondition(...)
- func (r *Mock) MockDriveGetSheetFloatImage(...)
- func (r *Mock) MockDriveGetSheetMeta(...)
- func (r *Mock) MockDriveGetSheetProtectedDimension(...)
- func (r *Mock) MockDriveGetSheetValue(...)
- func (r *Mock) MockDriveGetWikiNode(...)
- func (r *Mock) MockDriveGetWikiNodeList(...)
- func (r *Mock) MockDriveGetWikiSpace(...)
- func (r *Mock) MockDriveGetWikiSpaceList(...)
- func (r *Mock) MockDriveGetWikiTask(...)
- func (r *Mock) MockDriveImportSheet(...)
- func (r *Mock) MockDriveInsertSheetDimensionRange(...)
- func (r *Mock) MockDriveMergeSheetCell(...)
- func (r *Mock) MockDriveMoveDocsToWiki(...)
- func (r *Mock) MockDriveMoveSheetDimension(...)
- func (r *Mock) MockDriveMoveWikiNode(...)
- func (r *Mock) MockDrivePartUploadDriveFile(...)
- func (r *Mock) MockDrivePartUploadDriveMedia(...)
- func (r *Mock) MockDrivePrepareUploadDriveFile(...)
- func (r *Mock) MockDrivePrepareUploadDriveMedia(...)
- func (r *Mock) MockDrivePrependSheetValue(...)
- func (r *Mock) MockDriveQuerySheetFilterView(...)
- func (r *Mock) MockDriveQuerySheetFilterViewCondition(...)
- func (r *Mock) MockDriveQuerySheetFloatImage(...)
- func (r *Mock) MockDriveReplaceSheet(...)
- func (r *Mock) MockDriveSearchDriveFile(...)
- func (r *Mock) MockDriveSetSheetStyle(...)
- func (r *Mock) MockDriveSetSheetValue(...)
- func (r *Mock) MockDriveSetSheetValueImage(...)
- func (r *Mock) MockDriveTransferDriveMemberPermission(...)
- func (r *Mock) MockDriveUnmergeSheetCell(...)
- func (r *Mock) MockDriveUpdateDriveComment(...)
- func (r *Mock) MockDriveUpdateDriveCommentPatch(...)
- func (r *Mock) MockDriveUpdateDriveMemberPermission(...)
- func (r *Mock) MockDriveUpdateDriveMemberPermissionOld(...)
- func (r *Mock) MockDriveUpdateDrivePublicPermission(...)
- func (r *Mock) MockDriveUpdateDrivePublicPermissionV1Old(...)
- func (r *Mock) MockDriveUpdateDrivePublicPermissionV2Old(...)
- func (r *Mock) MockDriveUpdateSheetConditionFormat(...)
- func (r *Mock) MockDriveUpdateSheetDataValidationDropdown(...)
- func (r *Mock) MockDriveUpdateSheetDimensionRange(...)
- func (r *Mock) MockDriveUpdateSheetFilter(...)
- func (r *Mock) MockDriveUpdateSheetFilterView(...)
- func (r *Mock) MockDriveUpdateSheetFilterViewCondition(...)
- func (r *Mock) MockDriveUpdateSheetFloatImage(...)
- func (r *Mock) MockDriveUpdateSheetProperty(...)
- func (r *Mock) MockDriveUpdateSheetProtectedDimension(...)
- func (r *Mock) MockDriveUpdateWikiSpaceSetting(...)
- func (r *Mock) MockDriveUploadDriveFile(...)
- func (r *Mock) MockDriveUploadDriveMedia(...)
- func (r *Mock) MockEHRDownloadEHRAttachments(...)
- func (r *Mock) MockEHRGetEHREmployeeList(...)
- func (r *Mock) MockEcosystemGetEcosystemBindAwemeUser(...)
- func (r *Mock) MockFileDownloadFile(...)
- func (r *Mock) MockFileDownloadImage(...)
- func (r *Mock) MockFileUploadFile(...)
- func (r *Mock) MockFileUploadImage(...)
- func (r *Mock) MockGetAppAccessToken(f func(ctx context.Context) (*TokenExpire, *Response, error))
- func (r *Mock) MockGetTenantAccessToken(f func(ctx context.Context) (*TokenExpire, *Response, error))
- func (r *Mock) MockHelpdeskAnswerHelpdeskTicketUserQuery(...)
- func (r *Mock) MockHelpdeskCancelApproveHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskCancelSendHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskAgentSchedule(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskAgentSkill(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskCategory(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskFAQ(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskCreateHelpdeskTicketCustomizedField(...)
- func (r *Mock) MockHelpdeskDeleteHelpdeskAgentSchedule(...)
- func (r *Mock) MockHelpdeskDeleteHelpdeskAgentSkill(...)
- func (r *Mock) MockHelpdeskDeleteHelpdeskCategory(...)
- func (r *Mock) MockHelpdeskDeleteHelpdeskFAQ(...)
- func (r *Mock) MockHelpdeskDeleteHelpdeskTicketCustomizedField(...)
- func (r *Mock) MockHelpdeskDownloadHelpdeskTicketImage(...)
- func (r *Mock) MockHelpdeskExecuteSendHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentEmail(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentSchedule(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentScheduleList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentSkill(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentSkillList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskAgentSkillRuleList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskCategory(...)
- func (r *Mock) MockHelpdeskGetHelpdeskCategoryList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskFAQ(...)
- func (r *Mock) MockHelpdeskGetHelpdeskFAQImage(...)
- func (r *Mock) MockHelpdeskGetHelpdeskFAQList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskGetHelpdeskTicket(...)
- func (r *Mock) MockHelpdeskGetHelpdeskTicketCustomizedField(...)
- func (r *Mock) MockHelpdeskGetHelpdeskTicketCustomizedFieldList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskTicketList(...)
- func (r *Mock) MockHelpdeskGetHelpdeskTicketMessageList(...)
- func (r *Mock) MockHelpdeskPreviewHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskSearchHelpdeskFAQ(...)
- func (r *Mock) MockHelpdeskSendHelpdeskMessage(...)
- func (r *Mock) MockHelpdeskSendHelpdeskTicketMessage(...)
- func (r *Mock) MockHelpdeskStartHelpdeskService(...)
- func (r *Mock) MockHelpdeskSubmitApproveHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskSubscribeHelpdeskEvent(...)
- func (r *Mock) MockHelpdeskUnsubscribeHelpdeskEvent(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskAgent(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskAgentSchedule(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskAgentSkill(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskCategory(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskFAQ(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskNotification(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskTicket(...)
- func (r *Mock) MockHelpdeskUpdateHelpdeskTicketCustomizedField(...)
- func (r *Mock) MockHireCreateHireApplication(...)
- func (r *Mock) MockHireCreateHireNote(...)
- func (r *Mock) MockHireGetHireApplication(...)
- func (r *Mock) MockHireGetHireApplicationInterviewList(...)
- func (r *Mock) MockHireGetHireApplicationList(...)
- func (r *Mock) MockHireGetHireAttachment(...)
- func (r *Mock) MockHireGetHireAttachmentPreview(...)
- func (r *Mock) MockHireGetHireEmployee(...)
- func (r *Mock) MockHireGetHireEmployeeByApplication(...)
- func (r *Mock) MockHireGetHireJob(...)
- func (r *Mock) MockHireGetHireJobManager(...)
- func (r *Mock) MockHireGetHireJobProcessList(...)
- func (r *Mock) MockHireGetHireNote(...)
- func (r *Mock) MockHireGetHireNoteList(...)
- func (r *Mock) MockHireGetHireOfferByApplication(...)
- func (r *Mock) MockHireGetHireOfferSchema(...)
- func (r *Mock) MockHireGetHireReferralByApplication(...)
- func (r *Mock) MockHireGetHireResumeSource(...)
- func (r *Mock) MockHireGetHireTalent(...)
- func (r *Mock) MockHireMakeHireTransferOnboardByApplication(...)
- func (r *Mock) MockHireTerminateHireApplication(...)
- func (r *Mock) MockHireUpdateHireEmployee(...)
- func (r *Mock) MockHireUpdateHireNote(...)
- func (r *Mock) MockHumanAuthCreateIdentity(...)
- func (r *Mock) MockHumanAuthCropFaceVerifyImage(...)
- func (r *Mock) MockHumanAuthGetFaceVerifyAuthResult(...)
- func (r *Mock) MockHumanAuthUploadFaceVerifyImage(...)
- func (r *Mock) MockJssdkGetJssdkTicket(...)
- func (r *Mock) MockMailClearPublicMailboxMember(...)
- func (r *Mock) MockMailCreateMailGroup(...)
- func (r *Mock) MockMailCreateMailGroupMember(...)
- func (r *Mock) MockMailCreateMailGroupPermissionMember(...)
- func (r *Mock) MockMailCreateMailUserAlias(...)
- func (r *Mock) MockMailCreatePublicMailbox(...)
- func (r *Mock) MockMailCreatePublicMailboxMember(...)
- func (r *Mock) MockMailDeleteMailGroup(...)
- func (r *Mock) MockMailDeleteMailGroupMember(...)
- func (r *Mock) MockMailDeleteMailGroupPermissionMember(...)
- func (r *Mock) MockMailDeleteMailUserAlias(...)
- func (r *Mock) MockMailDeletePublicMailbox(...)
- func (r *Mock) MockMailDeletePublicMailboxMember(...)
- func (r *Mock) MockMailGetMailGroup(...)
- func (r *Mock) MockMailGetMailGroupList(...)
- func (r *Mock) MockMailGetMailGroupMember(...)
- func (r *Mock) MockMailGetMailGroupMemberList(...)
- func (r *Mock) MockMailGetMailGroupPermissionMember(...)
- func (r *Mock) MockMailGetMailGroupPermissionMemberList(...)
- func (r *Mock) MockMailGetMailUserAliasList(...)
- func (r *Mock) MockMailGetPublicMailbox(...)
- func (r *Mock) MockMailGetPublicMailboxList(...)
- func (r *Mock) MockMailGetPublicMailboxMember(...)
- func (r *Mock) MockMailGetPublicMailboxMemberList(...)
- func (r *Mock) MockMailUpdateMailGroup(...)
- func (r *Mock) MockMailUpdateMailGroupPatch(...)
- func (r *Mock) MockMailUpdatePublicMailbox(...)
- func (r *Mock) MockMailUpdatePublicMailboxPatch(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomBuilding(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomBuildingID(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomFreebusy(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomRoom(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomRoomID(...)
- func (r *Mock) MockMeetingRoomBatchGetMeetingRoomSummary(...)
- func (r *Mock) MockMeetingRoomCreateMeetingRoomBuilding(...)
- func (r *Mock) MockMeetingRoomCreateMeetingRoomRoom(...)
- func (r *Mock) MockMeetingRoomDeleteMeetingRoomBuilding(...)
- func (r *Mock) MockMeetingRoomDeleteMeetingRoomRoom(...)
- func (r *Mock) MockMeetingRoomGetMeetingRoomBuildingList(...)
- func (r *Mock) MockMeetingRoomGetMeetingRoomCountryList(...)
- func (r *Mock) MockMeetingRoomGetMeetingRoomCustomization(...)
- func (r *Mock) MockMeetingRoomGetMeetingRoomDistrictList(...)
- func (r *Mock) MockMeetingRoomGetMeetingRoomRoomList(...)
- func (r *Mock) MockMeetingRoomReplyMeetingRoomInstance(...)
- func (r *Mock) MockMeetingRoomUpdateMeetingRoomBuilding(...)
- func (r *Mock) MockMeetingRoomUpdateMeetingRoomRoom(...)
- func (r *Mock) MockMessageBatchDeleteMessage(...)
- func (r *Mock) MockMessageBatchSendOldRawMessage(...)
- func (r *Mock) MockMessageCreateMessageReaction(...)
- func (r *Mock) MockMessageDeleteEphemeralMessage(...)
- func (r *Mock) MockMessageDeleteMessage(...)
- func (r *Mock) MockMessageDeleteMessageReaction(...)
- func (r *Mock) MockMessageGetBatchSentMessageProgress(...)
- func (r *Mock) MockMessageGetBatchSentMessageReadUser(...)
- func (r *Mock) MockMessageGetMessage(...)
- func (r *Mock) MockMessageGetMessageFile(...)
- func (r *Mock) MockMessageGetMessageList(...)
- func (r *Mock) MockMessageGetMessageReactionList(...)
- func (r *Mock) MockMessageGetMessageReadUserList(...)
- func (r *Mock) MockMessageReplyRawMessage(...)
- func (r *Mock) MockMessageSendEphemeralMessage(...)
- func (r *Mock) MockMessageSendRawMessage(...)
- func (r *Mock) MockMessageSendRawMessageOld(...)
- func (r *Mock) MockMessageSendUrgentAppMessage(...)
- func (r *Mock) MockMessageSendUrgentPhoneMessage(...)
- func (r *Mock) MockMessageSendUrgentSmsMessage(...)
- func (r *Mock) MockMessageUpdateMessage(...)
- func (r *Mock) MockMessageUpdateMessageDelay(...)
- func (r *Mock) MockOKRBatchGetOKR(...)
- func (r *Mock) MockOKRGetOKRPeriodList(...)
- func (r *Mock) MockOKRGetUserOKRList(...)
- func (r *Mock) MockRawRequest(...)
- func (r *Mock) MockSearchCreateSearchDataSource(...)
- func (r *Mock) MockSearchCreateSearchDataSourceItem(...)
- func (r *Mock) MockSearchDeleteSearchDataSource(...)
- func (r *Mock) MockSearchDeleteSearchDataSourceItem(...)
- func (r *Mock) MockSearchGetSearchDataSource(...)
- func (r *Mock) MockSearchGetSearchDataSourceItem(...)
- func (r *Mock) MockSearchGetSearchDataSourceList(...)
- func (r *Mock) MockSearchUpdateSearchDataSource(...)
- func (r *Mock) MockTaskCompleteTask(...)
- func (r *Mock) MockTaskCreateTask(...)
- func (r *Mock) MockTaskCreateTaskCollaborator(...)
- func (r *Mock) MockTaskCreateTaskComment(...)
- func (r *Mock) MockTaskCreateTaskFollower(...)
- func (r *Mock) MockTaskCreateTaskReminder(...)
- func (r *Mock) MockTaskDeleteTask(...)
- func (r *Mock) MockTaskDeleteTaskCollaborator(...)
- func (r *Mock) MockTaskDeleteTaskComment(...)
- func (r *Mock) MockTaskDeleteTaskFollower(...)
- func (r *Mock) MockTaskDeleteTaskReminder(...)
- func (r *Mock) MockTaskGetTask(...)
- func (r *Mock) MockTaskGetTaskCollaboratorList(...)
- func (r *Mock) MockTaskGetTaskComment(...)
- func (r *Mock) MockTaskGetTaskFollowerList(...)
- func (r *Mock) MockTaskGetTaskList(...)
- func (r *Mock) MockTaskGetTaskReminderList(...)
- func (r *Mock) MockTaskUncompleteTask(...)
- func (r *Mock) MockTaskUpdateTask(...)
- func (r *Mock) MockTaskUpdateTaskComment(...)
- func (r *Mock) MockTenantGetTenant(...)
- func (r *Mock) MockVCApplyVCReserve(...)
- func (r *Mock) MockVCDeleteVCReserve(...)
- func (r *Mock) MockVCEndVCMeeting(...)
- func (r *Mock) MockVCGetVCDailyReport(...)
- func (r *Mock) MockVCGetVCMeeting(...)
- func (r *Mock) MockVCGetVCMeetingRecording(...)
- func (r *Mock) MockVCGetVCReserve(...)
- func (r *Mock) MockVCGetVCReserveActiveMeeting(...)
- func (r *Mock) MockVCGetVCRoomConfig(...)
- func (r *Mock) MockVCGetVCTopUserReport(...)
- func (r *Mock) MockVCInviteVCMeeting(...)
- func (r *Mock) MockVCKickoutVCMeeting(...)
- func (r *Mock) MockVCListVCMeetingByNo(...)
- func (r *Mock) MockVCSetVCHostMeeting(...)
- func (r *Mock) MockVCSetVCPermissionMeetingRecording(...)
- func (r *Mock) MockVCSetVCRoomConfig(...)
- func (r *Mock) MockVCStartVCMeetingRecording(...)
- func (r *Mock) MockVCStopVCMeetingRecording(...)
- func (r *Mock) MockVCUpdateVCReserve(...)
- func (r *Mock) UnMockACSGetACSAccessRecordList()
- func (r *Mock) UnMockACSGetACSAccessRecordPhoto()
- func (r *Mock) UnMockACSGetACSDeviceList()
- func (r *Mock) UnMockACSGetACSUser()
- func (r *Mock) UnMockACSGetACSUserFace()
- func (r *Mock) UnMockACSGetACSUserList()
- func (r *Mock) UnMockACSUpdateACSUser()
- func (r *Mock) UnMockACSUpdateACSUserFace()
- func (r *Mock) UnMockAIDetectFaceAttributes()
- func (r *Mock) UnMockAIDetectTextLanguage()
- func (r *Mock) UnMockAIRecognizeBasicImage()
- func (r *Mock) UnMockAIRecognizeSpeechFile()
- func (r *Mock) UnMockAIRecognizeSpeechStream()
- func (r *Mock) UnMockAITranslateText()
- func (r *Mock) UnMockAdminGetAdminDeptStats()
- func (r *Mock) UnMockAdminGetAdminUserStats()
- func (r *Mock) UnMockApplicationCheckUserIsInApplicationPaidScope()
- func (r *Mock) UnMockApplicationGetApplication()
- func (r *Mock) UnMockApplicationGetApplicationAppAdminUserList()
- func (r *Mock) UnMockApplicationGetApplicationAppList()
- func (r *Mock) UnMockApplicationGetApplicationAppVisibility()
- func (r *Mock) UnMockApplicationGetApplicationMessageDetail()
- func (r *Mock) UnMockApplicationGetApplicationMessageOverview()
- func (r *Mock) UnMockApplicationGetApplicationMessageTrend()
- func (r *Mock) UnMockApplicationGetApplicationOrder()
- func (r *Mock) UnMockApplicationGetApplicationOrderList()
- func (r *Mock) UnMockApplicationGetApplicationUnderAuditList()
- func (r *Mock) UnMockApplicationGetApplicationUsageDetail()
- func (r *Mock) UnMockApplicationGetApplicationUsageOverview()
- func (r *Mock) UnMockApplicationGetApplicationUsageTrend()
- func (r *Mock) UnMockApplicationGetApplicationUserAdminScope()
- func (r *Mock) UnMockApplicationGetApplicationUserVisibleApp()
- func (r *Mock) UnMockApplicationGetApplicationVersion()
- func (r *Mock) UnMockApplicationIsApplicationUserAdmin()
- func (r *Mock) UnMockApplicationUpdateApplication()
- func (r *Mock) UnMockApplicationUpdateApplicationAppVisibility()
- func (r *Mock) UnMockApplicationUpdateApplicationVersion()
- func (r *Mock) UnMockApprovalAddApprovalInstanceSign()
- func (r *Mock) UnMockApprovalApproveApprovalInstance()
- func (r *Mock) UnMockApprovalCancelApprovalInstance()
- func (r *Mock) UnMockApprovalCreateApprovalCarbonCopy()
- func (r *Mock) UnMockApprovalCreateApprovalInstance()
- func (r *Mock) UnMockApprovalGetApproval()
- func (r *Mock) UnMockApprovalGetApprovalInstance()
- func (r *Mock) UnMockApprovalGetApprovalInstanceList()
- func (r *Mock) UnMockApprovalGetApprovalUserTaskList()
- func (r *Mock) UnMockApprovalPreviewApprovalInstance()
- func (r *Mock) UnMockApprovalRejectApprovalInstance()
- func (r *Mock) UnMockApprovalRollbackApprovalInstance()
- func (r *Mock) UnMockApprovalSearchApprovalCarbonCopy()
- func (r *Mock) UnMockApprovalSearchApprovalInstance()
- func (r *Mock) UnMockApprovalSearchApprovalTask()
- func (r *Mock) UnMockApprovalSubscribeApprovalSubscription()
- func (r *Mock) UnMockApprovalTransferApprovalInstance()
- func (r *Mock) UnMockApprovalUnsubscribeApprovalSubscription()
- func (r *Mock) UnMockApprovalUpdateApprovalMessage()
- func (r *Mock) UnMockApprovalUploadApprovalFile()
- func (r *Mock) UnMockAttendanceBatchCreateAttendanceUserDailyShift()
- func (r *Mock) UnMockAttendanceBatchCreateAttendanceUserFlow()
- func (r *Mock) UnMockAttendanceBatchGetAttendanceUserFlow()
- func (r *Mock) UnMockAttendanceCreateAttendanceGroup()
- func (r *Mock) UnMockAttendanceCreateAttendanceShift()
- func (r *Mock) UnMockAttendanceCreateAttendanceUserApproval()
- func (r *Mock) UnMockAttendanceCreateAttendanceUserTaskRemedy()
- func (r *Mock) UnMockAttendanceCreateUpdateAttendanceUserDailyShift()
- func (r *Mock) UnMockAttendanceDeleteAttendanceGroup()
- func (r *Mock) UnMockAttendanceDeleteAttendanceShift()
- func (r *Mock) UnMockAttendanceDownloadAttendanceFile()
- func (r *Mock) UnMockAttendanceGetAttendanceGroup()
- func (r *Mock) UnMockAttendanceGetAttendanceShift()
- func (r *Mock) UnMockAttendanceGetAttendanceShiftDetail()
- func (r *Mock) UnMockAttendanceGetAttendanceUserAllowedRemedy()
- func (r *Mock) UnMockAttendanceGetAttendanceUserApproval()
- func (r *Mock) UnMockAttendanceGetAttendanceUserDailyShift()
- func (r *Mock) UnMockAttendanceGetAttendanceUserFlow()
- func (r *Mock) UnMockAttendanceGetAttendanceUserSettingList()
- func (r *Mock) UnMockAttendanceGetAttendanceUserStatsData()
- func (r *Mock) UnMockAttendanceGetAttendanceUserStatsField()
- func (r *Mock) UnMockAttendanceGetAttendanceUserStatsView()
- func (r *Mock) UnMockAttendanceGetAttendanceUserTask()
- func (r *Mock) UnMockAttendanceGetAttendanceUserTaskRemedy()
- func (r *Mock) UnMockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList()
- func (r *Mock) UnMockAttendanceInitAttendanceRemedyApproval()
- func (r *Mock) UnMockAttendanceSearchAttendanceGroup()
- func (r *Mock) UnMockAttendanceUpdateAttendanceRemedyApproval()
- func (r *Mock) UnMockAttendanceUpdateAttendanceUserSetting()
- func (r *Mock) UnMockAttendanceUpdateAttendanceUserStatsView()
- func (r *Mock) UnMockAttendanceUploadAttendanceFile()
- func (r *Mock) UnMockAuthGetAccessToken()
- func (r *Mock) UnMockAuthGetUserInfo()
- func (r *Mock) UnMockAuthRefreshAccessToken()
- func (r *Mock) UnMockAuthResendAppTicket()
- func (r *Mock) UnMockBitableBatchCreateBitableRecord()
- func (r *Mock) UnMockBitableBatchCreateBitableTable()
- func (r *Mock) UnMockBitableBatchDeleteBitableRecord()
- func (r *Mock) UnMockBitableBatchDeleteBitableTable()
- func (r *Mock) UnMockBitableBatchUpdateBitableRecord()
- func (r *Mock) UnMockBitableCreateBitableField()
- func (r *Mock) UnMockBitableCreateBitableRecord()
- func (r *Mock) UnMockBitableCreateBitableTable()
- func (r *Mock) UnMockBitableCreateBitableView()
- func (r *Mock) UnMockBitableDeleteBitableField()
- func (r *Mock) UnMockBitableDeleteBitableRecord()
- func (r *Mock) UnMockBitableDeleteBitableTable()
- func (r *Mock) UnMockBitableDeleteBitableView()
- func (r *Mock) UnMockBitableGetBitableFieldList()
- func (r *Mock) UnMockBitableGetBitableMeta()
- func (r *Mock) UnMockBitableGetBitableRecord()
- func (r *Mock) UnMockBitableGetBitableRecordList()
- func (r *Mock) UnMockBitableGetBitableTableList()
- func (r *Mock) UnMockBitableGetBitableViewList()
- func (r *Mock) UnMockBitableUpdateBitableField()
- func (r *Mock) UnMockBitableUpdateBitableRecord()
- func (r *Mock) UnMockBotAddBotToChat()
- func (r *Mock) UnMockBotGetBotInfo()
- func (r *Mock) UnMockCalendarCreateCalendar()
- func (r *Mock) UnMockCalendarCreateCalendarACL()
- func (r *Mock) UnMockCalendarCreateCalendarEvent()
- func (r *Mock) UnMockCalendarCreateCalendarEventAttendee()
- func (r *Mock) UnMockCalendarCreateCalendarExchangeBinding()
- func (r *Mock) UnMockCalendarCreateCalendarTimeoffEvent()
- func (r *Mock) UnMockCalendarDeleteCalendar()
- func (r *Mock) UnMockCalendarDeleteCalendarACL()
- func (r *Mock) UnMockCalendarDeleteCalendarEvent()
- func (r *Mock) UnMockCalendarDeleteCalendarEventAttendee()
- func (r *Mock) UnMockCalendarDeleteCalendarExchangeBinding()
- func (r *Mock) UnMockCalendarDeleteCalendarTimeoffEvent()
- func (r *Mock) UnMockCalendarGenerateCaldavConf()
- func (r *Mock) UnMockCalendarGetCalendar()
- func (r *Mock) UnMockCalendarGetCalendarACLList()
- func (r *Mock) UnMockCalendarGetCalendarEvent()
- func (r *Mock) UnMockCalendarGetCalendarEventAttendeeChatMemberList()
- func (r *Mock) UnMockCalendarGetCalendarEventAttendeeList()
- func (r *Mock) UnMockCalendarGetCalendarEventList()
- func (r *Mock) UnMockCalendarGetCalendarExchangeBinding()
- func (r *Mock) UnMockCalendarGetCalendarFreeBusyList()
- func (r *Mock) UnMockCalendarGetCalendarList()
- func (r *Mock) UnMockCalendarSearchCalendar()
- func (r *Mock) UnMockCalendarSearchCalendarEvent()
- func (r *Mock) UnMockCalendarSubscribeCalendar()
- func (r *Mock) UnMockCalendarSubscribeCalendarACL()
- func (r *Mock) UnMockCalendarSubscribeCalendarChangeEvent()
- func (r *Mock) UnMockCalendarSubscribeCalendarEvent()
- func (r *Mock) UnMockCalendarUnsubscribeCalendar()
- func (r *Mock) UnMockCalendarUpdateCalendar()
- func (r *Mock) UnMockCalendarUpdateCalendarEvent()
- func (r *Mock) UnMockChatAddChatMember()
- func (r *Mock) UnMockChatCreateChat()
- func (r *Mock) UnMockChatCreateChatManager()
- func (r *Mock) UnMockChatDeleteChat()
- func (r *Mock) UnMockChatDeleteChatManager()
- func (r *Mock) UnMockChatDeleteChatMember()
- func (r *Mock) UnMockChatGetChat()
- func (r *Mock) UnMockChatGetChatAnnouncement()
- func (r *Mock) UnMockChatGetChatListOfSelf()
- func (r *Mock) UnMockChatGetChatMemberList()
- func (r *Mock) UnMockChatGetChatModeration()
- func (r *Mock) UnMockChatGetChatOld()
- func (r *Mock) UnMockChatIsInChat()
- func (r *Mock) UnMockChatJoinChat()
- func (r *Mock) UnMockChatSearchChat()
- func (r *Mock) UnMockChatUpdateChat()
- func (r *Mock) UnMockChatUpdateChatAnnouncement()
- func (r *Mock) UnMockChatUpdateChatModeration()
- func (r *Mock) UnMockContactAddContactGroupMember()
- func (r *Mock) UnMockContactBatchGetUser()
- func (r *Mock) UnMockContactBatchGetUserByID()
- func (r *Mock) UnMockContactBatchGetUserByIDOld()
- func (r *Mock) UnMockContactBindContactUnitDepartment()
- func (r *Mock) UnMockContactCreateContactGroup()
- func (r *Mock) UnMockContactCreateContactUnit()
- func (r *Mock) UnMockContactCreateDepartment()
- func (r *Mock) UnMockContactCreateEmployeeTypeEnum()
- func (r *Mock) UnMockContactCreateUser()
- func (r *Mock) UnMockContactDeleteContactGroup()
- func (r *Mock) UnMockContactDeleteContactGroupMember()
- func (r *Mock) UnMockContactDeleteContactUnit()
- func (r *Mock) UnMockContactDeleteDepartment()
- func (r *Mock) UnMockContactDeleteEmployeeTypeEnum()
- func (r *Mock) UnMockContactDeleteUser()
- func (r *Mock) UnMockContactGetContactCustomAttrList()
- func (r *Mock) UnMockContactGetContactGroup()
- func (r *Mock) UnMockContactGetContactGroupList()
- func (r *Mock) UnMockContactGetContactGroupMember()
- func (r *Mock) UnMockContactGetContactScopeList()
- func (r *Mock) UnMockContactGetContactUnit()
- func (r *Mock) UnMockContactGetContactUnitDepartmentList()
- func (r *Mock) UnMockContactGetContactUnitList()
- func (r *Mock) UnMockContactGetDepartment()
- func (r *Mock) UnMockContactGetDepartmentList()
- func (r *Mock) UnMockContactGetDepartmentListOld()
- func (r *Mock) UnMockContactGetEmployeeTypeEnumList()
- func (r *Mock) UnMockContactGetParentDepartment()
- func (r *Mock) UnMockContactGetUser()
- func (r *Mock) UnMockContactGetUserList()
- func (r *Mock) UnMockContactGetUserListOld()
- func (r *Mock) UnMockContactSearchDepartment()
- func (r *Mock) UnMockContactSearchUserOld()
- func (r *Mock) UnMockContactUnbindContactUnitDepartment()
- func (r *Mock) UnMockContactUpdateContactGroup()
- func (r *Mock) UnMockContactUpdateContactUnit()
- func (r *Mock) UnMockContactUpdateDepartment()
- func (r *Mock) UnMockContactUpdateDepartmentPatch()
- func (r *Mock) UnMockContactUpdateEmployeeTypeEnumPatch()
- func (r *Mock) UnMockContactUpdateUser()
- func (r *Mock) UnMockContactUpdateUserPatch()
- func (r *Mock) UnMockDriveAddSheetDimensionRange()
- func (r *Mock) UnMockDriveAddWikiSpaceMember()
- func (r *Mock) UnMockDriveAppendSheetValue()
- func (r *Mock) UnMockDriveBatchGetDriveMediaTmpDownloadURL()
- func (r *Mock) UnMockDriveBatchGetSheetValue()
- func (r *Mock) UnMockDriveBatchSetSheetStyle()
- func (r *Mock) UnMockDriveBatchSetSheetValue()
- func (r *Mock) UnMockDriveBatchUpdateSheet()
- func (r *Mock) UnMockDriveCheckDriveMemberPermission()
- func (r *Mock) UnMockDriveCopyDriveFile()
- func (r *Mock) UnMockDriveCreateDriveComment()
- func (r *Mock) UnMockDriveCreateDriveDoc()
- func (r *Mock) UnMockDriveCreateDriveFile()
- func (r *Mock) UnMockDriveCreateDriveFolder()
- func (r *Mock) UnMockDriveCreateDriveImportTask()
- func (r *Mock) UnMockDriveCreateDriveMemberPermission()
- func (r *Mock) UnMockDriveCreateDriveMemberPermissionOld()
- func (r *Mock) UnMockDriveCreateSheet()
- func (r *Mock) UnMockDriveCreateSheetConditionFormat()
- func (r *Mock) UnMockDriveCreateSheetDataValidationDropdown()
- func (r *Mock) UnMockDriveCreateSheetFilter()
- func (r *Mock) UnMockDriveCreateSheetFilterView()
- func (r *Mock) UnMockDriveCreateSheetFilterViewCondition()
- func (r *Mock) UnMockDriveCreateSheetFloatImage()
- func (r *Mock) UnMockDriveCreateSheetProtectedDimension()
- func (r *Mock) UnMockDriveCreateWikiNode()
- func (r *Mock) UnMockDriveCreateWikiSpace()
- func (r *Mock) UnMockDriveDeleteDriveComment()
- func (r *Mock) UnMockDriveDeleteDriveDocFile()
- func (r *Mock) UnMockDriveDeleteDriveFile()
- func (r *Mock) UnMockDriveDeleteDriveMemberPermission()
- func (r *Mock) UnMockDriveDeleteDriveMemberPermissionOld()
- func (r *Mock) UnMockDriveDeleteDriveSheetFile()
- func (r *Mock) UnMockDriveDeleteSheetConditionFormat()
- func (r *Mock) UnMockDriveDeleteSheetDataValidationDropdown()
- func (r *Mock) UnMockDriveDeleteSheetDimensionRange()
- func (r *Mock) UnMockDriveDeleteSheetFilter()
- func (r *Mock) UnMockDriveDeleteSheetFilterView()
- func (r *Mock) UnMockDriveDeleteSheetFilterViewCondition()
- func (r *Mock) UnMockDriveDeleteSheetFloatImage()
- func (r *Mock) UnMockDriveDeleteSheetProtectedDimension()
- func (r *Mock) UnMockDriveDeleteWikiSpaceMember()
- func (r *Mock) UnMockDriveDownloadDriveFile()
- func (r *Mock) UnMockDriveDownloadDriveMedia()
- func (r *Mock) UnMockDriveFindSheet()
- func (r *Mock) UnMockDriveFinishUploadDriveFile()
- func (r *Mock) UnMockDriveFinishUploadDriveMedia()
- func (r *Mock) UnMockDriveGetDriveComment()
- func (r *Mock) UnMockDriveGetDriveCommentList()
- func (r *Mock) UnMockDriveGetDriveDocContent()
- func (r *Mock) UnMockDriveGetDriveDocMeta()
- func (r *Mock) UnMockDriveGetDriveDocRawContent()
- func (r *Mock) UnMockDriveGetDriveFileMeta()
- func (r *Mock) UnMockDriveGetDriveFileStatistics()
- func (r *Mock) UnMockDriveGetDriveFolderChildren()
- func (r *Mock) UnMockDriveGetDriveFolderMeta()
- func (r *Mock) UnMockDriveGetDriveImportTask()
- func (r *Mock) UnMockDriveGetDriveMemberPermissionList()
- func (r *Mock) UnMockDriveGetDrivePublicPermissionV2()
- func (r *Mock) UnMockDriveGetDriveRootFolderMeta()
- func (r *Mock) UnMockDriveGetSheetConditionFormat()
- func (r *Mock) UnMockDriveGetSheetDataValidationDropdown()
- func (r *Mock) UnMockDriveGetSheetFilter()
- func (r *Mock) UnMockDriveGetSheetFilterView()
- func (r *Mock) UnMockDriveGetSheetFilterViewCondition()
- func (r *Mock) UnMockDriveGetSheetFloatImage()
- func (r *Mock) UnMockDriveGetSheetMeta()
- func (r *Mock) UnMockDriveGetSheetProtectedDimension()
- func (r *Mock) UnMockDriveGetSheetValue()
- func (r *Mock) UnMockDriveGetWikiNode()
- func (r *Mock) UnMockDriveGetWikiNodeList()
- func (r *Mock) UnMockDriveGetWikiSpace()
- func (r *Mock) UnMockDriveGetWikiSpaceList()
- func (r *Mock) UnMockDriveGetWikiTask()
- func (r *Mock) UnMockDriveImportSheet()
- func (r *Mock) UnMockDriveInsertSheetDimensionRange()
- func (r *Mock) UnMockDriveMergeSheetCell()
- func (r *Mock) UnMockDriveMoveDocsToWiki()
- func (r *Mock) UnMockDriveMoveSheetDimension()
- func (r *Mock) UnMockDriveMoveWikiNode()
- func (r *Mock) UnMockDrivePartUploadDriveFile()
- func (r *Mock) UnMockDrivePartUploadDriveMedia()
- func (r *Mock) UnMockDrivePrepareUploadDriveFile()
- func (r *Mock) UnMockDrivePrepareUploadDriveMedia()
- func (r *Mock) UnMockDrivePrependSheetValue()
- func (r *Mock) UnMockDriveQuerySheetFilterView()
- func (r *Mock) UnMockDriveQuerySheetFilterViewCondition()
- func (r *Mock) UnMockDriveQuerySheetFloatImage()
- func (r *Mock) UnMockDriveReplaceSheet()
- func (r *Mock) UnMockDriveSearchDriveFile()
- func (r *Mock) UnMockDriveSetSheetStyle()
- func (r *Mock) UnMockDriveSetSheetValue()
- func (r *Mock) UnMockDriveSetSheetValueImage()
- func (r *Mock) UnMockDriveTransferDriveMemberPermission()
- func (r *Mock) UnMockDriveUnmergeSheetCell()
- func (r *Mock) UnMockDriveUpdateDriveComment()
- func (r *Mock) UnMockDriveUpdateDriveCommentPatch()
- func (r *Mock) UnMockDriveUpdateDriveMemberPermission()
- func (r *Mock) UnMockDriveUpdateDriveMemberPermissionOld()
- func (r *Mock) UnMockDriveUpdateDrivePublicPermission()
- func (r *Mock) UnMockDriveUpdateDrivePublicPermissionV1Old()
- func (r *Mock) UnMockDriveUpdateDrivePublicPermissionV2Old()
- func (r *Mock) UnMockDriveUpdateSheetConditionFormat()
- func (r *Mock) UnMockDriveUpdateSheetDataValidationDropdown()
- func (r *Mock) UnMockDriveUpdateSheetDimensionRange()
- func (r *Mock) UnMockDriveUpdateSheetFilter()
- func (r *Mock) UnMockDriveUpdateSheetFilterView()
- func (r *Mock) UnMockDriveUpdateSheetFilterViewCondition()
- func (r *Mock) UnMockDriveUpdateSheetFloatImage()
- func (r *Mock) UnMockDriveUpdateSheetProperty()
- func (r *Mock) UnMockDriveUpdateSheetProtectedDimension()
- func (r *Mock) UnMockDriveUpdateWikiSpaceSetting()
- func (r *Mock) UnMockDriveUploadDriveFile()
- func (r *Mock) UnMockDriveUploadDriveMedia()
- func (r *Mock) UnMockEHRDownloadEHRAttachments()
- func (r *Mock) UnMockEHRGetEHREmployeeList()
- func (r *Mock) UnMockEcosystemGetEcosystemBindAwemeUser()
- func (r *Mock) UnMockFileDownloadFile()
- func (r *Mock) UnMockFileDownloadImage()
- func (r *Mock) UnMockFileUploadFile()
- func (r *Mock) UnMockFileUploadImage()
- func (r *Mock) UnMockGetAppAccessToken()
- func (r *Mock) UnMockGetTenantAccessToken()
- func (r *Mock) UnMockHelpdeskAnswerHelpdeskTicketUserQuery()
- func (r *Mock) UnMockHelpdeskCancelApproveHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskCancelSendHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskAgentSchedule()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskAgentSkill()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskCategory()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskFAQ()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskCreateHelpdeskTicketCustomizedField()
- func (r *Mock) UnMockHelpdeskDeleteHelpdeskAgentSchedule()
- func (r *Mock) UnMockHelpdeskDeleteHelpdeskAgentSkill()
- func (r *Mock) UnMockHelpdeskDeleteHelpdeskCategory()
- func (r *Mock) UnMockHelpdeskDeleteHelpdeskFAQ()
- func (r *Mock) UnMockHelpdeskDeleteHelpdeskTicketCustomizedField()
- func (r *Mock) UnMockHelpdeskDownloadHelpdeskTicketImage()
- func (r *Mock) UnMockHelpdeskExecuteSendHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentEmail()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSchedule()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentScheduleList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkill()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkillList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkillRuleList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskCategory()
- func (r *Mock) UnMockHelpdeskGetHelpdeskCategoryList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskFAQ()
- func (r *Mock) UnMockHelpdeskGetHelpdeskFAQImage()
- func (r *Mock) UnMockHelpdeskGetHelpdeskFAQList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskGetHelpdeskTicket()
- func (r *Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedField()
- func (r *Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedFieldList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskTicketList()
- func (r *Mock) UnMockHelpdeskGetHelpdeskTicketMessageList()
- func (r *Mock) UnMockHelpdeskPreviewHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskSearchHelpdeskFAQ()
- func (r *Mock) UnMockHelpdeskSendHelpdeskMessage()
- func (r *Mock) UnMockHelpdeskSendHelpdeskTicketMessage()
- func (r *Mock) UnMockHelpdeskStartHelpdeskService()
- func (r *Mock) UnMockHelpdeskSubmitApproveHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskSubscribeHelpdeskEvent()
- func (r *Mock) UnMockHelpdeskUnsubscribeHelpdeskEvent()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgent()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgentSchedule()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgentSkill()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskCategory()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskFAQ()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskNotification()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskTicket()
- func (r *Mock) UnMockHelpdeskUpdateHelpdeskTicketCustomizedField()
- func (r *Mock) UnMockHireCreateHireApplication()
- func (r *Mock) UnMockHireCreateHireNote()
- func (r *Mock) UnMockHireGetHireApplication()
- func (r *Mock) UnMockHireGetHireApplicationInterviewList()
- func (r *Mock) UnMockHireGetHireApplicationList()
- func (r *Mock) UnMockHireGetHireAttachment()
- func (r *Mock) UnMockHireGetHireAttachmentPreview()
- func (r *Mock) UnMockHireGetHireEmployee()
- func (r *Mock) UnMockHireGetHireEmployeeByApplication()
- func (r *Mock) UnMockHireGetHireJob()
- func (r *Mock) UnMockHireGetHireJobManager()
- func (r *Mock) UnMockHireGetHireJobProcessList()
- func (r *Mock) UnMockHireGetHireNote()
- func (r *Mock) UnMockHireGetHireNoteList()
- func (r *Mock) UnMockHireGetHireOfferByApplication()
- func (r *Mock) UnMockHireGetHireOfferSchema()
- func (r *Mock) UnMockHireGetHireReferralByApplication()
- func (r *Mock) UnMockHireGetHireResumeSource()
- func (r *Mock) UnMockHireGetHireTalent()
- func (r *Mock) UnMockHireMakeHireTransferOnboardByApplication()
- func (r *Mock) UnMockHireTerminateHireApplication()
- func (r *Mock) UnMockHireUpdateHireEmployee()
- func (r *Mock) UnMockHireUpdateHireNote()
- func (r *Mock) UnMockHumanAuthCreateIdentity()
- func (r *Mock) UnMockHumanAuthCropFaceVerifyImage()
- func (r *Mock) UnMockHumanAuthGetFaceVerifyAuthResult()
- func (r *Mock) UnMockHumanAuthUploadFaceVerifyImage()
- func (r *Mock) UnMockJssdkGetJssdkTicket()
- func (r *Mock) UnMockMailClearPublicMailboxMember()
- func (r *Mock) UnMockMailCreateMailGroup()
- func (r *Mock) UnMockMailCreateMailGroupMember()
- func (r *Mock) UnMockMailCreateMailGroupPermissionMember()
- func (r *Mock) UnMockMailCreateMailUserAlias()
- func (r *Mock) UnMockMailCreatePublicMailbox()
- func (r *Mock) UnMockMailCreatePublicMailboxMember()
- func (r *Mock) UnMockMailDeleteMailGroup()
- func (r *Mock) UnMockMailDeleteMailGroupMember()
- func (r *Mock) UnMockMailDeleteMailGroupPermissionMember()
- func (r *Mock) UnMockMailDeleteMailUserAlias()
- func (r *Mock) UnMockMailDeletePublicMailbox()
- func (r *Mock) UnMockMailDeletePublicMailboxMember()
- func (r *Mock) UnMockMailGetMailGroup()
- func (r *Mock) UnMockMailGetMailGroupList()
- func (r *Mock) UnMockMailGetMailGroupMember()
- func (r *Mock) UnMockMailGetMailGroupMemberList()
- func (r *Mock) UnMockMailGetMailGroupPermissionMember()
- func (r *Mock) UnMockMailGetMailGroupPermissionMemberList()
- func (r *Mock) UnMockMailGetMailUserAliasList()
- func (r *Mock) UnMockMailGetPublicMailbox()
- func (r *Mock) UnMockMailGetPublicMailboxList()
- func (r *Mock) UnMockMailGetPublicMailboxMember()
- func (r *Mock) UnMockMailGetPublicMailboxMemberList()
- func (r *Mock) UnMockMailUpdateMailGroup()
- func (r *Mock) UnMockMailUpdateMailGroupPatch()
- func (r *Mock) UnMockMailUpdatePublicMailbox()
- func (r *Mock) UnMockMailUpdatePublicMailboxPatch()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomBuilding()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomBuildingID()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomFreebusy()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomRoom()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomRoomID()
- func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomSummary()
- func (r *Mock) UnMockMeetingRoomCreateMeetingRoomBuilding()
- func (r *Mock) UnMockMeetingRoomCreateMeetingRoomRoom()
- func (r *Mock) UnMockMeetingRoomDeleteMeetingRoomBuilding()
- func (r *Mock) UnMockMeetingRoomDeleteMeetingRoomRoom()
- func (r *Mock) UnMockMeetingRoomGetMeetingRoomBuildingList()
- func (r *Mock) UnMockMeetingRoomGetMeetingRoomCountryList()
- func (r *Mock) UnMockMeetingRoomGetMeetingRoomCustomization()
- func (r *Mock) UnMockMeetingRoomGetMeetingRoomDistrictList()
- func (r *Mock) UnMockMeetingRoomGetMeetingRoomRoomList()
- func (r *Mock) UnMockMeetingRoomReplyMeetingRoomInstance()
- func (r *Mock) UnMockMeetingRoomUpdateMeetingRoomBuilding()
- func (r *Mock) UnMockMeetingRoomUpdateMeetingRoomRoom()
- func (r *Mock) UnMockMessageBatchDeleteMessage()
- func (r *Mock) UnMockMessageBatchSendOldRawMessage()
- func (r *Mock) UnMockMessageCreateMessageReaction()
- func (r *Mock) UnMockMessageDeleteEphemeralMessage()
- func (r *Mock) UnMockMessageDeleteMessage()
- func (r *Mock) UnMockMessageDeleteMessageReaction()
- func (r *Mock) UnMockMessageGetBatchSentMessageProgress()
- func (r *Mock) UnMockMessageGetBatchSentMessageReadUser()
- func (r *Mock) UnMockMessageGetMessage()
- func (r *Mock) UnMockMessageGetMessageFile()
- func (r *Mock) UnMockMessageGetMessageList()
- func (r *Mock) UnMockMessageGetMessageReactionList()
- func (r *Mock) UnMockMessageGetMessageReadUserList()
- func (r *Mock) UnMockMessageReplyRawMessage()
- func (r *Mock) UnMockMessageSendEphemeralMessage()
- func (r *Mock) UnMockMessageSendRawMessage()
- func (r *Mock) UnMockMessageSendRawMessageOld()
- func (r *Mock) UnMockMessageSendUrgentAppMessage()
- func (r *Mock) UnMockMessageSendUrgentPhoneMessage()
- func (r *Mock) UnMockMessageSendUrgentSmsMessage()
- func (r *Mock) UnMockMessageUpdateMessage()
- func (r *Mock) UnMockMessageUpdateMessageDelay()
- func (r *Mock) UnMockOKRBatchGetOKR()
- func (r *Mock) UnMockOKRGetOKRPeriodList()
- func (r *Mock) UnMockOKRGetUserOKRList()
- func (r *Mock) UnMockRawRequest()
- func (r *Mock) UnMockSearchCreateSearchDataSource()
- func (r *Mock) UnMockSearchCreateSearchDataSourceItem()
- func (r *Mock) UnMockSearchDeleteSearchDataSource()
- func (r *Mock) UnMockSearchDeleteSearchDataSourceItem()
- func (r *Mock) UnMockSearchGetSearchDataSource()
- func (r *Mock) UnMockSearchGetSearchDataSourceItem()
- func (r *Mock) UnMockSearchGetSearchDataSourceList()
- func (r *Mock) UnMockSearchUpdateSearchDataSource()
- func (r *Mock) UnMockTaskCompleteTask()
- func (r *Mock) UnMockTaskCreateTask()
- func (r *Mock) UnMockTaskCreateTaskCollaborator()
- func (r *Mock) UnMockTaskCreateTaskComment()
- func (r *Mock) UnMockTaskCreateTaskFollower()
- func (r *Mock) UnMockTaskCreateTaskReminder()
- func (r *Mock) UnMockTaskDeleteTask()
- func (r *Mock) UnMockTaskDeleteTaskCollaborator()
- func (r *Mock) UnMockTaskDeleteTaskComment()
- func (r *Mock) UnMockTaskDeleteTaskFollower()
- func (r *Mock) UnMockTaskDeleteTaskReminder()
- func (r *Mock) UnMockTaskGetTask()
- func (r *Mock) UnMockTaskGetTaskCollaboratorList()
- func (r *Mock) UnMockTaskGetTaskComment()
- func (r *Mock) UnMockTaskGetTaskFollowerList()
- func (r *Mock) UnMockTaskGetTaskList()
- func (r *Mock) UnMockTaskGetTaskReminderList()
- func (r *Mock) UnMockTaskUncompleteTask()
- func (r *Mock) UnMockTaskUpdateTask()
- func (r *Mock) UnMockTaskUpdateTaskComment()
- func (r *Mock) UnMockTenantGetTenant()
- func (r *Mock) UnMockVCApplyVCReserve()
- func (r *Mock) UnMockVCDeleteVCReserve()
- func (r *Mock) UnMockVCEndVCMeeting()
- func (r *Mock) UnMockVCGetVCDailyReport()
- func (r *Mock) UnMockVCGetVCMeeting()
- func (r *Mock) UnMockVCGetVCMeetingRecording()
- func (r *Mock) UnMockVCGetVCReserve()
- func (r *Mock) UnMockVCGetVCReserveActiveMeeting()
- func (r *Mock) UnMockVCGetVCRoomConfig()
- func (r *Mock) UnMockVCGetVCTopUserReport()
- func (r *Mock) UnMockVCInviteVCMeeting()
- func (r *Mock) UnMockVCKickoutVCMeeting()
- func (r *Mock) UnMockVCListVCMeetingByNo()
- func (r *Mock) UnMockVCSetVCHostMeeting()
- func (r *Mock) UnMockVCSetVCPermissionMeetingRecording()
- func (r *Mock) UnMockVCSetVCRoomConfig()
- func (r *Mock) UnMockVCStartVCMeetingRecording()
- func (r *Mock) UnMockVCStopVCMeetingRecording()
- func (r *Mock) UnMockVCUpdateVCReserve()
- type ModerationPermission
- type MoveDocsToWikiReq
- type MoveDocsToWikiResp
- type MoveSheetDimensionReq
- type MoveSheetDimensionReqSource
- type MoveSheetDimensionResp
- type MoveWikiNodeReq
- type MoveWikiNodeResp
- type MoveWikiNodeRespNode
- type MsgType
- type OKRService
- func (r *OKRService) BatchGetOKR(ctx context.Context, request *BatchGetOKRReq, options ...MethodOptionFunc) (*BatchGetOKRResp, *Response, error)
- func (r *OKRService) GetOKRPeriodList(ctx context.Context, request *GetOKRPeriodListReq, options ...MethodOptionFunc) (*GetOKRPeriodListResp, *Response, error)
- func (r *OKRService) GetUserOKRList(ctx context.Context, request *GetUserOKRListReq, options ...MethodOptionFunc) (*GetUserOKRListResp, *Response, error)
- type OpenBotReq
- type OpenCalenderAccountReq
- type OpenCalenderEventCreateReq
- type OpenCalenderReq
- type OpenCalenderViewReq
- type OpenChatReq
- type OpenDocsReq
- type OpenLarkReq
- type OpenMiniProgramReq
- type OpenSSOLoginReq
- type OpenTaskCreateReq
- type OpenTaskDetailReq
- type OpenTaskReq
- type OpenTaskTabReq
- type OpenWebAppReq
- type OpenWebURLReq
- type PartUploadDriveFileReq
- type PartUploadDriveFileResp
- type PartUploadDriveMediaReq
- type PartUploadDriveMediaResp
- type PrepareUploadDriveFileReq
- type PrepareUploadDriveFileResp
- type PrepareUploadDriveMediaReq
- type PrepareUploadDriveMediaResp
- type PrependSheetValueReq
- type PrependSheetValueReqValueRange
- type PrependSheetValueResp
- type PrependSheetValueRespUpdates
- type PreviewApprovalInstanceReq
- type PreviewApprovalInstanceReqForm
- type PreviewApprovalInstanceResp
- type PreviewHelpdeskNotificationReq
- type PreviewHelpdeskNotificationResp
- type QuerySheetFilterViewConditionReq
- type QuerySheetFilterViewConditionResp
- type QuerySheetFilterViewConditionRespItem
- type QuerySheetFilterViewReq
- type QuerySheetFilterViewResp
- type QuerySheetFilterViewRespItem
- type QuerySheetFloatImageReq
- type QuerySheetFloatImageResp
- type QuerySheetFloatImageRespItem
- type RawRequestReq
- type RecognizeBasicImageReq
- type RecognizeBasicImageResp
- type RecognizeSpeechFileReq
- type RecognizeSpeechFileReqConfig
- type RecognizeSpeechFileReqSpeech
- type RecognizeSpeechFileResp
- type RecognizeSpeechStreamReq
- type RecognizeSpeechStreamReqConfig
- type RecognizeSpeechStreamReqSpeech
- type RecognizeSpeechStreamResp
- type RefreshAccessTokenReq
- type RefreshAccessTokenResp
- type RejectApprovalInstanceReq
- type RejectApprovalInstanceResp
- type ReplaceSheetReq
- type ReplaceSheetReqFindCondition
- type ReplaceSheetResp
- type ReplaceSheetRespReplaceResult
- type ReplyMeetingRoomInstanceReq
- type ReplyMeetingRoomInstanceResp
- type ReplyRawMessageReq
- type ReplyRawMessageResp
- type ResendAppTicketReq
- type ResendAppTicketResp
- type Response
- type RollbackApprovalInstanceReq
- type RollbackApprovalInstanceResp
- type SearchApprovalCarbonCopyReq
- type SearchApprovalCarbonCopyResp
- type SearchApprovalCarbonCopyRespApproval
- type SearchApprovalCarbonCopyRespApprovalExternal
- type SearchApprovalCarbonCopyRespCc
- type SearchApprovalCarbonCopyRespCcLink
- type SearchApprovalCarbonCopyRespGroup
- type SearchApprovalCarbonCopyRespInstance
- type SearchApprovalCarbonCopyRespInstanceLink
- type SearchApprovalInstanceReq
- type SearchApprovalInstanceResp
- type SearchApprovalInstanceRespInstance
- type SearchApprovalInstanceRespInstanceApproval
- type SearchApprovalInstanceRespInstanceApprovalExternal
- type SearchApprovalInstanceRespInstanceGroup
- type SearchApprovalInstanceRespInstanceGroupExternalID
- type SearchApprovalInstanceRespInstanceInstance
- type SearchApprovalInstanceRespInstanceInstanceLink
- type SearchApprovalTaskReq
- type SearchApprovalTaskResp
- type SearchApprovalTaskRespTask
- type SearchApprovalTaskRespTaskApproval
- type SearchApprovalTaskRespTaskApprovalExternal
- type SearchApprovalTaskRespTaskGroup
- type SearchApprovalTaskRespTaskInstance
- type SearchApprovalTaskRespTaskInstanceLink
- type SearchApprovalTaskRespTaskTask
- type SearchApprovalTaskRespTaskTaskLink
- type SearchAttendanceGroupReq
- type SearchAttendanceGroupResp
- type SearchAttendanceGroupRespGroup
- type SearchCalendarEventReq
- type SearchCalendarEventReqFilter
- type SearchCalendarEventReqFilterEndTime
- type SearchCalendarEventReqFilterStartTime
- type SearchCalendarEventResp
- type SearchCalendarEventRespItem
- type SearchCalendarEventRespItemEndTime
- type SearchCalendarEventRespItemLocation
- type SearchCalendarEventRespItemReminder
- type SearchCalendarEventRespItemSchema
- type SearchCalendarEventRespItemStartTime
- type SearchCalendarEventRespItemVchat
- type SearchCalendarReq
- type SearchCalendarResp
- type SearchCalendarRespItem
- type SearchChatReq
- type SearchChatResp
- type SearchChatRespItem
- type SearchDepartmentReq
- type SearchDepartmentResp
- type SearchDepartmentRespItem
- type SearchDepartmentRespItemI18nName
- type SearchDepartmentRespItemStatus
- type SearchDriveFileReq
- type SearchDriveFileResp
- type SearchDriveFileRespDocsEntity
- type SearchHelpdeskFAQReq
- type SearchHelpdeskFAQResp
- type SearchHelpdeskFAQRespItem
- type SearchHelpdeskFAQRespItemCreateUser
- type SearchHelpdeskFAQRespItemUpdateUser
- type SearchService
- func (r *SearchService) CreateSearchDataSource(ctx context.Context, request *CreateSearchDataSourceReq, ...) (*CreateSearchDataSourceResp, *Response, error)
- func (r *SearchService) CreateSearchDataSourceItem(ctx context.Context, request *CreateSearchDataSourceItemReq, ...) (*CreateSearchDataSourceItemResp, *Response, error)
- func (r *SearchService) DeleteSearchDataSource(ctx context.Context, request *DeleteSearchDataSourceReq, ...) (*DeleteSearchDataSourceResp, *Response, error)
- func (r *SearchService) DeleteSearchDataSourceItem(ctx context.Context, request *DeleteSearchDataSourceItemReq, ...) (*DeleteSearchDataSourceItemResp, *Response, error)
- func (r *SearchService) GetSearchDataSource(ctx context.Context, request *GetSearchDataSourceReq, ...) (*GetSearchDataSourceResp, *Response, error)
- func (r *SearchService) GetSearchDataSourceItem(ctx context.Context, request *GetSearchDataSourceItemReq, ...) (*GetSearchDataSourceItemResp, *Response, error)
- func (r *SearchService) GetSearchDataSourceList(ctx context.Context, request *GetSearchDataSourceListReq, ...) (*GetSearchDataSourceListResp, *Response, error)
- func (r *SearchService) UpdateSearchDataSource(ctx context.Context, request *UpdateSearchDataSourceReq, ...) (*UpdateSearchDataSourceResp, *Response, error)
- type SearchUserOldReq
- type SearchUserOldResp
- type SearchUserOldRespUser
- type SearchUserOldRespUserAvatar
- type SendEphemeralMessageReq
- type SendEphemeralMessageResp
- type SendHelpdeskMessageReq
- type SendHelpdeskMessageResp
- type SendHelpdeskTicketMessageReq
- type SendHelpdeskTicketMessageResp
- type SendRawMessageOldReq
- type SendRawMessageOldReqContent
- type SendRawMessageOldResp
- type SendRawMessageReq
- type SendRawMessageResp
- type SendUrgentAppMessageReq
- type SendUrgentAppMessageResp
- type SendUrgentPhoneMessageReq
- type SendUrgentPhoneMessageResp
- type SendUrgentSmsMessageReq
- type SendUrgentSmsMessageResp
- type Sender
- type SetSheetStyleReq
- type SetSheetStyleReqAppendStyle
- type SetSheetStyleReqAppendStyleStyle
- type SetSheetStyleReqAppendStyleStyleFont
- type SetSheetStyleResp
- type SetSheetValueImageReq
- type SetSheetValueImageResp
- type SetSheetValueReq
- type SetSheetValueReqValueRange
- type SetSheetValueResp
- type SetVCHostMeetingReq
- type SetVCHostMeetingReqHostUser
- type SetVCHostMeetingReqOldHostUser
- type SetVCHostMeetingResp
- type SetVCHostMeetingRespHostUser
- type SetVCPermissionMeetingRecordingReq
- type SetVCPermissionMeetingRecordingReqPermissionObject
- type SetVCPermissionMeetingRecordingResp
- type SetVCRoomConfigReq
- type SetVCRoomConfigReqRoomConfig
- type SetVCRoomConfigReqRoomConfigDigitalSignage
- type SetVCRoomConfigReqRoomConfigDigitalSignageMaterial
- type SetVCRoomConfigResp
- type ShareCardPermission
- type SheetContent
- type SheetContentType
- type SheetRuleAttr
- type SheetRuleAttrOperator
- type SheetRuleAttrTimePeriod
- type SheetRuleType
- type SheetValueAtDoc
- type SheetValueAtUser
- type SheetValueEmbedImage
- type SheetValueFormula
- type SheetValueLink
- type SheetValueMultiValue
- type StartHelpdeskServiceReq
- type StartHelpdeskServiceResp
- type StartVCMeetingRecordingReq
- type StartVCMeetingRecordingResp
- type StopVCMeetingRecordingReq
- type StopVCMeetingRecordingResp
- type Store
- type StoreMemory
- type SubmitApproveHelpdeskNotificationReq
- type SubmitApproveHelpdeskNotificationResp
- type SubscribeApprovalSubscriptionReq
- type SubscribeApprovalSubscriptionResp
- type SubscribeCalendarACLReq
- type SubscribeCalendarACLResp
- type SubscribeCalendarChangeEventReq
- type SubscribeCalendarChangeEventResp
- type SubscribeCalendarEventReq
- type SubscribeCalendarEventResp
- type SubscribeCalendarReq
- type SubscribeCalendarResp
- type SubscribeCalendarRespCalendar
- type SubscribeHelpdeskEventReq
- type SubscribeHelpdeskEventReqEvent
- type SubscribeHelpdeskEventResp
- type TaskService
- func (r *TaskService) CompleteTask(ctx context.Context, request *CompleteTaskReq, options ...MethodOptionFunc) (*CompleteTaskResp, *Response, error)
- func (r *TaskService) CreateTask(ctx context.Context, request *CreateTaskReq, options ...MethodOptionFunc) (*CreateTaskResp, *Response, error)
- func (r *TaskService) CreateTaskCollaborator(ctx context.Context, request *CreateTaskCollaboratorReq, ...) (*CreateTaskCollaboratorResp, *Response, error)
- func (r *TaskService) CreateTaskComment(ctx context.Context, request *CreateTaskCommentReq, ...) (*CreateTaskCommentResp, *Response, error)
- func (r *TaskService) CreateTaskFollower(ctx context.Context, request *CreateTaskFollowerReq, ...) (*CreateTaskFollowerResp, *Response, error)
- func (r *TaskService) CreateTaskReminder(ctx context.Context, request *CreateTaskReminderReq, ...) (*CreateTaskReminderResp, *Response, error)
- func (r *TaskService) DeleteTask(ctx context.Context, request *DeleteTaskReq, options ...MethodOptionFunc) (*DeleteTaskResp, *Response, error)
- func (r *TaskService) DeleteTaskCollaborator(ctx context.Context, request *DeleteTaskCollaboratorReq, ...) (*DeleteTaskCollaboratorResp, *Response, error)
- func (r *TaskService) DeleteTaskComment(ctx context.Context, request *DeleteTaskCommentReq, ...) (*DeleteTaskCommentResp, *Response, error)
- func (r *TaskService) DeleteTaskFollower(ctx context.Context, request *DeleteTaskFollowerReq, ...) (*DeleteTaskFollowerResp, *Response, error)
- func (r *TaskService) DeleteTaskReminder(ctx context.Context, request *DeleteTaskReminderReq, ...) (*DeleteTaskReminderResp, *Response, error)
- func (r *TaskService) GetTask(ctx context.Context, request *GetTaskReq, options ...MethodOptionFunc) (*GetTaskResp, *Response, error)
- func (r *TaskService) GetTaskCollaboratorList(ctx context.Context, request *GetTaskCollaboratorListReq, ...) (*GetTaskCollaboratorListResp, *Response, error)
- func (r *TaskService) GetTaskComment(ctx context.Context, request *GetTaskCommentReq, options ...MethodOptionFunc) (*GetTaskCommentResp, *Response, error)
- func (r *TaskService) GetTaskFollowerList(ctx context.Context, request *GetTaskFollowerListReq, ...) (*GetTaskFollowerListResp, *Response, error)
- func (r *TaskService) GetTaskList(ctx context.Context, request *GetTaskListReq, options ...MethodOptionFunc) (*GetTaskListResp, *Response, error)
- func (r *TaskService) GetTaskReminderList(ctx context.Context, request *GetTaskReminderListReq, ...) (*GetTaskReminderListResp, *Response, error)
- func (r *TaskService) UncompleteTask(ctx context.Context, request *UncompleteTaskReq, options ...MethodOptionFunc) (*UncompleteTaskResp, *Response, error)
- func (r *TaskService) UpdateTask(ctx context.Context, request *UpdateTaskReq, options ...MethodOptionFunc) (*UpdateTaskResp, *Response, error)
- func (r *TaskService) UpdateTaskComment(ctx context.Context, request *UpdateTaskCommentReq, ...) (*UpdateTaskCommentResp, *Response, error)
- type TenantService
- type TerminateHireApplicationReq
- type TerminateHireApplicationResp
- type TokenExpire
- type TransferApprovalInstanceReq
- type TransferApprovalInstanceResp
- type TransferDriveMemberPermissionReq
- type TransferDriveMemberPermissionReqOwner
- type TransferDriveMemberPermissionResp
- type TransferDriveMemberPermissionRespOwner
- type TranslateTextReq
- type TranslateTextReqGlossary
- type TranslateTextResp
- type UnbindContactUnitDepartmentReq
- type UnbindContactUnitDepartmentResp
- type UncompleteTaskReq
- type UncompleteTaskResp
- type UnmergeSheetCellReq
- type UnmergeSheetCellResp
- type UnsubscribeApprovalSubscriptionReq
- type UnsubscribeApprovalSubscriptionResp
- type UnsubscribeCalendarReq
- type UnsubscribeCalendarResp
- type UnsubscribeHelpdeskEventReq
- type UnsubscribeHelpdeskEventReqEvent
- type UnsubscribeHelpdeskEventResp
- type UpdateACSUserFaceReq
- type UpdateACSUserFaceResp
- type UpdateACSUserReq
- type UpdateACSUserReqFeature
- type UpdateACSUserResp
- type UpdateApplicationAppVisibilityReq
- type UpdateApplicationAppVisibilityReqAddUsers
- type UpdateApplicationAppVisibilityReqDelUsers
- type UpdateApplicationAppVisibilityResp
- type UpdateApplicationReq
- type UpdateApplicationResp
- type UpdateApplicationVersionReq
- type UpdateApplicationVersionResp
- type UpdateApprovalMessageReq
- type UpdateApprovalMessageResp
- type UpdateAttendanceRemedyApprovalReq
- type UpdateAttendanceRemedyApprovalResp
- type UpdateAttendanceRemedyApprovalRespApprovalInfo
- type UpdateAttendanceUserSettingReq
- type UpdateAttendanceUserSettingReqUserSetting
- type UpdateAttendanceUserSettingResp
- type UpdateAttendanceUserSettingRespUserSetting
- type UpdateAttendanceUserStatsViewReq
- type UpdateAttendanceUserStatsViewReqView
- type UpdateAttendanceUserStatsViewReqViewItem
- type UpdateAttendanceUserStatsViewReqViewItemChildItem
- type UpdateAttendanceUserStatsViewResp
- type UpdateAttendanceUserStatsViewRespView
- type UpdateAttendanceUserStatsViewRespViewItem
- type UpdateAttendanceUserStatsViewRespViewItemChildItem
- type UpdateBitableFieldReq
- type UpdateBitableFieldReqProperty
- type UpdateBitableFieldReqPropertyOption
- type UpdateBitableFieldResp
- type UpdateBitableFieldRespField
- type UpdateBitableFieldRespFieldProperty
- type UpdateBitableFieldRespFieldPropertyOption
- type UpdateBitableRecordReq
- type UpdateBitableRecordResp
- type UpdateBitableRecordRespRecord
- type UpdateCalendarEventReq
- type UpdateCalendarEventReqEndTime
- type UpdateCalendarEventReqLocation
- type UpdateCalendarEventReqReminder
- type UpdateCalendarEventReqSchema
- type UpdateCalendarEventReqStartTime
- type UpdateCalendarEventReqVchat
- type UpdateCalendarEventResp
- type UpdateCalendarEventRespEvent
- type UpdateCalendarEventRespEventEndTime
- type UpdateCalendarEventRespEventLocation
- type UpdateCalendarEventRespEventReminder
- type UpdateCalendarEventRespEventSchema
- type UpdateCalendarEventRespEventStartTime
- type UpdateCalendarEventRespEventVchat
- type UpdateCalendarReq
- type UpdateCalendarResp
- type UpdateCalendarRespCalendar
- type UpdateChatAnnouncementReq
- type UpdateChatAnnouncementResp
- type UpdateChatModerationReq
- type UpdateChatModerationResp
- type UpdateChatReq
- type UpdateChatResp
- type UpdateContactGroupReq
- type UpdateContactGroupResp
- type UpdateContactUnitReq
- type UpdateContactUnitResp
- type UpdateDepartmentPatchReq
- type UpdateDepartmentPatchReqI18nName
- type UpdateDepartmentPatchResp
- type UpdateDepartmentPatchRespDepartment
- type UpdateDepartmentPatchRespDepartmentI18nName
- type UpdateDepartmentPatchRespDepartmentStatus
- type UpdateDepartmentReq
- type UpdateDepartmentReqI18nName
- type UpdateDepartmentResp
- type UpdateDepartmentRespDepartment
- type UpdateDepartmentRespDepartmentI18nName
- type UpdateDepartmentRespDepartmentStatus
- type UpdateDriveCommentPatchReq
- type UpdateDriveCommentPatchResp
- type UpdateDriveCommentReq
- type UpdateDriveCommentReqContent
- type UpdateDriveCommentReqContentElement
- type UpdateDriveCommentReqContentElementDocsLink
- type UpdateDriveCommentReqContentElementPerson
- type UpdateDriveCommentReqContentElementTextRun
- type UpdateDriveCommentResp
- type UpdateDriveMemberPermissionOldReq
- type UpdateDriveMemberPermissionOldResp
- type UpdateDriveMemberPermissionReq
- type UpdateDriveMemberPermissionResp
- type UpdateDriveMemberPermissionRespMember
- type UpdateDrivePublicPermissionReq
- type UpdateDrivePublicPermissionResp
- type UpdateDrivePublicPermissionRespPermissionPublic
- type UpdateDrivePublicPermissionV1OldReq
- type UpdateDrivePublicPermissionV1OldResp
- type UpdateDrivePublicPermissionV2OldReq
- type UpdateDrivePublicPermissionV2OldResp
- type UpdateEmployeeTypeEnumPatchReq
- type UpdateEmployeeTypeEnumPatchReqI18nContent
- type UpdateEmployeeTypeEnumPatchResp
- type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnum
- type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnumI18nContent
- type UpdateHelpdeskAgentReq
- type UpdateHelpdeskAgentResp
- type UpdateHelpdeskAgentScheduleReq
- type UpdateHelpdeskAgentScheduleReqAgentSchedule
- type UpdateHelpdeskAgentScheduleReqAgentScheduleSchedule
- type UpdateHelpdeskAgentScheduleResp
- type UpdateHelpdeskAgentSkillReq
- type UpdateHelpdeskAgentSkillReqAgentSkill
- type UpdateHelpdeskAgentSkillReqAgentSkillRules
- type UpdateHelpdeskAgentSkillResp
- type UpdateHelpdeskCategoryReq
- type UpdateHelpdeskCategoryResp
- type UpdateHelpdeskFAQReq
- type UpdateHelpdeskFAQReqFAQ
- type UpdateHelpdeskFAQResp
- type UpdateHelpdeskNotificationReq
- type UpdateHelpdeskNotificationReqChat
- type UpdateHelpdeskNotificationReqCreateUser
- type UpdateHelpdeskNotificationReqDepartment
- type UpdateHelpdeskNotificationReqNewStaffScopeDepartment
- type UpdateHelpdeskNotificationReqUpdateUser
- type UpdateHelpdeskNotificationReqUser
- type UpdateHelpdeskNotificationResp
- type UpdateHelpdeskTicketCustomizedFieldReq
- type UpdateHelpdeskTicketCustomizedFieldResp
- type UpdateHelpdeskTicketReq
- type UpdateHelpdeskTicketReqCustomizedField
- type UpdateHelpdeskTicketResp
- type UpdateHireEmployeeReq
- type UpdateHireEmployeeReqConversionInfo
- type UpdateHireEmployeeReqOverboardInfo
- type UpdateHireEmployeeResp
- type UpdateHireEmployeeRespEmployee
- type UpdateHireNoteReq
- type UpdateHireNoteResp
- type UpdateHireNoteRespNote
- type UpdateMailGroupPatchReq
- type UpdateMailGroupPatchResp
- type UpdateMailGroupReq
- type UpdateMailGroupResp
- type UpdateMeetingRoomBuildingReq
- type UpdateMeetingRoomBuildingResp
- type UpdateMeetingRoomRoomReq
- type UpdateMeetingRoomRoomResp
- type UpdateMessageDelayReq
- type UpdateMessageDelayReqCard
- type UpdateMessageDelayReqCardCard
- type UpdateMessageDelayResp
- type UpdateMessageReq
- type UpdateMessageResp
- type UpdatePublicMailboxPatchReq
- type UpdatePublicMailboxPatchResp
- type UpdatePublicMailboxReq
- type UpdatePublicMailboxResp
- type UpdateSearchDataSourceReq
- type UpdateSearchDataSourceResp
- type UpdateSearchDataSourceRespDataSource
- type UpdateSheetConditionFormatReq
- type UpdateSheetConditionFormatReqSheetConditionFormats
- type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormat
- type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatAttr
- type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyle
- type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyleFont
- type UpdateSheetConditionFormatResp
- type UpdateSheetConditionFormatRespResponse
- type UpdateSheetDataValidationDropdownReq
- type UpdateSheetDataValidationDropdownReqDataValidation
- type UpdateSheetDataValidationDropdownReqDataValidationOptions
- type UpdateSheetDataValidationDropdownResp
- type UpdateSheetDataValidationDropdownRespDataValidation
- type UpdateSheetDataValidationDropdownRespDataValidationOptions
- type UpdateSheetDimensionRangeReq
- type UpdateSheetDimensionRangeReqDimension
- type UpdateSheetDimensionRangeReqDimensionProperties
- type UpdateSheetDimensionRangeResp
- type UpdateSheetFilterReq
- type UpdateSheetFilterReqCondition
- type UpdateSheetFilterResp
- type UpdateSheetFilterViewConditionReq
- type UpdateSheetFilterViewConditionResp
- type UpdateSheetFilterViewConditionRespCondition
- type UpdateSheetFilterViewReq
- type UpdateSheetFilterViewResp
- type UpdateSheetFilterViewRespFilterView
- type UpdateSheetFloatImageReq
- type UpdateSheetFloatImageResp
- type UpdateSheetFloatImageRespFloatImage
- type UpdateSheetPropertyReq
- type UpdateSheetPropertyReqProperties
- type UpdateSheetPropertyResp
- type UpdateSheetProtectedDimensionReq
- type UpdateSheetProtectedDimensionReqRequests
- type UpdateSheetProtectedDimensionReqRequestsDimension
- type UpdateSheetProtectedDimensionReqRequestsEditors
- type UpdateSheetProtectedDimensionReqRequestsEditorsAddEditors
- type UpdateSheetProtectedDimensionReqRequestsEditorsDelEditors
- type UpdateSheetProtectedDimensionResp
- type UpdateSheetProtectedDimensionRespReply
- type UpdateSheetProtectedDimensionRespReplyDimension
- type UpdateSheetProtectedDimensionRespReplyEditors
- type UpdateSheetProtectedDimensionRespReplyEditorsAddEditor
- type UpdateSheetProtectedDimensionRespReplyEditorsDelEditor
- type UpdateTaskCommentReq
- type UpdateTaskCommentResp
- type UpdateTaskCommentRespComment
- type UpdateTaskReq
- type UpdateTaskReqTask
- type UpdateTaskReqTaskDue
- type UpdateTaskReqTaskOrigin
- type UpdateTaskReqTaskOriginHref
- type UpdateTaskResp
- type UpdateTaskRespTask
- type UpdateTaskRespTaskDue
- type UpdateTaskRespTaskOrigin
- type UpdateTaskRespTaskOriginHref
- type UpdateUserPatchReq
- type UpdateUserPatchReqCustomAttr
- type UpdateUserPatchReqCustomAttrValue
- type UpdateUserPatchReqCustomAttrValueGenericUser
- type UpdateUserPatchReqOrder
- type UpdateUserPatchResp
- type UpdateUserPatchRespUser
- type UpdateUserPatchRespUserAvatar
- type UpdateUserPatchRespUserCustomAttr
- type UpdateUserPatchRespUserCustomAttrValue
- type UpdateUserPatchRespUserCustomAttrValueGenericUser
- type UpdateUserPatchRespUserOrder
- type UpdateUserPatchRespUserStatus
- type UpdateUserReq
- type UpdateUserReqCustomAttr
- type UpdateUserReqCustomAttrValue
- type UpdateUserReqCustomAttrValueGenericUser
- type UpdateUserReqOrder
- type UpdateUserResp
- type UpdateUserRespUser
- type UpdateUserRespUserAvatar
- type UpdateUserRespUserCustomAttr
- type UpdateUserRespUserCustomAttrValue
- type UpdateUserRespUserCustomAttrValueGenericUser
- type UpdateUserRespUserOrder
- type UpdateUserRespUserStatus
- type UpdateVCReserveReq
- type UpdateVCReserveReqMeetingSettings
- type UpdateVCReserveReqMeetingSettingsActionPermission
- type UpdateVCReserveReqMeetingSettingsActionPermissionPermissionChecker
- type UpdateVCReserveReqMeetingSettingsCallSetting
- type UpdateVCReserveReqMeetingSettingsCallSettingCallee
- type UpdateVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo
- type UpdateVCReserveResp
- type UpdateVCReserveRespReserve
- type UpdateWikiSpaceSettingReq
- type UpdateWikiSpaceSettingResp
- type UpdateWikiSpaceSettingRespSetting
- type UploadApprovalFileReq
- type UploadApprovalFileResp
- type UploadAttendanceFileReq
- type UploadAttendanceFileResp
- type UploadAttendanceFileRespFile
- type UploadDriveFileReq
- type UploadDriveFileResp
- type UploadDriveMediaReq
- type UploadDriveMediaResp
- type UploadFaceVerifyImageReq
- type UploadFaceVerifyImageResp
- type UploadFileReq
- type UploadFileResp
- type UploadImageReq
- type UploadImageResp
- type VCService
- func (r *VCService) ApplyVCReserve(ctx context.Context, request *ApplyVCReserveReq, options ...MethodOptionFunc) (*ApplyVCReserveResp, *Response, error)
- func (r *VCService) DeleteVCReserve(ctx context.Context, request *DeleteVCReserveReq, options ...MethodOptionFunc) (*DeleteVCReserveResp, *Response, error)
- func (r *VCService) EndVCMeeting(ctx context.Context, request *EndVCMeetingReq, options ...MethodOptionFunc) (*EndVCMeetingResp, *Response, error)
- func (r *VCService) GetVCDailyReport(ctx context.Context, request *GetVCDailyReportReq, options ...MethodOptionFunc) (*GetVCDailyReportResp, *Response, error)
- func (r *VCService) GetVCMeeting(ctx context.Context, request *GetVCMeetingReq, options ...MethodOptionFunc) (*GetVCMeetingResp, *Response, error)
- func (r *VCService) GetVCMeetingRecording(ctx context.Context, request *GetVCMeetingRecordingReq, ...) (*GetVCMeetingRecordingResp, *Response, error)
- func (r *VCService) GetVCReserve(ctx context.Context, request *GetVCReserveReq, options ...MethodOptionFunc) (*GetVCReserveResp, *Response, error)
- func (r *VCService) GetVCReserveActiveMeeting(ctx context.Context, request *GetVCReserveActiveMeetingReq, ...) (*GetVCReserveActiveMeetingResp, *Response, error)
- func (r *VCService) GetVCRoomConfig(ctx context.Context, request *GetVCRoomConfigReq, options ...MethodOptionFunc) (*GetVCRoomConfigResp, *Response, error)
- func (r *VCService) GetVCTopUserReport(ctx context.Context, request *GetVCTopUserReportReq, ...) (*GetVCTopUserReportResp, *Response, error)
- func (r *VCService) InviteVCMeeting(ctx context.Context, request *InviteVCMeetingReq, options ...MethodOptionFunc) (*InviteVCMeetingResp, *Response, error)
- func (r *VCService) KickoutVCMeeting(ctx context.Context, request *KickoutVCMeetingReq, options ...MethodOptionFunc) (*KickoutVCMeetingResp, *Response, error)
- func (r *VCService) ListVCMeetingByNo(ctx context.Context, request *ListVCMeetingByNoReq, ...) (*ListVCMeetingByNoResp, *Response, error)
- func (r *VCService) SetVCHostMeeting(ctx context.Context, request *SetVCHostMeetingReq, options ...MethodOptionFunc) (*SetVCHostMeetingResp, *Response, error)
- func (r *VCService) SetVCPermissionMeetingRecording(ctx context.Context, request *SetVCPermissionMeetingRecordingReq, ...) (*SetVCPermissionMeetingRecordingResp, *Response, error)
- func (r *VCService) SetVCRoomConfig(ctx context.Context, request *SetVCRoomConfigReq, options ...MethodOptionFunc) (*SetVCRoomConfigResp, *Response, error)
- func (r *VCService) StartVCMeetingRecording(ctx context.Context, request *StartVCMeetingRecordingReq, ...) (*StartVCMeetingRecordingResp, *Response, error)
- func (r *VCService) StopVCMeetingRecording(ctx context.Context, request *StopVCMeetingRecordingReq, ...) (*StopVCMeetingRecordingResp, *Response, error)
- func (r *VCService) UpdateVCReserve(ctx context.Context, request *UpdateVCReserveReq, options ...MethodOptionFunc) (*UpdateVCReserveResp, *Response, error)
Constants ¶
const ( CalendarPermissionPrivate = "private" // 私密 CalendarPermissionShowOnlyFreeBusy = "show_only_free_busy" // 仅展示忙闲信息 CalendarPermissionPublic = "public" // 他人可查看日程详情 )
CalendarPermissionPrivate ...
Variables ¶
var AppLink = New().AppLink
AppLink ref Lark.AppLink instance
var AtBuilder atBuilder
AtBuilder ...
var ErrStoreNotFound = errors.New("store not found")
ErrStoreNotFound ...
var MdBuilder mdBuilder
MdBuilder Markdown标签
doc: https://open.feishu.cn/document/ukTMukTMukTM/uADOwUjLwgDM14CM4ATN#top_anchor
Functions ¶
Types ¶
type ACSService ¶
type ACSService struct {
// contains filtered or unexported fields
}
func (*ACSService) GetACSAccessRecordList ¶
func (r *ACSService) GetACSAccessRecordList(ctx context.Context, request *GetACSAccessRecordListReq, options ...MethodOptionFunc) (*GetACSAccessRecordListResp, *Response, error)
GetACSAccessRecordList
用户在门禁考勤机上成功开门或打卡后,智能门禁应用都会生成一条门禁记录。 该接口返回满足查询参数的识别记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/access_record/list
func (*ACSService) GetACSAccessRecordPhoto ¶
func (r *ACSService) GetACSAccessRecordPhoto(ctx context.Context, request *GetACSAccessRecordPhotoReq, options ...MethodOptionFunc) (*GetACSAccessRecordPhotoResp, *Response, error)
GetACSAccessRecordPhoto
用户在门禁考勤机上成功开门或打卡后,智能门禁应用都会生成一条门禁记录,对于使用人脸识别方式进行开门的识别记录,还会有抓拍图。 可以用该接口下载开门时的人脸识别照片
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/access_record-access_photo/get
func (*ACSService) GetACSDeviceList ¶
func (r *ACSService) GetACSDeviceList(ctx context.Context, request *GetACSDeviceListReq, options ...MethodOptionFunc) (*GetACSDeviceListResp, *Response, error)
GetACSDeviceList 使用该接口获取租户内所有设备
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/device/list
func (*ACSService) GetACSUser ¶
func (r *ACSService) GetACSUser(ctx context.Context, request *GetACSUserReq, options ...MethodOptionFunc) (*GetACSUserResp, *Response, error)
GetACSUser 该接口用于获取智能门禁中单个用户的信息。
只能获取已加入智能门禁权限组的用户
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user/get
func (*ACSService) GetACSUserFace ¶
func (r *ACSService) GetACSUserFace(ctx context.Context, request *GetACSUserFaceReq, options ...MethodOptionFunc) (*GetACSUserFaceResp, *Response, error)
GetACSUserFace 对于已经录入人脸图片的用户,可以使用该接口下载用户人脸图片
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user-face/get
func (*ACSService) GetACSUserList ¶
func (r *ACSService) GetACSUserList(ctx context.Context, request *GetACSUserListReq, options ...MethodOptionFunc) (*GetACSUserListResp, *Response, error)
GetACSUserList 使用该接口获取智能门禁中所有用户信息
只能获取已加入智能门禁权限组的用户
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user/list
func (*ACSService) UpdateACSUser ¶
func (r *ACSService) UpdateACSUser(ctx context.Context, request *UpdateACSUserReq, options ...MethodOptionFunc) (*UpdateACSUserResp, *Response, error)
UpdateACSUser 飞书智能门禁在人脸识别成功后会有韦根信号输出,输出用户的卡号。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user/patch
func (*ACSService) UpdateACSUserFace ¶
func (r *ACSService) UpdateACSUserFace(ctx context.Context, request *UpdateACSUserFaceReq, options ...MethodOptionFunc) (*UpdateACSUserFaceResp, *Response, error)
UpdateACSUserFace 用户需要录入人脸图片才可以使用门禁考勤机。使用该 API 上传门禁用户的人脸图片。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user-face/update
type AIService ¶
type AIService struct {
// contains filtered or unexported fields
}
func (*AIService) DetectFaceAttributes ¶
func (r *AIService) DetectFaceAttributes(ctx context.Context, request *DetectFaceAttributesReq, options ...MethodOptionFunc) (*DetectFaceAttributesResp, *Response, error)
DetectFaceAttributes 检测图片中的人脸属性和质量等信息
注意:返回值为 -1 表示该功能还暂未实现
func (*AIService) DetectTextLanguage ¶
func (r *AIService) DetectTextLanguage(ctx context.Context, request *DetectTextLanguageReq, options ...MethodOptionFunc) (*DetectTextLanguageResp, *Response, error)
DetectTextLanguage 机器翻译 (MT),支持 100 多种语言识别,返回符合 ISO 693-1 标准
单租户限流:20QPS,同租户下的应用没有限流,共享本租户的 20QPS 限流
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/ai/translation-v1/text/detect
func (*AIService) RecognizeBasicImage ¶
func (r *AIService) RecognizeBasicImage(ctx context.Context, request *RecognizeBasicImageReq, options ...MethodOptionFunc) (*RecognizeBasicImageResp, *Response, error)
RecognizeBasicImage 可识别图片中的文字,按区域划分返回文本列表
单租户限流:20QPS,同租户下的应用没有限流,共享本租户的 20QPS 限流
func (*AIService) RecognizeSpeechFile ¶
func (r *AIService) RecognizeSpeechFile(ctx context.Context, request *RecognizeSpeechFileReq, options ...MethodOptionFunc) (*RecognizeSpeechFileResp, *Response, error)
RecognizeSpeechFile 语音文件识别接口,上传整段语音文件进行一次性识别。接口适合 60 秒以内音频识别
单租户限流:20QPS,同租户下的应用没有限流,共享本租户的 20QPS 限流
func (*AIService) RecognizeSpeechStream ¶
func (r *AIService) RecognizeSpeechStream(ctx context.Context, request *RecognizeSpeechStreamReq, options ...MethodOptionFunc) (*RecognizeSpeechStreamResp, *Response, error)
RecognizeSpeechStream 语音流式接口,将整个音频文件分片进行传入模型。能够实时返回数据。建议每个音频分片的大小为 100-200ms
单租户限流:20 路(一个 stream_id 称为一路会话),同租户下的应用没有限流,共享本租户的 20路限流
func (*AIService) TranslateText ¶
func (r *AIService) TranslateText(ctx context.Context, request *TranslateTextReq, options ...MethodOptionFunc) (*TranslateTextResp, *Response, error)
TranslateText 机器翻译 (MT),支持中日英(zh、ja、en)三语互译
单租户限流:20QPS,同租户下的应用没有限流,共享本租户的 20QPS 限流
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/ai/translation-v1/text/translate
type AddApprovalInstanceSignReq ¶
type AddApprovalInstanceSignReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code UserID string `json:"user_id,omitempty"` // 操作用户 TaskID string `json:"task_id,omitempty"` // 任务 ID Comment *string `json:"comment,omitempty"` // 意见 AddSignUserIDs []string `json:"add_sign_user_ids,omitempty"` // 被加签人id AddSignType string `json:"add_sign_type,omitempty"` // 1/2/3分别代表前加签/后加签/并加签 ApprovalMethod *string `json:"approval_method,omitempty"` // 仅在前加签、后加签时需要填写,1/2 分别代表或签/会签 }
AddApprovalInstanceSignReq ...
type AddApprovalInstanceSignResp ¶
type AddApprovalInstanceSignResp struct{}
AddApprovalInstanceSignResp ...
type AddBotToChatReq ¶
type AddBotToChatReq struct {
ChatID string `json:"chat_id,omitempty"` // 群的id
}
AddBotToChatReq ...
type AddChatMemberReq ¶
type AddChatMemberReq struct { MemberIDType *IDType `query:"member_id_type" json:"-"` // 进群成员 id 类型 open_id/user_id/union_id/app_id, 示例值:"open_id", 可选值有: `user_id`:以 user_id 来识别成员,需要有获取用户UserID的权限 ([什么是 User ID?](https://open.feishu.cn/document/home/user-identity-introduction/user-id)), `union_id`:以 union_id 来识别成员([什么是 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/union-id)), `open_id`:以 open_id 来识别成员([什么是 Open ID?](https://open.feishu.cn/document/home/user-identity-introduction/open-id)), `app_id`:以 app_id 来识别成员([获取应用身份访问凭证](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g)) SucceedType *int64 `query:"succeed_type" json:"-"` // 出现不可用ID后的处理方式 0/1/2, 示例值:0, 可选值有: `0`:兼容之前的策略,不存在/不可见的 ID 会拉群失败,并返回错误响应。存在已离职 ID 时,会将其他可用 ID 拉入群聊,返回拉群成功的响应。, `1`:将参数中可用的 ID 全部拉入群聊,返回拉群成功的响应,并展示剩余不可用的 ID 及原因。, `2`:参数中只要存在任一不可用的 ID ,就会拉群失败,返回错误响应,并展示出不可用的 ID。 ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" IDList []string `json:"id_list,omitempty"` // 成员列表, 示例值:["ou_9204a37300b3700d61effaa439f34295"] }
AddChatMemberReq ...
type AddChatMemberResp ¶
type AddChatMemberResp struct { InvalidIDList []string `json:"invalid_id_list,omitempty"` // 无效成员列表 NotExistedIDList []string `json:"not_existed_id_list,omitempty"` // ID不存在的成员列表 }
AddChatMemberResp ...
type AddContactGroupMemberReq ¶
type AddContactGroupMemberReq struct { GroupID string `path:"group_id" json:"-"` // 用户组ID, 示例值:"g281721" MemberType string `json:"member_type,omitempty"` // 用户组成员的类型,取值为 user, 示例值:"user", 可选值有: `user`:user, 默认值: `user` MemberIDType IDType `json:"member_id_type,omitempty"` // 当member_type =user时候,member_id_type表示user_id_type,枚举值为open_id, union_id, user_id, 示例值:"open_id", 可选值有: `open_id`:member_type =user时候,表示用户的open_id, `union_id`:member_type =user时候,表示用户的union_id, `user_id`:member_type =user时候,表示用户的user_id MemberID string `json:"member_id,omitempty"` // 添加的成员ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" }
AddContactGroupMemberReq ...
type AddContactGroupMemberResp ¶
type AddContactGroupMemberResp struct{}
AddContactGroupMemberResp ...
type AddMemberPermission ¶
type AddMemberPermission string
AddMemberPermission 加 user/bot 入群权限
const ( AddMemberPermissionAllMembers AddMemberPermission = "all_members" AddMemberPermissionOnlyOwner AddMemberPermission = "only_owner" )
AddMemberPermissionAllMembers ...
func AddMemberPermissionPtr ¶
func AddMemberPermissionPtr(v AddMemberPermission) *AddMemberPermission
AddMemberPermissionPtr ...
type AddSheetDimensionRangeReq ¶
type AddSheetDimensionRangeReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Dimension *AddSheetDimensionRangeReqDimension `json:"dimension,omitempty"` // 需要增加行列的维度信息 }
AddSheetDimensionRangeReq ...
type AddSheetDimensionRangeReqDimension ¶
type AddSheetDimensionRangeReqDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId MajorDimension *string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS Length int64 `json:"length,omitempty"` // 要增加的行/列数,0<length<5000 }
AddSheetDimensionRangeReqDimension ...
type AddSheetDimensionRangeResp ¶
type AddSheetDimensionRangeResp struct { AddCount int64 `json:"addCount,omitempty"` // 增加的行/列数 MajorDimension string `json:"majorDimension,omitempty"` // 插入维度 }
AddSheetDimensionRangeResp ...
type AddWikiSpaceMemberReq ¶
type AddWikiSpaceMemberReq struct { NeedNotification *bool `query:"need_notification" json:"-"` // 添加权限后是否通知对方, 示例值:true/fasle SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"1565676577122621" MemberType *string `json:"member_type,omitempty"` // “openchat” - 群id ,“userid” - 用户id ,“departmentid” - 部门id,“openid” - 应用openid,“unionid” - unionid, 示例值:"userid" MemberID *string `json:"member_id,omitempty"` // 用户id, 示例值:"1565676577122621" MemberRole *string `json:"member_role,omitempty"` // 角色:,“admin” - 管理员,“member” - 成员, 示例值:"admin" }
AddWikiSpaceMemberReq ...
type AddWikiSpaceMemberResp ¶
type AddWikiSpaceMemberResp struct {
Member *AddWikiSpaceMemberRespMember `json:"member,omitempty"` // 知识空间成员
}
AddWikiSpaceMemberResp ...
type AddWikiSpaceMemberRespMember ¶
type AddWikiSpaceMemberRespMember struct { MemberType string `json:"member_type,omitempty"` // “openchat” - 群id ,“userid” - 用户id ,“departmentid” - 部门id,“openid” - 应用openid,“unionid” - unionid MemberID string `json:"member_id,omitempty"` // 用户id MemberRole string `json:"member_role,omitempty"` // 角色:,“admin” - 管理员,“member” - 成员 }
AddWikiSpaceMemberRespMember ...
type AdminService ¶
type AdminService struct {
// contains filtered or unexported fields
}
func (*AdminService) GetAdminDeptStats ¶
func (r *AdminService) GetAdminDeptStats(ctx context.Context, request *GetAdminDeptStatsReq, options ...MethodOptionFunc) (*GetAdminDeptStatsResp, *Response, error)
GetAdminDeptStats 该接口用于获取部门维度的用户活跃和功能使用数据,即IM(即时通讯)、日历、云文档、音视频会议功能的使用数据。
- 只有企业自建应用才有权限调用此接口 - 当天的数据会在第二天的凌晨五点产出(UTC+8) - 部门维度的数据最多查询最近366天(包含366天)的数据
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/admin-v1/admin_dept_stat/list
func (*AdminService) GetAdminUserStats ¶
func (r *AdminService) GetAdminUserStats(ctx context.Context, request *GetAdminUserStatsReq, options ...MethodOptionFunc) (*GetAdminUserStatsResp, *Response, error)
GetAdminUserStats 用于获取用户维度的用户活跃和功能使用数据,即IM(即时通讯)、日历、云文档、音视频会议功能的使用数据。
- 只有企业自建应用才有权限调用此接口 - 当天的数据会在第二天的凌晨五点产出(UTC+8) - 用户维度的数据最多查询最近31天的数据(包含31天)的数据
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/admin-v1/admin_user_stat/list
type AnswerHelpdeskTicketUserQueryReq ¶
type AnswerHelpdeskTicketUserQueryReq struct { TicketID string `path:"ticket_id" json:"-"` // 工单ID, 示例值:"6945345902185807891" EventID string `json:"event_id,omitempty"` // 事件ID,可从订阅事件中提取, 示例值:"abcd" Faqs []*AnswerHelpdeskTicketUserQueryReqFAQ `json:"faqs,omitempty"` // faq结果列表 }
AnswerHelpdeskTicketUserQueryReq ...
type AnswerHelpdeskTicketUserQueryReqFAQ ¶
type AnswerHelpdeskTicketUserQueryReqFAQ struct { ID *string `json:"id,omitempty"` // faq服务台内唯一标识, 示例值:"12345" Score *float64 `json:"score,omitempty"` // faq匹配得分, 示例值:0.9 }
AnswerHelpdeskTicketUserQueryReqFAQ ...
type AnswerHelpdeskTicketUserQueryResp ¶
type AnswerHelpdeskTicketUserQueryResp struct{}
AnswerHelpdeskTicketUserQueryResp ...
type AppLinkService ¶
type AppLinkService struct {
// contains filtered or unexported fields
}
func (*AppLinkService) OpenBot ¶
func (r *AppLinkService) OpenBot(req *OpenBotReq) string
OpenBot 打开一个机器人的聊天窗。,如果访问用户没有机器人的可用性,将看到相关的引导提示。
doc: https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/applink-protocol/supported-protocol/open-a-bot
func (*AppLinkService) OpenCalender ¶
func (r *AppLinkService) OpenCalender(req *OpenCalenderReq) string
OpenCalender 跳转并打开日历,打开界面为上一次离开日历时的视图。
func (*AppLinkService) OpenCalenderAccount ¶
func (r *AppLinkService) OpenCalenderAccount(req *OpenCalenderAccountReq) string
OpenCalenderAccount 打开第三方日历账户管理页,方便用户添加或导入谷歌/Exchange 日历。移动端打开页面,PC端打开弹层。
func (*AppLinkService) OpenCalenderEventCreate ¶
func (r *AppLinkService) OpenCalenderEventCreate(req *OpenCalenderEventCreateReq) string
OpenCalenderEventCreate 跳转日历 tab 并进入日程创建页面,用户可新建日程。
func (*AppLinkService) OpenCalenderView ¶
func (r *AppLinkService) OpenCalenderView(req *OpenCalenderViewReq) string
OpenCalenderView 打开日历tab,并支持定义跳转到具体视图和具体日期。
func (*AppLinkService) OpenChat ¶
func (r *AppLinkService) OpenChat(req *OpenChatReq) string
OpenChat 打开一个聊天页面,单聊会话或群聊会话(仅能打开用户已加入的单聊或群聊会话,不会自动进入未加入的群组)。
func (*AppLinkService) OpenDocs ¶
func (r *AppLinkService) OpenDocs(req *OpenDocsReq) string
OpenDocs 打开云文档(docs)。使用外部浏览器打开文档时,提供入口从飞书中打开。
doc: https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/applink-protocol/supported-protocol/open-docs
func (*AppLinkService) OpenLark ¶
func (r *AppLinkService) OpenLark(req *OpenLarkReq) string
OpenLark 唤起飞书客户端
doc: https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/applink-protocol/supported-protocol/open-lark
func (*AppLinkService) OpenMiniProgram ¶
func (r *AppLinkService) OpenMiniProgram(req *OpenMiniProgramReq) string
OpenMiniProgram 打开一个小程序或者小程序中的一个页面
doc: https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/applink-protocol/supported-protocol/open-a-gadget
func (*AppLinkService) OpenSSOLogin ¶
func (r *AppLinkService) OpenSSOLogin(req *OpenSSOLoginReq) string
OpenSSOLogin 在飞书客户端中打开租户在admin后台配置的SSO登录页
func (*AppLinkService) OpenTask ¶
func (r *AppLinkService) OpenTask(req *OpenTaskReq) string
OpenTask 打开任务首页,查看任务。,,**什么是「任务」**:[任务](https://www.feishu.cn/hc/zh-CN/articles/798052212434)是一个轻量级的团队任务管理工具,可有效帮助成员:集中管理任务、追踪任务进度、推进团队协作。
func (*AppLinkService) OpenTaskCreate ¶
func (r *AppLinkService) OpenTaskCreate(req *OpenTaskCreateReq) string
OpenTaskCreate 唤起创建任务页。,,**什么是「任务」**:[任务](https://www.feishu.cn/hc/zh-CN/articles/798052212434)是一个轻量级的团队任务管理工具,可有效帮助成员:集中管理任务、追踪任务进度、推进团队协作。
func (*AppLinkService) OpenTaskDetail ¶
func (r *AppLinkService) OpenTaskDetail(req *OpenTaskDetailReq) string
OpenTaskDetail 唤起任务详情页。,,**什么是「任务」**:[任务](https://www.feishu.cn/hc/zh-CN/articles/798052212434)是一个轻量级的团队任务管理工具,可有效帮助成员:集中管理任务、追踪任务进度、推进团队协作。
func (*AppLinkService) OpenTaskTab ¶
func (r *AppLinkService) OpenTaskTab(req *OpenTaskTabReq) string
OpenTaskTab 唤起任务tab页,跳转到指定tab。,,**什么是「任务」**:[任务](https://www.feishu.cn/hc/zh-CN/articles/798052212434)是一个轻量级的团队任务管理工具,可有效帮助成员:集中管理任务、追踪任务进度、推进团队协作。
func (*AppLinkService) OpenWebApp ¶
func (r *AppLinkService) OpenWebApp(req *OpenWebAppReq) string
OpenWebApp 打开一个已安装的H5应用
doc: https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/applink-protocol/supported-protocol/open-an-h5-app
func (*AppLinkService) OpenWebURL ¶
func (r *AppLinkService) OpenWebURL(req *OpenWebURLReq) string
OpenWebURL 用户在PC端点击这类applink,不必跳转外部浏览器,可以直接在聊天的侧边栏、或飞书的独立窗口中打开指定的网页。,可以配置这类applink在消息卡片的“查看详情”跳转上,使用户连贯地消费消息中的详情内容。,,,![image.png](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/761f68be5274fea59bf8145489633c88_Z6KZ6NyGCh.png)
type AppendSheetValueReq ¶
type AppendSheetValueReq struct { InsertDataOption *string `query:"insertDataOption" json:"-"` // 遇到空行追加,默认 OVERWRITE,若空行的数量小于追加数据的行数,则会覆盖已有数据;可选 INSERT_ROWS ,会在插入足够数量的行后再进行数据追加 SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRange *AppendSheetValueReqValueRange `json:"valueRange,omitempty"` // 值与范围 }
AppendSheetValueReq ...
type AppendSheetValueReqValueRange ¶
type AppendSheetValueReqValueRange struct { Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持三种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview)。range所表示的范围需要大于等于values占用的范围。 Values [][]SheetContent `json:"values,omitempty"` // 需要写入的值,如要写入公式、超链接、email、@人等,可详看附录[sheet 支持写入数据类型](https://open.feishu.cn/document/ukTMukTMukTM/ugjN1UjL4YTN14CO2UTN) }
AppendSheetValueReqValueRange ...
type AppendSheetValueResp ¶
type AppendSheetValueResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token TableRange string `json:"tableRange,omitempty"` // 写入的范围 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 Updates *AppendSheetValueRespUpdates `json:"updates,omitempty"` // 插入数据的范围、行列数等 }
AppendSheetValueResp ...
type AppendSheetValueRespUpdates ¶
type AppendSheetValueRespUpdates struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 写入的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 写入的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 写入的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 写入的单元格总数 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 }
AppendSheetValueRespUpdates ...
type ApplicationService ¶
type ApplicationService struct {
// contains filtered or unexported fields
}
func (*ApplicationService) CheckUserIsInApplicationPaidScope ¶
func (r *ApplicationService) CheckUserIsInApplicationPaidScope(ctx context.Context, request *CheckUserIsInApplicationPaidScopeReq, options ...MethodOptionFunc) (*CheckUserIsInApplicationPaidScopeResp, *Response, error)
CheckUserIsInApplicationPaidScope
当付费套餐是按人数收费 或者 限制最大使用人数时,开放平台会引导企业管理员设置“付费功能开通范围”。 但是受开通范围限制,部分用户就无法使用对应的付费功能。 可以通过此接口,在付费功能点入口判断是否允许某个用户进入使用。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATNwUjLwUDM14CM1ATN
func (*ApplicationService) GetApplication ¶
func (r *ApplicationService) GetApplication(ctx context.Context, request *GetApplicationReq, options ...MethodOptionFunc) (*GetApplicationResp, *Response, error)
GetApplication 根据app_id获取应用的基础信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/get
func (*ApplicationService) GetApplicationAppAdminUserList ¶
func (r *ApplicationService) GetApplicationAppAdminUserList(ctx context.Context, request *GetApplicationAppAdminUserListReq, options ...MethodOptionFunc) (*GetApplicationAppAdminUserListResp, *Response, error)
GetApplicationAppAdminUserList
查询审核应用的管理员列表,返回最新10个管理员账户id列表。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucDOwYjL3gDM24yN4AjN
func (*ApplicationService) GetApplicationAppList ¶
func (r *ApplicationService) GetApplicationAppList(ctx context.Context, request *GetApplicationAppListReq, options ...MethodOptionFunc) (*GetApplicationAppListResp, *Response, error)
GetApplicationAppList
该接口用于查询企业安装的应用列表,只能被企业自建应用调用。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYDN3UjL2QzN14iN0cTN
func (*ApplicationService) GetApplicationAppVisibility ¶
func (r *ApplicationService) GetApplicationAppVisibility(ctx context.Context, request *GetApplicationAppVisibilityReq, options ...MethodOptionFunc) (*GetApplicationAppVisibilityResp, *Response, error)
GetApplicationAppVisibility
该接口用于查询应用在该企业内可以被使用的范围,只能被企业自建应用调用。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIjM3UjLyIzN14iMycTN
func (*ApplicationService) GetApplicationMessageDetail ¶
func (r *ApplicationService) GetApplicationMessageDetail(ctx context.Context, request *GetApplicationMessageDetailReq, options ...MethodOptionFunc) (*GetApplicationMessageDetailResp, *Response, error)
GetApplicationMessageDetail
查询应用在指定时间段内机器人消息详细信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYTN0YjL2UDN24iN1QjN
func (*ApplicationService) GetApplicationMessageOverview ¶
func (r *ApplicationService) GetApplicationMessageOverview(ctx context.Context, request *GetApplicationMessageOverviewReq, options ...MethodOptionFunc) (*GetApplicationMessageOverviewResp, *Response, error)
GetApplicationMessageOverview
查询应用在指定时间段内机器人消息概览信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQTN0YjL0UDN24CN1QjN
func (*ApplicationService) GetApplicationMessageTrend ¶
func (r *ApplicationService) GetApplicationMessageTrend(ctx context.Context, request *GetApplicationMessageTrendReq, options ...MethodOptionFunc) (*GetApplicationMessageTrendResp, *Response, error)
GetApplicationMessageTrend
查询应用在指定时间段内机器人消息趋势信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUTN0YjL1UDN24SN1QjN
func (*ApplicationService) GetApplicationOrder ¶
func (r *ApplicationService) GetApplicationOrder(ctx context.Context, request *GetApplicationOrderReq, options ...MethodOptionFunc) (*GetApplicationOrderResp, *Response, error)
GetApplicationOrder
该接口用于查询某个订单的具体信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITNwUjLyUDM14iM1ATN
func (*ApplicationService) GetApplicationOrderList ¶
func (r *ApplicationService) GetApplicationOrderList(ctx context.Context, request *GetApplicationOrderListReq, options ...MethodOptionFunc) (*GetApplicationOrderListResp, *Response, error)
GetApplicationOrderList
该接口用于分页查询应用租户下的已付费订单,每次购买对应一个唯一的订单,订单会记录购买的套餐的相关信息,业务方需要自行处理套餐的有效期和付费方案的升级。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uETNwUjLxUDM14SM1ATN
func (*ApplicationService) GetApplicationUnderAuditList ¶
func (r *ApplicationService) GetApplicationUnderAuditList(ctx context.Context, request *GetApplicationUnderAuditListReq, options ...MethodOptionFunc) (*GetApplicationUnderAuditListResp, *Response, error)
GetApplicationUnderAuditList 查看本企业下所有待审核的自建应用列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/underauditlist
func (*ApplicationService) GetApplicationUsageDetail ¶
func (r *ApplicationService) GetApplicationUsageDetail(ctx context.Context, request *GetApplicationUsageDetailReq, options ...MethodOptionFunc) (*GetApplicationUsageDetailResp, *Response, error)
GetApplicationUsageDetail
查询应用在指定时间段内企业员工的使用详细信息。 :::warning 此接口目前仅支持小程序的使用情况查询,不支持网页应用和机器人应用的使用情况查询;仅支持查询自建应用,不支持查询商店应用 :::
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMTN0YjLzUDN24yM1QjN
func (*ApplicationService) GetApplicationUsageOverview ¶
func (r *ApplicationService) GetApplicationUsageOverview(ctx context.Context, request *GetApplicationUsageOverviewReq, options ...MethodOptionFunc) (*GetApplicationUsageOverviewResp, *Response, error)
GetApplicationUsageOverview 查看应用在某一天/某一周/某一个月的使用数据,可以查看租户整体对应用的使用情况,也可以分部门查看。
1. 仅支持企业版/旗舰版租户使用 2. 一般每天早上10点产出前一天的数据 3. 已经支持的指标包括:应用的活跃用户数、累计用户数、新增用户数 4. 数据从飞书3.46版本开始统计,使用飞书版本3.45及以下版本的用户数据不会被统计到 5. 按照部门查看数据时,会展示当前部门以及其子部门的整体使用情况
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-app_usage/overview
func (*ApplicationService) GetApplicationUsageTrend ¶
func (r *ApplicationService) GetApplicationUsageTrend(ctx context.Context, request *GetApplicationUsageTrendReq, options ...MethodOptionFunc) (*GetApplicationUsageTrendResp, *Response, error)
GetApplicationUsageTrend
查询应用在指定时间段内企业员工的使用趋势信息。 此接口目前仅支持小程序的使用情况查询,不支持网页应用和机器人应用的使用情况查询;仅支持查询自建应用,不支持查询商店应用
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITN0YjLyUDN24iM1QjN
func (*ApplicationService) GetApplicationUserAdminScope ¶
func (r *ApplicationService) GetApplicationUserAdminScope(ctx context.Context, request *GetApplicationUserAdminScopeReq, options ...MethodOptionFunc) (*GetApplicationUserAdminScopeResp, *Response, error)
GetApplicationUserAdminScope
该接口用于获取应用管理员的管理范围,即该应用管理员能够管理哪些部门。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzN3QjLzczN04yM3cDN
func (*ApplicationService) GetApplicationUserVisibleApp ¶
func (r *ApplicationService) GetApplicationUserVisibleApp(ctx context.Context, request *GetApplicationUserVisibleAppReq, options ...MethodOptionFunc) (*GetApplicationUserVisibleAppResp, *Response, error)
GetApplicationUserVisibleApp
该接口用于查询用户可用的应用列表,只能被企业自建应用调用。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMjM3UjLzIzN14yMycTN
func (*ApplicationService) GetApplicationVersion ¶
func (r *ApplicationService) GetApplicationVersion(ctx context.Context, request *GetApplicationVersionReq, options ...MethodOptionFunc) (*GetApplicationVersionResp, *Response, error)
GetApplicationVersion 根据 app_id,version_id 获取对应应用版本的信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-app_version/get
func (*ApplicationService) IsApplicationUserAdmin ¶
func (r *ApplicationService) IsApplicationUserAdmin(ctx context.Context, request *IsApplicationUserAdminReq, options ...MethodOptionFunc) (*IsApplicationUserAdminResp, *Response, error)
IsApplicationUserAdmin
该接口用于查询用户是否为应用管理员。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITN1EjLyUTNx4iM1UTM
func (*ApplicationService) UpdateApplication ¶
func (r *ApplicationService) UpdateApplication(ctx context.Context, request *UpdateApplicationReq, options ...MethodOptionFunc) (*UpdateApplicationResp, *Response, error)
UpdateApplication 更新应用的分组信息(分组会影响应用在工作台中的分类情况,请谨慎更新)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/patch
func (*ApplicationService) UpdateApplicationAppVisibility ¶
func (r *ApplicationService) UpdateApplicationAppVisibility(ctx context.Context, request *UpdateApplicationAppVisibilityReq, options ...MethodOptionFunc) (*UpdateApplicationAppVisibilityResp, *Response, error)
UpdateApplicationAppVisibility
该接口用于增加或者删除指定应用被哪些人可用,只能被企业自建应用调用。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucDN3UjL3QzN14yN0cTN
func (*ApplicationService) UpdateApplicationVersion ¶
func (r *ApplicationService) UpdateApplicationVersion(ctx context.Context, request *UpdateApplicationVersionReq, options ...MethodOptionFunc) (*UpdateApplicationVersionResp, *Response, error)
UpdateApplicationVersion 通过接口来更新应用版本的审核结果:通过后应用可以直接上架;拒绝后则开发者可以看到拒绝理由,并在修改后再次申请发布。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application-app_version/patch
type ApplyVCReserveReq ¶
type ApplyVCReserveReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID EndTime *string `json:"end_time,omitempty"` // 预约到期时间(unix时间,单位sec),多人会议必填, 示例值:"1608888867" MeetingSettings *ApplyVCReserveReqMeetingSettings `json:"meeting_settings,omitempty"` // 会议设置 }
ApplyVCReserveReq ...
type ApplyVCReserveReqMeetingSettings ¶
type ApplyVCReserveReqMeetingSettings struct { Topic *string `json:"topic,omitempty"` // 会议主题, 示例值:"my meeting" ActionPermissions []*ApplyVCReserveReqMeetingSettingsActionPermission `json:"action_permissions,omitempty"` // 会议权限配置列表,如果存在相同的权限配置项则它们之间为"逻辑或"的关系(即 有一个为true则拥有该权限) MeetingInitialType *int64 `json:"meeting_initial_type,omitempty"` // 会议初始类型, 示例值:1, 可选值有: `1`:多人会议, `2`:1v1呼叫 CallSetting *ApplyVCReserveReqMeetingSettingsCallSetting `json:"call_setting,omitempty"` // 1v1呼叫相关参数 }
ApplyVCReserveReqMeetingSettings ...
type ApplyVCReserveReqMeetingSettingsActionPermission ¶
type ApplyVCReserveReqMeetingSettingsActionPermission struct { Permission int64 `json:"permission,omitempty"` // 权限项, 示例值:1, 可选值有: `1`:是否能成为主持人, `2`:是否能邀请参会人, `3`:是否能加入会议 PermissionCheckers []*ApplyVCReserveReqMeetingSettingsActionPermissionPermissionChecker `json:"permission_checkers,omitempty"` // 权限检查器列表,权限检查器之间为"逻辑或"的关系(即 有一个为true则拥有该权限) }
ApplyVCReserveReqMeetingSettingsActionPermission ...
type ApplyVCReserveReqMeetingSettingsActionPermissionPermissionChecker ¶
type ApplyVCReserveReqMeetingSettingsActionPermissionPermissionChecker struct { CheckField int64 `json:"check_field,omitempty"` // 检查字段类型, 示例值:1, 可选值有: `1`:用户ID, `2`:用户类型, `3`:租户ID CheckMode int64 `json:"check_mode,omitempty"` // 检查方式, 示例值:1, 可选值有: `1`:在check_list中为有权限(白名单), `2`:不在check_list中为有权限(黑名单) CheckList []string `json:"check_list,omitempty"` // 检查字段列表, 示例值:123 }
ApplyVCReserveReqMeetingSettingsActionPermissionPermissionChecker ...
type ApplyVCReserveReqMeetingSettingsCallSetting ¶
type ApplyVCReserveReqMeetingSettingsCallSetting struct {
Callee *ApplyVCReserveReqMeetingSettingsCallSettingCallee `json:"callee,omitempty"` // 被呼叫的用户
}
ApplyVCReserveReqMeetingSettingsCallSetting ...
type ApplyVCReserveReqMeetingSettingsCallSettingCallee ¶
type ApplyVCReserveReqMeetingSettingsCallSettingCallee struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType int64 `json:"user_type,omitempty"` // 用户类型,当前仅支持用户类型6(pstn用户), 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 PstnSipInfo *ApplyVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo `json:"pstn_sip_info,omitempty"` // pstn/sip信息 }
ApplyVCReserveReqMeetingSettingsCallSettingCallee ...
type ApplyVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo ¶
type ApplyVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo struct { Nickname *string `json:"nickname,omitempty"` // 给pstn/sip用户设置的临时昵称, 示例值:"dodo" MainAddress string `json:"main_address,omitempty"` // pstn/sip主机号,格式为:[国际冠字]-[电话区号][电话号码],当前仅支持国内手机及固定电话号码, 示例值:"+86-02187654321" }
ApplyVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo ...
type ApplyVCReserveResp ¶
type ApplyVCReserveResp struct {
Reserve *ApplyVCReserveRespReserve `json:"reserve,omitempty"` // 预约数据
}
ApplyVCReserveResp ...
type ApplyVCReserveRespReserve ¶
type ApplyVCReserveRespReserve struct { ID string `json:"id,omitempty"` // 预约ID(预约的唯一标识) MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) AppLink string `json:"app_link,omitempty"` // APPLink用于唤起飞书APP入会。"{?}"为占位符,用于配置入会参数,使用时需替换具体值:0表示关闭,1表示打开。preview为入会前的设置页,mic为麦克风,speaker为扬声器,camera为摄像头 LiveLink string `json:"live_link,omitempty"` // 直播链接 EndTime string `json:"end_time,omitempty"` // 预约到期时间(unix时间,单位sec) }
ApplyVCReserveRespReserve ...
type ApprovalService ¶
type ApprovalService struct {
// contains filtered or unexported fields
}
func (*ApprovalService) AddApprovalInstanceSign ¶
func (r *ApprovalService) AddApprovalInstanceSign(ctx context.Context, request *AddApprovalInstanceSignReq, options ...MethodOptionFunc) (*AddApprovalInstanceSignResp, *Response, error)
AddApprovalInstanceSign
对于单个审批任务进行加签操作。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTM5UjL5ETO14SOxkTN/approval-task-addsign
func (*ApprovalService) ApproveApprovalInstance ¶
func (r *ApprovalService) ApproveApprovalInstance(ctx context.Context, request *ApproveApprovalInstanceReq, options ...MethodOptionFunc) (*ApproveApprovalInstanceResp, *Response, error)
ApproveApprovalInstance
对于单个审批任务进行同意操作。同意后审批流程会流转到下一个审批人。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMDNyUjLzQjM14yM0ITN
func (*ApprovalService) CancelApprovalInstance ¶
func (r *ApprovalService) CancelApprovalInstance(ctx context.Context, request *CancelApprovalInstanceReq, options ...MethodOptionFunc) (*CancelApprovalInstanceResp, *Response, error)
CancelApprovalInstance
对于状态为“审批中”的单个审批实例进行撤销操作,撤销后审批流程结束
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYDNyUjL2QjM14iN0ITN
func (*ApprovalService) CreateApprovalCarbonCopy ¶
func (r *ApprovalService) CreateApprovalCarbonCopy(ctx context.Context, request *CreateApprovalCarbonCopyReq, options ...MethodOptionFunc) (*CreateApprovalCarbonCopyResp, *Response, error)
CreateApprovalCarbonCopy
通过接口可以将当前审批实例抄送给其他人。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uADOzYjLwgzM24CM4MjN
func (*ApprovalService) CreateApprovalInstance ¶
func (r *ApprovalService) CreateApprovalInstance(ctx context.Context, request *CreateApprovalInstanceReq, options ...MethodOptionFunc) (*CreateApprovalInstanceResp, *Response, error)
CreateApprovalInstance
创建一个审批实例,调用方需对审批定义的表单有详细了解,将按照定义的表单结构,将表单 Value 通过接口传入。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDNyUjLyQjM14iM0ITN
func (*ApprovalService) GetApproval ¶
func (r *ApprovalService) GetApproval(ctx context.Context, request *GetApprovalReq, options ...MethodOptionFunc) (*GetApprovalResp, *Response, error)
GetApproval
根据 Approval Code 获取某个审批定义的详情,用于构造创建审批实例的请求。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uADNyUjLwQjM14CM0ITN
func (*ApprovalService) GetApprovalInstance ¶
func (r *ApprovalService) GetApprovalInstance(ctx context.Context, request *GetApprovalInstanceReq, options ...MethodOptionFunc) (*GetApprovalInstanceResp, *Response, error)
GetApprovalInstance
通过审批实例 Instance Code 获取审批实例详情。Instance Code 由 [批量获取审批实例](https://open.feishu.cn/document/ukTMukTMukTM/uQDOyUjL0gjM14CN4ITN) 接口获取。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uEDNyUjLxQjM14SM0ITN
func (*ApprovalService) GetApprovalInstanceList ¶
func (r *ApprovalService) GetApprovalInstanceList(ctx context.Context, request *GetApprovalInstanceListReq, options ...MethodOptionFunc) (*GetApprovalInstanceListResp, *Response, error)
GetApprovalInstanceList
根据 approval_code 批量获取审批实例的 instance_code,用于拉取租户下某个审批定义的全部审批实例。 默认以审批创建时间排序。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDOyUjL0gjM14CN4ITN
func (*ApprovalService) GetApprovalUserTaskList ¶
func (r *ApprovalService) GetApprovalUserTaskList(ctx context.Context, request *GetApprovalUserTaskListReq, options ...MethodOptionFunc) (*GetApprovalUserTaskListResp, *Response, error)
GetApprovalUserTaskList 根据用户和任务分组查询任务列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/task/query
func (*ApprovalService) PreviewApprovalInstance ¶
func (r *ApprovalService) PreviewApprovalInstance(ctx context.Context, request *PreviewApprovalInstanceReq, options ...MethodOptionFunc) (*PreviewApprovalInstanceResp, *Response, error)
PreviewApprovalInstance
提交审批前,预览审批流程。或者发起审批后,在某一审批节点预览后续流程
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTM5UjL5ETO14SOxkTN/approval-preview
func (*ApprovalService) RejectApprovalInstance ¶
func (r *ApprovalService) RejectApprovalInstance(ctx context.Context, request *RejectApprovalInstanceReq, options ...MethodOptionFunc) (*RejectApprovalInstanceResp, *Response, error)
RejectApprovalInstance
对于单个审批任务进行拒绝操作。拒绝后审批流程结束。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDNyUjL0QjM14CN0ITN
func (*ApprovalService) RollbackApprovalInstance ¶
func (r *ApprovalService) RollbackApprovalInstance(ctx context.Context, request *RollbackApprovalInstanceReq, options ...MethodOptionFunc) (*RollbackApprovalInstanceResp, *Response, error)
RollbackApprovalInstance
从当前审批任务,退回到已审批的一个或多个任务节点。退回后,已审批节点重新生成审批任务
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTM5UjL5ETO14SOxkTN/approval-task-return
func (*ApprovalService) SearchApprovalCarbonCopy ¶
func (r *ApprovalService) SearchApprovalCarbonCopy(ctx context.Context, request *SearchApprovalCarbonCopyReq, options ...MethodOptionFunc) (*SearchApprovalCarbonCopyResp, *Response, error)
SearchApprovalCarbonCopy
该接口通过不同条件查询审批系统中符合条件的审批抄送列表。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUjMxYjL1ITM24SNyEjN
func (*ApprovalService) SearchApprovalInstance ¶
func (r *ApprovalService) SearchApprovalInstance(ctx context.Context, request *SearchApprovalInstanceReq, options ...MethodOptionFunc) (*SearchApprovalInstanceResp, *Response, error)
SearchApprovalInstance
该接口通过不同条件查询审批系统中符合条件的审批实例列表。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQjMxYjL0ITM24CNyEjN
func (*ApprovalService) SearchApprovalTask ¶
func (r *ApprovalService) SearchApprovalTask(ctx context.Context, request *SearchApprovalTaskReq, options ...MethodOptionFunc) (*SearchApprovalTaskResp, *Response, error)
SearchApprovalTask
该接口通过不同条件查询审批系统中符合条件的审批任务列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYjMxYjL2ITM24iNyEjN
func (*ApprovalService) SubscribeApprovalSubscription ¶
func (r *ApprovalService) SubscribeApprovalSubscription(ctx context.Context, request *SubscribeApprovalSubscriptionReq, options ...MethodOptionFunc) (*SubscribeApprovalSubscriptionResp, *Response, error)
SubscribeApprovalSubscription
应用订阅 approval_code 后,该应用就可以收到该审批定义对应实例的事件通知。同一应用只需要订阅一次,无需重复订阅。 当应用不希望再收到审批事件时,可以使用取消订阅接口进行取消,取消后将不再给应用推送消息。 订阅和取消订阅都是应用维度的,多个应用可以同时订阅同一个 approval_code,每个应用都能收到审批事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucDOyUjL3gjM14yN4ITN
func (*ApprovalService) TransferApprovalInstance ¶
func (r *ApprovalService) TransferApprovalInstance(ctx context.Context, request *TransferApprovalInstanceReq, options ...MethodOptionFunc) (*TransferApprovalInstanceResp, *Response, error)
TransferApprovalInstance
对于单个审批任务进行转交操作。转交后审批流程流转给被转交人。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDNyUjL1QjM14SN0ITN
func (*ApprovalService) UnsubscribeApprovalSubscription ¶
func (r *ApprovalService) UnsubscribeApprovalSubscription(ctx context.Context, request *UnsubscribeApprovalSubscriptionReq, options ...MethodOptionFunc) (*UnsubscribeApprovalSubscriptionResp, *Response, error)
UnsubscribeApprovalSubscription
取消订阅 approval_code 后,无法再收到该审批定义对应实例的事件通知。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugDOyUjL4gjM14CO4ITN
func (*ApprovalService) UpdateApprovalMessage ¶
func (r *ApprovalService) UpdateApprovalMessage(ctx context.Context, request *UpdateApprovalMessageReq, options ...MethodOptionFunc) (*UpdateApprovalMessageResp, *Response, error)
UpdateApprovalMessage
此接口可以根据审批bot消息id及相应状态,更新相应的审批bot消息,只可用于更新待审批模板的bot消息。例如,给用户推送了审批待办消息,当用户处理该消息后,可以将之前推送的Bot消息更新为已审批。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uAjNyYjLwYjM24CM2IjN
func (*ApprovalService) UploadApprovalFile ¶
func (r *ApprovalService) UploadApprovalFile(ctx context.Context, request *UploadApprovalFileReq, options ...MethodOptionFunc) (*UploadApprovalFileResp, *Response, error)
UploadApprovalFile
当审批表单中有图片或附件控件时,开发者需在创建审批实例前通过审批上传文件接口将文件上传到审批系统。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDOyUjL1gjM14SN4ITN
type ApprovalWidget ¶
type ApprovalWidget struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type ApprovalWidgetType `json:"type,omitempty"` Value interface{} `json:"value"` Option *ApprovalWidgetOptions `json:"option,omitempty"` Children []*ApprovalWidget `json:"children,omitempty"` }
ApprovalWidget 审批挂件
type ApprovalWidgetList ¶
type ApprovalWidgetList []*ApprovalWidget
ApprovalWidgetList 审批挂件列表
func (ApprovalWidgetList) MarshalJSON ¶
func (r ApprovalWidgetList) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ApprovalWidgetList) UnmarshalJSON ¶
func (r *ApprovalWidgetList) UnmarshalJSON(bs []byte) (err error)
UnmarshalJSON ...
type ApprovalWidgetOption ¶
type ApprovalWidgetOption struct { Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Text string `json:"text,omitempty"` }
ApprovalWidgetOption 审批挂件参数
type ApprovalWidgetOptions ¶
type ApprovalWidgetOptions struct { IsList bool Option *ApprovalWidgetOption Options []*ApprovalWidgetOption }
ApprovalWidgetOptions 审批挂件参数
func (ApprovalWidgetOptions) MarshalJSON ¶
func (r ApprovalWidgetOptions) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ApprovalWidgetOptions) UnmarshalJSON ¶
func (r *ApprovalWidgetOptions) UnmarshalJSON(bs []byte) (err error)
UnmarshalJSON ...
type ApprovalWidgetType ¶
type ApprovalWidgetType string
ApprovalWidgetType 审批挂件类型
const ( ApprovalWidgetTypeInput ApprovalWidgetType = "input" // 单行文本 ApprovalWidgetTypeTextarea ApprovalWidgetType = "textarea" // 多行文本 ApprovalWidgetTypeText ApprovalWidgetType = "text" // 说明 ApprovalWidgetTypeNumber ApprovalWidgetType = "number" // 数字 ApprovalWidgetTypeAmount ApprovalWidgetType = "amount" // 金额 ApprovalWidgetTypeDate ApprovalWidgetType = "date" // 日期 ApprovalWidgetTypeDateInterval ApprovalWidgetType = "dateInterval" // 日期区间 ApprovalWidgetTypeFieldList ApprovalWidgetType = "fieldList" // 明细 ApprovalWidgetTypeFormula ApprovalWidgetType = "formula" // 计算公式 ApprovalWidgetTypeRadio ApprovalWidgetType = "radio" // 单选 ApprovalWidgetTypeRadioV2 ApprovalWidgetType = "radioV2" // 单选 ApprovalWidgetTypeCheckbox ApprovalWidgetType = "checkbox" // 多选 ApprovalWidgetTypeCheckboxV2 ApprovalWidgetType = "checkboxV2" // 多选 ApprovalWidgetTypeAttachment ApprovalWidgetType = "attachement" // 附件 ApprovalWidgetTypeAttachmentV2 ApprovalWidgetType = "attachmentV2" // 附件 ApprovalWidgetTypeDepartment ApprovalWidgetType = "department" // 部门 ApprovalWidgetTypeImage ApprovalWidgetType = "image" // 图片 ApprovalWidgetTypeImageV2 ApprovalWidgetType = "imageV2" // 图片 ApprovalWidgetTypeContact ApprovalWidgetType = "contact" // 联系人 ApprovalWidgetTypeConnect ApprovalWidgetType = "connect" // 关联审批 ApprovalWidgetTypeAddress ApprovalWidgetType = "address" // 地址 ApprovalWidgetTypeLeaveGroup ApprovalWidgetType = "leaveGroup" // 请假控件组 ApprovalWidgetTypeWorkGroup ApprovalWidgetType = "workGroup" // 加班控件组 ApprovalWidgetTypeShiftGroup ApprovalWidgetType = "shiftGroup" // 换班控件组 ApprovalWidgetTypeRemedyGroup ApprovalWidgetType = "remedyGroup" // 补卡控件组 ApprovalWidgetTypeTripGroup ApprovalWidgetType = "tripGroup" // 出差控件组 ApprovalWidgetTypeOutGroup ApprovalWidgetType = "outGroup" // 外出控件组 )
ApprovalWidgetTypeInput ...
type ApprovalWidgetValue ¶
type ApprovalWidgetValue interface {
IsApprovalWidgetValue()
}
ApprovalWidgetValue ...
type ApproveApprovalInstanceReq ¶
type ApproveApprovalInstanceReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code OpenID *string `json:"open_id,omitempty"` // 用户open_id,如果没有user_id,必须要有open_id UserID string `json:"user_id,omitempty"` // 操作用户 TaskID string `json:"task_id,omitempty"` // 任务 ID Comment *string `json:"comment,omitempty"` // 意见 }
ApproveApprovalInstanceReq ...
type ApproveApprovalInstanceResp ¶
type ApproveApprovalInstanceResp struct{}
ApproveApprovalInstanceResp ...
type AtAllPermission ¶
type AtAllPermission string
AtAllPermission at 所有人权限
const ( AtAllPermissionAllMembers AtAllPermission = "all_members" AtAllPermissionOnlyOwner AtAllPermission = "only_owner" )
AtAllPermissionAllMembers ...
func AtAllPermissionPtr ¶
func AtAllPermissionPtr(v AtAllPermission) *AtAllPermission
AtAllPermissionPtr ...
type AttendanceService ¶
type AttendanceService struct {
// contains filtered or unexported fields
}
func (*AttendanceService) BatchCreateAttendanceUserDailyShift ¶
func (r *AttendanceService) BatchCreateAttendanceUserDailyShift(ctx context.Context, request *BatchCreateAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*BatchCreateAttendanceUserDailyShiftResp, *Response, error)
BatchCreateAttendanceUserDailyShift 班表是用来描述考勤组内人员每天按哪个班次进行上班。目前班表支持按一个整月对一位或多位人员进行排班。
func (*AttendanceService) BatchCreateAttendanceUserFlow ¶
func (r *AttendanceService) BatchCreateAttendanceUserFlow(ctx context.Context, request *BatchCreateAttendanceUserFlowReq, options ...MethodOptionFunc) (*BatchCreateAttendanceUserFlowResp, *Response, error)
BatchCreateAttendanceUserFlow 导入授权内员工的打卡流水记录。导入后,会根据员工所在的考勤组班次规则,计算最终的打卡状态与结果。
适用于考勤机数据导入等场景。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_flow/batch_create
func (*AttendanceService) BatchGetAttendanceUserFlow ¶
func (r *AttendanceService) BatchGetAttendanceUserFlow(ctx context.Context, request *BatchGetAttendanceUserFlowReq, options ...MethodOptionFunc) (*BatchGetAttendanceUserFlowResp, *Response, error)
BatchGetAttendanceUserFlow 批量查询授权内员工的实际打卡流水记录。例如,企业给一个员工设定的班次是上午 9 点和下午 6 点各打一次上下班卡,但是该员工在这期间打了多次卡,该接口会把所有的打卡记录都返回。
如果只需获取打卡结果,而不需要详细的打卡数据,可使用“获取打卡结果”的接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_flow/query
func (*AttendanceService) CreateAttendanceGroup ¶
func (r *AttendanceService) CreateAttendanceGroup(ctx context.Context, request *CreateAttendanceGroupReq, options ...MethodOptionFunc) (*CreateAttendanceGroupResp, *Response, error)
CreateAttendanceGroup
考勤组,是对部门或者员工在某个特定场所及特定时间段内的出勤情况(包括上下班、迟到、早退、病假、婚假、丧假、公休、工作时间、加班情况等)的一种规则设定。 通过设置考勤组,可以从部门、员工两个维度,来设定考勤方式、考勤时间、考勤地点等考勤规则。 出于安全考虑,目前通过该接口只允许修改自己创建的考勤组。 ## 考勤组负责人 考勤组负责人可修改该考勤组的排班,并查看该考勤组的考勤数据。 如果考勤组负责人同时被企业管理员赋予了考勤管理员的角色,则该考勤组负责人还拥有考勤管理员的权限,可以编辑及删除考勤规则。 ## 考勤组人员 可按部门、员工两个维度,设置需要参加考勤或无需参加考勤的人员。 - 若是按部门维度添加的考勤人员,当有新员工加入该部门时,其会自动加入该考勤组。 - 若是按员工维度添加的考勤人员,当其上级部门被添加到其他考勤组时,该员工不会更换考勤组。 ## 考勤组类型 提供 3 种不同的考勤类型:固定班制、排班制、自由班制。 - 固定班制:指考勤组内每位人员的上下班时间一致,适用于上下班时间固定或无需安排多个班次的考勤组。 - 排班制:指考勤组人员的上下班时间不完全一致,可自定义安排每位人员的上下班时间,适用于存在多个班次如早晚班的考勤组。 - 自由班制:指没有具体的班次,考勤组人员可以在打卡时段内自由打卡,按照打卡时段统计上班时长。 ## 考勤班次 - 固定班制下,需设置周一到周日每天安排哪个班次,以及可针对特殊日期进行打卡设置。 - 排班制下,需对考勤组内每一位人员的每一天进行班次指定。 - 自由班制下,需设置一天中最早打卡时间和最晚打卡时间,以及一周中哪几天需要打卡。 ## 考勤方式 支持 3 种考勤方式:GPS 打卡、Wi-Fi 打卡、考勤机打卡。 - GPS 打卡:需设置经纬度信息及考勤地点名称。 - Wi-Fi 打卡:需设置 Wi-Fi 名称及 Wi-Fi 的 MAC 地址。 - 考勤机打卡:需设置考勤机名称及考勤机序号。 ## 考勤其他设置 - 规则设置:支持设置是否允许外勤打卡,是否允许补卡以及一个月补卡的次数,是否允许 PC 端打卡。 - 安全设置:支持设置是否开启人脸识别打卡,以及什么情况下开启人脸识别。 - 统计设置:支持设置考勤组人员是否可以查看到某些维度的统计数据。 - 加班设置:支持配置加班时间的计算规则。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create
func (*AttendanceService) CreateAttendanceShift ¶
func (r *AttendanceService) CreateAttendanceShift(ctx context.Context, request *CreateAttendanceShiftReq, options ...MethodOptionFunc) (*CreateAttendanceShiftResp, *Response, error)
CreateAttendanceShift 班次是描述一次考勤任务时间规则的统称,比如一天打多少次卡,每次卡的上下班时间,晚到多长时间算迟到,晚到多长时间算缺卡等。
- 创建一个考勤组前,必须先创建一个或者多个班次。 - 一个公司内的班次是共享的,你可以直接引用他人创建的班次,但是需要注意的是,若他人修改了班次,会影响到你的考勤组及其考勤结果。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create
func (*AttendanceService) CreateAttendanceUserApproval ¶
func (r *AttendanceService) CreateAttendanceUserApproval(ctx context.Context, request *CreateAttendanceUserApprovalReq, options ...MethodOptionFunc) (*CreateAttendanceUserApprovalResp, *Response, error)
CreateAttendanceUserApproval
由于部分企业使用的是自己的审批系统,而不是飞书审批系统,因此员工的请假、加班等数据无法流入到飞书考勤系统中,导致员工在请假时间段内依然收到打卡提醒,并且被记为缺卡。 对于这些只使用飞书考勤系统,而未使用飞书审批系统的企业,可以通过考勤开放接口的形式,将三方审批结果数据回写到飞书的考勤系统中。 目前支持加班、请假、出差和外出这四种审批结果的写入。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance//AddApprovalsInLarkAttendance
func (*AttendanceService) CreateAttendanceUserTaskRemedy ¶
func (r *AttendanceService) CreateAttendanceUserTaskRemedy(ctx context.Context, request *CreateAttendanceUserTaskRemedyReq, options ...MethodOptionFunc) (*CreateAttendanceUserTaskRemedyResp, *Response, error)
CreateAttendanceUserTaskRemedy 对于只使用飞书考勤系统而未使用飞书审批系统的企业,可以通过该接口,将在三方审批系统中发起的补卡审批数据,写入到飞书考勤系统中。
func (*AttendanceService) CreateUpdateAttendanceUserDailyShift ¶
func (r *AttendanceService) CreateUpdateAttendanceUserDailyShift(ctx context.Context, request *CreateUpdateAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*CreateUpdateAttendanceUserDailyShiftResp, *Response, error)
CreateUpdateAttendanceUserDailyShift
班表是用来描述考勤组内人员每天按哪个班次进行上班。目前班表支持按一个整月对一位或多位人员进行排班。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance//CreateandEditShifts
func (*AttendanceService) DeleteAttendanceGroup ¶
func (r *AttendanceService) DeleteAttendanceGroup(ctx context.Context, request *DeleteAttendanceGroupReq, options ...MethodOptionFunc) (*DeleteAttendanceGroupResp, *Response, error)
DeleteAttendanceGroup 通过班次 ID 删除班次。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/delete
func (*AttendanceService) DeleteAttendanceShift ¶
func (r *AttendanceService) DeleteAttendanceShift(ctx context.Context, request *DeleteAttendanceShiftReq, options ...MethodOptionFunc) (*DeleteAttendanceShiftResp, *Response, error)
DeleteAttendanceShift 通过班次 ID 删除班次。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/delete
func (*AttendanceService) DownloadAttendanceFile ¶
func (r *AttendanceService) DownloadAttendanceFile(ctx context.Context, request *DownloadAttendanceFileReq, options ...MethodOptionFunc) (*DownloadAttendanceFileResp, *Response, error)
DownloadAttendanceFile 通过文件 ID 下载指定的文件。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/file/download
func (*AttendanceService) GetAttendanceGroup ¶
func (r *AttendanceService) GetAttendanceGroup(ctx context.Context, request *GetAttendanceGroupReq, options ...MethodOptionFunc) (*GetAttendanceGroupResp, *Response, error)
GetAttendanceGroup 通过考勤组 ID 获取考勤组详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/get
func (*AttendanceService) GetAttendanceShift ¶
func (r *AttendanceService) GetAttendanceShift(ctx context.Context, request *GetAttendanceShiftReq, options ...MethodOptionFunc) (*GetAttendanceShiftResp, *Response, error)
GetAttendanceShift 通过班次的名称查询班次信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query
func (*AttendanceService) GetAttendanceShiftDetail ¶
func (r *AttendanceService) GetAttendanceShiftDetail(ctx context.Context, request *GetAttendanceShiftDetailReq, options ...MethodOptionFunc) (*GetAttendanceShiftDetailResp, *Response, error)
GetAttendanceShiftDetail 通过班次 ID 获取班次详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/get
func (*AttendanceService) GetAttendanceUserAllowedRemedy ¶
func (r *AttendanceService) GetAttendanceUserAllowedRemedy(ctx context.Context, request *GetAttendanceUserAllowedRemedyReq, options ...MethodOptionFunc) (*GetAttendanceUserAllowedRemedyResp, *Response, error)
GetAttendanceUserAllowedRemedy
获取用户某天可以补第几次上/下班卡的时间。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance//task/query-user-allowed-remedys
func (*AttendanceService) GetAttendanceUserApproval ¶
func (r *AttendanceService) GetAttendanceUserApproval(ctx context.Context, request *GetAttendanceUserApprovalReq, options ...MethodOptionFunc) (*GetAttendanceUserApprovalResp, *Response, error)
GetAttendanceUserApproval
获取员工在某段时间内的请假、加班、外出和出差四种审批的通过数据。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance//RetrieveUserApprovals
func (*AttendanceService) GetAttendanceUserDailyShift ¶
func (r *AttendanceService) GetAttendanceUserDailyShift(ctx context.Context, request *GetAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*GetAttendanceUserDailyShiftResp, *Response, error)
GetAttendanceUserDailyShift 支持查询多个用户的排班情况,查询的时间跨度不能超过 30 天。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_daily_shift/query
func (*AttendanceService) GetAttendanceUserFlow ¶
func (r *AttendanceService) GetAttendanceUserFlow(ctx context.Context, request *GetAttendanceUserFlowReq, options ...MethodOptionFunc) (*GetAttendanceUserFlowResp, *Response, error)
GetAttendanceUserFlow 通过打卡记录 ID 获取用户的打卡流水记录。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_flow/get
func (*AttendanceService) GetAttendanceUserSettingList ¶
func (r *AttendanceService) GetAttendanceUserSettingList(ctx context.Context, request *GetAttendanceUserSettingListReq, options ...MethodOptionFunc) (*GetAttendanceUserSettingListResp, *Response, error)
GetAttendanceUserSettingList 批量查询授权内员工的用户设置信息,包括人脸照片文件 ID、人脸照片更新时间。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_setting/query
func (*AttendanceService) GetAttendanceUserStatsData ¶
func (r *AttendanceService) GetAttendanceUserStatsData(ctx context.Context, request *GetAttendanceUserStatsDataReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsDataResp, *Response, error)
GetAttendanceUserStatsData 查询日度统计或月度统计的统计数据。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_stats_data/query
func (*AttendanceService) GetAttendanceUserStatsField ¶
func (r *AttendanceService) GetAttendanceUserStatsField(ctx context.Context, request *GetAttendanceUserStatsFieldReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsFieldResp, *Response, error)
GetAttendanceUserStatsField 查询考勤统计支持的日度统计或月度统计的统计表头。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_stats_field/query
func (*AttendanceService) GetAttendanceUserStatsView ¶
func (r *AttendanceService) GetAttendanceUserStatsView(ctx context.Context, request *GetAttendanceUserStatsViewReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsViewResp, *Response, error)
GetAttendanceUserStatsView 查询开发者定制的日度统计或月度统计的统计报表表头设置信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_stats_view/query
func (*AttendanceService) GetAttendanceUserTask ¶
func (r *AttendanceService) GetAttendanceUserTask(ctx context.Context, request *GetAttendanceUserTaskReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskResp, *Response, error)
GetAttendanceUserTask 获取企业内员工的实际打卡结果,包括上班打卡结果和下班打卡结果。
- 如果企业给一个员工设定的班次是上午 9 点和下午 6 点各打一次上下班卡,即使员工在这期间打了多次卡,该接口也只会返回 1 条记录。 - 如果要获取打卡的详细数据,如打卡位置等信息,可使用“获取打卡流水记录”或“批量查询打卡流水记录”的接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query
func (*AttendanceService) GetAttendanceUserTaskRemedy ¶
func (r *AttendanceService) GetAttendanceUserTaskRemedy(ctx context.Context, request *GetAttendanceUserTaskRemedyReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskRemedyResp, *Response, error)
GetAttendanceUserTaskRemedy 获取授权内员工的补卡记录。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task_remedy/query
func (*AttendanceService) GetAttendanceUserTaskRemedyAllowedRemedyList ¶
func (r *AttendanceService) GetAttendanceUserTaskRemedyAllowedRemedyList(ctx context.Context, request *GetAttendanceUserTaskRemedyAllowedRemedyListReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskRemedyAllowedRemedyListResp, *Response, error)
GetAttendanceUserTaskRemedyAllowedRemedyList 获取用户某天可以补的第几次上 / 下班卡的时间。
func (*AttendanceService) InitAttendanceRemedyApproval ¶
func (r *AttendanceService) InitAttendanceRemedyApproval(ctx context.Context, request *InitAttendanceRemedyApprovalReq, options ...MethodOptionFunc) (*InitAttendanceRemedyApprovalResp, *Response, error)
InitAttendanceRemedyApproval
对于只使用飞书考勤系统而未使用飞书审批系统的企业,可以通过该接口,将在三方审批系统中发起的补卡审批数据,写入到飞书的考勤系统中。
func (*AttendanceService) SearchAttendanceGroup ¶
func (r *AttendanceService) SearchAttendanceGroup(ctx context.Context, request *SearchAttendanceGroupReq, options ...MethodOptionFunc) (*SearchAttendanceGroupResp, *Response, error)
SearchAttendanceGroup 按考勤组名称查询考勤组摘要信息。查询条件支持名称精确匹配和模糊匹配两种方式。查询结果按考勤组修改时间 desc 排序,且最大记录数为 10 条。
该接口依赖的数据和考勤组主数据间存在数据同步延时(正常数据同步 2 秒以内),因此在使用该接口时需注意评估数据延迟潜在风险。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search
func (*AttendanceService) UpdateAttendanceRemedyApproval ¶
func (r *AttendanceService) UpdateAttendanceRemedyApproval(ctx context.Context, request *UpdateAttendanceRemedyApprovalReq, options ...MethodOptionFunc) (*UpdateAttendanceRemedyApprovalResp, *Response, error)
UpdateAttendanceRemedyApproval
对于只使用飞书考勤系统而未使用飞书审批系统的企业,可以通过该接口更新写入飞书考勤系统中的三方系统审批状态,例如请假、加班、外出、出差、补卡等审批,状态包括通过、不通过、撤销等。 发起状态的审批才可以被更新为通过、不通过,已经通过的审批才可以被更新为撤销。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance//task/notify-approval-status-update
func (*AttendanceService) UpdateAttendanceUserSetting ¶
func (r *AttendanceService) UpdateAttendanceUserSetting(ctx context.Context, request *UpdateAttendanceUserSettingReq, options ...MethodOptionFunc) (*UpdateAttendanceUserSettingResp, *Response, error)
UpdateAttendanceUserSetting 修改授权内员工的用户设置信息,包括人脸照片文件 ID。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_setting/modify
func (*AttendanceService) UpdateAttendanceUserStatsView ¶
func (r *AttendanceService) UpdateAttendanceUserStatsView(ctx context.Context, request *UpdateAttendanceUserStatsViewReq, options ...MethodOptionFunc) (*UpdateAttendanceUserStatsViewResp, *Response, error)
UpdateAttendanceUserStatsView 更新开发者定制的日度统计或月度统计的统计报表表头设置信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_stats_view/update
func (*AttendanceService) UploadAttendanceFile ¶
func (r *AttendanceService) UploadAttendanceFile(ctx context.Context, request *UploadAttendanceFileReq, options ...MethodOptionFunc) (*UploadAttendanceFileResp, *Response, error)
UploadAttendanceFile 上传文件并获取文件 ID,可用于“修改用户设置”接口中的 face_key 参数。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/file/upload
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func (*AuthService) GenOAuthURL ¶
func (r *AuthService) GenOAuthURL(ctx context.Context, request *GenOAuthURLReq) string
GenOAuthURL 请求用户身份验证
应用请求用户身份验证时,需按如下方式构造登录链接,并引导用户跳转至此链接。飞书客户端内用户免登,系统浏览器内用户需完成扫码登录。登录成功后会生成登录预授权码 code,并作为参数重定向到重定向URL。 详细开发指南:第三方网站免登
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukzN4UjL5cDO14SO3gTN
func (*AuthService) GetAccessToken ¶
func (r *AuthService) GetAccessToken(ctx context.Context, request *GetAccessTokenReq, options ...MethodOptionFunc) (*GetAccessTokenResp, *Response, error)
GetAccessToken 获取登录预授权码 code 对应的登录用户身份。
该接口仅适用于通过网页应用登录方式获取的预授权码,小程序登录中用户身份的获取,请使用[小程序 code2session 接口](https://open.feishu.cn/document/uYjL24iN/ukjM04SOyQjL5IDN)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/authen-v1/authen/access_token
func (*AuthService) GetAppAccessToken ¶
func (r *AuthService) GetAppAccessToken(ctx context.Context) (*TokenExpire, *Response, error)
docs: https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/app_access_token_internal docs: https://open.feishu.cn/document/ukTMukTMukTM/uADN14CM0UjLwQTN
func (*AuthService) GetAppTicket ¶
func (r *AuthService) GetAppTicket(ctx context.Context) (string, error)
GetAppTicket ...
func (*AuthService) GetTenantAccessToken ¶
func (r *AuthService) GetTenantAccessToken(ctx context.Context) (*TokenExpire, *Response, error)
https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token
func (*AuthService) GetUserInfo ¶
func (r *AuthService) GetUserInfo(ctx context.Context, request *GetUserInfoReq, options ...MethodOptionFunc) (*GetUserInfoResp, *Response, error)
GetUserInfo 通过 user_access_token 获取登录用户的信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/authen-v1/authen/user_info
func (*AuthService) RefreshAccessToken ¶
func (r *AuthService) RefreshAccessToken(ctx context.Context, request *RefreshAccessTokenReq, options ...MethodOptionFunc) (*RefreshAccessTokenResp, *Response, error)
RefreshAccessToken user_access_token 具有一定的时效性,默认最长有效期为7200秒。该接口用于在 user_access_token 过期时用 refresh_token 重新获取 access_token。此时会返回新的 refresh_token,再次刷新 access_token 时需要使用新的 refresh_token。
func (*AuthService) ResendAppTicket ¶
func (r *AuthService) ResendAppTicket(ctx context.Context, request *ResendAppTicketReq, options ...MethodOptionFunc) (*ResendAppTicketResp, *Response, error)
ResendAppTicket 飞书每隔 1 小时会给应用推送一次最新的 app_ticket,应用也可以主动调用此接口,触发飞书进行及时的重新推送。(该接口并不能直接获取app_ticket,而是触发事件推送)
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/app_ticket_resend
func (*AuthService) SetAppTicket ¶
func (r *AuthService) SetAppTicket(ctx context.Context, appTicket string) error
SetAppTicket ...
type BatchCreateAttendanceUserDailyShiftReq ¶
type BatchCreateAttendanceUserDailyShiftReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserDailyShifts []*BatchCreateAttendanceUserDailyShiftReqUserDailyShift `json:"user_daily_shifts,omitempty"` // 班表信息列表 }
BatchCreateAttendanceUserDailyShiftReq ...
type BatchCreateAttendanceUserDailyShiftReqUserDailyShift ¶
type BatchCreateAttendanceUserDailyShiftReqUserDailyShift struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID,获取方式:1)[创建或修改考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create) 2)[按名称查询考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search) 3)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query), 示例值:"6737202939523236110" ShiftID string `json:"shift_id,omitempty"` // 班次 ID,获取方式:1)[按名称查询班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query) 2)[创建班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create), 示例值:"6753520403404030215" Month int64 `json:"month,omitempty"` // 月份, 示例值:202101 UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"abd754f7" DayNo int64 `json:"day_no,omitempty"` // 日期, 示例值:21 }
BatchCreateAttendanceUserDailyShiftReqUserDailyShift ...
type BatchCreateAttendanceUserDailyShiftResp ¶
type BatchCreateAttendanceUserDailyShiftResp struct {
UserDailyShifts []*BatchCreateAttendanceUserDailyShiftRespUserDailyShift `json:"user_daily_shifts,omitempty"` // 班表信息列表
}
BatchCreateAttendanceUserDailyShiftResp ...
type BatchCreateAttendanceUserDailyShiftRespUserDailyShift ¶
type BatchCreateAttendanceUserDailyShiftRespUserDailyShift struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID,获取方式:1)[创建或修改考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create) 2)[按名称查询考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search) 3)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query) ShiftID string `json:"shift_id,omitempty"` // 班次 ID,获取方式:1)[按名称查询班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query) 2)[创建班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create) Month int64 `json:"month,omitempty"` // 月份 UserID string `json:"user_id,omitempty"` // 用户 ID DayNo int64 `json:"day_no,omitempty"` // 日期 }
BatchCreateAttendanceUserDailyShiftRespUserDailyShift ...
type BatchCreateAttendanceUserFlowReq ¶
type BatchCreateAttendanceUserFlowReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体和响应体中的 user_id 和 creator_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 FlowRecords []*BatchCreateAttendanceUserFlowReqFlowRecord `json:"flow_records,omitempty"` // 打卡流水记录列表 }
BatchCreateAttendanceUserFlowReq ...
type BatchCreateAttendanceUserFlowReqFlowRecord ¶
type BatchCreateAttendanceUserFlowReqFlowRecord struct { UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"abd754f7" CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID, 示例值:"abd754f7" LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息, 示例值:"西溪八方城" CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳, 示例值:"1611476284" Comment string `json:"comment,omitempty"` // 打卡备注, 示例值:"上班打卡" RecordID *string `json:"record_id,omitempty"` // 打卡记录 ID, 示例值:"6709359313699356941" Longitude *float64 `json:"longitude,omitempty"` // 打卡经度, 示例值:30.28991 Latitude *float64 `json:"latitude,omitempty"` // 打卡纬度, 示例值:120.04513 Ssid *string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID, 示例值:"b0:b8:67:5c:1d:72" Bssid *string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址, 示例值:"b0:b8:67:5c:1d:72" IsField *bool `json:"is_field,omitempty"` // 是否为外勤打卡, 示例值:true IsWifi *bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡, 示例值:true Type *int64 `json:"type,omitempty"` // 记录生成方式, 示例值:0, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表, 示例值:https://time.clockin.biz/manage/download/6840389754748502021 DeviceID *string `json:"device_id,omitempty"` // 打卡设备 ID, 示例值:"99e0609ee053448596502691a81428654d7ded64c7bd85acd982d26b3636c37d" }
BatchCreateAttendanceUserFlowReqFlowRecord ...
type BatchCreateAttendanceUserFlowResp ¶
type BatchCreateAttendanceUserFlowResp struct {
FlowRecords []*BatchCreateAttendanceUserFlowRespFlowRecord `json:"flow_records,omitempty"` // 打卡流水记录列表
}
BatchCreateAttendanceUserFlowResp ...
type BatchCreateAttendanceUserFlowRespFlowRecord ¶
type BatchCreateAttendanceUserFlowRespFlowRecord struct { UserID string `json:"user_id,omitempty"` // 用户 ID CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息 CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳 Comment string `json:"comment,omitempty"` // 打卡备注 RecordID string `json:"record_id,omitempty"` // 打卡记录 ID Longitude float64 `json:"longitude,omitempty"` // 打卡经度 Latitude float64 `json:"latitude,omitempty"` // 打卡纬度 Ssid string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID Bssid string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址 IsField bool `json:"is_field,omitempty"` // 是否为外勤打卡 IsWifi bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡 Type int64 `json:"type,omitempty"` // 记录生成方式, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表 DeviceID string `json:"device_id,omitempty"` // 打卡设备 ID }
BatchCreateAttendanceUserFlowRespFlowRecord ...
type BatchCreateBitableRecordReq ¶
type BatchCreateBitableRecordReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" Records []*BatchCreateBitableRecordReqRecord `json:"records,omitempty"` // 记录 }
BatchCreateBitableRecordReq ...
type BatchCreateBitableRecordReqRecord ¶
type BatchCreateBitableRecordReqRecord struct {
Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段
}
BatchCreateBitableRecordReqRecord ...
type BatchCreateBitableRecordResp ¶
type BatchCreateBitableRecordResp struct {
Records []*BatchCreateBitableRecordRespRecord `json:"records,omitempty"` // 记录
}
BatchCreateBitableRecordResp ...
type BatchCreateBitableRecordRespRecord ¶
type BatchCreateBitableRecordRespRecord struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
BatchCreateBitableRecordRespRecord ...
type BatchCreateBitableTableReq ¶
type BatchCreateBitableTableReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" Tables []*BatchCreateBitableTableReqTable `json:"tables,omitempty"` // tables }
BatchCreateBitableTableReq ...
type BatchCreateBitableTableReqTable ¶
type BatchCreateBitableTableReqTable struct {
Name *string `json:"name,omitempty"` // 数据表 名字, 示例值:"table1"
}
BatchCreateBitableTableReqTable ...
type BatchCreateBitableTableResp ¶
type BatchCreateBitableTableResp struct {
TableIDs []string `json:"table_ids,omitempty"` // table ids
}
BatchCreateBitableTableResp ...
type BatchDeleteBitableRecordReq ¶
type BatchDeleteBitableRecordReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" Records []string `json:"records,omitempty"` // 删除的多条记录id列表, 示例值:[, "recIcJBbvC",, "recvmiCORa",] }
BatchDeleteBitableRecordReq ...
type BatchDeleteBitableRecordResp ¶
type BatchDeleteBitableRecordResp struct {
Records []*BatchDeleteBitableRecordRespRecord `json:"records,omitempty"` // 记录
}
BatchDeleteBitableRecordResp ...
type BatchDeleteBitableRecordRespRecord ¶
type BatchDeleteBitableRecordRespRecord struct { Deleted bool `json:"deleted,omitempty"` // 是否成功删除 RecordID string `json:"record_id,omitempty"` // 删除的记录 ID }
BatchDeleteBitableRecordRespRecord ...
type BatchDeleteBitableTableReq ¶
type BatchDeleteBitableTableReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableIDs []string `json:"table_ids,omitempty"` // 删除的多条tableid列表, 示例值:["tblsRc9GRRXKqhvW"] }
BatchDeleteBitableTableReq ...
type BatchDeleteBitableTableResp ¶
type BatchDeleteBitableTableResp struct{}
BatchDeleteBitableTableResp ...
type BatchDeleteMessageReq ¶
type BatchDeleteMessageReq struct {
BatchMessageID string `path:"batch_message_id" json:"-"` // 待撤回的批量消息的ID, 示例值:"bm-dc13264520392913993dd051dba21dcf"
}
BatchDeleteMessageReq ...
type BatchGetAttendanceUserFlowReq ¶
type BatchGetAttendanceUserFlowReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 IncludeTerminatedUser *bool `query:"include_terminated_user" json:"-"` // 由于新入职用户可以复用已离职用户的employee_no/employee_id。如果true,返回employee_no/employee_id对应的所有在职+离职用户数据;如果false,只返回employee_no/employee_id对应的在职或最近一个离职用户数据, 示例值:true UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表,长度不超过 50, 示例值:[ "abd754f7"] CheckTimeFrom string `json:"check_time_from,omitempty"` // 查询的起始时间,时间戳, 示例值:"1566641088" CheckTimeTo string `json:"check_time_to,omitempty"` // 查询的结束时间,时间戳, 示例值:"1566641088" }
BatchGetAttendanceUserFlowReq ...
type BatchGetAttendanceUserFlowResp ¶
type BatchGetAttendanceUserFlowResp struct {
UserFlowResults []*BatchGetAttendanceUserFlowRespUserFlowResult `json:"user_flow_results,omitempty"` // 打卡记录列表
}
BatchGetAttendanceUserFlowResp ...
type BatchGetAttendanceUserFlowRespUserFlowResult ¶
type BatchGetAttendanceUserFlowRespUserFlowResult struct { UserID string `json:"user_id,omitempty"` // 用户 ID CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息 CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳 Comment string `json:"comment,omitempty"` // 打卡备注 RecordID string `json:"record_id,omitempty"` // 打卡记录 ID Longitude float64 `json:"longitude,omitempty"` // 打卡经度 Latitude float64 `json:"latitude,omitempty"` // 打卡纬度 Ssid string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID Bssid string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址 IsField bool `json:"is_field,omitempty"` // 是否为外勤打卡 IsWifi bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡 Type int64 `json:"type,omitempty"` // 记录生成方式, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表 DeviceID string `json:"device_id,omitempty"` // 打卡设备 ID }
BatchGetAttendanceUserFlowRespUserFlowResult ...
type BatchGetDriveMediaTmpDownloadURLReq ¶
type BatchGetDriveMediaTmpDownloadURLReq struct { FileTokens []string `query:"file_tokens" json:"-"` // 文件标识符列表, 示例值:boxcnabcdefg Extra *string `query:"extra" json:"-"` // 拓展信息(可选), 示例值:"[请参考-上传点类型及对应Extra说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/introduction)" }
BatchGetDriveMediaTmpDownloadURLReq ...
type BatchGetDriveMediaTmpDownloadURLResp ¶
type BatchGetDriveMediaTmpDownloadURLResp struct {
TmpDownloadURLs []*BatchGetDriveMediaTmpDownloadURLRespTmpDownloadURL `json:"tmp_download_urls,omitempty"` // 临时下载列表
}
BatchGetDriveMediaTmpDownloadURLResp ...
type BatchGetDriveMediaTmpDownloadURLRespTmpDownloadURL ¶
type BatchGetDriveMediaTmpDownloadURLRespTmpDownloadURL struct { FileToken string `json:"file_token,omitempty"` // 文件标识符 TmpDownloadURL string `json:"tmp_download_url,omitempty"` // 文件临时下载链接 }
BatchGetDriveMediaTmpDownloadURLRespTmpDownloadURL ...
type BatchGetMeetingRoomBuildingIDReq ¶
type BatchGetMeetingRoomBuildingIDReq struct {
CustomBuildingIDs string `query:"custom_building_ids" json:"-"` // 用于查询指定建筑物的租户自定义建筑ID
}
BatchGetMeetingRoomBuildingIDReq ...
type BatchGetMeetingRoomBuildingIDResp ¶
type BatchGetMeetingRoomBuildingIDResp struct {
Buildings []*BatchGetMeetingRoomBuildingIDRespBuilding `json:"buildings,omitempty"` // 建筑列表
}
BatchGetMeetingRoomBuildingIDResp ...
type BatchGetMeetingRoomBuildingIDRespBuilding ¶
type BatchGetMeetingRoomBuildingIDRespBuilding struct { BuildingID string `json:"building_id,omitempty"` // 建筑物ID CustomBuildingID string `json:"custom_building_id,omitempty"` // 租户自定义建筑物ID }
BatchGetMeetingRoomBuildingIDRespBuilding ...
type BatchGetMeetingRoomBuildingReq ¶
type BatchGetMeetingRoomBuildingReq struct { BuildingIDs []string `query:"building_ids" json:"-"` // 用于查询指定建筑物的 ID Fields *string `query:"fields" json:"-"` // 用于指定返回的字段名,每个字段名之间用逗号 "," 分隔,如:“id,name”,"*" 表示返回全部字段,可选字段有:"id,name,description,floors",默认返回所有字段 }
BatchGetMeetingRoomBuildingReq ...
type BatchGetMeetingRoomBuildingResp ¶
type BatchGetMeetingRoomBuildingResp struct {
Buildings []*BatchGetMeetingRoomBuildingRespBuilding `json:"buildings,omitempty"` // 建筑列表
}
BatchGetMeetingRoomBuildingResp ...
type BatchGetMeetingRoomBuildingRespBuilding ¶
type BatchGetMeetingRoomBuildingRespBuilding struct { BuildingID string `json:"building_id,omitempty"` // 建筑物 ID Description string `json:"description,omitempty"` // 建筑物的相关描述 Floors []string `json:"floors,omitempty"` // 属于当前建筑物的所有楼层列表 Name string `json:"name,omitempty"` // 建筑物名称 CountryID string `json:"country_id,omitempty"` // 所属国家 ID DistrictID string `json:"district_id,omitempty"` // 所属城市 ID }
BatchGetMeetingRoomBuildingRespBuilding ...
type BatchGetMeetingRoomFreebusyReq ¶
type BatchGetMeetingRoomFreebusyReq struct { RoomIDs []string `query:"room_ids" json:"-"` // 用于查询指定会议室的 ID TimeMin string `query:"time_min" json:"-"` // 查询会议室忙闲的起始时间,需要遵循格式 [RFC3339](https://tools.ietf.org/html/rfc3339),需要进行URL Encode TimeMax string `query:"time_max" json:"-"` // 查询会议室忙闲的结束时间,需要遵循格式 [RFC3339](https://tools.ietf.org/html/rfc3339),需要进行URL Encode }
BatchGetMeetingRoomFreebusyReq ...
type BatchGetMeetingRoomFreebusyResp ¶
type BatchGetMeetingRoomFreebusyResp struct { TimeMin string `json:"time_min,omitempty"` // 查询会议室忙闲的起始时间,与请求参数完全相同 TimeMax string `json:"time_max,omitempty"` // 查询会议室忙闲的结束时间,与请求参数完全相同 FreeBusy *BatchGetMeetingRoomFreebusyRespFreeBusy `json:"free_busy,omitempty"` // 会议室忙闲列表 }
BatchGetMeetingRoomFreebusyResp ...
type BatchGetMeetingRoomFreebusyRespFreeBusy ¶
type BatchGetMeetingRoomFreebusyRespFreeBusy struct {
RoomID *BatchGetMeetingRoomFreebusyRespFreeBusyRoomID `json:"room_id,omitempty"` // 与请求合法参数相同,表示之后是对应会议室的忙闲状态
}
BatchGetMeetingRoomFreebusyRespFreeBusy ...
type BatchGetMeetingRoomFreebusyRespFreeBusyRoomID ¶
type BatchGetMeetingRoomFreebusyRespFreeBusyRoomID struct { StartTime string `json:"start_time,omitempty"` // 忙碌起始时间 EndTime string `json:"end_time,omitempty"` // 忙碌结束时间 Uid string `json:"uid,omitempty"` // 日程 ID OriginalTime int64 `json:"original_time,omitempty"` // 日程实例的原始时间, 非重复日程以及重复性日程的原日程为0,重复性日程的例外日程为非0 OrganizerInfo *BatchGetMeetingRoomFreebusyRespFreeBusyRoomIDOrganizerInfo `json:"organizer_info,omitempty"` // 组织者信息, 私密日程不返回该信息 }
BatchGetMeetingRoomFreebusyRespFreeBusyRoomID ...
type BatchGetMeetingRoomFreebusyRespFreeBusyRoomIDOrganizerInfo ¶
type BatchGetMeetingRoomFreebusyRespFreeBusyRoomIDOrganizerInfo struct { Name string `json:"name,omitempty"` // 组织者姓名 OpenID string `json:"open_id,omitempty"` // 组织者 open_id }
BatchGetMeetingRoomFreebusyRespFreeBusyRoomIDOrganizerInfo ...
type BatchGetMeetingRoomRoomIDReq ¶
type BatchGetMeetingRoomRoomIDReq struct {
CustomRoomIDs string `query:"custom_room_ids" json:"-"` // 用于查询指定会议室的租户自定义会议室ID
}
BatchGetMeetingRoomRoomIDReq ...
type BatchGetMeetingRoomRoomIDResp ¶
type BatchGetMeetingRoomRoomIDResp struct {
Rooms []*BatchGetMeetingRoomRoomIDRespRoom `json:"rooms,omitempty"` // 会议室列表
}
BatchGetMeetingRoomRoomIDResp ...
type BatchGetMeetingRoomRoomIDRespRoom ¶
type BatchGetMeetingRoomRoomIDRespRoom struct { RoomID string `json:"room_id,omitempty"` // 会议室 ID CustomRoomID string `json:"custom_room_id,omitempty"` // 租户自定义会议室 ID }
BatchGetMeetingRoomRoomIDRespRoom ...
type BatchGetMeetingRoomRoomReq ¶
type BatchGetMeetingRoomRoomReq struct { RoomIDs []string `query:"room_ids" json:"-"` // 用于查询指定会议室的 ID Fields *string `query:"fields" json:"-"` // 用于指定返回的字段名,每个字段名之间用逗号 "," 分隔,如:“id,name”,"*" 表示返回全部字段,可选字段有:"id,name,description,capacity,building_id,building_name,floor_name,is_disabled,display_id",默认返回所有字段 }
BatchGetMeetingRoomRoomReq ...
type BatchGetMeetingRoomRoomResp ¶
type BatchGetMeetingRoomRoomResp struct {
Rooms []*BatchGetMeetingRoomRoomRespRoom `json:"rooms,omitempty"` // 会议室列表
}
BatchGetMeetingRoomRoomResp ...
type BatchGetMeetingRoomRoomRespRoom ¶
type BatchGetMeetingRoomRoomRespRoom struct { RoomID string `json:"room_id,omitempty"` // 会议室 ID BuildingID string `json:"building_id,omitempty"` // 会议室所属建筑物 ID BuildingName string `json:"building_name,omitempty"` // 会议室所属建筑物名称 Capacity int64 `json:"capacity,omitempty"` // 会议室能容纳的人数 Description string `json:"description,omitempty"` // 会议室的相关描述 DisplayID string `json:"display_id,omitempty"` // 会议室的展示 ID FloorName string `json:"floor_name,omitempty"` // 会议室所在楼层名称 IsDisabled bool `json:"is_disabled,omitempty"` // 会议室是否不可用,若会议室不可用,则该值为 true,否则为 false Name string `json:"name,omitempty"` // 会议室名称 }
BatchGetMeetingRoomRoomRespRoom ...
type BatchGetMeetingRoomSummaryReq ¶
type BatchGetMeetingRoomSummaryReq struct {
EventUids *BatchGetMeetingRoomSummaryReqEventUid `json:"EventUids,omitempty"` // 需要查询的日程Uid和Original time
}
BatchGetMeetingRoomSummaryReq ...
type BatchGetMeetingRoomSummaryReqEventUid ¶
type BatchGetMeetingRoomSummaryReqEventUid struct { Uid string `json:"uid,omitempty"` // 日程的唯一id OriginalTime int64 `json:"original_time,omitempty"` // 日程实例原始时间,非重复日程必为0。若为0则表示回复其重复日程的名字(不包含重复日程中的单个例外),否则表示回复单个实例。 }
BatchGetMeetingRoomSummaryReqEventUid ...
type BatchGetMeetingRoomSummaryResp ¶
type BatchGetMeetingRoomSummaryResp struct { EventInfos *BatchGetMeetingRoomSummaryRespEventInfo `json:"EventInfos,omitempty"` // 成功查询到的日程信息 ErrorEventUids *BatchGetMeetingRoomSummaryRespErrorEventUid `json:"ErrorEventUids,omitempty"` // 没有查询到的日程 }
BatchGetMeetingRoomSummaryResp ...
type BatchGetMeetingRoomSummaryRespErrorEventUid ¶
type BatchGetMeetingRoomSummaryRespErrorEventUid struct { Uid string `json:"uid,omitempty"` // 日程的唯一id OriginalTime int64 `json:"original_time,omitempty"` // 日程实例原始时间,非重复日程必为0。若为0则表示回复其重复日程的名字(不包含重复日程中的单个例外),否则表示回复单个实例。 ErrorMsg string `json:"error_msg,omitempty"` // 错误信息 }
BatchGetMeetingRoomSummaryRespErrorEventUid ...
type BatchGetMeetingRoomSummaryRespEventInfo ¶
type BatchGetMeetingRoomSummaryRespEventInfo struct { Uid string `json:"uid,omitempty"` // 日程的唯一id OriginalTime int64 `json:"original_time,omitempty"` // 日程实例原始时间,非重复日程必为0。重复日程若为0则表示回复其所有实例,否则表示回复单个实例。 Summary string `json:"summary,omitempty"` // 日程主题 }
BatchGetMeetingRoomSummaryRespEventInfo ...
type BatchGetOKRReq ¶
type BatchGetOKRReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID OKRIDs []string `query:"okr_ids" json:"-"` // OKR ID 列表,最多10个 Lang *string `query:"lang" json:"-"` // 请求OKR的语言版本(比如@的人名),lang=en_us/zh_cn,请求 Query中, 示例值:"zh_cn", 默认值: `zh_cn` }
BatchGetOKRReq ...
type BatchGetOKRResp ¶
type BatchGetOKRResp struct {
OKRList []*BatchGetOKRRespOKR `json:"okr_list,omitempty"` // OKR 列表
}
BatchGetOKRResp ...
type BatchGetOKRRespOKR ¶
type BatchGetOKRRespOKR struct { ID string `json:"id,omitempty"` // id Permission int64 `json:"permission,omitempty"` // OKR的访问权限, 可选值有: `0`:此时OKR只返回id, `1`:返回OKR的其他具体字段 Name string `json:"name,omitempty"` // 名称 ObjectiveList []*BatchGetOKRRespOKRObjective `json:"objective_list,omitempty"` // Objective列表 }
BatchGetOKRRespOKR ...
type BatchGetOKRRespOKRObjective ¶
type BatchGetOKRRespOKRObjective struct { ID string `json:"id,omitempty"` // Objective ID Permission int64 `json:"permission,omitempty"` // 权限, 可选值有: `0`:此时OKR只返回id, `1`:返回OKR的其他具体字段 Content string `json:"content,omitempty"` // Objective 内容 ProgressReport string `json:"progress_report,omitempty"` // Objective 进度记录内容 Score int64 `json:"score,omitempty"` // Objective 分数(0 - 100) Weight float64 `json:"weight,omitempty"` // Objective的权重(0 - 100) ProgressRate *BatchGetOKRRespOKRObjectiveProgressRate `json:"progress_rate,omitempty"` // Objective进度 KrList []*BatchGetOKRRespOKRObjectiveKr `json:"kr_list,omitempty"` // Objective KeyResult 列表 AlignedObjectiveList []*BatchGetOKRRespOKRObjectiveAlignedObjective `json:"aligned_objective_list,omitempty"` // 对齐到该Objective的Objective列表 AligningObjectiveList []*BatchGetOKRRespOKRObjectiveAligningObjective `json:"aligning_objective_list,omitempty"` // 该Objective对齐到的Objective列表 }
BatchGetOKRRespOKRObjective ...
type BatchGetOKRRespOKRObjectiveAlignedObjective ¶
type BatchGetOKRRespOKRObjectiveAlignedObjective struct { ID string `json:"id,omitempty"` // Objective的ID OKRID string `json:"okr_id,omitempty"` // OKR的ID Owner *BatchGetOKRRespOKRObjectiveAlignedObjectiveOwner `json:"owner,omitempty"` // 该Objective的Owner }
BatchGetOKRRespOKRObjectiveAlignedObjective ...
type BatchGetOKRRespOKRObjectiveAlignedObjectiveOwner ¶
type BatchGetOKRRespOKRObjectiveAlignedObjectiveOwner struct {
OpenID string `json:"open_id,omitempty"` // 用户的 open_id
}
BatchGetOKRRespOKRObjectiveAlignedObjectiveOwner ...
type BatchGetOKRRespOKRObjectiveAligningObjective ¶
type BatchGetOKRRespOKRObjectiveAligningObjective struct { ID string `json:"id,omitempty"` // Objective的ID OKRID string `json:"okr_id,omitempty"` // OKR的ID Owner *BatchGetOKRRespOKRObjectiveAligningObjectiveOwner `json:"owner,omitempty"` // 该Objective的Owner }
BatchGetOKRRespOKRObjectiveAligningObjective ...
type BatchGetOKRRespOKRObjectiveAligningObjectiveOwner ¶
type BatchGetOKRRespOKRObjectiveAligningObjectiveOwner struct {
OpenID string `json:"open_id,omitempty"` // 用户的 open_id
}
BatchGetOKRRespOKRObjectiveAligningObjectiveOwner ...
type BatchGetOKRRespOKRObjectiveKr ¶
type BatchGetOKRRespOKRObjectiveKr struct { ID string `json:"id,omitempty"` // Key Result ID Content string `json:"content,omitempty"` // KeyResult 内容 Score int64 `json:"score,omitempty"` // KeyResult打分(0 - 100) Weight int64 `json:"weight,omitempty"` // KeyResult权重(0 - 100)(废弃) KrWeight float64 `json:"kr_weight,omitempty"` // KeyResult的权重(0 - 100) ProgressRate *BatchGetOKRRespOKRObjectiveKrProgressRate `json:"progress_rate,omitempty"` // KR进度 }
BatchGetOKRRespOKRObjectiveKr ...
type BatchGetOKRRespOKRObjectiveKrProgressRate ¶
type BatchGetOKRRespOKRObjectiveKrProgressRate struct { Percent int64 `json:"percent,omitempty"` // Objective 进度百分比 >= 0 Status string `json:"status,omitempty"` // Objective 进度状态, 可选值有: `-1`:未更新, `0`:正常, `1`:有风险, `2`:已延期 }
BatchGetOKRRespOKRObjectiveKrProgressRate ...
type BatchGetOKRRespOKRObjectiveProgressRate ¶
type BatchGetOKRRespOKRObjectiveProgressRate struct { Percent int64 `json:"percent,omitempty"` // Objective 进度百分比 >= 0 Status string `json:"status,omitempty"` // Objective 进度状态, 可选值有: `-1`:未更新, `0`:正常, `1`:有风险, `2`:已延期 }
BatchGetOKRRespOKRObjectiveProgressRate ...
type BatchGetSheetValueReq ¶
type BatchGetSheetValueReq struct { Ranges []string `query:"ranges" join_sep:"," json:"-"` // 多个查询范围 如 url?ranges=range1,range2 ,其中 range 包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRenderOption *string `query:"valueRenderOption" json:"-"` // valueRenderOption=ToString 可返回纯文本的值(数值类型除外);valueRenderOption=FormattedValue 计算并格式化单元格;valueRenderOption=Formula单元格中含有公式时返回公式本身;valueRenderOption=UnformattedValue计算但不对单元格进行格式化 DateTimeRenderOption *string `query:"dateTimeRenderOption" json:"-"` // dateTimeRenderOption=FormattedString 计算并将时间日期按照其格式进行格式化,但不会对数字进行格式化,返回格式化后的字符串。详见[电子表格常见问题](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/guide/sheets-faq) UserIDType *IDType `query:"user_id_type" json:"-"` // 返回的用户id类型,可选open_id,union_id SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
BatchGetSheetValueReq ...
type BatchGetSheetValueResp ¶
type BatchGetSheetValueResp struct { Revision int64 `json:"revision,omitempty"` // sheet 的版本号 SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) TotalCells int64 `json:"totalCells,omitempty"` // 读取的单元格总数 ValueRanges []*BatchGetSheetValueRespValueRange `json:"valueRanges,omitempty"` // 值与范围 }
BatchGetSheetValueResp ...
type BatchGetSheetValueRespValueRange ¶
type BatchGetSheetValueRespValueRange struct { MajorDimension string `json:"majorDimension,omitempty"` // 插入维度 Range string `json:"range,omitempty"` // 返回数据的范围,为空时表示查询范围没有数据 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 Values [][]SheetContent `json:"values,omitempty"` // 查询得到的值 }
BatchGetSheetValueRespValueRange ...
type BatchGetUserByIDOldReq ¶
type BatchGetUserByIDOldReq struct { Emails *string `query:"emails" json:"-"` // 要查询的用户邮箱,最多 50 条,多个邮箱以 & 隔开。 Mobiles *string `query:"mobiles" json:"-"` // 要查询的用户手机号,最多 50 条,多个手机号以 & 隔开。<br>非中国大陆地区的手机号需要添加以 “+” 开头的国家 / 地区代码,并且需要进行 URL 转义。<br> }
BatchGetUserByIDOldReq ...
type BatchGetUserByIDOldResp ¶
type BatchGetUserByIDOldResp struct { EmailUsers map[string][]*BatchGetUserByIDOldRespEmailUser `json:"email_users,omitempty"` // 根据邮箱查询到的用户,key 为邮箱,value 为查询到用户的 array。<br>目前同一个邮箱最多只能查询到一个用户。 EmailsNotExist []string `json:"emails_not_exist,omitempty"` // 没有匹配记录的邮箱。 MobileUsers map[string][]*BatchGetUserByIDOldRespEmailUser `json:"mobile_users,omitempty"` // 根据手机号查询到的用户,key 为手机号,value 为查询到用户的 array。<br>目前同一个手机号最多只能查询到一个用户。 MobilesNotExist []string `json:"mobiles_not_exist,omitempty"` // 没有匹配记录的手机号。 }
BatchGetUserByIDOldResp ...
type BatchGetUserByIDOldRespEmailUser ¶
type BatchGetUserByIDOldRespEmailUser struct { OpenID string `json:"open_id,omitempty"` // 用户的 open_id。[open_id描述](https://open.feishu.cn/document/home/user-identity-introduction/open-id) UserID string `json:"user_id,omitempty"` // 用户的 user_id。<br>只有已申请 `获取用户UserID` 权限的企业自建应用返回此字段。[user_id描述](https://open.feishu.cn/document/home/user-identity-introduction/user-id) }
BatchGetUserByIDOldRespEmailUser ...
type BatchGetUserByIDReq ¶
type BatchGetUserByIDReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID Emails []string `json:"emails,omitempty"` // 要查询的用户邮箱,最多 50 条。, 示例值:zhangsan@a.com, 最大长度:`50` Mobiles []string `json:"mobiles,omitempty"` // 要查询的用户手机号,最多 50 条。 非中国大陆地区的手机号需要添加以 “+” 开头的国家 / 地区代码。, 示例值:13812345678, 最大长度:`50` }
BatchGetUserByIDReq ...
type BatchGetUserByIDResp ¶
type BatchGetUserByIDResp struct {
UserList []*BatchGetUserByIDRespUser `json:"user_list,omitempty"` // 手机号或者邮箱对应的用户id信息
}
BatchGetUserByIDResp ...
type BatchGetUserByIDRespUser ¶
type BatchGetUserByIDRespUser struct { UserID string `json:"user_id,omitempty"` // 用户id,值为user_id_type所指定的类型。如果查询的手机号、邮箱不存在,或者无权限查看对应的用户,则此项为空。 Mobile string `json:"mobile,omitempty"` // 手机号,通过手机号查询时返回 Email string `json:"email,omitempty"` // 邮箱,通过邮箱查询时返回 }
BatchGetUserByIDRespUser ...
type BatchGetUserReq ¶
type BatchGetUserReq struct { EmployeeIDs []string `query:"employee_ids" json:"-"` // 支持通过 open_id 或者 employee_id 查询用户信息,不支持混合两种 ID 进行查询,单次请求支持的最大用户数量为100 OpenIDs []string `query:"open_ids" json:"-"` // 支持通过 open_id 或者 employee_id 查询用户信息,不支持混合两种 ID 进行查询,单次请求支持的最大用户数量为100 }
BatchGetUserReq ...
type BatchGetUserResp ¶
type BatchGetUserResp struct {
UserInfos []*BatchGetUserRespUserInfo `json:"user_infos,omitempty"` // 用户信息
}
BatchGetUserResp ...
type BatchGetUserRespUserInfo ¶
type BatchGetUserRespUserInfo struct { Name string `json:"name,omitempty"` // 用户名 NamePy string `json:"name_py,omitempty"` // 用户名拼音 EnName string `json:"en_name,omitempty"` // 英文名 EmployeeID string `json:"employee_id,omitempty"` // 用户的 employee_id,申请了"获取用户 user_id"权限的应用返回该字段 EmployeeNo string `json:"employee_no,omitempty"` // 工号 OpenID string `json:"open_id,omitempty"` // 用户的 open_id UnionID string `json:"union_id,omitempty"` // 用户的 union_id Status int64 `json:"status,omitempty"` // 用户状态,bit0(最低位): 1冻结,0未冻结;bit1:1离职,0在职;bit2:1未激活,0已激活 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型。1:正式员工;2:实习生;3:外包;4:劳务;5:顾问 Avatar72 string `json:"avatar_72,omitempty"` // 用户头像,72*72px Avatar240 string `json:"avatar_240,omitempty"` // 用户头像,240*240px Avatar640 string `json:"avatar_640,omitempty"` // 用户头像,640*640px AvatarURL string `json:"avatar_url,omitempty"` // 用户头像,原始大小 Gender int64 `json:"gender,omitempty"` // 性别,未设置不返回该字段。1:男;2:女 Email string `json:"email,omitempty"` // 用户邮箱地址,已申请"获取用户邮箱"权限返回该字段 Mobile string `json:"mobile,omitempty"` // 用户手机号,已申请"获取用户手机号"权限的企业自建应用返回该字段 Description string `json:"description,omitempty"` // 用户个人签名 Country string `json:"country,omitempty"` // 用户所在国家 City string `json:"city,omitempty"` // 用户所在城市 WorkStation string `json:"work_station,omitempty"` // 工位 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是企业超级管理员 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,未设置不返回该字段 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 LeaderEmployeeID string `json:"leader_employee_id,omitempty"` // 用户直接领导的 employee_id,企业自建应用返回,应用商店应用申请了 employee_id 权限时才返回 LeaderOpenID string `json:"leader_open_id,omitempty"` // 用户直接领导的 open_id LeaderUnionID string `json:"leader_union_id,omitempty"` // 用户直接领导的 union_id Departments []string `json:"departments,omitempty"` // 用户所在部门自定义 ID列表,用户可能同时存在于多个部门 OpenDepartments []string `json:"open_departments,omitempty"` // 用户所在部门 openID 列表,用户可能同时存在于多个部门 CustomAttrs map[string]interface{} `json:"custom_attrs,omitempty"` // 用户的自定义属性信息。<br>该字段返回的每一个属性包括自定义属性 ID 和自定义属性值。 <br>企业开放了自定义用户属性且为该用户设置了自定义属性的值,才会返回该字段 }
BatchGetUserRespUserInfo ...
type BatchSendOldRawMessageReq ¶
type BatchSendOldRawMessageReq struct { MsgType MsgType `json:"msg_type,omitempty"` // 消息类型,支持多种消息类型,详见下表。 Content interface{} `json:"content,omitempty"` // 消息内容,支持除卡片消息外的多种消息内容,详见下表。 Card interface{} `json:"card,omitempty"` // 卡片消息内容,注意card和content必须二选一 DepartmentIDs []string `json:"department_ids,omitempty"` // 支持[自定义部门ID](https://open.feishu.cn/document/ukTMukTMukTM/uYTM5UjL2ETO14iNxkTN/terminology#3c3e6267),和open_department_id,列表长度小于等于 200 <br><br>**注**:部门下的所有子部门包含的成员也会收到消息<br>**示例值:**["3dceba33a33226","d502aaa9514059", "od-5b91c9affb665451a16b90b4be367efa"] OpenIDs []string `json:"open_ids,omitempty"` // 用户 open_id 列表,长度小于等于 200 <br><br>**示例值:**["ou_18eac85d35a26f989317ad4f02e8bbbb","ou_461cf042d9eedaa60d445f26dc747d5e"] UserIDs []string `json:"user_ids,omitempty"` // 用户 user_id 列表,长度小于等于 200 (对应 V3 接口的 employee_ids )<br><br>**示例值:**["7cdcc7c2","ca51d83b"] }
BatchSendOldRawMessageReq ...
type BatchSendOldRawMessageResp ¶
type BatchSendOldRawMessageResp struct { MessageID string `json:"message_id,omitempty"` // 消息 ID InvalidDepartmentIDs []string `json:"invalid_department_ids,omitempty"` // 不合法的部门 ID 列表 InvalidOpenIDs []string `json:"invalid_open_ids,omitempty"` // 不合法的 open_id 列表 InvalidUserIDs []string `json:"invalid_user_ids,omitempty"` // 不合法的 user_id 列表(对应V3接口的invalid_employee_ids) }
BatchSendOldRawMessageResp ...
type BatchSetSheetStyleReq ¶
type BatchSetSheetStyleReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Data []*BatchSetSheetStyleReqData `json:"data,omitempty"` // 请求数据 }
BatchSetSheetStyleReq ...
type BatchSetSheetStyleReqData ¶
type BatchSetSheetStyleReqData struct { Ranges []string `json:"ranges,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Style *BatchSetSheetStyleReqDataStyle `json:"style,omitempty"` // 需要更新的样式 }
BatchSetSheetStyleReqData ...
type BatchSetSheetStyleReqDataStyle ¶
type BatchSetSheetStyleReqDataStyle struct { Font *BatchSetSheetStyleReqDataStyleFont `json:"font,omitempty"` // 字体相关样式 TextDecoration *int64 `json:"textDecoration,omitempty"` // 文本装饰 ,0 默认,1 下划线,2 删除线 ,3 下划线和删除线 Formatter *string `json:"formatter,omitempty"` // 数字格式,详见附录 [sheet支持数字格式类型](https://open.feishu.cn/document/ukTMukTMukTM/uMjM2UjLzIjN14yMyYTN) HAlign *int64 `json:"hAlign,omitempty"` // 水平对齐,0 左对齐,1 中对齐,2 右对齐 VAlign *int64 `json:"vAlign,omitempty"` // 垂直对齐, 0 上对齐,1 中对齐, 2 下对齐 ForeColor *string `json:"foreColor,omitempty"` // 字体颜色 BackColor *string `json:"backColor,omitempty"` // 背景颜色 BorderType *string `json:"borderType,omitempty"` // 边框类型,可选 "FULL_BORDER","OUTER_BORDER","INNER_BORDER","NO_BORDER","LEFT_BORDER","RIGHT_BORDER","TOP_BORDER","BOTTOM_BORDER" BorderColor *string `json:"borderColor,omitempty"` // 边框颜色 Clean *bool `json:"clean,omitempty"` // 是否清除所有格式,默认 false }
BatchSetSheetStyleReqDataStyle ...
type BatchSetSheetStyleReqDataStyleFont ¶
type BatchSetSheetStyleReqDataStyleFont struct { Bold *bool `json:"bold,omitempty"` // 是否加粗 Italic *bool `json:"italic,omitempty"` // 是否斜体 FontSize *string `json:"fontSize,omitempty"` // 字体大小 字号大小为9~36 行距固定为1.5,如:10pt/1.5 }
BatchSetSheetStyleReqDataStyleFont ...
type BatchSetSheetStyleResp ¶
type BatchSetSheetStyleResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token TotalUpdatedRows int64 `json:"totalUpdatedRows,omitempty"` // 设置样式的总行数 TotalUpdatedColumns int64 `json:"totalUpdatedColumns,omitempty"` // 设置样式的总列数 TotalUpdatedCells int64 `json:"totalUpdatedCells,omitempty"` // 设置样式的单元格总数 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 Responses []*BatchSetSheetStyleRespResponse `json:"responses,omitempty"` // 各个范围的设置单元格样式的范围、行列数等 }
BatchSetSheetStyleResp ...
type BatchSetSheetStyleRespResponse ¶
type BatchSetSheetStyleRespResponse struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 设置样式的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 设置样式的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 设置样式的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 设置样式的单元格数 }
BatchSetSheetStyleRespResponse ...
type BatchSetSheetValueReq ¶
type BatchSetSheetValueReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRanges []*BatchSetSheetValueReqValueRange `json:"valueRanges,omitempty"` // 需要更新的多个范围 }
BatchSetSheetValueReq ...
type BatchSetSheetValueReqValueRange ¶
type BatchSetSheetValueReqValueRange struct { Range string `json:"range,omitempty"` // 更新范围,包含 sheetId 与单元格范围两部分,目前支持三种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview)。range所表示的范围需要大于等于values占用的范围。 Values [][]SheetContent `json:"values,omitempty"` // 需要写入的值,如要写入公式、超链接、email、@人等,可详看附录[sheet 支持写入数据类型](https://open.feishu.cn/document/ukTMukTMukTM/ugjN1UjL4YTN14CO2UTN) }
BatchSetSheetValueReqValueRange ...
type BatchSetSheetValueResp ¶
type BatchSetSheetValueResp struct { Responses []*BatchSetSheetValueRespResponse `json:"responses,omitempty"` // 响应 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token }
BatchSetSheetValueResp ...
type BatchSetSheetValueRespResponse ¶
type BatchSetSheetValueRespResponse struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 写入的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 写入的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 写入的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 写入的单元格总数 }
BatchSetSheetValueRespResponse ...
type BatchUpdateBitableRecordReq ¶
type BatchUpdateBitableRecordReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" Records []*BatchUpdateBitableRecordReqRecord `json:"records,omitempty"` // 记录 }
BatchUpdateBitableRecordReq ...
type BatchUpdateBitableRecordReqRecord ¶
type BatchUpdateBitableRecordReqRecord struct { RecordID *string `json:"record_id,omitempty"` // 记录 id, 示例值:"recqwIwhc6" Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
BatchUpdateBitableRecordReqRecord ...
type BatchUpdateBitableRecordResp ¶
type BatchUpdateBitableRecordResp struct {
Records []*BatchUpdateBitableRecordRespRecord `json:"records,omitempty"` // 记录
}
BatchUpdateBitableRecordResp ...
type BatchUpdateBitableRecordRespRecord ¶
type BatchUpdateBitableRecordRespRecord struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
BatchUpdateBitableRecordRespRecord ...
type BatchUpdateSheetReq ¶
type BatchUpdateSheetReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Requests []*BatchUpdateSheetReqRequest `json:"requests,omitempty"` // 请求操作,支持增、删、复制工作表 ,三个操作选一个 }
BatchUpdateSheetReq ...
type BatchUpdateSheetReqRequest ¶
type BatchUpdateSheetReqRequest struct { UpdateSheet *BatchUpdateSheetReqRequestUpdateSheet `json:"updateSheet,omitempty"` AddSheet *BatchUpdateSheetReqRequestAddSheet `json:"addSheet,omitempty"` // 增加工作表 CopySheet *BatchUpdateSheetReqRequestCopySheet `json:"copySheet,omitempty"` // 复制工作表 DeleteSheet *BatchUpdateSheetReqRequestDeleteSheet `json:"deleteSheet,omitempty"` // 删除 sheet }
BatchUpdateSheetReqRequest ...
type BatchUpdateSheetReqRequestAddSheet ¶
type BatchUpdateSheetReqRequestAddSheet struct {
Properties *BatchUpdateSheetReqRequestAddSheetProperties `json:"properties,omitempty"` // 工作表属性
}
BatchUpdateSheetReqRequestAddSheet ...
type BatchUpdateSheetReqRequestAddSheetProperties ¶
type BatchUpdateSheetReqRequestAddSheetProperties struct { Title string `json:"title,omitempty"` // 工作表标题 Index *int64 `json:"index,omitempty"` // 新增工作表的位置,不填默认往前增加工作表 }
BatchUpdateSheetReqRequestAddSheetProperties ...
type BatchUpdateSheetReqRequestCopySheet ¶
type BatchUpdateSheetReqRequestCopySheet struct { Source *BatchUpdateSheetReqRequestCopySheetSource `json:"source,omitempty"` // 需要复制的工作表资源 Destination *BatchUpdateSheetReqRequestCopySheetDestination `json:"destination,omitempty"` // 工作表 的属性 }
BatchUpdateSheetReqRequestCopySheet ...
type BatchUpdateSheetReqRequestCopySheetDestination ¶
type BatchUpdateSheetReqRequestCopySheetDestination struct {
Title *string `json:"title,omitempty"` // 目标工作表名称。不填为 old_title(副本_0)
}
BatchUpdateSheetReqRequestCopySheetDestination ...
type BatchUpdateSheetReqRequestCopySheetSource ¶
type BatchUpdateSheetReqRequestCopySheetSource struct {
SheetID string `json:"sheetId,omitempty"` // 源 sheetId
}
BatchUpdateSheetReqRequestCopySheetSource ...
type BatchUpdateSheetReqRequestDeleteSheet ¶
type BatchUpdateSheetReqRequestDeleteSheet struct {
SheetID string `json:"sheetId,omitempty"` // sheetId
}
BatchUpdateSheetReqRequestDeleteSheet ...
type BatchUpdateSheetReqRequestUpdateSheet ¶
type BatchUpdateSheetReqRequestUpdateSheet struct {
Properties *BatchUpdateSheetReqRequestUpdateSheetProperties `json:"properties,omitempty"` // 工作表属性
}
BatchUpdateSheetReqRequestUpdateSheet ...
type BatchUpdateSheetReqRequestUpdateSheetProperties ¶
type BatchUpdateSheetReqRequestUpdateSheetProperties struct { SheetID string `json:"sheetId,omitempty"` // read-only ,作为表格唯一识别参数 Title *string `json:"title,omitempty"` // 更改工作表标题 Index *int64 `json:"index,omitempty"` // 移动工作表的位置 Hidden *bool `json:"hidden,omitempty"` // 隐藏表格,默认 false FrozenRowCount *int64 `json:"frozenRowCount,omitempty"` // 冻结行数,小于等于工作表的最大行数,0表示取消冻结行 FrozenColCount *int64 `json:"frozenColCount,omitempty"` // 该 sheet 的冻结列数,小于等于工作表的最大列数,0表示取消冻结列 Protect *BatchUpdateSheetReqRequestUpdateSheetPropertiesProtect `json:"protect,omitempty"` // 锁定表格 }
BatchUpdateSheetReqRequestUpdateSheetProperties ...
type BatchUpdateSheetReqRequestUpdateSheetPropertiesProtect ¶
type BatchUpdateSheetReqRequestUpdateSheetPropertiesProtect struct { Lock string `json:"lock,omitempty"` // LOCK 、UNLOCK 上锁/解锁 LockInfo *string `json:"lockInfo,omitempty"` // 锁定信息 UserIDs []string `json:"userIDs,omitempty"` // 除了本人与所有者外,添加其他的可编辑人员,user_id_type不为空时使用该字段 }
BatchUpdateSheetReqRequestUpdateSheetPropertiesProtect ...
type BatchUpdateSheetResp ¶
type BatchUpdateSheetResp struct {
Replies []*BatchUpdateSheetRespReply `json:"replies,omitempty"` // 返回本次相关操作工作表的结果
}
BatchUpdateSheetResp ...
type BatchUpdateSheetRespReply ¶
type BatchUpdateSheetRespReply struct { AddSheet *BatchUpdateSheetRespReplyAddSheet `json:"addSheet,omitempty"` // 增加/复制工作表的属性 CopySheet *BatchUpdateSheetRespReplyCopySheet `json:"copySheet,omitempty"` // 增加/复制工作表的属性 UpdateSheet *BatchUpdateSheetRespReplyUpdateSheet `json:"updateSheet,omitempty"` DeleteSheet *BatchUpdateSheetRespReplyDeleteSheet `json:"deleteSheet,omitempty"` // 删除工作表 }
BatchUpdateSheetRespReply ...
type BatchUpdateSheetRespReplyAddSheet ¶
type BatchUpdateSheetRespReplyAddSheet struct {
Properties *BatchUpdateSheetRespReplyAddSheetProperties `json:"properties,omitempty"` // 表格属性
}
BatchUpdateSheetRespReplyAddSheet ...
type BatchUpdateSheetRespReplyAddSheetProperties ¶
type BatchUpdateSheetRespReplyAddSheetProperties struct { SheetID string `json:"sheetId,omitempty"` // sheetId Title string `json:"title,omitempty"` // 工作表标题 Index int64 `json:"index,omitempty"` // 工作表位置 }
BatchUpdateSheetRespReplyAddSheetProperties ...
type BatchUpdateSheetRespReplyCopySheet ¶
type BatchUpdateSheetRespReplyCopySheet struct {
Properties *BatchUpdateSheetRespReplyCopySheetProperties `json:"properties,omitempty"` // 表格属性
}
BatchUpdateSheetRespReplyCopySheet ...
type BatchUpdateSheetRespReplyCopySheetProperties ¶
type BatchUpdateSheetRespReplyCopySheetProperties struct { SheetID string `json:"sheetId,omitempty"` // sheetId Title string `json:"title,omitempty"` // 工作表标题 Index int64 `json:"index,omitempty"` // 工作表位置 }
BatchUpdateSheetRespReplyCopySheetProperties ...
type BatchUpdateSheetRespReplyDeleteSheet ¶
type BatchUpdateSheetRespReplyDeleteSheet struct { Result bool `json:"result,omitempty"` // 删除工作表是否成功 SheetID string `json:"sheetId,omitempty"` // sheetId }
BatchUpdateSheetRespReplyDeleteSheet ...
type BatchUpdateSheetRespReplyUpdateSheet ¶
type BatchUpdateSheetRespReplyUpdateSheet struct {
Properties *BatchUpdateSheetRespReplyUpdateSheetProperties `json:"properties,omitempty"` // 工作表属性
}
BatchUpdateSheetRespReplyUpdateSheet ...
type BatchUpdateSheetRespReplyUpdateSheetProperties ¶
type BatchUpdateSheetRespReplyUpdateSheetProperties struct { SheetID string `json:"sheetId,omitempty"` // 表格的 sheetId Title string `json:"title,omitempty"` // 更新的工作表标题 Index int64 `json:"index,omitempty"` // 移动工作表的位置 Hidden bool `json:"hidden,omitempty"` // 是否隐藏表格 FrozenRowCount int64 `json:"frozenRowCount,omitempty"` // 冻结行数 FrozenColCount int64 `json:"frozenColCount,omitempty"` // 冻结列数 Protect *BatchUpdateSheetRespReplyUpdateSheetPropertiesProtect `json:"protect,omitempty"` // 保护工作表 }
BatchUpdateSheetRespReplyUpdateSheetProperties ...
type BatchUpdateSheetRespReplyUpdateSheetPropertiesProtect ¶
type BatchUpdateSheetRespReplyUpdateSheetPropertiesProtect struct { Lock string `json:"lock,omitempty"` // LOCK 、UNLOCK 上锁/解锁 LockInfo string `json:"lockInfo,omitempty"` // 锁定信息 UserIDs []string `json:"userIDs,omitempty"` // 除了本人与所有者外,添加其他的可编辑人员,user_id_type不为空时使用该字段 }
BatchUpdateSheetRespReplyUpdateSheetPropertiesProtect ...
type BindContactUnitDepartmentReq ¶
type BindContactUnitDepartmentReq struct { UnitID string `json:"unit_id,omitempty"` // 单位ID, 示例值:"BU121" DepartmentID string `json:"department_id,omitempty"` // 单位关联的部门ID, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" DepartmentIDType *DepartmentIDType `json:"department_id_type,omitempty"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` }
BindContactUnitDepartmentReq ...
type BindContactUnitDepartmentResp ¶
type BindContactUnitDepartmentResp struct{}
BindContactUnitDepartmentResp ...
type BitableService ¶
type BitableService struct {
// contains filtered or unexported fields
}
func (*BitableService) BatchCreateBitableRecord ¶
func (r *BitableService) BatchCreateBitableRecord(ctx context.Context, request *BatchCreateBitableRecordReq, options ...MethodOptionFunc) (*BatchCreateBitableRecordResp, *Response, error)
BatchCreateBitableRecord 该接口用于在数据表中新增多条记录
func (*BitableService) BatchCreateBitableTable ¶
func (r *BitableService) BatchCreateBitableTable(ctx context.Context, request *BatchCreateBitableTableReq, options ...MethodOptionFunc) (*BatchCreateBitableTableResp, *Response, error)
BatchCreateBitableTable 新增多个数据表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/batch_create
func (*BitableService) BatchDeleteBitableRecord ¶
func (r *BitableService) BatchDeleteBitableRecord(ctx context.Context, request *BatchDeleteBitableRecordReq, options ...MethodOptionFunc) (*BatchDeleteBitableRecordResp, *Response, error)
BatchDeleteBitableRecord 该接口用于删除数据表中现有的多条记录
func (*BitableService) BatchDeleteBitableTable ¶
func (r *BitableService) BatchDeleteBitableTable(ctx context.Context, request *BatchDeleteBitableTableReq, options ...MethodOptionFunc) (*BatchDeleteBitableTableResp, *Response, error)
BatchDeleteBitableTable 删除多个数据表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/batch_delete
func (*BitableService) BatchUpdateBitableRecord ¶
func (r *BitableService) BatchUpdateBitableRecord(ctx context.Context, request *BatchUpdateBitableRecordReq, options ...MethodOptionFunc) (*BatchUpdateBitableRecordResp, *Response, error)
BatchUpdateBitableRecord 该接口用于更新数据表中的多条记录
func (*BitableService) CreateBitableField ¶
func (r *BitableService) CreateBitableField(ctx context.Context, request *CreateBitableFieldReq, options ...MethodOptionFunc) (*CreateBitableFieldResp, *Response, error)
CreateBitableField 该接口用于在数据表中新增一个字段
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/create
func (*BitableService) CreateBitableRecord ¶
func (r *BitableService) CreateBitableRecord(ctx context.Context, request *CreateBitableRecordReq, options ...MethodOptionFunc) (*CreateBitableRecordResp, *Response, error)
CreateBitableRecord 该接口用于在数据表中新增一条记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/create
func (*BitableService) CreateBitableTable ¶
func (r *BitableService) CreateBitableTable(ctx context.Context, request *CreateBitableTableReq, options ...MethodOptionFunc) (*CreateBitableTableResp, *Response, error)
CreateBitableTable 新增一个数据表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/create
func (*BitableService) CreateBitableView ¶
func (r *BitableService) CreateBitableView(ctx context.Context, request *CreateBitableViewReq, options ...MethodOptionFunc) (*CreateBitableViewResp, *Response, error)
CreateBitableView 在数据表中新增一个视图
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-view/create
func (*BitableService) DeleteBitableField ¶
func (r *BitableService) DeleteBitableField(ctx context.Context, request *DeleteBitableFieldReq, options ...MethodOptionFunc) (*DeleteBitableFieldResp, *Response, error)
DeleteBitableField 该接口用于在数据表中删除一个字段
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/delete
func (*BitableService) DeleteBitableRecord ¶
func (r *BitableService) DeleteBitableRecord(ctx context.Context, request *DeleteBitableRecordReq, options ...MethodOptionFunc) (*DeleteBitableRecordResp, *Response, error)
DeleteBitableRecord 该接口用于删除数据表中的一条记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/delete
func (*BitableService) DeleteBitableTable ¶
func (r *BitableService) DeleteBitableTable(ctx context.Context, request *DeleteBitableTableReq, options ...MethodOptionFunc) (*DeleteBitableTableResp, *Response, error)
DeleteBitableTable 删除一个数据表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/delete
func (*BitableService) DeleteBitableView ¶
func (r *BitableService) DeleteBitableView(ctx context.Context, request *DeleteBitableViewReq, options ...MethodOptionFunc) (*DeleteBitableViewResp, *Response, error)
DeleteBitableView 删除数据表中的视图
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-view/delete
func (*BitableService) GetBitableFieldList ¶
func (r *BitableService) GetBitableFieldList(ctx context.Context, request *GetBitableFieldListReq, options ...MethodOptionFunc) (*GetBitableFieldListResp, *Response, error)
GetBitableFieldList 根据 app_token 和 table_id,获取数据表的所有字段
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/list
func (*BitableService) GetBitableMeta ¶
func (r *BitableService) GetBitableMeta(ctx context.Context, request *GetBitableMetaReq, options ...MethodOptionFunc) (*GetBitableMetaResp, *Response, error)
GetBitableMeta 通过 app_token 获取多维表格元数据
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app/get
func (*BitableService) GetBitableRecord ¶
func (r *BitableService) GetBitableRecord(ctx context.Context, request *GetBitableRecordReq, options ...MethodOptionFunc) (*GetBitableRecordResp, *Response, error)
GetBitableRecord 该接口用于根据 record_id 的值检索现有记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/get
func (*BitableService) GetBitableRecordList ¶
func (r *BitableService) GetBitableRecordList(ctx context.Context, request *GetBitableRecordListReq, options ...MethodOptionFunc) (*GetBitableRecordListResp, *Response, error)
GetBitableRecordList 该接口用于列出数据表中的现有记录,单次最多列出 100 行记录,支持分页获取。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/list
func (*BitableService) GetBitableTableList ¶
func (r *BitableService) GetBitableTableList(ctx context.Context, request *GetBitableTableListReq, options ...MethodOptionFunc) (*GetBitableTableListResp, *Response, error)
GetBitableTableList 根据 app_token,获取多维表格下的所有数据表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/list
func (*BitableService) GetBitableViewList ¶
func (r *BitableService) GetBitableViewList(ctx context.Context, request *GetBitableViewListReq, options ...MethodOptionFunc) (*GetBitableViewListResp, *Response, error)
GetBitableViewList 根据 app_token 和 table_id,获取数据表的所有视图
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-view/list
func (*BitableService) UpdateBitableField ¶
func (r *BitableService) UpdateBitableField(ctx context.Context, request *UpdateBitableFieldReq, options ...MethodOptionFunc) (*UpdateBitableFieldResp, *Response, error)
UpdateBitableField 该接口用于在数据表中更新一个字段
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/update
func (*BitableService) UpdateBitableRecord ¶
func (r *BitableService) UpdateBitableRecord(ctx context.Context, request *UpdateBitableRecordReq, options ...MethodOptionFunc) (*UpdateBitableRecordResp, *Response, error)
UpdateBitableRecord 该接口用于更新数据表中的一条记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/update
type BotService ¶
type BotService struct {
// contains filtered or unexported fields
}
func (*BotService) AddBotToChat ¶
func (r *BotService) AddBotToChat(ctx context.Context, request *AddBotToChatReq, options ...MethodOptionFunc) (*AddBotToChatResp, *Response, error)
AddBotToChat
为了更好地提升该接口的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/create) 拉机器人进群<br> **权限说明** :需要启用机器人能力;机器人的owner需要已经在群里
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYDO04iN4QjL2gDN
func (*BotService) GetBotInfo ¶
func (r *BotService) GetBotInfo(ctx context.Context, request *GetBotInfoReq, options ...MethodOptionFunc) (*GetBotInfoResp, *Response, error)
GetBotInfo 获取机器人的基本信息。
需要启用机器人能力
doc: https://open.feishu.cn/document/ukTMukTMukTM/uAjMxEjLwITMx4CMyETM
type CalendarEventAttendeeType ¶
type CalendarEventAttendeeType string
参与人类型
const ( CalendarEventAttendeeTypeUser CalendarEventAttendeeType = "user" // 用户 CalendarEventAttendeeTypeChat CalendarEventAttendeeType = "chat" // 群组 CalendarEventAttendeeTypeResource CalendarEventAttendeeType = "resource" // 会议室 CalendarEventAttendeeTypeThirdParty CalendarEventAttendeeType = "user" // 邮箱 )
CalendarEventAttendeeTypeUser ...
func CalendarEventAttendeeTypePtr ¶
func CalendarEventAttendeeTypePtr(v CalendarEventAttendeeType) *CalendarEventAttendeeType
CalendarEventAttendeeTypePtr ...
type CalendarPermission ¶
type CalendarPermission string
CalendarPermission ...
func CalendarPermissionPtr ¶
func CalendarPermissionPtr(v CalendarPermission) *CalendarPermission
CalendarPermissionPtr ...
type CalendarRole ¶
type CalendarRole string
CalendarRole 对日历的访问权限
const ( CalendarRoleUnknown CalendarRole = "unknown" // 未知权限 CalendarRoleFreeBusyReader CalendarRole = "free_busy_reader" // 游客,只能看到忙碌/空闲信息 CalendarRoleReader CalendarRole = "reader" // 订阅者,查看所有日程详情 CalendarRoleWriter CalendarRole = "writer" // 编辑者,创建及修改日程 CalendarRoleOwner CalendarRole = "owner" // 管理员,管理日历及共享设置 )
CalendarRoleUnknown ...
type CalendarService ¶
type CalendarService struct {
// contains filtered or unexported fields
}
func (*CalendarService) CreateCalendar ¶
func (r *CalendarService) CreateCalendar(ctx context.Context, request *CreateCalendarReq, options ...MethodOptionFunc) (*CreateCalendarResp, *Response, error)
CreateCalendar
该接口用于为当前身份(应用 / 用户)创建一个共享日历。 身份由 Header Authorization 的 Token 类型决定。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/create
func (*CalendarService) CreateCalendarACL ¶
func (r *CalendarService) CreateCalendarACL(ctx context.Context, request *CreateCalendarACLReq, options ...MethodOptionFunc) (*CreateCalendarACLResp, *Response, error)
CreateCalendarACL
该接口用于以当前身份(应用 / 用户)给日历添加访问控制权限,即日历成员。 身份由 Header Authorization 的 Token 类型决定。 当前身份需要有日历的 owner 权限,并且日历的类型只能为 primary 或 shared。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/create
func (*CalendarService) CreateCalendarEvent ¶
func (r *CalendarService) CreateCalendarEvent(ctx context.Context, request *CreateCalendarEventReq, options ...MethodOptionFunc) (*CreateCalendarEventResp, *Response, error)
CreateCalendarEvent
该接口用于以当前身份(应用 / 用户)在日历上创建一个日程。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/create
func (*CalendarService) CreateCalendarEventAttendee ¶
func (r *CalendarService) CreateCalendarEventAttendee(ctx context.Context, request *CreateCalendarEventAttendeeReq, options ...MethodOptionFunc) (*CreateCalendarEventAttendeeResp, *Response, error)
CreateCalendarEventAttendee 批量给日程添加参与人。
- 当前身份需要有日历的 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 - 当前身份需要是日程的组织者,或日程设置了「参与人可邀请其它参与人」权限。 - 新添加的日程参与人必须与日程组织者在同一个企业内。 - 使用该接口添加会议室后,会议室会进入异步的预约流程,请求结束不代表会议室预约成功,需后续再查询预约状态。 - 每个日程最多只能有 3000 名参与人。
func (*CalendarService) CreateCalendarExchangeBinding ¶
func (r *CalendarService) CreateCalendarExchangeBinding(ctx context.Context, request *CreateCalendarExchangeBindingReq, options ...MethodOptionFunc) (*CreateCalendarExchangeBindingResp, *Response, error)
CreateCalendarExchangeBinding 本接口将Exchange账户绑定到飞书账户,进而支持Exchange日历的导入
操作用户需要是企业超级管理员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/create
func (*CalendarService) CreateCalendarTimeoffEvent ¶
func (r *CalendarService) CreateCalendarTimeoffEvent(ctx context.Context, request *CreateCalendarTimeoffEventReq, options ...MethodOptionFunc) (*CreateCalendarTimeoffEventResp, *Response, error)
CreateCalendarTimeoffEvent 为指定用户创建一个请假日程,可以是一个普通请假日程,也可以是一个全天日程。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/create
func (*CalendarService) DeleteCalendar ¶
func (r *CalendarService) DeleteCalendar(ctx context.Context, request *DeleteCalendarReq, options ...MethodOptionFunc) (*DeleteCalendarResp, *Response, error)
DeleteCalendar
该接口用于以当前身份(应用 / 用户)删除一个共享日历。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历具有 owner 权限。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/delete
func (*CalendarService) DeleteCalendarACL ¶
func (r *CalendarService) DeleteCalendarACL(ctx context.Context, request *DeleteCalendarACLReq, options ...MethodOptionFunc) (*DeleteCalendarACLResp, *Response, error)
DeleteCalendarACL
该接口用于以当前身份(应用 / 用户)删除日历的控制权限,即日历成员。 身份由 Header Authorization 的 Token 类型决定。 当前身份需要有日历的 owner 权限,并且日历的类型只能为 primary 或 shared。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/delete
func (*CalendarService) DeleteCalendarEvent ¶
func (r *CalendarService) DeleteCalendarEvent(ctx context.Context, request *DeleteCalendarEventReq, options ...MethodOptionFunc) (*DeleteCalendarEventResp, *Response, error)
DeleteCalendarEvent
该接口用于以当前身份(应用 / 用户)删除日历上的一个日程。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 当前身份必须是日程的组织者。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/delete
func (*CalendarService) DeleteCalendarEventAttendee ¶
func (r *CalendarService) DeleteCalendarEventAttendee(ctx context.Context, request *DeleteCalendarEventAttendeeReq, options ...MethodOptionFunc) (*DeleteCalendarEventAttendeeResp, *Response, error)
DeleteCalendarEventAttendee 批量删除日程的参与人。
- 当前身份需要有日历的 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 - 当前身份需要是日程的组织者。
func (*CalendarService) DeleteCalendarExchangeBinding ¶
func (r *CalendarService) DeleteCalendarExchangeBinding(ctx context.Context, request *DeleteCalendarExchangeBindingReq, options ...MethodOptionFunc) (*DeleteCalendarExchangeBindingResp, *Response, error)
DeleteCalendarExchangeBinding 本接口解除Exchange账户和飞书账户的绑定关系,Exchange账户解除绑定后才能绑定其他飞书账户
操作用户需要是企业超级管理员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/delete
func (*CalendarService) DeleteCalendarTimeoffEvent ¶
func (r *CalendarService) DeleteCalendarTimeoffEvent(ctx context.Context, request *DeleteCalendarTimeoffEventReq, options ...MethodOptionFunc) (*DeleteCalendarTimeoffEventResp, *Response, error)
DeleteCalendarTimeoffEvent 删除一个指定的请假日程,请假日程删除,用户个人签名页的请假信息也会消失。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/delete
func (*CalendarService) GenerateCaldavConf ¶
func (r *CalendarService) GenerateCaldavConf(ctx context.Context, request *GenerateCaldavConfReq, options ...MethodOptionFunc) (*GenerateCaldavConfResp, *Response, error)
GenerateCaldavConf 用于为当前用户生成一个CalDAV账号密码,用于将飞书日历信息同步到本地设备日历。
func (*CalendarService) GetCalendar ¶
func (r *CalendarService) GetCalendar(ctx context.Context, request *GetCalendarReq, options ...MethodOptionFunc) (*GetCalendarResp, *Response, error)
GetCalendar
该接口用于以当前身份(应用 / 用户)根据日历 ID 获取日历信息。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历有访问权限。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get
func (*CalendarService) GetCalendarACLList ¶
func (r *CalendarService) GetCalendarACLList(ctx context.Context, request *GetCalendarACLListReq, options ...MethodOptionFunc) (*GetCalendarACLListResp, *Response, error)
GetCalendarACLList
该接口用于以当前身份(应用 / 用户)获取日历的控制权限列表。 身份由 Header Authorization 的 Token 类型决定。 当前身份需要有日历的 owner 权限,并且日历的类型只能为 primary 或 shared。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/list
func (*CalendarService) GetCalendarEvent ¶
func (r *CalendarService) GetCalendarEvent(ctx context.Context, request *GetCalendarEventReq, options ...MethodOptionFunc) (*GetCalendarEventResp, *Response, error)
GetCalendarEvent 该接口用于以当前身份(应用 / 用户)获取日历上的一个日程。
当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/get
func (*CalendarService) GetCalendarEventAttendeeChatMemberList ¶
func (r *CalendarService) GetCalendarEventAttendeeChatMemberList(ctx context.Context, request *GetCalendarEventAttendeeChatMemberListReq, options ...MethodOptionFunc) (*GetCalendarEventAttendeeChatMemberListResp, *Response, error)
GetCalendarEventAttendeeChatMemberList 获取日程的群参与人的群成员列表。
- 当前身份必须有权限查看日程的参与人列表。 - 当前身份必须在群聊中,或有权限查看群成员列表。
func (*CalendarService) GetCalendarEventAttendeeList ¶
func (r *CalendarService) GetCalendarEventAttendeeList(ctx context.Context, request *GetCalendarEventAttendeeListReq, options ...MethodOptionFunc) (*GetCalendarEventAttendeeListResp, *Response, error)
GetCalendarEventAttendeeList 获取日程的参与人列表,若参与者列表中有群组,请使用 [获取参与人群成员列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee-chat_member/list) 。
- 当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 - 当前身份必须有权限查看日程的参与人列表。
func (*CalendarService) GetCalendarEventList ¶
func (r *CalendarService) GetCalendarEventList(ctx context.Context, request *GetCalendarEventListReq, options ...MethodOptionFunc) (*GetCalendarEventListResp, *Response, error)
GetCalendarEventList 该接口用于以当前身份(应用 / 用户)获取日历下的日程列表。
- 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 - 仅支持primary、shared和resource类型的日历获取日程列表。 - 调用时首先使用 page_token 分页拉取存量数据,之后使用 sync_token 增量同步变更数据。 - 为了确保调用方日程同步数据的一致性,在使用sync_token时,不能同时使用start_time和end_time,否则可能造成日程数据缺失。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/list
func (*CalendarService) GetCalendarExchangeBinding ¶
func (r *CalendarService) GetCalendarExchangeBinding(ctx context.Context, request *GetCalendarExchangeBindingReq, options ...MethodOptionFunc) (*GetCalendarExchangeBindingResp, *Response, error)
GetCalendarExchangeBinding 本接口获取Exchange账户的绑定状态,包括exchange日历是否同步完成。
操作用户需要是企业超级管理员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/get
func (*CalendarService) GetCalendarFreeBusyList ¶
func (r *CalendarService) GetCalendarFreeBusyList(ctx context.Context, request *GetCalendarFreeBusyListReq, options ...MethodOptionFunc) (*GetCalendarFreeBusyListResp, *Response, error)
GetCalendarFreeBusyList 查询用户主日历或会议室的忙闲信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/freebusy/list
func (*CalendarService) GetCalendarList ¶
func (r *CalendarService) GetCalendarList(ctx context.Context, request *GetCalendarListReq, options ...MethodOptionFunc) (*GetCalendarListResp, *Response, error)
GetCalendarList
该接口用于分页获得当前身份(应用 / 用户)的日历列表。 身份由 Header Authorization 的 Token 类型决定。 调用时首先使用 page_token 分页拉取存量数据,之后使用 sync_token 增量同步变更数据。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/list
func (*CalendarService) SearchCalendar ¶
func (r *CalendarService) SearchCalendar(ctx context.Context, request *SearchCalendarReq, options ...MethodOptionFunc) (*SearchCalendarResp, *Response, error)
SearchCalendar 该接口用于通过关键字查询公共日历或用户主日历。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/search
func (*CalendarService) SearchCalendarEvent ¶
func (r *CalendarService) SearchCalendarEvent(ctx context.Context, request *SearchCalendarEventReq, options ...MethodOptionFunc) (*SearchCalendarEventResp, *Response, error)
SearchCalendarEvent
该接口用于以用户身份搜索某日历下的相关日程。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/search
func (*CalendarService) SubscribeCalendar ¶
func (r *CalendarService) SubscribeCalendar(ctx context.Context, request *SubscribeCalendarReq, options ...MethodOptionFunc) (*SubscribeCalendarResp, *Response, error)
SubscribeCalendar
该接口用于以当前身份(应用 / 用户)订阅某个日历。 身份由 Header Authorization 的 Token 类型决定。 仅可订阅类型为 primary 或 shared 的公开日历。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscribe
func (*CalendarService) SubscribeCalendarACL ¶
func (r *CalendarService) SubscribeCalendarACL(ctx context.Context, request *SubscribeCalendarACLReq, options ...MethodOptionFunc) (*SubscribeCalendarACLResp, *Response, error)
SubscribeCalendarACL 该接口用于以用户身份订阅指定日历下的日历成员变更事件。
用户必须对日历有访问权限。
func (*CalendarService) SubscribeCalendarChangeEvent ¶
func (r *CalendarService) SubscribeCalendarChangeEvent(ctx context.Context, request *SubscribeCalendarChangeEventReq, options ...MethodOptionFunc) (*SubscribeCalendarChangeEventResp, *Response, error)
SubscribeCalendarChangeEvent 该接口用于以用户身份订阅当前身份下日历列表中的所有日历变更。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscription
func (*CalendarService) SubscribeCalendarEvent ¶
func (r *CalendarService) SubscribeCalendarEvent(ctx context.Context, request *SubscribeCalendarEventReq, options ...MethodOptionFunc) (*SubscribeCalendarEventResp, *Response, error)
SubscribeCalendarEvent 该接口用于以用户身份订阅指定日历下的日程变更事件。
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。
func (*CalendarService) UnsubscribeCalendar ¶
func (r *CalendarService) UnsubscribeCalendar(ctx context.Context, request *UnsubscribeCalendarReq, options ...MethodOptionFunc) (*UnsubscribeCalendarResp, *Response, error)
UnsubscribeCalendar
该接口用于以当前身份(应用 / 用户)取消对某日历的订阅状态。 身份由 Header Authorization 的 Token 类型决定。 仅可操作已经被当前身份订阅的日历。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/unsubscribe
func (*CalendarService) UpdateCalendar ¶
func (r *CalendarService) UpdateCalendar(ctx context.Context, request *UpdateCalendarReq, options ...MethodOptionFunc) (*UpdateCalendarResp, *Response, error)
UpdateCalendar
该接口用于以当前身份(应用 / 用户)修改日历信息。 身份由 Header Authorization 的 Token 类型决定。 当前身份对日历有 owner 权限时,可修改全局字段:summary, description, permission。 当前身份对日历不具有 owner 权限时,仅可修改对自己生效的字段:color, summary_alias。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/patch
func (*CalendarService) UpdateCalendarEvent ¶
func (r *CalendarService) UpdateCalendarEvent(ctx context.Context, request *UpdateCalendarEventReq, options ...MethodOptionFunc) (*UpdateCalendarEventResp, *Response, error)
UpdateCalendarEvent
该接口用于以当前身份(应用 / 用户)更新日历上的一个日程。 身份由 Header Authorization 的 Token 类型决定。 当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 当前身份为日程组织者时,可修改所有可编辑字段。 当前身份为日程参与者时,仅可编辑部分字段。(如:visibility, free_busy_status, color, reminders)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/patch
type CalendarType ¶
type CalendarType string
CalendarType ...
const ( CalendarTypeUnknown CalendarType = "unknown" // 未知类型 CalendarTypePrimary CalendarType = "primary" // 用户或应用的主日历 CalendarTypeGoogle CalendarType = "google" // 用户绑定的谷歌日历 CalendarTypeResource CalendarType = "resource" // 会议室日历 CalendarTypeExchange CalendarType = "exchange" // 用户绑定的Exchange日历 )
CalendarTypeUnknown ...
type CancelApprovalInstanceReq ¶
type CancelApprovalInstanceReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义Code InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code UserID string `json:"user_id,omitempty"` // 操作用户 OpenID string `json:"open_id,omitempty"` // 某个应用下用户的唯一标识,根据userID、openID、TenantId获得Lark用户。 NotifyStarter *bool `json:"notifyStarter,omitempty"` // 如果为true,撤回实例的时候会收到一条消息提醒。 }
CancelApprovalInstanceReq ...
type CancelApprovalInstanceResp ¶
type CancelApprovalInstanceResp struct{}
CancelApprovalInstanceResp ...
type CancelApproveHelpdeskNotificationReq ¶
type CancelApproveHelpdeskNotificationReq struct {
NotificationID string `path:"notification_id" json:"-"` // 唯一ID, 示例值:"6981801914270744596"
}
CancelApproveHelpdeskNotificationReq ...
type CancelApproveHelpdeskNotificationResp ¶
type CancelApproveHelpdeskNotificationResp struct{}
CancelApproveHelpdeskNotificationResp ...
type CancelSendHelpdeskNotificationReq ¶
type CancelSendHelpdeskNotificationReq struct { NotificationID string `path:"notification_id" json:"-"` // 唯一ID, 示例值:"6981801914270744596" IsRecall bool `json:"is_recall,omitempty"` // 是否召回已发送的消息,新人入职消息同样适用, 示例值:true }
CancelSendHelpdeskNotificationReq ...
type CancelSendHelpdeskNotificationResp ¶
type CancelSendHelpdeskNotificationResp struct{}
CancelSendHelpdeskNotificationResp ...
type ChatService ¶
type ChatService struct {
// contains filtered or unexported fields
}
func (*ChatService) AddChatMember ¶
func (r *ChatService) AddChatMember(ctx context.Context, request *AddChatMemberReq, options ...MethodOptionFunc) (*AddChatMemberResp, *Response, error)
AddChatMember 将用户或机器人拉入群聊。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 如需拉用户进群,需要机器人对用户有可见性 - 在开启 [仅群主和群管理员可添加群成员] 的设置时,仅有群主/管理员 或 创建群组且具备 [更新应用所创建群的群信息] 权限的机器人,可以拉用户或者机器人进群 - 在未开启 [仅群主和群管理员可添加群成员] 的设置时,所有群成员都可以拉用户或机器人进群 - 每次请求,最多拉50个用户或者5个机器人,并且群组最多容纳15个机器人 - 拉机器人入群请使用 [app_id]
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/create
func (*ChatService) CreateChat ¶
func (r *ChatService) CreateChat(ctx context.Context, request *CreateChatReq, options ...MethodOptionFunc) (*CreateChatResp, *Response, error)
CreateChat 创建群并设置群头像、群名、群描述等。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 本接口只支持创建群,如果需要拉用户或者机器人入群参考 [将用户或机器人拉入群聊](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/create)接口
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/create
func (*ChatService) CreateChatManager ¶
func (r *ChatService) CreateChatManager(ctx context.Context, request *CreateChatManagerReq, options ...MethodOptionFunc) (*CreateChatManagerResp, *Response, error)
CreateChatManager 将用户或机器人指定为群管理员。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 仅有群主可以指定群管理员 - 对于普通群,最多指定 10 个管理员 - 对于超大群,最多指定 20 个管理员 - 每次请求最多指定 50 个用户或者 5 个机器人 - 指定机器人类型的管理员请使用 [app_id]
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-managers/add_managers
func (*ChatService) DeleteChat ¶
func (r *ChatService) DeleteChat(ctx context.Context, request *DeleteChatReq, options ...MethodOptionFunc) (*DeleteChatResp, *Response, error)
DeleteChat 解散群组
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 如果使用tenant_access_token,需要机器人是群的创建者且具备[更新应用所创建群的群信息]权限才可解散群 - 如果使用user_access_token,需要对应的用户是群主才可解散群
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/delete
func (*ChatService) DeleteChatManager ¶
func (r *ChatService) DeleteChatManager(ctx context.Context, request *DeleteChatManagerReq, options ...MethodOptionFunc) (*DeleteChatManagerResp, *Response, error)
DeleteChatManager 删除指定的群管理员(用户或机器人)
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 仅有群主可以删除群管理员 - 每次请求最多指定 50 个用户或者 5 个机器人 - 删除机器人类型的管理员请使用 [app_id]
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-managers/delete_managers
func (*ChatService) DeleteChatMember ¶
func (r *ChatService) DeleteChatMember(ctx context.Context, request *DeleteChatMemberReq, options ...MethodOptionFunc) (*DeleteChatMemberResp, *Response, error)
DeleteChatMember 将用户或机器人移出群聊。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 用户或机器人在任何条件下均可移除自己出群(即主动退群) - 仅有群主/管理员 或 创建群组并且具备 [更新应用所创建群的群信息] 权限的机器人,可以移除其他用户或者机器人 - 每次请求,最多移除50个用户或者5个机器人 - 移除机器人请使用 [app_id]
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/delete
func (*ChatService) GetChat ¶
func (r *ChatService) GetChat(ctx context.Context, request *GetChatReq, options ...MethodOptionFunc) (*GetChatResp, *Response, error)
GetChat 获取群名称、群描述、群头像、群主 ID 等群基本信息。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 机器人或授权用户必须在群里(否则只会返回群名称、群头像等基本信息)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get
func (*ChatService) GetChatAnnouncement ¶
func (r *ChatService) GetChatAnnouncement(ctx context.Context, request *GetChatAnnouncementReq, options ...MethodOptionFunc) (*GetChatAnnouncementResp, *Response, error)
GetChatAnnouncement 获取会话中的群公告信息,公告信息格式与[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-announcement/get
func (*ChatService) GetChatListOfSelf ¶
func (r *ChatService) GetChatListOfSelf(ctx context.Context, request *GetChatListOfSelfReq, options ...MethodOptionFunc) (*GetChatListOfSelfResp, *Response, error)
GetChatListOfSelf 获取用户或者机器人所在群列表。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 查询参数**user_id_type**用于控制响应体中owner_id的类型 - 请注意区分本接口和[获取群信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get)的请求URL。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/list
func (*ChatService) GetChatMemberList ¶
func (r *ChatService) GetChatMemberList(ctx context.Context, request *GetChatMemberListReq, options ...MethodOptionFunc) (*GetChatMemberListResp, *Response, error)
GetChatMemberList 如果用户在群中,则返回该群的成员列表。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 该接口不会返回群内的机器人成员 - 由于返回的群成员列表会过滤掉机器人成员,因此返回的群成员个数可能会小于指定的page_size - 如果有同一时间加入群的群成员,会一次性返回,这会导致返回的群成员个数可能会大于指定的page_size
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/get
func (*ChatService) GetChatModeration ¶
func (r *ChatService) GetChatModeration(ctx context.Context, request *GetChatModerationReq, options ...MethodOptionFunc) (*GetChatModerationResp, *Response, error)
GetChatModeration 获取群发言模式、可发言用户名单等
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/uQjL04CN/uYTMuYTMuYTM) - 机器人 或 授权用户 必须在群里
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-moderation/get
func (*ChatService) GetChatOld ¶
func (r *ChatService) GetChatOld(ctx context.Context, request *GetChatOldReq, options ...MethodOptionFunc) (*GetChatOldResp, *Response, error)
GetChatOld
为了更好地提升该接口的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get) 获取群名称、群主 ID、成员列表 ID 等群基本信息。 - 需要启用机器人能力;机器人必须在群里
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMTO5QjLzkTO04yM5kDN
func (*ChatService) IsInChat ¶
func (r *ChatService) IsInChat(ctx context.Context, request *IsInChatReq, options ...MethodOptionFunc) (*IsInChatResp, *Response, error)
IsInChat 根据使用的access_token判断对应的用户或者机器人是否在群里。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/is_in_chat
func (*ChatService) JoinChat ¶
func (r *ChatService) JoinChat(ctx context.Context, request *JoinChatReq, options ...MethodOptionFunc) (*JoinChatResp, *Response, error)
JoinChat 用户或机器人主动加入群聊。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 目前仅支持加入公开群
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-members/me_join
func (*ChatService) SearchChat ¶
func (r *ChatService) SearchChat(ctx context.Context, request *SearchChatReq, options ...MethodOptionFunc) (*SearchChatResp, *Response, error)
SearchChat 搜索对用户或机器人可见的群列表,包括:用户或机器人所在的群、对用户或机器人公开的群。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/search
func (*ChatService) UpdateChat ¶
func (r *ChatService) UpdateChat(ctx context.Context, request *UpdateChatReq, options ...MethodOptionFunc) (*UpdateChatResp, *Response, error)
UpdateChat 更新群头像、群名称、群描述、群配置、转让群主等。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 若群未开启 [仅群主和群管理员可编辑群信息] 配置: - 群主/群管理员 或 创建群组且具备[更新应用所创建群的群信息]权限的机器人,可更新所有信息 - 不满足上述条件的群成员或机器人,仅可更新群头像、群名称、群描述、群国际化名称信息 - 若群开启了[仅群主和群管理员可编辑群信息]配置: - 群主/群管理员 或 创建群组且具备[更新应用所创建群的群信息]权限的机器人,可更新所有信息 - 不满足上述条件的群成员或者机器人,任何群信息都不能修改
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/update
func (*ChatService) UpdateChatAnnouncement ¶
func (r *ChatService) UpdateChatAnnouncement(ctx context.Context, request *UpdateChatAnnouncementReq, options ...MethodOptionFunc) (*UpdateChatAnnouncementResp, *Response, error)
UpdateChatAnnouncement 更新会话中的群公告信息,更新公告信息的格式和更新[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 若群开启了 [仅群主和群管理员可编辑群信息] 配置,群主/群管理员 或 创建群组且具备 [更新应用所创建群的群信息] 权限的机器人,可更新群公告 - 若群未开启 [仅群主和群管理员可编辑群信息] 配置,所有成员可以更新群公告
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-announcement/patch
func (*ChatService) UpdateChatModeration ¶
func (r *ChatService) UpdateChatModeration(ctx context.Context, request *UpdateChatModerationReq, options ...MethodOptionFunc) (*UpdateChatModerationResp, *Response, error)
UpdateChatModeration 更新群组的发言权限设置,可设置为全员可发言、仅管理员可发言 或 指定用户可发言。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/uQjL04CN/uYTMuYTMuYTM) - 若以用户授权调用接口,**当授权用户是群主**时,可更新群发言权限 - 若以租户授权调用接口(即以机器人身份调用接口),当**机器人是群主** 或者 **机器人是创建群组、具备[更新应用所创建群的群信息]权限且仍在群内**时,可更新群发言权限
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-moderation/update
type CheckDriveMemberPermissionReq ¶
type CheckDriveMemberPermissionReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "file" Perm string `json:"perm,omitempty"` // 权限,"view" or "edit" or "share" }
CheckDriveMemberPermissionReq ...
type CheckDriveMemberPermissionResp ¶
type CheckDriveMemberPermissionResp struct {
IsPermitted bool `json:"is_permitted,omitempty"` // 是否具有指定权限
}
CheckDriveMemberPermissionResp ...
type CheckUserIsInApplicationPaidScopeReq ¶
type CheckUserIsInApplicationPaidScopeReq struct { OpenID *string `query:"open_id" json:"-"` // 用户 open_id,open_id 和 user_id 两个参数必须包含其一,若同时传入取 open_id UserID *string `query:"user_id" json:"-"` // 用户 user_id,user_id 和 open_id 两个参数必须包含其一,若同时传入取 open_id }
CheckUserIsInApplicationPaidScopeReq ...
type CheckUserIsInApplicationPaidScopeResp ¶
type CheckUserIsInApplicationPaidScopeResp struct { Status string `json:"status,omitempty"` // 用户是否在开通范围中,"valid" -该用户在开通范围中,"not_in_scope"-该用户不在开通范围中,"no_active_license"-企业未购买任何价格方案或价格方案已过期,"exceeds_maximum_limit"-企业当前配置的付费功能开通范围人数超出限制,需提醒管理员调整 PricePlanID string `json:"price_plan_id,omitempty"` // 租户当前使用的「价格方案ID」,对应开发者后台中「价格方案配置」中的「价格方案」 IsTrial bool `json:"is_trial,omitempty"` // 是否为试用版本,true-是试用版本;false-非试用版本 ServiceStopTime string `json:"service_stop_time,omitempty"` // 租户当前有生效价格方案时表示价格方案的到期时间,为时间unix时间戳 }
CheckUserIsInApplicationPaidScopeResp ...
type ClearPublicMailboxMemberReq ¶
type ClearPublicMailboxMemberReq struct {
PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx"
}
ClearPublicMailboxMemberReq ...
type ClearPublicMailboxMemberResp ¶
type ClearPublicMailboxMemberResp struct{}
ClearPublicMailboxMemberResp ...
type ClientOptionFunc ¶
type ClientOptionFunc func(*Lark)
ClientOptionFunc new Lark client option
func WithAppCredential ¶
func WithAppCredential(appID, appSecret string) ClientOptionFunc
WithAppCredential set app credential
func WithCustomBot ¶
func WithCustomBot(customBotWebHookURL, customBotSecret string) ClientOptionFunc
WithCustomBot set custom bot
func WithEventCallbackVerify ¶
func WithEventCallbackVerify(encryptKey, verificationToken string) ClientOptionFunc
WithEventCallbackVerify set event callback verify
func WithHelpdeskCredential ¶
func WithHelpdeskCredential(helpdeskID, helpdeskToken string) ClientOptionFunc
WithHelpdeskCredential set helpdesk credential
func WithHttpClient ¶
func WithHttpClient(cli HttpClient) ClientOptionFunc
WithHttpClient set http client
func WithLogger ¶
func WithLogger(logger Logger, level LogLevel) ClientOptionFunc
WithLogger set logger
func WithOpenBaseURL ¶
func WithOpenBaseURL(baseURL string) ClientOptionFunc
WithOpenBaseURL set open base url
func WithWWWBaseURL ¶
func WithWWWBaseURL(baseURL string) ClientOptionFunc
WithWWWBaseURL set www base url
type CompleteTaskReq ¶
type CompleteTaskReq struct {
TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"bb54ab99-d360-434f-bcaa-a4cc4c05840e"
}
CompleteTaskReq ...
type ContactService ¶
type ContactService struct {
// contains filtered or unexported fields
}
func (*ContactService) AddContactGroupMember ¶
func (r *ContactService) AddContactGroupMember(ctx context.Context, request *AddContactGroupMemberReq, options ...MethodOptionFunc) (*AddContactGroupMemberResp, *Response, error)
AddContactGroupMember 向用户组中添加成员(目前成员仅支持用户,未来会支持部门),如果应用的通讯录权限范围是“全部员工”,则可将任何成员添加到任何用户组。如果应用的通讯录权限范围不是“全部员工”,则仅可将通讯录权限范围中的成员添加到通讯录权限范围的用户组中,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group-member/add
func (*ContactService) BatchGetUser ¶
func (r *ContactService) BatchGetUser(ctx context.Context, request *BatchGetUserReq, options ...MethodOptionFunc) (*BatchGetUserResp, *Response, error)
BatchGetUser
为了更好地提升该接口的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/get) 该接口用于批量获取用户详细信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIzNz4iM3MjLyczM
func (*ContactService) BatchGetUserByID ¶
func (r *ContactService) BatchGetUserByID(ctx context.Context, request *BatchGetUserByIDReq, options ...MethodOptionFunc) (*BatchGetUserByIDResp, *Response, error)
BatchGetUserByID 通过该接口,可使用手机号/邮箱获取用户的 ID 信息,具体获取支持的 ID 类型包括 open_id、user_id、union_id,可通过查询参数指定。
如果查询的手机号、邮箱不存在,或者无权限查看对应的用户,则返回的open_id为空。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/batch_get_id
func (*ContactService) BatchGetUserByIDOld ¶
func (r *ContactService) BatchGetUserByIDOld(ctx context.Context, request *BatchGetUserByIDOldReq, options ...MethodOptionFunc) (*BatchGetUserByIDOldResp, *Response, error)
BatchGetUserByIDOld
根据用户邮箱或手机号查询用户 open_id 和 user_id,支持批量查询。<br> 调用该接口需要申请 `通过手机号或邮箱获取用户 ID` 权限。<br>只能查询到应用可用性范围内的用户 ID,不在范围内的用户会表现为不存在。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUzMyUjL1MjM14SNzITN
func (*ContactService) BindContactUnitDepartment ¶
func (r *ContactService) BindContactUnitDepartment(ctx context.Context, request *BindContactUnitDepartmentReq, options ...MethodOptionFunc) (*BindContactUnitDepartmentResp, *Response, error)
BindContactUnitDepartment 通过该接口建立部门与单位的绑定关系,需更新单位的权限,需对应部门的通讯录权限。由于单位是旗舰版付费功能,企业需开通相关版本,否则会绑定失败
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/bind_department
func (*ContactService) CreateContactGroup ¶
func (r *ContactService) CreateContactGroup(ctx context.Context, request *CreateContactGroupReq, options ...MethodOptionFunc) (*CreateContactGroupResp, *Response, error)
CreateContactGroup 使用该接口创建用户组,请注意创建用户组时应用的通讯录权限范围需为“全部员工”,否则会创建失败,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group/create
func (*ContactService) CreateContactUnit ¶
func (r *ContactService) CreateContactUnit(ctx context.Context, request *CreateContactUnitReq, options ...MethodOptionFunc) (*CreateContactUnitResp, *Response, error)
CreateContactUnit 使用该接口创建单位,需要有更新单位的权限。注意:单位功能属于旗舰版付费功能,企业需开通对应版本才可以创建单位。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/create
func (*ContactService) CreateDepartment ¶
func (r *ContactService) CreateDepartment(ctx context.Context, request *CreateDepartmentReq, options ...MethodOptionFunc) (*CreateDepartmentResp, *Response, error)
CreateDepartment 该接口用于向通讯录中创建部门。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
只可在应用的通讯录权限范围内的部门下创建部门。若需要在根部门下创建子部门,则应用通讯录权限范围需要设置为“全部成员”。应用商店应用无权限调用此接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/create
func (*ContactService) CreateEmployeeTypeEnum ¶
func (r *ContactService) CreateEmployeeTypeEnum(ctx context.Context, request *CreateEmployeeTypeEnumReq, options ...MethodOptionFunc) (*CreateEmployeeTypeEnumResp, *Response, error)
CreateEmployeeTypeEnum 新增自定义人员类型
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/create
func (*ContactService) CreateUser ¶
func (r *ContactService) CreateUser(ctx context.Context, request *CreateUserReq, options ...MethodOptionFunc) (*CreateUserResp, *Response, error)
CreateUser 使用该接口向通讯录创建一个用户,可以理解为员工入职。创建用户后只返回有数据权限的数据。具体的数据权限的与字段的对应关系请参照[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
- 新增用户的所有部门必须都在当前应用的通讯录授权范围内才允许新增用户,如果想要在根部门下新增用户,必须要有全员权限。 - 应用商店应用无权限调用此接口。 - 创建用户后,会给用户发送邀请短信/邮件,用户在操作同意后才可访问团队。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create
func (*ContactService) DeleteContactGroup ¶
func (r *ContactService) DeleteContactGroup(ctx context.Context, request *DeleteContactGroupReq, options ...MethodOptionFunc) (*DeleteContactGroupResp, *Response, error)
DeleteContactGroup 通过该接口可删除企业中的用户组,请注意删除用户组时应用的通讯录权限范围需为“全部员工”,否则会删除失败,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group/delete
func (*ContactService) DeleteContactGroupMember ¶
func (r *ContactService) DeleteContactGroupMember(ctx context.Context, request *DeleteContactGroupMemberReq, options ...MethodOptionFunc) (*DeleteContactGroupMemberResp, *Response, error)
DeleteContactGroupMember 从用户组中移除成员 (目前成员仅支持用户,未来会支持部门),如果应用的通讯录权限范围是“全部员工”,则可将任何成员移出任何用户组。如果应用的通讯录权限范围不是“全部员工”,则仅可将通讯录权限范围中的成员从通讯录权限范围的用户组中移除, [点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group-member/remove
func (*ContactService) DeleteContactUnit ¶
func (r *ContactService) DeleteContactUnit(ctx context.Context, request *DeleteContactUnitReq, options ...MethodOptionFunc) (*DeleteContactUnitResp, *Response, error)
DeleteContactUnit 使用该接口删除单位,需要有更新单位的权限。注意:如果单位的单位类型被其它的业务使用,不允许删除。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/delete
func (*ContactService) DeleteDepartment ¶
func (r *ContactService) DeleteDepartment(ctx context.Context, request *DeleteDepartmentReq, options ...MethodOptionFunc) (*DeleteDepartmentResp, *Response, error)
DeleteDepartment 该接口用于向通讯录中删除部门。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
应用需要同时拥有待删除部门及其父部门的通讯录授权。应用商店应用无权限调用该接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/delete
func (*ContactService) DeleteEmployeeTypeEnum ¶
func (r *ContactService) DeleteEmployeeTypeEnum(ctx context.Context, request *DeleteEmployeeTypeEnumReq, options ...MethodOptionFunc) (*DeleteEmployeeTypeEnumResp, *Response, error)
DeleteEmployeeTypeEnum 删除自定义人员枚举
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/delete
func (*ContactService) DeleteUser ¶
func (r *ContactService) DeleteUser(ctx context.Context, request *DeleteUserReq, options ...MethodOptionFunc) (*DeleteUserResp, *Response, error)
DeleteUser 该接口向通讯录删除一个用户信息,可以理解为员工离职。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
若用户归属部门A、部门B,应用的通讯录权限范围必须包括部门A和部门B才可以删除用户。应用商店应用无权限调用接口。用户可以在删除员工时设置删除员工数据的接收者,如果不设置则由其leader接收,如果该员工没有leader,则会将该员工的数据删除。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/delete
func (*ContactService) GetContactCustomAttrList ¶
func (r *ContactService) GetContactCustomAttrList(ctx context.Context, request *GetContactCustomAttrListReq, options ...MethodOptionFunc) (*GetContactCustomAttrListResp, *Response, error)
GetContactCustomAttrList 获取企业自定义的用户字段配置信息
调用该接口前,需要先确认[企业管理员](https://www.feishu.cn/hc/zh-CN/articles/360049067822)在[企业管理后台 - 组织架构 - 成员字段管理](http://www.feishu.cn/admin/contacts/employee-field-new/custom) 自定义字段管理栏开启了“允许开放平台API调用“。 ![通讯录.gif](//sf3-cn.feishucdn.com/obj/open-platform-opendoc/544738c94f13ef0b9ebaff53a5133cc7_E9EGMkXyzX.gif)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/custom_attr/list
func (*ContactService) GetContactGroup ¶
func (r *ContactService) GetContactGroup(ctx context.Context, request *GetContactGroupReq, options ...MethodOptionFunc) (*GetContactGroupResp, *Response, error)
GetContactGroup 根据用户组 ID 查询某个用户组的基本信息,请确保应用的通讯录权限范围里包括该用户组或者是“全部员工”,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group/get
func (*ContactService) GetContactGroupList ¶
func (r *ContactService) GetContactGroupList(ctx context.Context, request *GetContactGroupListReq, options ...MethodOptionFunc) (*GetContactGroupListResp, *Response, error)
GetContactGroupList 通过该接口可查询企业的用户组列表,如果应用的通讯录权限范围是“全部员工”,则可获取企业全部用户组列表。如果应用的通讯录权限范围不是“全部员工”,则仅可获取通讯录权限范围内的用户组。[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group/simplelist
func (*ContactService) GetContactGroupMember ¶
func (r *ContactService) GetContactGroupMember(ctx context.Context, request *GetContactGroupMemberReq, options ...MethodOptionFunc) (*GetContactGroupMemberResp, *Response, error)
GetContactGroupMember 通过该接口可查询某个用户组的成员(目前成员仅支持用户,未来会支持部门)列表,如果应用的通讯录权限范围是“全部员工”,则可查询企业内任何用户组的成员列表。如果应用的通讯录权限范围不是“全部员工”,则仅可查询通讯录权限范围中的用户组的成员列表,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group-member/simplelist
func (*ContactService) GetContactScopeList ¶
func (r *ContactService) GetContactScopeList(ctx context.Context, request *GetContactScopeListReq, options ...MethodOptionFunc) (*GetContactScopeListResp, *Response, error)
GetContactScopeList 该接口用于获取应用被授权可访问的通讯录范围,包括可访问的部门列表、用户列表和用户组列表。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/scope/list
func (*ContactService) GetContactUnit ¶
func (r *ContactService) GetContactUnit(ctx context.Context, request *GetContactUnitReq, options ...MethodOptionFunc) (*GetContactUnitResp, *Response, error)
GetContactUnit 调用该接口获取单位信息,需有获取单位的权限
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/get
func (*ContactService) GetContactUnitDepartmentList ¶
func (r *ContactService) GetContactUnitDepartmentList(ctx context.Context, request *GetContactUnitDepartmentListReq, options ...MethodOptionFunc) (*GetContactUnitDepartmentListResp, *Response, error)
GetContactUnitDepartmentList 通过该接口获取单位绑定的部门列表,需具有获取单位的权限
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/list_department
func (*ContactService) GetContactUnitList ¶
func (r *ContactService) GetContactUnitList(ctx context.Context, request *GetContactUnitListReq, options ...MethodOptionFunc) (*GetContactUnitListResp, *Response, error)
GetContactUnitList 通过该接口获取企业的单位列表,需获取单位的权限
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/list
func (*ContactService) GetDepartment ¶
func (r *ContactService) GetDepartment(ctx context.Context, request *GetDepartmentReq, options ...MethodOptionFunc) (*GetDepartmentResp, *Response, error)
GetDepartment 该接口用于向通讯录获取单个部门信息。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
使用tenant_access_token时,应用需要拥有待查询部门的通讯录授权。如果需要获取根部门信息,则需要拥有全员权限。 使用user_access_token时,用户需要有待查询部门的可见性,如果需要获取根部门信息,则要求员工可见所有人。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/get
func (*ContactService) GetDepartmentList ¶
func (r *ContactService) GetDepartmentList(ctx context.Context, request *GetDepartmentListReq, options ...MethodOptionFunc) (*GetDepartmentListResp, *Response, error)
GetDepartmentList 通过部门ID获取部门的子部门列表。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
部门ID 必填,根部门的部门ID 为0 - 使用 user_access_token 时,返回该用户组织架构可见性范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内的所有可见部门。当进行递归查询时,只筛查最多1000个部门的可见性。 - 使用 tenant_access_token 则基于应用的通讯录权限范围进行权限校验与过滤。 如果部门ID为0,会检验应用是否有全员通讯录权限,如果是非0 部门ID,则会校验应用是否有该部门的通讯录权限。无部门权限返回无部门通讯录权限错误码,有权限则返回部门下子部门列表(根据fetch_child决定是否递归)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/children
func (*ContactService) GetDepartmentListOld ¶
func (r *ContactService) GetDepartmentListOld(ctx context.Context, request *GetDepartmentListOldReq, options ...MethodOptionFunc) (*GetDepartmentListOldResp, *Response, error)
GetDepartmentListOld 该接口用于获取当前部门子部门列表。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
- 使用 user_access_token 时,返回该用户组织架构可见性范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内的所有可见部门。当进行递归查询时,只筛查最多1000个部门的可见性。 - 使用 tenant_access_token 则基于应用的通讯录权限范围进行权限校验与过滤。由于 parent_department_id 是非必填参数,填与不填存在<b>两种数据权限校验与返回</b>情况: <br> <br>1、请求设置了 parent_department_id 为A(根部门0),会检验A是否在通讯录权限内,若在( parent_department_id=0 时会校验是否为全员权限),则返回部门下子部门列表(根据fetch_child决定是否递归),否则返回无部门通讯录权限错误码。 <br> <br>2、请求未带 parent_department_id 参数,如通讯录范围为全员权限,只返回根部门ID(部门ID为0),否则返回根据通讯录范围配置的部门ID及子部门(根据 fetch_child 决定是否递归)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/list
func (*ContactService) GetEmployeeTypeEnumList ¶
func (r *ContactService) GetEmployeeTypeEnumList(ctx context.Context, request *GetEmployeeTypeEnumListReq, options ...MethodOptionFunc) (*GetEmployeeTypeEnumListResp, *Response, error)
GetEmployeeTypeEnumList 该接口用于获取员工的人员类型
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list
func (*ContactService) GetParentDepartment ¶
func (r *ContactService) GetParentDepartment(ctx context.Context, request *GetParentDepartmentReq, options ...MethodOptionFunc) (*GetParentDepartmentResp, *Response, error)
GetParentDepartment 该接口用来递归获取部门父部门的信息,并按照由子到父的顺序返回有权限的父部门信息列表。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
使用tenant_access_token时,该接口只返回可见性范围内的父部门信息 例如:A >>B>>C>>D四级部门,通讯录权限只到B,那么查询D部门的parent,会返回B和C两级部门。 使用user_access_token时,该接口只返回对于用户可见的父部门信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/parent
func (*ContactService) GetUser ¶
func (r *ContactService) GetUser(ctx context.Context, request *GetUserReq, options ...MethodOptionFunc) (*GetUserResp, *Response, error)
GetUser 该接口用于获取通讯录中单个用户的信息。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/get
func (*ContactService) GetUserList ¶
func (r *ContactService) GetUserList(ctx context.Context, request *GetUserListReq, options ...MethodOptionFunc) (*GetUserListResp, *Response, error)
GetUserList 基于部门ID获取,获取部门直属用户列表。
部门ID 必填,根部门的部门ID为0 - 使用 user_access_token 情况下根据个人组织架构的通讯录可见范围进行权限过滤,返回个人组织架构通讯录范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内可见的用户数据。 - 使用tenant_access_token,会根据应用通讯录的范围进行权限过滤。 如果请求的部门ID为0,则校验应用是否具有全员通讯录权限; 如果是非0的部门ID,则会验证应用是否具有该部门的通讯录权限。 无权限返回无权限错误码,有权限则返回对应部门下的直接用户列表。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/find_by_department
func (*ContactService) GetUserListOld ¶
func (r *ContactService) GetUserListOld(ctx context.Context, request *GetUserListOldReq, options ...MethodOptionFunc) (*GetUserListOldResp, *Response, error)
GetUserListOld 基于部门ID获取部门下直属用户列表。
- 使用 user_access_token 情况下根据个人组织架构的通讯录可见范围进行权限过滤,返回个人组织架构通讯录范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内可见的用户数据。 - tenant_access_token 基于应用通讯录范围进行权限鉴定。由于 department_id 是非必填参数,填与不填存在<b>两种数据权限校验与返回</b>情况:<br>1、请求设置了 department_id (根部门为0),会检验所带部门ID是否具有通讯录权限(如果带上 department_id=0 会校验是否有全员权限),有则返回部门下直属的成员列表, 否则提示无部门权限的错误码返回。<br>2、请求未带 department_id 参数,则会返回权限范围内的独立用户(权限范围直接包含了某用户,则该用户视为权限范围内的独立用户)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/list
func (*ContactService) SearchDepartment ¶
func (r *ContactService) SearchDepartment(ctx context.Context, request *SearchDepartmentReq, options ...MethodOptionFunc) (*SearchDepartmentResp, *Response, error)
SearchDepartment 搜索部门,用户通过关键词查询可见的部门数据,部门可见性需要管理员在后台配置。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
部门存在,但用户搜索不到并不一定是搜索有问题,可能是管理员在后台配置了权限控制,导致用户无法搜索到该部门
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/search
func (*ContactService) SearchUserOld ¶
func (r *ContactService) SearchUserOld(ctx context.Context, request *SearchUserOldReq, options ...MethodOptionFunc) (*SearchUserOldResp, *Response, error)
SearchUserOld
以用户身份搜索其他用户的信息,无法搜索到外部企业或已离职的用户。<br> 调用该接口需要申请 `搜索用户` 权限。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMTM4UjLzEDO14yMxgTN
func (*ContactService) UnbindContactUnitDepartment ¶
func (r *ContactService) UnbindContactUnitDepartment(ctx context.Context, request *UnbindContactUnitDepartmentReq, options ...MethodOptionFunc) (*UnbindContactUnitDepartmentResp, *Response, error)
UnbindContactUnitDepartment 通过该接口解除部门与单位的绑定关系,需更新单位的权限,需对应部门的通讯录权限。由于单位是旗舰版付费功能,企业需开通相关功能,否则会解绑失败
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/unbind_department
func (*ContactService) UpdateContactGroup ¶
func (r *ContactService) UpdateContactGroup(ctx context.Context, request *UpdateContactGroupReq, options ...MethodOptionFunc) (*UpdateContactGroupResp, *Response, error)
UpdateContactGroup 使用该接口更新用户组信息,请注意更新用户组时应用的通讯录权限范围需为“全部员工”,否则会更新失败。[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/group/patch
func (*ContactService) UpdateContactUnit ¶
func (r *ContactService) UpdateContactUnit(ctx context.Context, request *UpdateContactUnitReq, options ...MethodOptionFunc) (*UpdateContactUnitResp, *Response, error)
UpdateContactUnit 调用该接口,需要有更新单位的权限。注意:单位功能属于旗舰版付费功能,企业需开通对应版本才可以修改单位
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/unit/patch
func (*ContactService) UpdateDepartment ¶
func (r *ContactService) UpdateDepartment(ctx context.Context, request *UpdateDepartmentReq, options ...MethodOptionFunc) (*UpdateDepartmentResp, *Response, error)
UpdateDepartment 该接口用于更新当前部门所有信息。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
- 调用该接口需要具有该部门以及更新操作涉及的部门的通讯录权限。应用商店应用无权限调用此接口。 - 没有填写的字段会被置为空值(order字段除外)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/update
func (*ContactService) UpdateDepartmentPatch ¶
func (r *ContactService) UpdateDepartmentPatch(ctx context.Context, request *UpdateDepartmentPatchReq, options ...MethodOptionFunc) (*UpdateDepartmentPatchResp, *Response, error)
UpdateDepartmentPatch 该接口用于更新通讯录中部门的信息中的任一个字段。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
调用该接口需要具有该部门以及更新操作涉及的部门的通讯录权限。应用商店应用无权限调用此接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/patch
func (*ContactService) UpdateEmployeeTypeEnumPatch ¶
func (r *ContactService) UpdateEmployeeTypeEnumPatch(ctx context.Context, request *UpdateEmployeeTypeEnumPatchReq, options ...MethodOptionFunc) (*UpdateEmployeeTypeEnumPatchResp, *Response, error)
UpdateEmployeeTypeEnumPatch 更新自定义人员类型
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/update
func (*ContactService) UpdateUser ¶
func (r *ContactService) UpdateUser(ctx context.Context, request *UpdateUserReq, options ...MethodOptionFunc) (*UpdateUserResp, *Response, error)
UpdateUser 该接口用于更新通讯录中用户的字段。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
应用需要拥有待更新用户的通讯录授权,如果涉及到用户部门变更,还需要同时拥有所有新部门的通讯录授权。应用商店应用无权限调用此接口。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/update
func (*ContactService) UpdateUserPatch ¶
func (r *ContactService) UpdateUserPatch(ctx context.Context, request *UpdateUserPatchReq, options ...MethodOptionFunc) (*UpdateUserPatchResp, *Response, error)
UpdateUserPatch 该接口用于更新通讯录中用户的字段,未传递的参数不会更新。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/patch
type ContainerIDType ¶
type ContainerIDType string
ContainerIDType 容器类型
const (
ContainerIDTypeChat ContainerIDType = "chat"
)
ContainerIDTypeChat ...
func ContainerIDTypePtr ¶
func ContainerIDTypePtr(v ContainerIDType) *ContainerIDType
ContainerIDTypePtr ...
type CopyDriveFileReq ¶
type CopyDriveFileReq struct { FileToken string `path:"fileToken" json:"-"` // 需要复制的源文件或文档的 token, 获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 需要创建文档的类型 "doc" 、"sheet" or "bitable" DstFolderToken string `json:"dstFolderToken,omitempty"` // 目标文件夹的 token, 获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) DstName string `json:"dstName,omitempty"` // 复制的副本文件的新名称 CommentNeeded *bool `json:"commentNeeded,omitempty"` // 是否复制评论 }
CopyDriveFileReq ...
type CopyDriveFileResp ¶
type CopyDriveFileResp struct { FolderToken string `json:"folderToken,omitempty"` // 目标文件夹的 token Revision int64 `json:"revision,omitempty"` // 新创建文档的版本号 Token string `json:"token,omitempty"` // 新创建文档的 token Type string `json:"type,omitempty"` // 新建文档的类型,"doc" or "sheet" URL string `json:"url,omitempty"` // 新创建文档的 url }
CopyDriveFileResp ...
type CreateApprovalCarbonCopyReq ¶
type CreateApprovalCarbonCopyReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 code InstanceCode string `json:"instance_code,omitempty"` // 审批实例 code UserID *string `json:"user_id,omitempty"` // 发起抄送的人的 user_id OpenID *string `json:"open_id,omitempty"` // 发起抄送的人的 open_id,如果传了 user_id 则优先使用 user_id,二者不能同时为空 CcUserIDs []string `json:"cc_user_ids,omitempty"` // 被抄送人的 user_id 列表 CcOpenIDs []string `json:"cc_open_ids,omitempty"` // 被抄送人的 open_id 列表,与 cc_user_ids 不可同时为空 Comment *string `json:"comment,omitempty"` // 抄送留言 }
CreateApprovalCarbonCopyReq ...
type CreateApprovalCarbonCopyResp ¶
type CreateApprovalCarbonCopyResp struct{}
CreateApprovalCarbonCopyResp ...
type CreateApprovalInstanceReq ¶
type CreateApprovalInstanceReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 code UserID *string `json:"user_id,omitempty"` // 发起审批用户 TenantID *string `json:"tenant_id,omitempty"` // 平台租户ID OpenID string `json:"open_id,omitempty"` // 发起审批用户 open id, 如果传了 user_id 则优先使用 user_id DepartmentID *string `json:"department_id,omitempty"` // 发起审批用户部门id,如果用户只属于一个部门,可以不填。如果属于多个部门,默认会选择部门列表第一个部门 Form ApprovalWidgetList `json:"form,omitempty"` // json 数组,**控件值** NodeApproverUserIDList map[string][]string `json:"node_approver_user_id_list,omitempty"` // 如果有发起人自选节点,则需要填写对应节点的审批人<br>key: node id 或 custom node id , 通过 [查看审批定义](https://open.feishu.cn/document/ukTMukTMukTM/uADNyUjLwQjM14CM0ITN) 获取<br> value: 审批人列表 NodeApproverOpenIDList map[string][]string `json:"node_approver_open_id_list,omitempty"` // 审批人发起人自选 open id NodeCcUserIDList map[string][]string `json:"node_cc_user_id_list,omitempty"` // 如果有发起人自选节点,则可填写对应节点的抄送人<br>key: node id 或 custom node id , 通过 [查看审批定义](https://open.feishu.cn/document/ukTMukTMukTM/uADNyUjLwQjM14CM0ITN) 获取<br> value: 审批人列表<br>单个节点最多选择20位抄送人 NodeCcOpenIDList map[string][]string `json:"node_cc_open_id_list,omitempty"` // 抄送人发起人自选 open id<br>单个节点最多选择20位抄送人 UUID *string `json:"uuid,omitempty"` // 审批实例 uuid,用于幂等操作, 每个租户下面的唯一key,同一个 uuid 只能用于创建一个审批实例,如果冲突,返回错误码 60012 ,格式建议为 XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,不区分大小写 }
CreateApprovalInstanceReq ...
type CreateApprovalInstanceResp ¶
type CreateApprovalInstanceResp struct {
InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code
}
CreateApprovalInstanceResp ...
type CreateAttendanceGroupReq ¶
type CreateAttendanceGroupReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 用户 ID 的类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 DeptType string `query:"dept_type" json:"-"` // 部门 ID 的类型, 示例值:"od-fcb45c28a45311afd441b8869541ece8", 可选值有: `open_id`:暂时只支持部门的 openid Group *CreateAttendanceGroupReqGroup `json:"group,omitempty"` // 6921319402260496386 }
CreateAttendanceGroupReq ...
type CreateAttendanceGroupReqGroup ¶
type CreateAttendanceGroupReqGroup struct { GroupID *string `json:"group_id,omitempty"` // 考勤组 ID(仅修改时提供), 需要从“获取打卡结果”的接口中获取 groupId, 示例值:"6919358128597097404" GroupName string `json:"group_name,omitempty"` // 考勤组名称, 示例值:"开心考勤" TimeZone string `json:"time_zone,omitempty"` // 时区, 示例值:"Asia/Shanghai" BindDeptIDs []string `json:"bind_dept_ids,omitempty"` // 绑定的部门 ID, 示例值:od-fcb45c28a45311afd440b7869541fce8 ExceptDeptIDs []string `json:"except_dept_ids,omitempty"` // 排除的部门 ID, 示例值:od-fcb45c28a45311afd440b7869541fce8 BindUserIDs []string `json:"bind_user_ids,omitempty"` // 绑定的用户 ID, 示例值:52aa1fa1 ExceptUserIDs []string `json:"except_user_ids,omitempty"` // 排除的用户 ID, 示例值:52aa1fa1 GroupLeaderIDs []string `json:"group_leader_ids,omitempty"` // 考勤负责人 ID 列表,必选字段, 示例值:2bg4a9be AllowOutPunch *bool `json:"allow_out_punch,omitempty"` // 是否允许外勤打卡, 示例值:true AllowPcPunch *bool `json:"allow_pc_punch,omitempty"` // 是否允许 PC 端打卡, 示例值:true AllowRemedy *bool `json:"allow_remedy,omitempty"` // 是否限制补卡, 示例值:true RemedyLimit *bool `json:"remedy_limit,omitempty"` // 是否限制补卡次数, 示例值:true RemedyLimitCount *int64 `json:"remedy_limit_count,omitempty"` // 补卡次数, 示例值:3 RemedyDateLimit *bool `json:"remedy_date_limit,omitempty"` // 是否限制补卡时间, 示例值:true RemedyDateNum *int64 `json:"remedy_date_num,omitempty"` // 补卡时间,几天内补卡, 示例值:3 ShowCumulativeTime *bool `json:"show_cumulative_time,omitempty"` // 是否展示累计时长, 示例值:true ShowOverTime *bool `json:"show_over_time,omitempty"` // 是否展示加班时长, 示例值:true HideStaffPunchTime *bool `json:"hide_staff_punch_time,omitempty"` // 是否隐藏员工打卡详情, 示例值:true FacePunch *bool `json:"face_punch,omitempty"` // 是否开启人脸识别打卡, 示例值:true FacePunchCfg *int64 `json:"face_punch_cfg,omitempty"` // 人脸识别打卡规则,1:每次打卡均需人脸识别,2:疑似作弊打卡时需要人脸识别, 示例值:1 FaceDowngrade *bool `json:"face_downgrade,omitempty"` // 人脸识别失败时是否允许普通拍照打卡, 示例值:true ReplaceBasicPic *bool `json:"replace_basic_pic,omitempty"` // 人脸识别失败时是否允许替换基准图片, 示例值:true Machines []*CreateAttendanceGroupReqGroupMachine `json:"machines,omitempty"` // 考勤机列表 GpsRange *int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围(不建议使用), 示例值:300 Locations []*CreateAttendanceGroupReqGroupLocation `json:"locations,omitempty"` // 地址列表 GroupType int64 `json:"group_type,omitempty"` // 考勤类型,0:固定班制,2:排班制, 3:自由班制, 示例值:0 PunchDayShiftIDs []string `json:"punch_day_shift_ids,omitempty"` // 固定班制必须填, 示例值:6921319402260496386 FreePunchCfg *CreateAttendanceGroupReqGroupFreePunchCfg `json:"free_punch_cfg,omitempty"` // 配置自由班制 CalendarID int64 `json:"calendar_id,omitempty"` // 国家日历 ID,0:不根据国家日历排休,1:中国大陆,2:美国,3:日本,4:印度,5:新加坡,默认 1, 示例值:1 NeedPunchSpecialDays []*CreateAttendanceGroupReqGroupNeedPunchSpecialDay `json:"need_punch_special_days,omitempty"` // 必须打卡的特殊日期 NoNeedPunchSpecialDays []*CreateAttendanceGroupReqGroupNoNeedPunchSpecialDay `json:"no_need_punch_special_days,omitempty"` // 无需打卡的特殊日期 WorkDayNoPunchAsLack *bool `json:"work_day_no_punch_as_lack,omitempty"` // 自由班制下工作日不打卡是否记为缺卡, 示例值:true EffectNow *bool `json:"effect_now,omitempty"` // 是否立即生效,默认 false, 示例值:true RemedyPeriodType *int64 `json:"remedy_period_type,omitempty"` // 补卡周期类型, 示例值:0 RemedyPeriodCustomDate *int64 `json:"remedy_period_custom_date,omitempty"` // 补卡自定义周期起始日期, 示例值:1 PunchType *int64 `json:"punch_type,omitempty"` // 打卡类型,位运算。1:GPS 打卡,2:Wi-Fi 打卡,4:考勤机打卡,8:IP 打卡, 示例值:1 }
CreateAttendanceGroupReqGroup ...
type CreateAttendanceGroupReqGroupFreePunchCfg ¶
type CreateAttendanceGroupReqGroupFreePunchCfg struct { FreeStartTime string `json:"free_start_time,omitempty"` // 自由班制打卡开始时间, 示例值:"7:00" FreeEndTime string `json:"free_end_time,omitempty"` // 自由班制打卡结束时间, 示例值:"18:00" PunchDay int64 `json:"punch_day,omitempty"` // 打卡的时间,为 7 位数字,每一位依次代表周一到周日,0 为不上班,1 为上班, 示例值:1111100 WorkDayNoPunchAsLack *bool `json:"work_day_no_punch_as_lack,omitempty"` // 工作日不打卡是否记为缺卡, 示例值:true }
CreateAttendanceGroupReqGroupFreePunchCfg ...
type CreateAttendanceGroupReqGroupLocation ¶
type CreateAttendanceGroupReqGroupLocation struct { LocationName string `json:"location_name,omitempty"` // 地址名称, 示例值:"浙江省杭州市余杭区五常街道木桥头西溪八方城" LocationType int64 `json:"location_type,omitempty"` // 地址类型,1:GPS,2:Wi-Fi,8:IP, 示例值:1 Latitude *float64 `json:"latitude,omitempty"` // 地址纬度, 示例值:30.28994 Longitude *float64 `json:"longitude,omitempty"` // 地址经度, 示例值:120.04509 Ssid *string `json:"ssid,omitempty"` // Wi-Fi 名称, 示例值:"TP-Link-af12ca" Bssid *string `json:"bssid,omitempty"` // Wi-Fi 的 MAC 地址, 示例值:"08:00:20:0A:8C:6D" MapType *int64 `json:"map_type,omitempty"` // 地图类型,1:高德, 2:谷歌, 示例值:1 Address *string `json:"address,omitempty"` // 地址名称, 示例值:"北京市海淀区中航广场" Ip *string `json:"ip,omitempty"` // IP 地址, 示例值:"122.224.123.146" Feature *string `json:"feature,omitempty"` // 额外信息,例如:运营商信息, 示例值:"中国电信" GpsRange *int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围, 示例值:300 }
CreateAttendanceGroupReqGroupLocation ...
type CreateAttendanceGroupReqGroupMachine ¶
type CreateAttendanceGroupReqGroupMachine struct { MachineSn string `json:"machine_sn,omitempty"` // 考勤机序列号, 示例值:"FS0701" MachineName string `json:"machine_name,omitempty"` // 考勤机名称, 示例值:"创实 9 楼" }
CreateAttendanceGroupReqGroupMachine ...
type CreateAttendanceGroupReqGroupNeedPunchSpecialDay ¶
type CreateAttendanceGroupReqGroupNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期, 示例值:20190101 ShiftID string `json:"shift_id,omitempty"` // 班次 ID, 示例值:"6919668827865513935" }
CreateAttendanceGroupReqGroupNeedPunchSpecialDay ...
type CreateAttendanceGroupReqGroupNoNeedPunchSpecialDay ¶
type CreateAttendanceGroupReqGroupNoNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期, 示例值:20190101 ShiftID string `json:"shift_id,omitempty"` // 班次 ID, 示例值:"6919668827865513935" }
CreateAttendanceGroupReqGroupNoNeedPunchSpecialDay ...
type CreateAttendanceGroupResp ¶
type CreateAttendanceGroupResp struct {
Group *CreateAttendanceGroupRespGroup `json:"group,omitempty"` // 6921319402260496386
}
CreateAttendanceGroupResp ...
type CreateAttendanceGroupRespGroup ¶
type CreateAttendanceGroupRespGroup struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID(仅修改时提供), 需要从“获取打卡结果”的接口中获取 groupId GroupName string `json:"group_name,omitempty"` // 考勤组名称 TimeZone string `json:"time_zone,omitempty"` // 时区 BindDeptIDs []string `json:"bind_dept_ids,omitempty"` // 绑定的部门 ID ExceptDeptIDs []string `json:"except_dept_ids,omitempty"` // 排除的部门 ID BindUserIDs []string `json:"bind_user_ids,omitempty"` // 绑定的用户 ID ExceptUserIDs []string `json:"except_user_ids,omitempty"` // 排除的用户 ID GroupLeaderIDs []string `json:"group_leader_ids,omitempty"` // 考勤负责人 ID 列表,必选字段 AllowOutPunch bool `json:"allow_out_punch,omitempty"` // 是否允许外勤打卡 AllowPcPunch bool `json:"allow_pc_punch,omitempty"` // 是否允许 PC 端打卡 AllowRemedy bool `json:"allow_remedy,omitempty"` // 是否限制补卡 RemedyLimit bool `json:"remedy_limit,omitempty"` // 是否限制补卡次数 RemedyLimitCount int64 `json:"remedy_limit_count,omitempty"` // 补卡次数 RemedyDateLimit bool `json:"remedy_date_limit,omitempty"` // 是否限制补卡时间 RemedyDateNum int64 `json:"remedy_date_num,omitempty"` // 补卡时间,几天内补卡 ShowCumulativeTime bool `json:"show_cumulative_time,omitempty"` // 是否展示累计时长 ShowOverTime bool `json:"show_over_time,omitempty"` // 是否展示加班时长 HideStaffPunchTime bool `json:"hide_staff_punch_time,omitempty"` // 是否隐藏员工打卡详情 FacePunch bool `json:"face_punch,omitempty"` // 是否开启人脸识别打卡 FacePunchCfg int64 `json:"face_punch_cfg,omitempty"` // 人脸识别打卡规则,1:每次打卡均需人脸识别,2:疑似作弊打卡时需要人脸识别 FaceDowngrade bool `json:"face_downgrade,omitempty"` // 人脸识别失败时是否允许普通拍照打卡 ReplaceBasicPic bool `json:"replace_basic_pic,omitempty"` // 人脸识别失败时是否允许替换基准图片 Machines []*CreateAttendanceGroupRespGroupMachine `json:"machines,omitempty"` // 考勤机列表 GpsRange int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围(不建议使用) Locations []*CreateAttendanceGroupRespGroupLocation `json:"locations,omitempty"` // 地址列表 GroupType int64 `json:"group_type,omitempty"` // 考勤类型,0:固定班制,2:排班制, 3:自由班制 PunchDayShiftIDs []string `json:"punch_day_shift_ids,omitempty"` // 固定班制必须填 FreePunchCfg *CreateAttendanceGroupRespGroupFreePunchCfg `json:"free_punch_cfg,omitempty"` // 配置自由班制 CalendarID int64 `json:"calendar_id,omitempty"` // 国家日历 ID,0:不根据国家日历排休,1:中国大陆,2:美国,3:日本,4:印度,5:新加坡,默认 1 NeedPunchSpecialDays []*CreateAttendanceGroupRespGroupNeedPunchSpecialDay `json:"need_punch_special_days,omitempty"` // 必须打卡的特殊日期 NoNeedPunchSpecialDays []*CreateAttendanceGroupRespGroupNoNeedPunchSpecialDay `json:"no_need_punch_special_days,omitempty"` // 无需打卡的特殊日期 WorkDayNoPunchAsLack bool `json:"work_day_no_punch_as_lack,omitempty"` // 自由班制下工作日不打卡是否记为缺卡 EffectNow bool `json:"effect_now,omitempty"` // 是否立即生效,默认 false RemedyPeriodType int64 `json:"remedy_period_type,omitempty"` // 补卡周期类型 RemedyPeriodCustomDate int64 `json:"remedy_period_custom_date,omitempty"` // 补卡自定义周期起始日期 PunchType int64 `json:"punch_type,omitempty"` // 打卡类型,位运算。1:GPS 打卡,2:Wi-Fi 打卡,4:考勤机打卡,8:IP 打卡 }
CreateAttendanceGroupRespGroup ...
type CreateAttendanceGroupRespGroupFreePunchCfg ¶
type CreateAttendanceGroupRespGroupFreePunchCfg struct { FreeStartTime string `json:"free_start_time,omitempty"` // 自由班制打卡开始时间 FreeEndTime string `json:"free_end_time,omitempty"` // 自由班制打卡结束时间 PunchDay int64 `json:"punch_day,omitempty"` // 打卡的时间,为 7 位数字,每一位依次代表周一到周日,0 为不上班,1 为上班 WorkDayNoPunchAsLack bool `json:"work_day_no_punch_as_lack,omitempty"` // 工作日不打卡是否记为缺卡 }
CreateAttendanceGroupRespGroupFreePunchCfg ...
type CreateAttendanceGroupRespGroupLocation ¶
type CreateAttendanceGroupRespGroupLocation struct { LocationID string `json:"location_id,omitempty"` // 地址 ID LocationName string `json:"location_name,omitempty"` // 地址名称 LocationType int64 `json:"location_type,omitempty"` // 地址类型,1:GPS,2:Wi-Fi,8:IP Latitude float64 `json:"latitude,omitempty"` // 地址纬度 Longitude float64 `json:"longitude,omitempty"` // 地址经度 Ssid string `json:"ssid,omitempty"` // Wi-Fi 名称 Bssid string `json:"bssid,omitempty"` // Wi-Fi 的 MAC 地址 MapType int64 `json:"map_type,omitempty"` // 地图类型,1:高德, 2:谷歌 Address string `json:"address,omitempty"` // 地址名称 Ip string `json:"ip,omitempty"` // IP 地址 Feature string `json:"feature,omitempty"` // 额外信息,例如:运营商信息 GpsRange int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围 }
CreateAttendanceGroupRespGroupLocation ...
type CreateAttendanceGroupRespGroupMachine ¶
type CreateAttendanceGroupRespGroupMachine struct { MachineSn string `json:"machine_sn,omitempty"` // 考勤机序列号 MachineName string `json:"machine_name,omitempty"` // 考勤机名称 }
CreateAttendanceGroupRespGroupMachine ...
type CreateAttendanceGroupRespGroupNeedPunchSpecialDay ¶
type CreateAttendanceGroupRespGroupNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期 ShiftID string `json:"shift_id,omitempty"` // 班次 ID }
CreateAttendanceGroupRespGroupNeedPunchSpecialDay ...
type CreateAttendanceGroupRespGroupNoNeedPunchSpecialDay ¶
type CreateAttendanceGroupRespGroupNoNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期 ShiftID string `json:"shift_id,omitempty"` // 班次 ID }
CreateAttendanceGroupRespGroupNoNeedPunchSpecialDay ...
type CreateAttendanceShiftReq ¶
type CreateAttendanceShiftReq struct { ShiftName string `json:"shift_name,omitempty"` // 班次名称, 示例值:"早班" PunchTimes int64 `json:"punch_times,omitempty"` // 打卡次数, 示例值:1 IsFlexible *bool `json:"is_flexible,omitempty"` // 是否弹性打卡, 示例值:false FlexibleMinutes *int64 `json:"flexible_minutes,omitempty"` // 弹性打卡的时间, 示例值:60 NoNeedOff *bool `json:"no_need_off,omitempty"` // 不需要打下班卡, 示例值:true PunchTimeRule *CreateAttendanceShiftReqPunchTimeRule `json:"punch_time_rule,omitempty"` // 打卡规则 LateOffLateOnRule *CreateAttendanceShiftReqLateOffLateOnRule `json:"late_off_late_on_rule,omitempty"` // 晚走晚到规则 RestTimeRule *CreateAttendanceShiftReqRestTimeRule `json:"rest_time_rule,omitempty"` // 休息规则 }
CreateAttendanceShiftReq ...
type CreateAttendanceShiftReqLateOffLateOnRule ¶
type CreateAttendanceShiftReqLateOffLateOnRule struct { LateOffMinutes int64 `json:"late_off_minutes,omitempty"` // 晚走多久, 示例值:60 LateOnMinutes int64 `json:"late_on_minutes,omitempty"` // 晚到多久, 示例值:30 }
CreateAttendanceShiftReqLateOffLateOnRule ...
type CreateAttendanceShiftReqPunchTimeRule ¶
type CreateAttendanceShiftReqPunchTimeRule struct { OnTime string `json:"on_time,omitempty"` // 上班时间, 示例值:"9:00" OffTime string `json:"off_time,omitempty"` // 下班时间, 示例值:"18:00, 第二天凌晨2点, 26:00" LateMinutesAsLate int64 `json:"late_minutes_as_late,omitempty"` // 晚到多久记为迟到, 示例值:30 LateMinutesAsLack int64 `json:"late_minutes_as_lack,omitempty"` // 晚到多久记为缺卡, 示例值:60 OnAdvanceMinutes int64 `json:"on_advance_minutes,omitempty"` // 最早多久可打上班卡, 示例值:60 EarlyMinutesAsEarly int64 `json:"early_minutes_as_early,omitempty"` // 早退多久记为早退, 示例值:30 EarlyMinutesAsLack int64 `json:"early_minutes_as_lack,omitempty"` // 早退多久记为缺卡, 示例值:60 OffDelayMinutes int64 `json:"off_delay_minutes,omitempty"` // 最晚多久可打下班卡, 示例值:60 }
CreateAttendanceShiftReqPunchTimeRule ...
type CreateAttendanceShiftReqRestTimeRule ¶
type CreateAttendanceShiftReqRestTimeRule struct { RestBeginTime string `json:"rest_begin_time,omitempty"` // 休息开始, 示例值:"13:00" RestEndTime string `json:"rest_end_time,omitempty"` // 休息结束, 示例值:"14:00" }
CreateAttendanceShiftReqRestTimeRule ...
type CreateAttendanceShiftResp ¶
type CreateAttendanceShiftResp struct {
Shift *CreateAttendanceShiftRespShift `json:"shift,omitempty"` // 班次
}
CreateAttendanceShiftResp ...
type CreateAttendanceShiftRespShift ¶
type CreateAttendanceShiftRespShift struct { ShiftID string `json:"shift_id,omitempty"` // 班次 ID ShiftName string `json:"shift_name,omitempty"` // 班次名称 PunchTimes int64 `json:"punch_times,omitempty"` // 打卡次数 IsFlexible bool `json:"is_flexible,omitempty"` // 是否弹性打卡 FlexibleMinutes int64 `json:"flexible_minutes,omitempty"` // 弹性打卡的时间 NoNeedOff bool `json:"no_need_off,omitempty"` // 不需要打下班卡 PunchTimeRule *CreateAttendanceShiftRespShiftPunchTimeRule `json:"punch_time_rule,omitempty"` // 打卡规则 LateOffLateOnRule *CreateAttendanceShiftRespShiftLateOffLateOnRule `json:"late_off_late_on_rule,omitempty"` // 晚走晚到规则 RestTimeRule *CreateAttendanceShiftRespShiftRestTimeRule `json:"rest_time_rule,omitempty"` // 休息规则 }
CreateAttendanceShiftRespShift ...
type CreateAttendanceShiftRespShiftLateOffLateOnRule ¶
type CreateAttendanceShiftRespShiftLateOffLateOnRule struct { LateOffMinutes int64 `json:"late_off_minutes,omitempty"` // 晚走多久 LateOnMinutes int64 `json:"late_on_minutes,omitempty"` // 晚到多久 }
CreateAttendanceShiftRespShiftLateOffLateOnRule ...
type CreateAttendanceShiftRespShiftPunchTimeRule ¶
type CreateAttendanceShiftRespShiftPunchTimeRule struct { OnTime string `json:"on_time,omitempty"` // 上班时间 OffTime string `json:"off_time,omitempty"` // 下班时间 LateMinutesAsLate int64 `json:"late_minutes_as_late,omitempty"` // 晚到多久记为迟到 LateMinutesAsLack int64 `json:"late_minutes_as_lack,omitempty"` // 晚到多久记为缺卡 OnAdvanceMinutes int64 `json:"on_advance_minutes,omitempty"` // 最早多久可打上班卡 EarlyMinutesAsEarly int64 `json:"early_minutes_as_early,omitempty"` // 早退多久记为早退 EarlyMinutesAsLack int64 `json:"early_minutes_as_lack,omitempty"` // 早退多久记为缺卡 OffDelayMinutes int64 `json:"off_delay_minutes,omitempty"` // 最晚多久可打下班卡 }
CreateAttendanceShiftRespShiftPunchTimeRule ...
type CreateAttendanceShiftRespShiftRestTimeRule ¶
type CreateAttendanceShiftRespShiftRestTimeRule struct { RestBeginTime string `json:"rest_begin_time,omitempty"` // 休息开始 RestEndTime string `json:"rest_end_time,omitempty"` // 休息结束 }
CreateAttendanceShiftRespShiftRestTimeRule ...
type CreateAttendanceUserApprovalReq ¶
type CreateAttendanceUserApprovalReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_id 的员工工号类型,必选字段,可用值:【employee_id(员工employeeId),employee_no(员工工号)】,示例值:"employee_id" UserApproval *CreateAttendanceUserApprovalReqUserApproval `json:"user_approval,omitempty"` // 审批信息 }
CreateAttendanceUserApprovalReq ...
type CreateAttendanceUserApprovalReqUserApproval ¶
type CreateAttendanceUserApprovalReqUserApproval struct { UserID string `json:"user_id,omitempty"` // 审批用户 Date string `json:"date,omitempty"` // 审批作用时间 Outs []*CreateAttendanceUserApprovalReqUserApprovalOut `json:"outs,omitempty"` // 外出信息 Leaves []*CreateAttendanceUserApprovalReqUserApprovalLeave `json:"leaves,omitempty"` // 请假信息 OvertimeWorks []*CreateAttendanceUserApprovalReqUserApprovalOvertimeWork `json:"overtime_works,omitempty"` // 加班信息 Trips []*CreateAttendanceUserApprovalReqUserApprovalTrip `json:"trips,omitempty"` // 出差信息 }
CreateAttendanceUserApprovalReqUserApproval ...
type CreateAttendanceUserApprovalReqUserApprovalLeave ¶
type CreateAttendanceUserApprovalReqUserApprovalLeave struct { UniqID string `json:"uniq_id,omitempty"` // 假期类型唯一 ID,代表一种假期类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 假期时长单位,可用值:【1(天),2(小时),3(半天),4(半小时)】 Interval int64 `json:"interval,omitempty"` // 假期时长(单位秒) StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 假期多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果假期名称没有所对应语言的名称,则会使用默认语言的名称,可用值:【ch(中文),en(英文),ja(日文)】 Reason string `json:"reason,omitempty"` // 请假理由,必选字段 }
CreateAttendanceUserApprovalReqUserApprovalLeave ...
type CreateAttendanceUserApprovalReqUserApprovalOut ¶
type CreateAttendanceUserApprovalReqUserApprovalOut struct { UniqID string `json:"uniq_id,omitempty"` // 外出类型唯一 ID,代表一种外出类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 外出时长单位,可用值:【1(天),2(小时),3(半天),4(半小时)】 Interval int64 `json:"interval,omitempty"` // 假期时长(单位秒) StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 外出多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果外出名称没有所对应语言的名称,则会使用默认语言的名称 Reason string `json:"reason,omitempty"` // 外出理由 }
CreateAttendanceUserApprovalReqUserApprovalOut ...
type CreateAttendanceUserApprovalReqUserApprovalOvertimeWork ¶
type CreateAttendanceUserApprovalReqUserApprovalOvertimeWork struct { Duration float64 `json:"duration,omitempty"` // 加班时长 Unit int64 `json:"unit,omitempty"` // 加班时长单位,可用值:【1(天),2(小时)】 Category int64 `json:"category,omitempty"` // 加班日期类型,可用值:【1(工作日),2(休息日),3(节假日)】 Type int64 `json:"type,omitempty"` // 加班规则类型,可用值:【0(不关联加班规则),1(调休),2(加班费)】 StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss }
CreateAttendanceUserApprovalReqUserApprovalOvertimeWork ...
type CreateAttendanceUserApprovalReqUserApprovalTrip ¶
type CreateAttendanceUserApprovalReqUserApprovalTrip struct { StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss Reason string `json:"reason,omitempty"` // 出差理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间,时间格式为 yyyy-MM-dd HH:mm:ss ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间,时间格式为 yyyy-MM-dd HH:mm:ss }
CreateAttendanceUserApprovalReqUserApprovalTrip ...
type CreateAttendanceUserApprovalResp ¶
type CreateAttendanceUserApprovalResp struct {
UserApprovals []*CreateAttendanceUserApprovalRespUserApproval `json:"user_approvals,omitempty"` // 审批结果列表
}
CreateAttendanceUserApprovalResp ...
type CreateAttendanceUserApprovalRespUserApproval ¶
type CreateAttendanceUserApprovalRespUserApproval struct { UserID string `json:"user_id,omitempty"` // 审批用户 ID Date string `json:"date,omitempty"` // 审批作用时间 Outs []*CreateAttendanceUserApprovalRespUserApprovalOut `json:"outs,omitempty"` // 外出信息 Leaves []*CreateAttendanceUserApprovalRespUserApprovalLeave `json:"leaves,omitempty"` // 请假信息 OvertimeWorks []*CreateAttendanceUserApprovalRespUserApprovalOvertimeWork `json:"overtime_works,omitempty"` // 加班信息 Trips []*CreateAttendanceUserApprovalRespUserApprovalTrip `json:"trips,omitempty"` // 出差信息 }
CreateAttendanceUserApprovalRespUserApproval ...
type CreateAttendanceUserApprovalRespUserApprovalLeave ¶
type CreateAttendanceUserApprovalRespUserApprovalLeave struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例ID UniqID string `json:"uniq_id,omitempty"` // 假期类型唯一 ID,代表一种假期类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 假期时长单位,可用值:【1(天),2(小时),3(半天),4(半小时)】 Interval int64 `json:"interval,omitempty"` // 假期时长(单位秒) StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 假期多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果假期名称没有所对应语言的名称,则会使用默认语言的名称,可用值:【ch(中文),en(英文),ja(日文)】 Reason string `json:"reason,omitempty"` // 请假理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间,时间格式为 yyyy-MM-dd HH:mm:ss ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间,时间格式为 yyyy-MM-dd HH:mm:ss }
CreateAttendanceUserApprovalRespUserApprovalLeave ...
type CreateAttendanceUserApprovalRespUserApprovalOut ¶
type CreateAttendanceUserApprovalRespUserApprovalOut struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例ID UniqID string `json:"uniq_id,omitempty"` // 外出类型唯一 ID,代表一种外出类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 外出时长单位,可用值:【1(天),2(小时),3(半天),4(半小时)】 Interval int64 `json:"interval,omitempty"` // 假期时长(单位秒) StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 外出多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果外出名称没有所对应语言的名称,则会使用默认语言的名称 Reason string `json:"reason,omitempty"` // 外出理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间 ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间 }
CreateAttendanceUserApprovalRespUserApprovalOut ...
type CreateAttendanceUserApprovalRespUserApprovalOvertimeWork ¶
type CreateAttendanceUserApprovalRespUserApprovalOvertimeWork struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例ID Duration float64 `json:"duration,omitempty"` // 加班时长 Unit int64 `json:"unit,omitempty"` // 加班时长单位,可用值:【1(天),2(小时)】 Category int64 `json:"category,omitempty"` // 加班日期类型,可用值:【1(工作日),2(休息日),3(节假日)】 Type int64 `json:"type,omitempty"` // 加班规则类型,可用值:【0(不关联加班规则),1(调休),2(加班费),3(关联加班规则,没有调休或加班费)】 StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss }
CreateAttendanceUserApprovalRespUserApprovalOvertimeWork ...
type CreateAttendanceUserApprovalRespUserApprovalTrip ¶
type CreateAttendanceUserApprovalRespUserApprovalTrip struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例ID StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss Reason string `json:"reason,omitempty"` // 出差理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间,时间格式为 yyyy-MM-dd HH:mm:ss ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间,时间格式为 yyyy-MM-dd HH:mm:ss }
CreateAttendanceUserApprovalRespUserApprovalTrip ...
type CreateAttendanceUserTaskRemedyReq ¶
type CreateAttendanceUserTaskRemedyReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"abd754f7" RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期, 示例值:20210701 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,0:第 1 次上下班,1:第 2 次上下班,2:第 3 次上下班,自由班制填 0, 示例值:0 WorkType int64 `json:"work_type,omitempty"` // 上班 / 下班,1:上班,2:下班,自由班制填 0, 示例值:1 ApprovalID *string `json:"approval_id,omitempty"` // 审批 ID, 示例值:"6737202939523236113" RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间,时间格式为 yyyy-MM-dd HH:mm, 示例值:"2021-07-01 08:00" Status *int64 `json:"status,omitempty"` // 补卡状态, 示例值:2, 可选值有: `0`:审批中, `2`:已通过, `3`:已取消, `4`:通过后撤回 Reason string `json:"reason,omitempty"` // 补卡原因, 示例值:"忘记打卡" Time *string `json:"time,omitempty"` // 补卡时间,精确到秒的时间戳, 示例值:"1611476284" TimeZone *string `json:"time_zone,omitempty"` // 补卡时考勤组时区, 示例值:"Asia/Shanghai" CreateTime *string `json:"create_time,omitempty"` // 补卡发起时间,精确到秒的时间戳, 示例值:"1611476284" UpdateTime *string `json:"update_time,omitempty"` // 补卡状态更新时间,精确到秒的时间戳, 示例值:"1611476284" }
CreateAttendanceUserTaskRemedyReq ...
type CreateAttendanceUserTaskRemedyResp ¶
type CreateAttendanceUserTaskRemedyResp struct {
UserRemedy *CreateAttendanceUserTaskRemedyRespUserRemedy `json:"user_remedy,omitempty"` // 补卡审批信息
}
CreateAttendanceUserTaskRemedyResp ...
type CreateAttendanceUserTaskRemedyRespUserRemedy ¶
type CreateAttendanceUserTaskRemedyRespUserRemedy struct { UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,0:第 1 次上下班,1:第 2 次上下班,2:第 3 次上下班,自由班制填 0 WorkType int64 `json:"work_type,omitempty"` // 上班 / 下班,1:上班,2:下班,自由班制填 0 ApprovalID string `json:"approval_id,omitempty"` // 审批 ID RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间,时间格式为 yyyy-MM-dd HH:mm Status int64 `json:"status,omitempty"` // 补卡状态, 可选值有: `0`:审批中, `2`:已通过, `3`:已取消, `4`:通过后撤回 Reason string `json:"reason,omitempty"` // 补卡原因 Time string `json:"time,omitempty"` // 补卡时间,精确到秒的时间戳 TimeZone string `json:"time_zone,omitempty"` // 补卡时考勤组时区 CreateTime string `json:"create_time,omitempty"` // 补卡发起时间,精确到秒的时间戳 UpdateTime string `json:"update_time,omitempty"` // 补卡状态更新时间,精确到秒的时间戳 }
CreateAttendanceUserTaskRemedyRespUserRemedy ...
type CreateBitableFieldReq ¶
type CreateBitableFieldReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" FieldName string `json:"field_name,omitempty"` // 多维表格字段名, 示例值:"多行文本" Type int64 `json:"type,omitempty"` // 多维表格字段类型, 示例值:1, 可选值有: `1`:多行文本, `2`:数字, `3`:单选, `4`:多选, `5`:日期, `7`:复选框, `11`:人员, `15`:超链接, `17`:附件, `18`:关联, `20`:公式, `21`:双向关联, `1001`:创建时间, `1002`:最后更新时间, `1003`:创建人, `1004`:修改人 Property *CreateBitableFieldReqProperty `json:"property,omitempty"` // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide) }
CreateBitableFieldReq ...
type CreateBitableFieldReqProperty ¶
type CreateBitableFieldReqProperty struct { Options []*CreateBitableFieldReqPropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 Formatter *string `json:"formatter,omitempty"` // 数字、公式字段的显示格式, 示例值:"0" DateFormatter *string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式, 示例值:"日期格式" AutoFill *bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间, 示例值:false Multiple *bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录, 示例值:false TableID *string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的id, 示例值:"tblsRc9GRRXKqhvW" TableName *string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字, 示例值:""table2"" BackFieldName *string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字, 示例值:""table1-双向关联"" }
CreateBitableFieldReqProperty ...
type CreateBitableFieldReqPropertyOption ¶
type CreateBitableFieldReqPropertyOption struct { Name *string `json:"name,omitempty"` // 选项名, 示例值:"红色" ID *string `json:"id,omitempty"` // 选项id, 示例值:"optKl35lnG" Color *int64 `json:"color,omitempty"` // 选项颜色, 示例值:0, 取值范围:`0` ~ `54` }
CreateBitableFieldReqPropertyOption ...
type CreateBitableFieldResp ¶
type CreateBitableFieldResp struct {
Field *CreateBitableFieldRespField `json:"field,omitempty"` // 字段
}
CreateBitableFieldResp ...
type CreateBitableFieldRespField ¶
type CreateBitableFieldRespField struct { FieldID string `json:"field_id,omitempty"` // 多维表格字段 id FieldName string `json:"field_name,omitempty"` // 多维表格字段名 Type int64 `json:"type,omitempty"` // 多维表格字段类型, 可选值有: `1`:多行文本, `2`:数字, `3`:单选, `4`:多选, `5`:日期, `7`:复选框, `11`:人员, `15`:超链接, `17`:附件, `18`:关联, `20`:公式, `21`:双向关联, `1001`:创建时间, `1002`:最后更新时间, `1003`:创建人, `1004`:修改人 Property *CreateBitableFieldRespFieldProperty `json:"property,omitempty"` // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide) }
CreateBitableFieldRespField ...
type CreateBitableFieldRespFieldProperty ¶
type CreateBitableFieldRespFieldProperty struct { Options []*CreateBitableFieldRespFieldPropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 Formatter string `json:"formatter,omitempty"` // 数字、公式字段的显示格式 DateFormatter string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式 AutoFill bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间 Multiple bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录 TableID string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的id TableName string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字 BackFieldName string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字 }
CreateBitableFieldRespFieldProperty ...
type CreateBitableFieldRespFieldPropertyOption ¶
type CreateBitableFieldRespFieldPropertyOption struct { Name string `json:"name,omitempty"` // 选项名 ID string `json:"id,omitempty"` // 选项id Color int64 `json:"color,omitempty"` // 选项颜色 }
CreateBitableFieldRespFieldPropertyOption ...
type CreateBitableRecordReq ¶
type CreateBitableRecordReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"bascng7vrxcxpig7geggXiCtadY" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblUa9vcYjWQYJCj" Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
CreateBitableRecordReq ...
type CreateBitableRecordResp ¶
type CreateBitableRecordResp struct {
Record *CreateBitableRecordRespRecord `json:"record,omitempty"` // 记录
}
CreateBitableRecordResp ...
type CreateBitableRecordRespRecord ¶
type CreateBitableRecordRespRecord struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
CreateBitableRecordRespRecord ...
type CreateBitableTableReq ¶
type CreateBitableTableReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" Table *CreateBitableTableReqTable `json:"table,omitempty"` // 数据表 }
CreateBitableTableReq ...
type CreateBitableTableReqTable ¶
type CreateBitableTableReqTable struct {
Name *string `json:"name,omitempty"` // 数据表 名字, 示例值:"table1"
}
CreateBitableTableReqTable ...
type CreateBitableTableResp ¶
type CreateBitableTableResp struct {
TableID string `json:"table_id,omitempty"` // table id
}
CreateBitableTableResp ...
type CreateBitableViewReq ¶
type CreateBitableViewReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" ViewName string `json:"view_name,omitempty"` // 视图名字, 示例值:"表格视图1" ViewType *string `json:"view_type,omitempty"` // 视图类型, 示例值:"grid", 可选值有: `grid`:表格视图, `kanban`:看板视图, `gallery`:画册视图, `gantt`:甘特视图 }
CreateBitableViewReq ...
type CreateBitableViewResp ¶
type CreateBitableViewResp struct {
View *CreateBitableViewRespApptableview `json:"view,omitempty"` // 视图
}
CreateBitableViewResp ...
type CreateBitableViewRespApptableview ¶
type CreateBitableViewRespApptableview struct { ViewID string `json:"view_id,omitempty"` // 视图Id ViewName string `json:"view_name,omitempty"` // 视图名字 ViewType string `json:"view_type,omitempty"` // 视图类型 }
CreateBitableViewRespApptableview ...
type CreateCalendarACLReq ¶
type CreateCalendarACLReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" Role CalendarRole `json:"role,omitempty"` // 对日历的访问权限, 示例值:"writer", 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 Scope *CreateCalendarACLReqScope `json:"scope,omitempty"` // 权限范围 }
CreateCalendarACLReq ...
type CreateCalendarACLReqScope ¶
type CreateCalendarACLReqScope struct { Type string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id, 示例值:"user", 可选值有: `user`:用户 UserID *string `json:"user_id,omitempty"` // 用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_xxxxxx" }
CreateCalendarACLReqScope ...
type CreateCalendarACLResp ¶
type CreateCalendarACLResp struct { ACLID string `json:"acl_id,omitempty"` // acl资源ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Role CalendarRole `json:"role,omitempty"` // 对日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 Scope *CreateCalendarACLRespScope `json:"scope,omitempty"` // 权限范围 }
CreateCalendarACLResp ...
type CreateCalendarACLRespScope ¶
type CreateCalendarACLRespScope struct { Type string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id, 可选值有: `user`:用户 UserID string `json:"user_id,omitempty"` // 用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) }
CreateCalendarACLRespScope ...
type CreateCalendarEventAttendeeReq ¶
type CreateCalendarEventAttendeeReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID CalendarID string `path:"calendar_id" json:"-"` // 日历 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" Attendees []*CreateCalendarEventAttendeeReqAttendee `json:"attendees,omitempty"` // 新增参与人列表;<br>, 单次请求会议室的数量限制为100。 NeedNotification *bool `json:"need_notification,omitempty"` // 是否给参与人发送bot通知 默认为true, 示例值:false }
CreateCalendarEventAttendeeReq ...
type CreateCalendarEventAttendeeReqAttendee ¶
type CreateCalendarEventAttendeeReqAttendee struct { Type *CalendarEventAttendeeType `json:"type,omitempty"` // 参与人类型, 示例值:"user", 可选值有: `user`:用户, `chat`:群组, `resource`:会议室, `third_party`:邮箱 IsOptional *bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」,无法编辑群参与人的此字段, 示例值:true, 默认值: `false` UserID *string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_xxxxxxxx" ChatID *string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id,参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_xxxxxxxxx" RoomID *string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id, 示例值:"omm_xxxxxxxx" ThirdPartyEmail *string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱, 示例值:"wangwu@email.com" OperateID *string `json:"operate_id,omitempty"` // 如果日程是使用应用身份创建的,在添加会议室的时候,用来指定会议室的联系人,在会议室视图展示。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_xxxxxxxx" ResourceCustomization *CreateCalendarEventAttendeeReqAttendeeResourceCustomization `json:"resource_customization,omitempty"` // 会议室的个性化配置 }
CreateCalendarEventAttendeeReqAttendee ...
type CreateCalendarEventAttendeeReqAttendeeResourceCustomization ¶
type CreateCalendarEventAttendeeReqAttendeeResourceCustomization struct { IndexKey string `json:"index_key,omitempty"` // 每个配置的唯一ID, 示例值:"16281481596100" InputContent *string `json:"input_content,omitempty"` // 当type类型为填空时,该参数需要填入, 示例值:"xxx" Options []*CreateCalendarEventAttendeeReqAttendeeResourceCustomizationOption `json:"options,omitempty"` // 每个配置的选项 }
CreateCalendarEventAttendeeReqAttendeeResourceCustomization ...
type CreateCalendarEventAttendeeReqAttendeeResourceCustomizationOption ¶
type CreateCalendarEventAttendeeReqAttendeeResourceCustomizationOption struct { OptionKey *string `json:"option_key,omitempty"` // 每个选项的唯一ID, 示例值:"16281481596185" OthersContent *string `json:"others_content,omitempty"` // 当type类型为其它选项时,该参数需要填入, 示例值:"xxx" }
CreateCalendarEventAttendeeReqAttendeeResourceCustomizationOption ...
type CreateCalendarEventAttendeeResp ¶
type CreateCalendarEventAttendeeResp struct {
Attendees []*CreateCalendarEventAttendeeRespAttendee `json:"attendees,omitempty"` // 新增参与人后的日程所有参与人列表
}
CreateCalendarEventAttendeeResp ...
type CreateCalendarEventAttendeeRespAttendee ¶
type CreateCalendarEventAttendeeRespAttendee struct { Type CalendarEventAttendeeType `json:"type,omitempty"` // 参与人类型, 可选值有: `user`:用户, `chat`:群组, `resource`:会议室, `third_party`:邮箱 AttendeeID string `json:"attendee_id,omitempty"` // 参与人ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) RsvpStatus string `json:"rsvp_status,omitempty"` // 参与人RSVP状态, 可选值有: `needs_action`:参与人尚未回复状态,或表示会议室预约中, `accept`:参与人回复接受,或表示会议室预约成功, `tentative`:参与人回复待定, `decline`:参与人回复拒绝,或表示会议室预约失败, `removed`:参与人或会议室已经从日程中被移除 IsOptional bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」,无法编辑群参与人的此字段 IsOrganizer bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal bool `json:"is_external,omitempty"` // 参与人是否为外部参与人;外部参与人不支持编辑 DisplayName string `json:"display_name,omitempty"` // 参与人名称 ChatMembers []*CreateCalendarEventAttendeeRespAttendeeChatMember `json:"chat_members,omitempty"` // 群中的群成员,当type为Chat时有效;群成员不支持编辑 UserID string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ChatID string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id,参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) RoomID string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id ThirdPartyEmail string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱 OperateID string `json:"operate_id,omitempty"` // 如果日程是使用应用身份创建的,在添加会议室的时候,用来指定会议室的联系人,在会议室视图展示。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ResourceCustomization *CreateCalendarEventAttendeeRespAttendeeResourceCustomization `json:"resource_customization,omitempty"` // 会议室的个性化配置 }
CreateCalendarEventAttendeeRespAttendee ...
type CreateCalendarEventAttendeeRespAttendeeChatMember ¶
type CreateCalendarEventAttendeeRespAttendeeChatMember struct { RsvpStatus string `json:"rsvp_status,omitempty"` // 参与人RSVP状态, 可选值有: `needs_action`:参与人尚未回复状态,或表示会议室预约中, `accept`:参与人回复接受,或表示会议室预约成功, `tentative`:参与人回复待定, `decline`:参与人回复拒绝,或表示会议室预约失败, `removed`:参与人或会议室已经从日程中被移除 IsOptional bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」 DisplayName string `json:"display_name,omitempty"` // 参与人名称 IsOrganizer bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal bool `json:"is_external,omitempty"` // 参与人是否为外部参与人 }
CreateCalendarEventAttendeeRespAttendeeChatMember ...
type CreateCalendarEventAttendeeRespAttendeeResourceCustomization ¶
type CreateCalendarEventAttendeeRespAttendeeResourceCustomization struct { IndexKey string `json:"index_key,omitempty"` // 每个配置的唯一ID InputContent string `json:"input_content,omitempty"` // 当type类型为填空时,该参数需要填入 Options []*CreateCalendarEventAttendeeRespAttendeeResourceCustomizationOption `json:"options,omitempty"` // 每个配置的选项 }
CreateCalendarEventAttendeeRespAttendeeResourceCustomization ...
type CreateCalendarEventAttendeeRespAttendeeResourceCustomizationOption ¶
type CreateCalendarEventAttendeeRespAttendeeResourceCustomizationOption struct { OptionKey string `json:"option_key,omitempty"` // 每个选项的唯一ID OthersContent string `json:"others_content,omitempty"` // 当type类型为其它选项时,该参数需要填入 }
CreateCalendarEventAttendeeRespAttendeeResourceCustomizationOption ...
type CreateCalendarEventReq ¶
type CreateCalendarEventReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" Summary *string `json:"summary,omitempty"` // 日程标题, 示例值:"日程标题", 最大长度:`1000` 字符 Description *string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失, 示例值:"日程描述", 最大长度:`40960` 字符 NeedNotification *bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true, 示例值:false StartTime *CreateCalendarEventReqStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *CreateCalendarEventReqEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *CreateCalendarEventReqVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility *string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 示例值:"default", 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility *string `json:"attendee_ability,omitempty"` // 参与人权限, 示例值:"can_see_others", 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus *string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 示例值:"busy", 可选值有: `busy`:忙碌, `free`:空闲 Location *CreateCalendarEventReqLocation `json:"location,omitempty"` // 日程地点 Color *int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。, 示例值:-1 Reminders []*CreateCalendarEventReqReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence *string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。, 示例值:"FREQ=DAILY;INTERVAL=1", 最大长度:`2000` 字符 Schemas []*CreateCalendarEventReqSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
CreateCalendarEventReq ...
type CreateCalendarEventReqEndTime ¶
type CreateCalendarEventReqEndTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
CreateCalendarEventReqEndTime ...
type CreateCalendarEventReqLocation ¶
type CreateCalendarEventReqLocation struct { Name *string `json:"name,omitempty"` // 地点名称, 示例值:"地点名称", 长度范围:`1` ~ `512` 字符 Address *string `json:"address,omitempty"` // 地点地址, 示例值:"地点地址", 长度范围:`1` ~ `255` 字符 Latitude *float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准, 示例值:1.100000023841858 Longitude *float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准, 示例值:2.200000047683716 }
CreateCalendarEventReqLocation ...
type CreateCalendarEventReqReminder ¶
type CreateCalendarEventReqReminder struct {
Minutes *int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效, 示例值:5, 取值范围:`-20160` ~ `20160`
}
CreateCalendarEventReqReminder ...
type CreateCalendarEventReqSchema ¶
type CreateCalendarEventReqSchema struct { UiName *string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域, 示例值:"ForwardIcon" UiStatus *string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 示例值:"hide", 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink *string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。**, 示例值:"https://applink.feishu.cn/client/calendar/event/detail?calendarId=xxxxxx&key=xxxxxx&originalTime=xxxxxx&startTime=xxxxxx", 最大长度:`2000` 字符 }
CreateCalendarEventReqSchema ...
type CreateCalendarEventReqStartTime ¶
type CreateCalendarEventReqStartTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
CreateCalendarEventReqStartTime ...
type CreateCalendarEventReqVchat ¶
type CreateCalendarEventReqVchat struct { VCType *string `json:"vc_type,omitempty"` // 视频会议类型, 示例值:"third_party", 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType *string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 示例值:"vc", 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description *string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案, 示例值:"发起视频会议", 长度范围:`0` ~ `500` 字符 MeetingURL *string `json:"meeting_url,omitempty"` // 视频会议URL, 示例值:"https://example.com", 长度范围:`1` ~ `2000` 字符 }
CreateCalendarEventReqVchat ...
type CreateCalendarEventResp ¶
type CreateCalendarEventResp struct {
Event *CreateCalendarEventRespEvent `json:"event,omitempty"` // 新创建的日程实体
}
CreateCalendarEventResp ...
type CreateCalendarEventRespEvent ¶
type CreateCalendarEventRespEvent struct { EventID string `json:"event_id,omitempty"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) OrganizerCalendarID string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日程标题 Description string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 NeedNotification bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true StartTime *CreateCalendarEventRespEventStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *CreateCalendarEventRespEventEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *CreateCalendarEventRespEventVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility string `json:"attendee_ability,omitempty"` // 参与人权限, 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `busy`:忙碌, `free`:空闲 Location *CreateCalendarEventRespEventLocation `json:"location,omitempty"` // 日程地点 Color int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*CreateCalendarEventRespEventReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。 Status string `json:"status,omitempty"` // 日程状态, 可选值有: `tentative`:未回应, `confirmed`:已确认, `cancelled`:日程已取消 IsException bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventID string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id Schemas []*CreateCalendarEventRespEventSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
CreateCalendarEventRespEvent ...
type CreateCalendarEventRespEventEndTime ¶
type CreateCalendarEventRespEventEndTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
CreateCalendarEventRespEventEndTime ...
type CreateCalendarEventRespEventLocation ¶
type CreateCalendarEventRespEventLocation struct { Name string `json:"name,omitempty"` // 地点名称 Address string `json:"address,omitempty"` // 地点地址 Latitude float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
CreateCalendarEventRespEventLocation ...
type CreateCalendarEventRespEventReminder ¶
type CreateCalendarEventRespEventReminder struct {
Minutes int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效
}
CreateCalendarEventRespEventReminder ...
type CreateCalendarEventRespEventSchema ¶
type CreateCalendarEventRespEventSchema struct { UiName string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域 UiStatus string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
CreateCalendarEventRespEventSchema ...
type CreateCalendarEventRespEventStartTime ¶
type CreateCalendarEventRespEventStartTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
CreateCalendarEventRespEventStartTime ...
type CreateCalendarEventRespEventVchat ¶
type CreateCalendarEventRespEventVchat struct { VCType string `json:"vc_type,omitempty"` // 视频会议类型, 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingURL string `json:"meeting_url,omitempty"` // 视频会议URL }
CreateCalendarEventRespEventVchat ...
type CreateCalendarExchangeBindingReq ¶
type CreateCalendarExchangeBindingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AdminAccount *string `json:"admin_account,omitempty"` // admin账户, 示例值:"email_admin_example@outlook.com", 长度范围:`1` ~ `500` 字符 ExchangeAccount *string `json:"exchange_account,omitempty"` // 用户绑定的exchange账户, 示例值:"email_account_example@outlook.com", 长度范围:`1` ~ `500` 字符 UserID *string `json:"user_id,omitempty"` // exchange账户绑定user唯一标识id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_xxxxxxxxxxxxxxxxxx" }
CreateCalendarExchangeBindingReq ...
type CreateCalendarExchangeBindingResp ¶
type CreateCalendarExchangeBindingResp struct { AdminAccount string `json:"admin_account,omitempty"` // admin账户, 字段权限要求: 获取用户邮箱信息 ExchangeAccount string `json:"exchange_account,omitempty"` // 用户绑定的exchange账户, 字段权限要求: 获取用户邮箱信息 UserID string `json:"user_id,omitempty"` // exchange账户绑定user唯一标识id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Status string `json:"status,omitempty"` // exchange账户同步状态, 可选值有: `doing`:日历正在同步, `cal_done`:日历同步完成, `timespan_done`:近期时间段同步完成, `done`:日程同步完成, `err`:同步错误 ExchangeBindingID string `json:"exchange_binding_id,omitempty"` // exchange绑定唯一标识id。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) }
CreateCalendarExchangeBindingResp ...
type CreateCalendarReq ¶
type CreateCalendarReq struct { Summary *string `json:"summary,omitempty"` // 日历标题, 示例值:"测试日历", 最大长度:`255` 字符 Description *string `json:"description,omitempty"` // 日历描述, 示例值:"使用开放接口创建日历", 最大长度:`255` 字符 Permissions *CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 示例值:"private", 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color *int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效, 示例值:-1 SummaryAlias *string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效, 示例值:"日历备注名", 最大长度:`255` 字符 }
CreateCalendarReq ...
type CreateCalendarResp ¶
type CreateCalendarResp struct {
Calendar *CreateCalendarRespCalendar `json:"calendar,omitempty"` // 新创建的日历实体
}
CreateCalendarResp ...
type CreateCalendarRespCalendar ¶
type CreateCalendarRespCalendar struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
CreateCalendarRespCalendar ...
type CreateCalendarTimeoffEventReq ¶
type CreateCalendarTimeoffEventReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `json:"user_id,omitempty"` // 用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_XXXXXXXXXX" Timezone string `json:"timezone,omitempty"` // 时区, 示例值:"Asia/Shanghai" StartTime string `json:"start_time,omitempty"` // 休假开始时间: 有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;,时间戳格式是按小时休假日程,日期格式是全天休假日程;,start_time与end_time格式需保持一致,否则无效。, 示例值:"2021-01-01" EndTime string `json:"end_time,omitempty"` // 休假结束时间:,有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;,时间戳格式是按小时休假日程,日期格式是全天休假日程;,start_time与end_time格式需保持一致,否则无效。, 示例值:"2021-01-01" Title *string `json:"title,omitempty"` // 自定义请假日程标题,没有设置则为默认日程标题, 示例值:"请假中(全天) / 1-Day Time Off" Description *string `json:"description,omitempty"` // 自定义请假日程描述,没有设置则为默认日程描述, 示例值:"若删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。" }
CreateCalendarTimeoffEventReq ...
type CreateCalendarTimeoffEventResp ¶
type CreateCalendarTimeoffEventResp struct { TimeoffEventID string `json:"timeoff_event_id,omitempty"` // 请假日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) UserID string `json:"user_id,omitempty"` // 用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Timezone string `json:"timezone,omitempty"` // 时区 StartTime string `json:"start_time,omitempty"` // 休假开始时间: 有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;,时间戳格式是按小时休假日程,日期格式是全天休假日程;,start_time与end_time格式需保持一致,否则无效。 EndTime string `json:"end_time,omitempty"` // 休假结束时间:,有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;,时间戳格式是按小时休假日程,日期格式是全天休假日程;,start_time与end_time格式需保持一致,否则无效。 Title string `json:"title,omitempty"` // 自定义请假日程标题,没有设置则为默认日程标题 Description string `json:"description,omitempty"` // 自定义请假日程描述,没有设置则为默认日程描述 }
CreateCalendarTimeoffEventResp ...
type CreateChatManagerReq ¶
type CreateChatManagerReq struct { MemberIDType *IDType `query:"member_id_type" json:"-"` // 群成员 id 类型 open_id/user_id/union_id/app_id, 示例值:"open_id", 可选值有: `user_id`:以 user_id 来识别成员,需要有获取用户 UserID 的权限 ([什么是 User ID?](https://open.feishu.cn/document/home/user-identity-introduction/user-id)), `union_id`:以 union_id 来识别成员([什么是 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/union-id)), `open_id`:以 open_id 来识别成员([什么是 Open ID?](https://open.feishu.cn/document/home/user-identity-introduction/open-id)), `app_id`:以 app_id 来识别成员([获取应用身份访问凭证](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g)) ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" ManagerIDs []string `json:"manager_ids,omitempty"` // 要增加的 manager_id, 示例值:["ou_9204a37300b3700d61effaa439f34295"], 最大长度:`50` }
CreateChatManagerReq ...
type CreateChatManagerResp ¶
type CreateChatManagerResp struct { ChatManagers []string `json:"chat_managers,omitempty"` // 群目前用户类型的管理员 id ChatBotManagers []string `json:"chat_bot_managers,omitempty"` // 群目前机器人类型的管理员 id }
CreateChatManagerResp ...
type CreateChatReq ¶
type CreateChatReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID Avatar *string `json:"avatar,omitempty"` // 群头像对应的 Image Key,可通过[上传图片](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create)获取(注意:上传图片的 [image_type] 需要指定为 [avatar]), 示例值:"default-avatar_44ae0ca3-e140-494b-956f-78091e348435" Name *string `json:"name,omitempty"` // 群名称, 示例值:"测试群名称" Description *string `json:"description,omitempty"` // 群描述, 示例值:"测试群描述" I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 OwnerID *string `json:"owner_id,omitempty"` // 创建群时指定的群主,不填时指定建群的机器人为群主。,群主 ID,ID值与查询参数中的 user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"4d7a3c6g" ChatMode *string `json:"chat_mode,omitempty"` // 群模式, 可选值有: `group`:群组, 示例值:"group" ChatType *ChatType `json:"chat_type,omitempty"` // 群类型, 可选值有: `private`:私有群, `public`:公开群, 示例值:"private" External *bool `json:"external,omitempty"` // 是否是外部群, 示例值:false JoinMessageVisibility *MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性, 可选值有: `only_owner`:仅群主和管理员可见, `all_members`:所有成员可见, `not_anyone`:任何人均不可见, 示例值:"all_members" LeaveMessageVisibility *MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性, 可选值有: `only_owner`:仅群主和管理员可见, `all_members`:所有成员可见, `not_anyone`:任何人均不可见, 示例值:"all_members" MembershipApproval *MembershipApproval `json:"membership_approval,omitempty"` // 加群审批, 可选值有: `no_approval_required`:无需审批, `approval_required`:需要审批, 示例值:"no_approval_required" }
CreateChatReq ...
type CreateChatResp ¶
type CreateChatResp struct { ChatID string `json:"chat_id,omitempty"` // 群 ID,详情参见:[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) Avatar string `json:"avatar,omitempty"` // 群头像 URL Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 OwnerID string `json:"owner_id,omitempty"` // 群主 ID,ID值与查询参数中的 user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),当群主是机器人时,该字段不返回 OwnerIDType IDType `json:"owner_id_type,omitempty"` // 群主 ID 对应的ID类型,与查询参数中的 user_id_type 相同。取值为:`open_id`、`user_id`、`union_id`其中之一。,当群主是机器人时,该字段不返回 AddMemberPermission AddMemberPermission `json:"add_member_permission,omitempty"` // 拉 用户或机器人 入群权限, 可选值有: `only_owner`:仅群主和管理员, `all_members`:所有成员 AtAllPermission AtAllPermission `json:"at_all_permission,omitempty"` // at 所有人权限, 可选值有: `only_owner`:仅群主和管理员, `all_members`:所有成员 EditPermission EditPermission `json:"edit_permission,omitempty"` // 群编辑权限, 可选值有: `only_owner`:仅群主和管理员, `all_members`:所有成员 ChatMode string `json:"chat_mode,omitempty"` // 群模式, 可选值有: `group`:群组 ChatType ChatType `json:"chat_type,omitempty"` // 群类型, 可选值有: `private`:私有群, `public`:公开群 ChatTag string `json:"chat_tag,omitempty"` // 群标签,如有多个,则按照下列顺序返回第一个, 可选值有: `inner`:内部群, `tenant`:公司群, `department`:部门群, `edu`:教育群, `meeting`:会议群, `customer_service`:客服群 External bool `json:"external,omitempty"` // 是否是外部群 TenantKey string `json:"tenant_key,omitempty"` // 租户在飞书上的唯一标识,用来换取对应的tenant_access_token,也可以用作租户在应用里面的唯一标识 JoinMessageVisibility MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性, 可选值有: `only_owner`:仅群主和管理员可见, `all_members`:所有成员可见, `not_anyone`:任何人均不可见 LeaveMessageVisibility MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性, 可选值有: `only_owner`:仅群主和管理员可见, `all_members`:所有成员可见, `not_anyone`:任何人均不可见 MembershipApproval MembershipApproval `json:"membership_approval,omitempty"` // 加群审批, 可选值有: `no_approval_required`:无需审批, `approval_required`:需要审批 ModerationPermission ModerationPermission `json:"moderation_permission,omitempty"` // 发言权限, 可选值有: `only_owner`:仅群主和管理员, `all_members`:所有成员, `moderator_list`:指定群成员 }
CreateChatResp ...
type CreateContactGroupReq ¶
type CreateContactGroupReq struct { GroupID *string `json:"group_id,omitempty"` // 自定义用户组ID,可在创建时自定义,不自定义则由系统自动生成,已创建用户组不允许修改 group_id 。,自定义group_id数据校验规则:,最大长度:64 字符,校验规则:数字、大小写字母的组合,不能包含空格, 示例值:"g122817" Name string `json:"name,omitempty"` // 用户组的名字,企业内唯一,最大长度:100 字符, 示例值:"IT 外包组" Description *string `json:"description,omitempty"` // 用户组描述, 示例值:"IT服务人员的集合" Type *int64 `json:"type,omitempty"` // 用户组的类型。默认为1表示普通用户组, 示例值:1, 可选值有: `1`:普通用户组, 默认值: `1` }
CreateContactGroupReq ...
type CreateContactGroupResp ¶
type CreateContactGroupResp struct {
GroupID string `json:"group_id,omitempty"` // 用户组ID
}
CreateContactGroupResp ...
type CreateContactUnitReq ¶
type CreateContactUnitReq struct { UnitID *string `json:"unit_id,omitempty"` // 单位自定义ID。不带默认自动生成。1-64字节范围大小,需为数字字母, 示例值:"BU121" Name string `json:"name,omitempty"` // 单位的名字,长度范围为1-100个字, 示例值:"消费者事业部" UnitType string `json:"unit_type,omitempty"` // 单位类型,长度范围为1-100个字,创建后不可修改, 示例值:"事业部" }
CreateContactUnitReq ...
type CreateContactUnitResp ¶
type CreateContactUnitResp struct {
UnitID string `json:"unit_id,omitempty"` // 单位的自定义ID
}
CreateContactUnitResp ...
type CreateDepartmentReq ¶
type CreateDepartmentReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 ClientToken *string `query:"client_token" json:"-"` // 根据client_token是否一致来判断是否为同一请求, 示例值:"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E" Name string `json:"name,omitempty"` // 部门名称, 示例值:"DemoName", 最小长度:`1` 字符 I18nName *CreateDepartmentReqI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”, 示例值:"D067" DepartmentID *string `json:"department_id,omitempty"` // 本部门的自定义部门ID, 示例值:"D096", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` LeaderUserID *string `json:"leader_user_id,omitempty"` // 部门主管用户ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Order *string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序, 示例值:"100" UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个, 示例值:custom_unit_id CreateGroupChat *bool `json:"create_group_chat,omitempty"` // 是否创建部门群,默认不创建, 示例值:false }
CreateDepartmentReq ...
type CreateDepartmentReqI18nName ¶
type CreateDepartmentReqI18nName struct { ZhCn *string `json:"zh_cn,omitempty"` // 部门的中文名, 示例值:"Demo名称" JaJp *string `json:"ja_jp,omitempty"` // 部门的日文名, 示例值:"デモ名" EnUs *string `json:"en_us,omitempty"` // 部门的英文名, 示例值:"Demo Name" }
CreateDepartmentReqI18nName ...
type CreateDepartmentResp ¶
type CreateDepartmentResp struct {
Department *CreateDepartmentRespDepartment `json:"department,omitempty"` // 部门信息
}
CreateDepartmentResp ...
type CreateDepartmentRespDepartment ¶
type CreateDepartmentRespDepartment struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:, 获取部门基础信息, 以应用身份读取通讯录 I18nName *CreateDepartmentRespDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:, 获取部门基础信息, 以应用身份读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:, 获取部门组织架构信息, 以应用身份读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:, 获取部门基础信息, 以应用身份读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:, 获取部门组织架构信息, 以应用身份读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:, 获取部门基础信息, 以应用身份读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:, 获取部门组织架构信息, 以应用身份读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:, 获取部门组织架构信息, 以应用身份读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:, 获取部门组织架构信息, 以应用身份读取通讯录 Status *CreateDepartmentRespDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:, 获取部门基础信息, 以应用身份读取通讯录 }
CreateDepartmentRespDepartment ...
type CreateDepartmentRespDepartmentI18nName ¶
type CreateDepartmentRespDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
CreateDepartmentRespDepartmentI18nName ...
type CreateDepartmentRespDepartmentStatus ¶
type CreateDepartmentRespDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
CreateDepartmentRespDepartmentStatus ...
type CreateDriveCommentReq ¶
type CreateDriveCommentReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnGp4UK1UskrOEJwBXd3****" CommentID *string `json:"comment_id,omitempty"` // 评论ID(创建新评论可不填;如填写,则视为回复已有评论), 示例值:"6916106822734578184" UserID *string `json:"user_id,omitempty"` // 用户ID, 示例值:"ou_cc19b2bfb93f8a44db4b4d6eab*****" CreateTime *int64 `json:"create_time,omitempty"` // 创建时间, 示例值:1610281603 UpdateTime *int64 `json:"update_time,omitempty"` // 更新时间, 示例值:1610281603 IsSolved *bool `json:"is_solved,omitempty"` // 是否已解决, 示例值:false SolvedTime *int64 `json:"solved_time,omitempty"` // 解决评论时间, 示例值:1610281603 SolverUserID *string `json:"solver_user_id,omitempty"` // 解决评论者的用户ID, 示例值:"null" ReplyList *CreateDriveCommentReqReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
CreateDriveCommentReq ...
type CreateDriveCommentReqReplyList ¶
type CreateDriveCommentReqReplyList struct {
Replies []*CreateDriveCommentReqReplyListReply `json:"replies,omitempty"` // 回复列表
}
CreateDriveCommentReqReplyList ...
type CreateDriveCommentReqReplyListReply ¶
type CreateDriveCommentReqReplyListReply struct { ReplyID *string `json:"reply_id,omitempty"` // 回复ID, 示例值:"6916106822734594568" UserID *string `json:"user_id,omitempty"` // 用户ID, 示例值:"ou_cc19b2bfb93f8a44db4b4d6eab2*****" CreateTime *int64 `json:"create_time,omitempty"` // 创建时间, 示例值:1610281603 UpdateTime *int64 `json:"update_time,omitempty"` // 更新时间, 示例值:1610281603 Content *CreateDriveCommentReqReplyListReplyContent `json:"content,omitempty"` // 回复内容 }
CreateDriveCommentReqReplyListReply ...
type CreateDriveCommentReqReplyListReplyContent ¶
type CreateDriveCommentReqReplyListReplyContent struct {
Elements []*CreateDriveCommentReqReplyListReplyContentElement `json:"elements,omitempty"` // 回复的内容
}
CreateDriveCommentReqReplyListReplyContent ...
type CreateDriveCommentReqReplyListReplyContentElement ¶
type CreateDriveCommentReqReplyListReplyContentElement struct { Type string `json:"type,omitempty"` // 回复的内容元素, 示例值:"text_run", 可选值有: `text_run`:普通文本, `docs_link`:at 云文档链接, `person`:at 联系人 TextRun *CreateDriveCommentReqReplyListReplyContentElementTextRun `json:"text_run,omitempty"` // 文本内容 DocsLink *CreateDriveCommentReqReplyListReplyContentElementDocsLink `json:"docs_link,omitempty"` // 文本内容 Person *CreateDriveCommentReqReplyListReplyContentElementPerson `json:"person,omitempty"` // 文本内容 }
CreateDriveCommentReqReplyListReplyContentElement ...
type CreateDriveCommentReqReplyListReplyContentElementDocsLink ¶
type CreateDriveCommentReqReplyListReplyContentElementDocsLink struct {
URL string `json:"url,omitempty"` // 回复 at云文档, 示例值:"https://bytedance.feishu.cn/docs/doccnHh7U87HOFpii5u5G*****"
}
CreateDriveCommentReqReplyListReplyContentElementDocsLink ...
type CreateDriveCommentReqReplyListReplyContentElementPerson ¶
type CreateDriveCommentReqReplyListReplyContentElementPerson struct {
UserID string `json:"user_id,omitempty"` // 回复 at联系人, 示例值:"ou_cc19b2bfb93f8a44db4b4d6eab*****"
}
CreateDriveCommentReqReplyListReplyContentElementPerson ...
type CreateDriveCommentReqReplyListReplyContentElementTextRun ¶
type CreateDriveCommentReqReplyListReplyContentElementTextRun struct {
Text string `json:"text,omitempty"` // 回复 普通文本, 示例值:"comment text"
}
CreateDriveCommentReqReplyListReplyContentElementTextRun ...
type CreateDriveCommentResp ¶
type CreateDriveCommentResp struct { CommentID string `json:"comment_id,omitempty"` // 评论ID(创建新评论可不填;如填写,则视为回复已有评论) UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 IsSolved bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime int64 `json:"solved_time,omitempty"` // 解决评论时间 SolverUserID string `json:"solver_user_id,omitempty"` // 解决评论者的用户ID ReplyList *CreateDriveCommentRespReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
CreateDriveCommentResp ...
type CreateDriveCommentRespReplyList ¶
type CreateDriveCommentRespReplyList struct {
Replies []*CreateDriveCommentRespReplyListReply `json:"replies,omitempty"` // 回复列表
}
CreateDriveCommentRespReplyList ...
type CreateDriveCommentRespReplyListReply ¶
type CreateDriveCommentRespReplyListReply struct { ReplyID string `json:"reply_id,omitempty"` // 回复ID UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 Content *CreateDriveCommentRespReplyListReplyContent `json:"content,omitempty"` // 回复内容 }
CreateDriveCommentRespReplyListReply ...
type CreateDriveCommentRespReplyListReplyContent ¶
type CreateDriveCommentRespReplyListReplyContent struct {
Elements []*CreateDriveCommentRespReplyListReplyContentElement `json:"elements,omitempty"` // 回复的内容
}
CreateDriveCommentRespReplyListReplyContent ...
type CreateDriveCommentRespReplyListReplyContentElement ¶
type CreateDriveCommentRespReplyListReplyContentElement struct { Type string `json:"type,omitempty"` // 回复的内容元素, 可选值有: `text_run`:普通文本, `docs_link`:at 云文档链接, `person`:at 联系人 TextRun *CreateDriveCommentRespReplyListReplyContentElementTextRun `json:"text_run,omitempty"` // 文本内容 DocsLink *CreateDriveCommentRespReplyListReplyContentElementDocsLink `json:"docs_link,omitempty"` // 文本内容 Person *CreateDriveCommentRespReplyListReplyContentElementPerson `json:"person,omitempty"` // 文本内容 }
CreateDriveCommentRespReplyListReplyContentElement ...
type CreateDriveCommentRespReplyListReplyContentElementDocsLink ¶
type CreateDriveCommentRespReplyListReplyContentElementDocsLink struct {
URL string `json:"url,omitempty"` // 回复 at云文档
}
CreateDriveCommentRespReplyListReplyContentElementDocsLink ...
type CreateDriveCommentRespReplyListReplyContentElementPerson ¶
type CreateDriveCommentRespReplyListReplyContentElementPerson struct {
UserID string `json:"user_id,omitempty"` // 回复 at联系人
}
CreateDriveCommentRespReplyListReplyContentElementPerson ...
type CreateDriveCommentRespReplyListReplyContentElementTextRun ¶
type CreateDriveCommentRespReplyListReplyContentElementTextRun struct {
Text string `json:"text,omitempty"` // 回复 普通文本
}
CreateDriveCommentRespReplyListReplyContentElementTextRun ...
type CreateDriveDocReq ¶
type CreateDriveDocReq struct { FolderToken *string `json:"FolderToken,omitempty"` // 文件夹 token,获取方式见[云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN);空表示根目录,tenant_access_token应用权限仅允许操作应用创建的目录 Content *string `json:"Content,omitempty"` // 传入符合[文档数据结构](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)的字符串,若为空表示创建空文档 }
CreateDriveDocReq ...
type CreateDriveDocResp ¶
type CreateDriveDocResp struct { ObjToken string `json:"objToken,omitempty"` // 新建文档的token URL string `json:"url,omitempty"` // 新建文档的访问链接 }
CreateDriveDocResp ...
type CreateDriveFileReq ¶
type CreateDriveFileReq struct { FolderToken string `path:"folderToken" json:"-"` // 文件夹 token,用于在此文件夹下新建文档,获取方式见[概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 需要创建文档的类型 "doc" 、 "sheet" or "bitable" Title string `json:"title,omitempty"` // 创建文档的标题。注:type 为 "doc" 时不可用(非必填,请求会被过滤),有创建带标题doc文档需求可用 [创建文档](https://open.feishu.cn/document/ukTMukTMukTM/ugDM2YjL4AjN24COwYjN) 接口 }
CreateDriveFileReq ...
type CreateDriveFileResp ¶
type CreateDriveFileResp struct { URL string `json:"url,omitempty"` // 新创建文档的 url Token string `json:"token,omitempty"` // 新创建文档的 token Revision int64 `json:"revision,omitempty"` // 新创建文档的版本号 }
CreateDriveFileResp ...
type CreateDriveFolderReq ¶
type CreateDriveFolderReq struct { FolderToken string `path:"folderToken" json:"-"` // 文件夹的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Title string `json:"title,omitempty"` // 文件夹标题 }
CreateDriveFolderReq ...
type CreateDriveFolderResp ¶
type CreateDriveFolderResp struct { URL string `json:"url,omitempty"` // 新创建文件夹的 url Revision int64 `json:"revision,omitempty"` // 新创建文件夹的版本号 Token string `json:"token,omitempty"` // 新创建文件夹的 token }
CreateDriveFolderResp ...
type CreateDriveImportTaskReq ¶
type CreateDriveImportTaskReq struct { FileExtension string `json:"file_extension,omitempty"` // 导入文件格式后缀, 示例值:"xlsx" FileToken string `json:"file_token,omitempty"` // 导入文件Drive FileToken, 示例值:"boxcnxe5OxxxxxxxSNdsJviENsk" Type string `json:"type,omitempty"` // 导入目标云文档格式, 示例值:"sheet" FileName *string `json:"file_name,omitempty"` // 导入目标云文档文件名 ,若为空使用Drive文件名, 示例值:"test" Point *CreateDriveImportTaskReqPoint `json:"point,omitempty"` // 挂载点 }
CreateDriveImportTaskReq ...
type CreateDriveImportTaskReqPoint ¶
type CreateDriveImportTaskReqPoint struct { MountType int64 `json:"mount_type,omitempty"` // 挂载类型, 示例值:1, 可选值有: `1`:挂载到云空间 MountKey string `json:"mount_key,omitempty"` // 挂载位置,对于mount_type=1, 云空间目录token,空表示根目录, 示例值:""fldxxxxxxxx"" }
CreateDriveImportTaskReqPoint ...
type CreateDriveImportTaskResp ¶
type CreateDriveImportTaskResp struct {
Ticket string `json:"ticket,omitempty"` // 导入任务ID
}
CreateDriveImportTaskResp ...
type CreateDriveMemberPermissionOldReq ¶
type CreateDriveMemberPermissionOldReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type string `json:"type,omitempty"` // 文档类型 "doc" 、"sheet" 、 "bitable" or "file" Members *CreateDriveMemberPermissionOldReqMembers `json:"members,omitempty"` // 用户 NotifyLark *bool `json:"notify_lark,omitempty"` // 添加权限后是否飞书/lark通知对方<br>true 通知 or false 不通知 }
CreateDriveMemberPermissionOldReq ...
type CreateDriveMemberPermissionOldReqMembers ¶
type CreateDriveMemberPermissionOldReqMembers struct { MemberType string `json:"member_type,omitempty"` // 用户类型,可选 **email 、openid、openchat、userid** MemberID string `json:"member_id,omitempty"` // 用户类型下的值 Perm string `json:"perm,omitempty"` // 需要增加的权限,权限值:"view","edit" }
CreateDriveMemberPermissionOldReqMembers ...
type CreateDriveMemberPermissionOldResp ¶
type CreateDriveMemberPermissionOldResp struct { IsAllSuccess bool `json:"is_all_success,omitempty"` // 是否全部成功 FailMembers *CreateDriveMemberPermissionOldRespFailMembers `json:"fail_members,omitempty"` // 添加权限失败的用户信息 }
CreateDriveMemberPermissionOldResp ...
type CreateDriveMemberPermissionOldRespFailMembers ¶
type CreateDriveMemberPermissionOldRespFailMembers struct { MemberType string `json:"member_type,omitempty"` // 用户类型 MemberID string `json:"member_id,omitempty"` // 用户类型下的值 Perm string `json:"perm,omitempty"` // 需要增加的权限 }
CreateDriveMemberPermissionOldRespFailMembers ...
type CreateDriveMemberPermissionReq ¶
type CreateDriveMemberPermissionReq struct { Type string `query:"type" json:"-"` // 文件类型,放于query参数中,如:`?type=doc`, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:电子表格, `file`:云空间文件, `wiki`:知识库节点(部分支持), `bitable`:多维表格, `docx`:文档(暂不支持) NeedNotification *bool `query:"need_notification" json:"-"` // 添加权限后是否通知对方,**注意:** 使用`tenant_access_token`访问不支持该参数, 示例值:false, 默认值: `false` Token string `path:"token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"doccnBKgoMyY5OMbUG6FioTXuBe" MemberType string `json:"member_type,omitempty"` // 用户类型,与请求体中的`member_id`要对应, 可选值有: , `email`: 飞书邮箱, `openid`: [开放平台ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get), `openchat`: [开放平台群组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), `opendepartmentid`:[开放平台部门ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), `userid`: [用户自定义ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get),**注意:** 使用`tenant_access_token`访问不支持添加`opendepartmentid`, 示例值:"openid" MemberID string `json:"member_id,omitempty"` // 用户类型下的值, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Perm string `json:"perm,omitempty"` // 需要更新的权限,可选值有:, `view`: 可阅读, `edit`: 可编辑, `full_access`: 所有权限, 示例值:"view" }
CreateDriveMemberPermissionReq ...
type CreateDriveMemberPermissionResp ¶
type CreateDriveMemberPermissionResp struct {
Member *CreateDriveMemberPermissionRespMember `json:"member,omitempty"` // 本次添加权限的用户信息
}
CreateDriveMemberPermissionResp ...
type CreateDriveMemberPermissionRespMember ¶
type CreateDriveMemberPermissionRespMember struct { MemberType string `json:"member_type,omitempty"` // 用户类型,与请求体中的`member_id`要对应, 可选值有: , `email`: 飞书邮箱, `openid`: [开放平台ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get), `openchat`: [开放平台群组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), `opendepartmentid`:[开放平台部门ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), `userid`: [用户自定义ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get),**注意:** 使用`tenant_access_token`访问不支持添加`opendepartmentid` MemberID string `json:"member_id,omitempty"` // 用户类型下的值 Perm string `json:"perm,omitempty"` // 需要更新的权限,可选值有:, `view`: 可阅读, `edit`: 可编辑, `full_access`: 所有权限 }
CreateDriveMemberPermissionRespMember ...
type CreateEmployeeTypeEnumReq ¶
type CreateEmployeeTypeEnumReq struct { Content string `json:"content,omitempty"` // 枚举内容, 示例值:"专家", 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 示例值:2, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 示例值:1, 可选值有: `1`:激活, `2`:未激活 I18nContent *CreateEmployeeTypeEnumReqI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
CreateEmployeeTypeEnumReq ...
type CreateEmployeeTypeEnumReqI18nContent ¶
type CreateEmployeeTypeEnumReqI18nContent struct { Locale *string `json:"locale,omitempty"` // 语言版本, 示例值:"zh_cn" Value *string `json:"value,omitempty"` // 字段名, 示例值:"专家" }
CreateEmployeeTypeEnumReqI18nContent ...
type CreateEmployeeTypeEnumResp ¶
type CreateEmployeeTypeEnumResp struct {
EmployeeTypeEnum *CreateEmployeeTypeEnumRespEmployeeTypeEnum `json:"employee_type_enum,omitempty"` // 新建的人员类型信息
}
CreateEmployeeTypeEnumResp ...
type CreateEmployeeTypeEnumRespEmployeeTypeEnum ¶
type CreateEmployeeTypeEnumRespEmployeeTypeEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *CreateEmployeeTypeEnumRespEmployeeTypeEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
CreateEmployeeTypeEnumRespEmployeeTypeEnum ...
type CreateEmployeeTypeEnumRespEmployeeTypeEnumI18nContent ¶
type CreateEmployeeTypeEnumRespEmployeeTypeEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
CreateEmployeeTypeEnumRespEmployeeTypeEnumI18nContent ...
type CreateHelpdeskAgentScheduleReq ¶
type CreateHelpdeskAgentScheduleReq struct {
AgentSchedules []*CreateHelpdeskAgentScheduleReqAgentSchedule `json:"agent_schedules,omitempty"` // 新客服日程
}
CreateHelpdeskAgentScheduleReq ...
type CreateHelpdeskAgentScheduleReqAgentSchedule ¶
type CreateHelpdeskAgentScheduleReqAgentSchedule struct { AgentID *string `json:"agent_id,omitempty"` // 客服id, 示例值:"agent-id" Schedule *CreateHelpdeskAgentScheduleReqAgentScheduleSchedule `json:"schedule,omitempty"` // 工作日程列表 AgentSkillIDs []string `json:"agent_skill_ids,omitempty"` // 客服技能 ids }
CreateHelpdeskAgentScheduleReqAgentSchedule ...
type CreateHelpdeskAgentScheduleReqAgentScheduleSchedule ¶
type CreateHelpdeskAgentScheduleReqAgentScheduleSchedule struct { StartTime *string `json:"start_time,omitempty"` // 开始时间, format 00:00 - 23:59, 示例值:"00:00" EndTime *string `json:"end_time,omitempty"` // 结束时间, format 00:00 - 23:59, 示例值:"24:00" Weekday *int64 `json:"weekday,omitempty"` // 星期几, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, 6 - Saturday, 7 - Sunday, 9 - Everday, 10 - Weekday, 11 - Weekend, 示例值:9 }
CreateHelpdeskAgentScheduleReqAgentScheduleSchedule ...
type CreateHelpdeskAgentScheduleResp ¶
type CreateHelpdeskAgentScheduleResp struct{}
CreateHelpdeskAgentScheduleResp ...
type CreateHelpdeskAgentSkillReq ¶
type CreateHelpdeskAgentSkillReq struct { Name *string `json:"name,omitempty"` // 技能名, 示例值:"test-skill" Rules []*CreateHelpdeskAgentSkillReqRule `json:"rules,omitempty"` // 技能rules AgentIDs []string `json:"agent_ids,omitempty"` // 客服 ids }
CreateHelpdeskAgentSkillReq ...
type CreateHelpdeskAgentSkillReqRule ¶
type CreateHelpdeskAgentSkillReqRule struct { ID *string `json:"id,omitempty"` // rule id, 看[获取客服技能rules](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/list-agent-skill-rules) 用于获取rules options, 示例值:"test-skill-id" SelectedOperator *int64 `json:"selected_operator,omitempty"` // 运算符compare, 看[客服技能运算符options](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options), 示例值:3 Operand *string `json:"operand,omitempty"` // rule操作数value, 示例值:" {, "selected": ["6883005079188668418"],, "options": [, {, "id": "6883005079188668418",, "name": {, "en_us": "小程序及应用",, "ja_jp": "小程序及应用",, "zh_cn": "小程序及应用", }, },, {, "children": [, {, "id": "6883005086914625538",, "name": {, "en_us": "消息提醒",, "ja_jp": "消息提醒",, "zh_cn": "消息提醒", }, },, {, "id": "6883005092723802114",, "name": {, "en_us": "其他",, "ja_jp": "其他",, "zh_cn": "其他", }, }, ],, "id": "6883005085605986306",, "name": {, "en_us": "聊天和群组",, "ja_jp": "聊天和群组",, "zh_cn": "聊天和群组", }, },, ],, }" Category *int64 `json:"category,omitempty"` // rule type,1-知识库,2-工单信息,3-用户飞书信息, 示例值:1 }
CreateHelpdeskAgentSkillReqRule ...
type CreateHelpdeskAgentSkillResp ¶
type CreateHelpdeskAgentSkillResp struct {
AgentSkillID string `json:"agent_skill_id,omitempty"` // 客服技能id
}
CreateHelpdeskAgentSkillResp ...
type CreateHelpdeskCategoryReq ¶
type CreateHelpdeskCategoryReq struct { Name string `json:"name,omitempty"` // 名称, 示例值:"创建团队和邀请成员" ParentID string `json:"parent_id,omitempty"` // 父知识库分类ID, 示例值:"0" Language *string `json:"language,omitempty"` // 语言, 示例值:"zh_cn" }
CreateHelpdeskCategoryReq ...
type CreateHelpdeskCategoryResp ¶
type CreateHelpdeskCategoryResp struct {
Category *HelpdeskCategory `json:"category,omitempty"` // 知识库分类
}
CreateHelpdeskCategoryResp ...
type CreateHelpdeskFAQReq ¶
type CreateHelpdeskFAQReq struct {
FAQ *CreateHelpdeskFAQReqFAQ `json:"faq,omitempty"` // 知识库详情
}
CreateHelpdeskFAQReq ...
type CreateHelpdeskFAQReqFAQ ¶
type CreateHelpdeskFAQReqFAQ struct { CategoryID *string `json:"category_id,omitempty"` // 知识库分类ID, 示例值:"6836004780707807251" Question string `json:"question,omitempty"` // 问题, 示例值:"问题" Answer *string `json:"answer,omitempty"` // 答案, 示例值:"答案" AnswerRichtext *string `json:"answer_richtext,omitempty"` // 富文本答案和答案必须有一个必填。Json Array格式,富文本结构请见[了解更多: 富文本](https://open.feishu.cn/document/ukTMukTMukTM/uITM0YjLyEDN24iMxQjN), 示例值:"[{, "content": "这只是一个测试,医保问题",, "type": "text", }]" Tags []string `json:"tags,omitempty"` // 相似问 }
CreateHelpdeskFAQReqFAQ ...
type CreateHelpdeskFAQResp ¶
type CreateHelpdeskFAQResp struct {
FAQ *CreateHelpdeskFAQRespFAQ `json:"faq,omitempty"` // 知识库详情
}
CreateHelpdeskFAQResp ...
type CreateHelpdeskFAQRespFAQ ¶
type CreateHelpdeskFAQRespFAQ struct { FAQID string `json:"faq_id,omitempty"` // 知识库ID ID string `json:"id,omitempty"` // 知识库旧版ID,请使用faq_id HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Question string `json:"question,omitempty"` // 问题 Answer string `json:"answer,omitempty"` // 答案 AnswerRichtext string `json:"answer_richtext,omitempty"` // 富文本答案 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 修改时间 Categories []*HelpdeskCategory `json:"categories,omitempty"` // 分类 Tags []string `json:"tags,omitempty"` // 相似问列表 ExpireTime int64 `json:"expire_time,omitempty"` // 失效时间 UpdateUser *CreateHelpdeskFAQRespFAQUpdateUser `json:"update_user,omitempty"` // 更新用户 CreateUser *CreateHelpdeskFAQRespFAQCreateUser `json:"create_user,omitempty"` // 创建用户 }
CreateHelpdeskFAQRespFAQ ...
type CreateHelpdeskFAQRespFAQCreateUser ¶
type CreateHelpdeskFAQRespFAQCreateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
CreateHelpdeskFAQRespFAQCreateUser ...
type CreateHelpdeskFAQRespFAQUpdateUser ¶
type CreateHelpdeskFAQRespFAQUpdateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
CreateHelpdeskFAQRespFAQUpdateUser ...
type CreateHelpdeskNotificationReq ¶
type CreateHelpdeskNotificationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ID *string `json:"id,omitempty"` // 非必填,创建成功后返回, 示例值:"6981801914270744596" JobName *string `json:"job_name,omitempty"` // 必填,任务名称, 示例值:"测试推送任务" Status *int64 `json:"status,omitempty"` // 非必填,创建成功后返回, 示例值:0 CreateUser *CreateHelpdeskNotificationReqCreateUser `json:"create_user,omitempty"` // 非必填,创建人 CreatedAt *string `json:"created_at,omitempty"` // 非必填,创建时间(毫秒时间戳), 示例值:"1626332244719" UpdateUser *CreateHelpdeskNotificationReqUpdateUser `json:"update_user,omitempty"` // 非必填,更新用户 UpdatedAt *string `json:"updated_at,omitempty"` // 非必填,更新时间(毫秒时间戳), 示例值:"1626332244719" TargetUserCount *int64 `json:"target_user_count,omitempty"` // 非必填,目标推送用户总数, 示例值:1 SentUserCount *int64 `json:"sent_user_count,omitempty"` // 非必填,已推送用户总数, 示例值:1 ReadUserCount *int64 `json:"read_user_count,omitempty"` // 非必填,已读用户总数, 示例值:1 SendAt *string `json:"send_at,omitempty"` // 非必填,推送任务触发时间(毫秒时间戳), 示例值:"1626332244719" PushContent *string `json:"push_content,omitempty"` // 必填,推送内容,详见:https://open.feishu.cn/tool/cardbuilder?from=howtoguide, 示例值:"{ \"config\": { \"wide_screen_mode\": true }, \"elements\": [ { \"tag\": \"div\", \"text\": { \"tag\": \"lark_md\", \"content\": \"[飞书](https://www.feishu.cn)整合即时沟通、日历、音视频会议、云文档、云盘、工作台等功能于一体,成就组织和个人,更高效、更愉悦。\" } } ] }" PushType *int64 `json:"push_type,omitempty"` // 必填,,0(定时推送:push_scope不能等于3) 1(新人入职推送:push_scope必须等于1或者3;new_staff_scope_type不能为空), 示例值:0 PushScopeType *int64 `json:"push_scope_type,omitempty"` // 必填,,推送范围(服务台私信) 0:组织内全部成员(user_list和department_list必须为空) 1:不推送任何成员(user_list和department_list必须为空,chat_list不可为空) 2:推送到部分成员(user_list或department_list不能为空) 3:入职新人 以上四种状态,chat_list都相对独立,只有在推送范围为1时,必须需要设置chat_list, 示例值:0 NewStaffScopeType *int64 `json:"new_staff_scope_type,omitempty"` // 非必填,,新人入职范围类型(push_type为1时生效) 0:组织内所有新人 1:组织内特定的部门(new_staff_scope_department_list 字段不能为空), 示例值:0 NewStaffScopeDepartmentList []*CreateHelpdeskNotificationReqNewStaffScopeDepartment `json:"new_staff_scope_department_list,omitempty"` // 非必填,新人入职生效部门列表 UserList []*CreateHelpdeskNotificationReqUser `json:"user_list,omitempty"` // 非必填,push推送到成员列表 DepartmentList []*CreateHelpdeskNotificationReqDepartment `json:"department_list,omitempty"` // 非必填,push推送到的部门信息列表 ChatList []*CreateHelpdeskNotificationReqChat `json:"chat_list,omitempty"` // 非必填,push推送到的会话列表(群) Ext *string `json:"ext,omitempty"` // 非必填,预留扩展字段, 示例值:"{}" }
CreateHelpdeskNotificationReq ...
type CreateHelpdeskNotificationReqChat ¶
type CreateHelpdeskNotificationReqChat struct { ChatID *string `json:"chat_id,omitempty"` // 非必填,会话ID, 示例值:"oc_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,会话名称, 示例值:"测试群聊" }
CreateHelpdeskNotificationReqChat ...
type CreateHelpdeskNotificationReqCreateUser ¶
type CreateHelpdeskNotificationReqCreateUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
CreateHelpdeskNotificationReqCreateUser ...
type CreateHelpdeskNotificationReqDepartment ¶
type CreateHelpdeskNotificationReqDepartment struct { DepartmentID *string `json:"department_id,omitempty"` // 部门ID, 示例值:"od_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,部门名称, 示例值:"测试部门" }
CreateHelpdeskNotificationReqDepartment ...
type CreateHelpdeskNotificationReqNewStaffScopeDepartment ¶
type CreateHelpdeskNotificationReqNewStaffScopeDepartment struct { DepartmentID *string `json:"department_id,omitempty"` // 部门ID, 示例值:"od_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,部门名称, 示例值:"测试部门" }
CreateHelpdeskNotificationReqNewStaffScopeDepartment ...
type CreateHelpdeskNotificationReqUpdateUser ¶
type CreateHelpdeskNotificationReqUpdateUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
CreateHelpdeskNotificationReqUpdateUser ...
type CreateHelpdeskNotificationReqUser ¶
type CreateHelpdeskNotificationReqUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
CreateHelpdeskNotificationReqUser ...
type CreateHelpdeskNotificationResp ¶
type CreateHelpdeskNotificationResp struct { NotificationID string `json:"notification_id,omitempty"` // 创建成功后的唯一id Status int64 `json:"status,omitempty"` // 当前状态 }
CreateHelpdeskNotificationResp ...
type CreateHelpdeskTicketCustomizedFieldReq ¶
type CreateHelpdeskTicketCustomizedFieldReq struct { HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID, 示例值:"1542164574896126" KeyName string `json:"key_name,omitempty"` // 键名, 示例值:"test dropdown" DisplayName string `json:"display_name,omitempty"` // 名称, 示例值:"test dropdown" Position string `json:"position,omitempty"` // 字段在列表后台管理列表中的位置, 示例值:"3" FieldType string `json:"field_type,omitempty"` // 类型,string - 单行文本,multiline - 多行文本,dropdown - 下拉列表,dropdown_nested - 级联下拉, , 示例值:"dropdown" Description string `json:"description,omitempty"` // 描述, 示例值:"下拉示例" Visible bool `json:"visible,omitempty"` // 是否可见, 示例值:true Editable bool `json:"editable,omitempty"` // 是否可以修改, 示例值:true Required bool `json:"required,omitempty"` // 是否必填, 示例值:false DropdownOptions *HelpdeskDropdownOption `json:"dropdown_options,omitempty"` // 下拉列表选项 DropdownAllowMultiple *bool `json:"dropdown_allow_multiple,omitempty"` // 是否支持多选,仅在字段类型是dropdown的时候有效, 示例值:true }
CreateHelpdeskTicketCustomizedFieldReq ...
type CreateHelpdeskTicketCustomizedFieldResp ¶
type CreateHelpdeskTicketCustomizedFieldResp struct{}
CreateHelpdeskTicketCustomizedFieldResp ...
type CreateHireApplicationReq ¶
type CreateHireApplicationReq struct { TalentID string `json:"talent_id,omitempty"` // 人才ID, 示例值:"12312312312" JobID string `json:"job_id,omitempty"` // 职位ID, 示例值:"12312312312" }
CreateHireApplicationReq ...
type CreateHireApplicationResp ¶
type CreateHireApplicationResp struct {
ID string `json:"id,omitempty"` // 投递ID
}
CreateHireApplicationResp ...
type CreateHireNoteReq ¶
type CreateHireNoteReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TalentID string `json:"talent_id,omitempty"` // 人才ID, 示例值:"6916472453069883661" ApplicationID *string `json:"application_id,omitempty"` // 投递ID, 示例值:"6891565253964859661" CreatorID *string `json:"creator_id,omitempty"` // 创建人ID, 示例值:"ou_f476cb099ac9227c9bae09ce46112579" Content string `json:"content,omitempty"` // 内容, 示例值:"测试" Privacy *int64 `json:"privacy,omitempty"` // 备注私密属性(默认为公开), 示例值:1, 可选值有: `1`:私密, `2`:公开 }
CreateHireNoteReq ...
type CreateHireNoteResp ¶
type CreateHireNoteResp struct {
Note *CreateHireNoteRespNote `json:"note,omitempty"` // 备注信息
}
CreateHireNoteResp ...
type CreateHireNoteRespNote ¶
type CreateHireNoteRespNote struct { ID string `json:"id,omitempty"` // 备注ID TalentID string `json:"talent_id,omitempty"` // 人才ID ApplicationID string `json:"application_id,omitempty"` // 投递ID IsPrivate bool `json:"is_private,omitempty"` // 是否私密 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 ModifyTime int64 `json:"modify_time,omitempty"` // 更新时间 CreatorID string `json:"creator_id,omitempty"` // 创建人ID Content string `json:"content,omitempty"` // 内容 }
CreateHireNoteRespNote ...
type CreateIdentityReq ¶
type CreateIdentityReq struct { UserID string `query:"user_id" json:"-"` // 用户的唯一标识(使用的ID类型见下一参数描述,不同ID类型的区别和获取,参考文档:[如何获得 User ID、Open ID 和 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get)), 示例值: "ou_2eb5483cb377daa5054bc6f86e2089a5" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户ID类型, 示例值: "open_id", 可选值有: `open_id`:用户的open id, `union_id`:用户的union id, `user_id`:用户的user id, 默认值: `open_id`, 当值为 `user_id`,字段权限要求: 获取用户 user ID IdentityName string `json:"identity_name,omitempty"` // 姓名, 示例值: "张三" IdentityCode string `json:"identity_code,omitempty"` // 身份证号, 示例值: "4xxxxxxxx" Mobile *string `json:"mobile,omitempty"` // 手机号, 示例值: "13xxxxxxx" }
CreateIdentityReq ...
type CreateIdentityResp ¶
type CreateIdentityResp struct {
VerifyUid string `json:"verify_uid,omitempty"` // 用户绑定实名身份的uid
}
CreateIdentityResp ...
type CreateMailGroupMemberReq ¶
type CreateMailGroupMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" Email *string `json:"email,omitempty"` // 成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值), 示例值:"test_memeber@xxx.xx" UserID *string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值), 示例值:"xxxxxxxxxx" DepartmentID *string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值), 示例值:"xxxxxxxxxx" Type *MailUserType `json:"type,omitempty"` // 成员类型, 示例值:"USER", 可选值有: `USER`:内部用户, `DEPARTMENT`:部门, `COMPANY`:全员, `EXTERNAL_USER`:外部用户, `MAIL_GROUP`:邮件组, `OTHER_MEMBER`:内部成员 }
CreateMailGroupMemberReq ...
type CreateMailGroupMemberResp ¶
type CreateMailGroupMemberResp struct { MemberID string `json:"member_id,omitempty"` // 邮件组内成员唯一标识 Email string `json:"email,omitempty"` // 成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门, `COMPANY`:全员, `EXTERNAL_USER`:外部用户, `MAIL_GROUP`:邮件组, `OTHER_MEMBER`:内部成员 }
CreateMailGroupMemberResp ...
type CreateMailGroupPermissionMemberReq ¶
type CreateMailGroupPermissionMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"xxx", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" UserID *string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值), 示例值:"xxxxxxxxxx" DepartmentID *string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值), 示例值:"xxxxxxxxxx" Type *MailUserType `json:"type,omitempty"` // 成员类型, 示例值:"USER", 可选值有: `USER`:内部用户, `DEPARTMENT`:部门 }
CreateMailGroupPermissionMemberReq ...
type CreateMailGroupPermissionMemberResp ¶
type CreateMailGroupPermissionMemberResp struct { PermissionMemberID string `json:"permission_member_id,omitempty"` // 权限组内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门 }
CreateMailGroupPermissionMemberResp ...
type CreateMailGroupReq ¶
type CreateMailGroupReq struct { Email *string `json:"email,omitempty"` // 邮件组地址, 示例值:"test_mail_group@xxx.xx" Name *string `json:"name,omitempty"` // 邮件组名称, 示例值:"test mail group" Description *string `json:"description,omitempty"` // 邮件组描述, 示例值:"mail group for testing" WhoCanSendMail *string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 示例值:"ALL_INTERNAL_USERS", 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
CreateMailGroupReq ...
type CreateMailGroupResp ¶
type CreateMailGroupResp struct { MailGroupID string `json:"mailgroup_id,omitempty"` // 邮件组ID Email string `json:"email,omitempty"` // 邮件组地址 Name string `json:"name,omitempty"` // 邮件组名称 Description string `json:"description,omitempty"` // 邮件组描述 DirectMembersCount string `json:"direct_members_count,omitempty"` // 邮件组成员数量 IncludeExternalMember bool `json:"include_external_member,omitempty"` // 是否包含外部成员 IncludeAllCompanyMember bool `json:"include_all_company_member,omitempty"` // 是否是全员邮件组 WhoCanSendMail string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
CreateMailGroupResp ...
type CreateMailUserAliasReq ¶
type CreateMailUserAliasReq struct { UserID string `path:"user_id" json:"-"` // 用户邮箱地址, 示例值:"xxx@xx.xxx" EmailAlias *string `json:"email_alias,omitempty"` // 邮箱别名, 示例值:"xxx@xx.xxx" }
CreateMailUserAliasReq ...
type CreateMailUserAliasResp ¶
type CreateMailUserAliasResp struct {
UserAlias *CreateMailUserAliasRespUserAlias `json:"user_alias,omitempty"` // 用户邮箱别名
}
CreateMailUserAliasResp ...
type CreateMailUserAliasRespUserAlias ¶
type CreateMailUserAliasRespUserAlias struct { PrimaryEmail string `json:"primary_email,omitempty"` // 主邮箱地址 EmailAlias string `json:"email_alias,omitempty"` // 邮箱别名 }
CreateMailUserAliasRespUserAlias ...
type CreateMeetingRoomBuildingReq ¶
type CreateMeetingRoomBuildingReq struct { Name string `json:"name,omitempty"` // 建筑名称 Floors []string `json:"floors,omitempty"` // 楼层列表 CountryID string `json:"country_id,omitempty"` // 国家/地区ID DistrictID string `json:"district_id,omitempty"` // 城市ID CustomBuildingID *string `json:"custom_building_id,omitempty"` // 租户自定义建筑ID }
CreateMeetingRoomBuildingReq ...
type CreateMeetingRoomBuildingResp ¶
type CreateMeetingRoomBuildingResp struct {
BuildingID string `json:"building_id,omitempty"` // 成功创建的建筑ID
}
CreateMeetingRoomBuildingResp ...
type CreateMeetingRoomRoomReq ¶
type CreateMeetingRoomRoomReq struct { BuildingID string `json:"building_id,omitempty"` // 会议室所在的建筑ID Floor string `json:"floor,omitempty"` // 会议室所在的建筑楼层 Name string `json:"name,omitempty"` // 会议室名称 Capacity int64 `json:"capacity,omitempty"` // 容量 IsDisabled bool `json:"is_disabled,omitempty"` // 是否禁用 CustomRoomID *string `json:"custom_room_id,omitempty"` // 租户自定义会议室ID }
CreateMeetingRoomRoomReq ...
type CreateMeetingRoomRoomResp ¶
type CreateMeetingRoomRoomResp struct {
RoomID string `json:"room_id,omitempty"` // 成功创建的会议室ID
}
CreateMeetingRoomRoomResp ...
type CreateMessageReactionReq ¶
type CreateMessageReactionReq struct { MessageID string `path:"message_id" json:"-"` // 待添加reaction的消息ID, 示例值:"om_a8f2294b************a1a38afaac9d" ReactionType *CreateMessageReactionReqReactionType `json:"reaction_type,omitempty"` // reaction资源类型 }
CreateMessageReactionReq ...
type CreateMessageReactionReqReactionType ¶
type CreateMessageReactionReqReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce), 示例值:"SMILE"
}
CreateMessageReactionReqReactionType ...
type CreateMessageReactionResp ¶
type CreateMessageReactionResp struct { ReactionID string `json:"reaction_id,omitempty"` // reaction资源ID Operator *CreateMessageReactionRespOperator `json:"operator,omitempty"` // 添加reaction的操作人 ActionTime string `json:"action_time,omitempty"` // reaction动作的的unix timestamp(单位:ms) ReactionType *CreateMessageReactionRespReactionType `json:"reaction_type,omitempty"` // reaction资源类型 }
CreateMessageReactionResp ...
type CreateMessageReactionRespOperator ¶
type CreateMessageReactionRespOperator struct { OperatorID string `json:"operator_id,omitempty"` // 操作人ID OperatorType string `json:"operator_type,omitempty"` // 操作人身份,用户或应用, 可选值有: `app`:"app", `user`:"user" }
CreateMessageReactionRespOperator ...
type CreateMessageReactionRespReactionType ¶
type CreateMessageReactionRespReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)
}
CreateMessageReactionRespReactionType ...
type CreatePublicMailboxMemberReq ¶
type CreatePublicMailboxMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx" UserID *string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值), 示例值:"xxxxxxxxxx" Type *MailUserType `json:"type,omitempty"` // 成员类型, 示例值:"USER", 可选值有: `USER`:内部用户 }
CreatePublicMailboxMemberReq ...
type CreatePublicMailboxMemberResp ¶
type CreatePublicMailboxMemberResp struct { MemberID string `json:"member_id,omitempty"` // 公共邮箱内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户 }
CreatePublicMailboxMemberResp ...
type CreatePublicMailboxReq ¶
type CreatePublicMailboxReq struct { Email *string `json:"email,omitempty"` // 公共邮箱地址, 示例值:"test_public_mailbox@xxx.xx" Name *string `json:"name,omitempty"` // 公共邮箱名称, 示例值:"test public mailbox" }
CreatePublicMailboxReq ...
type CreatePublicMailboxResp ¶
type CreatePublicMailboxResp struct { PublicMailboxID string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识 Email string `json:"email,omitempty"` // 公共邮箱地址 Name string `json:"name,omitempty"` // 公共邮箱名称 }
CreatePublicMailboxResp ...
type CreateSearchDataSourceItemReq ¶
type CreateSearchDataSourceItemReq struct { DataSourceID string `path:"data_source_id" json:"-"` // 数据源的ID, 示例值:"service_ticket" ID string `json:"id,omitempty"` // item 在 datasource 中的唯一标识, 示例值:"01010111" ACL *CreateSearchDataSourceItemReqACL `json:"acl,omitempty"` // item 的访问权限控制 Metadata *CreateSearchDataSourceItemReqMetadata `json:"metadata,omitempty"` // item 的元信息 StructuredData string `json:"structured_data,omitempty"` // 结构化数据(以 json 字符串传递),这些字段是搜索结果的展示字段(title字段无须在此另外指定);目前支持的key为:, summary:搜索结果的摘要;, icon_url:搜索结果的icon地址;, footer:搜索结果的脚注, 示例值:"{\"key\":\"value\"}" Content *CreateSearchDataSourceItemReqContent `json:"content,omitempty"` // 非结构化数据,如文档文本,飞书搜索会用来做召回 }
CreateSearchDataSourceItemReq ...
type CreateSearchDataSourceItemReqACL ¶
type CreateSearchDataSourceItemReqACL struct { Access *string `json:"access,omitempty"` // 权限类型,优先级:Deny > Allow。默认为全员不可见,即 deny。, 示例值:"allow", 可选值有: `allow`:允许访问, `deny`:禁止访问 Value *string `json:"value,omitempty"` // 设置的权限值,例如 userID 、groupID,依赖 type 描述。,**注**:在 type 为 user 且 access 为 allow 时,可填 "everyone" 来表示该数据项对全员可见。, 示例值:"6629468020840333501" Type *string `json:"type,omitempty"` // 权限值类型, 示例值:"user", 可选值有: `user`:访问权限控制中指定用户可以访问或拒绝访问该条数据, `group`:访问权限控制中指定用户组可以访问或拒绝访问该条数据 }
CreateSearchDataSourceItemReqACL ...
type CreateSearchDataSourceItemReqContent ¶
type CreateSearchDataSourceItemReqContent struct { Format *string `json:"format,omitempty"` // 内容的格式, 示例值:"html", 可选值有: `html`:html格式, `plaintext`:纯文本格式 ContentData *string `json:"content_data,omitempty"` // 全文数据, 示例值:"这是一个很长的文本" }
CreateSearchDataSourceItemReqContent ...
type CreateSearchDataSourceItemReqMetadata ¶
type CreateSearchDataSourceItemReqMetadata struct { Title string `json:"title,omitempty"` // 该条数据记录对应的标题, 示例值:"工单:无法创建文章" SourceURL string `json:"source_url,omitempty"` // 该条数据记录对应的跳转url, 示例值:"http://www.abc.com.cn" CreateTime *int64 `json:"create_time,omitempty"` // 数据项的创建时间。Unix 时间,单位为秒, 示例值:1618831236 UpdateTime *int64 `json:"update_time,omitempty"` // 数据项的更新时间。Unix 时间,单位为秒, 示例值:1618831236 }
CreateSearchDataSourceItemReqMetadata ...
type CreateSearchDataSourceItemResp ¶
type CreateSearchDataSourceItemResp struct{}
CreateSearchDataSourceItemResp ...
type CreateSearchDataSourceReq ¶
type CreateSearchDataSourceReq struct { Name string `json:"name,omitempty"` // data_source的展示名称, 示例值:"客服工单" State *int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 示例值:0, 可选值有: `0`:未上线, `1`:已上线 Description *string `json:"description,omitempty"` // 对于数据源的描述, 示例值:"搜索客服工单数据" }
CreateSearchDataSourceReq ...
type CreateSearchDataSourceResp ¶
type CreateSearchDataSourceResp struct {
DataSource *CreateSearchDataSourceRespDataSource `json:"data_source,omitempty"` // 数据源实例
}
CreateSearchDataSourceResp ...
type CreateSearchDataSourceRespDataSource ¶
type CreateSearchDataSourceRespDataSource struct { ID string `json:"id,omitempty"` // 数据源的唯一标识 Name string `json:"name,omitempty"` // data_source的展示名称 State int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 可选值有: `0`:未上线, `1`:已上线 Description string `json:"description,omitempty"` // 对于数据源的描述 CreateTime string `json:"create_time,omitempty"` // 创建时间,使用Unix时间戳,单位为“秒” UpdateTime string `json:"update_time,omitempty"` // 更新时间,使用Unix时间戳,单位为“秒” IsExceedQuota bool `json:"is_exceed_quota,omitempty"` // 是否超限 }
CreateSearchDataSourceRespDataSource ...
type CreateSheetConditionFormatReq ¶
type CreateSheetConditionFormatReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) SheetConditionFormats []*CreateSheetConditionFormatReqSheetConditionFormat `json:"sheet_condition_formats,omitempty"` // 表格的条件格式信息 }
CreateSheetConditionFormatReq ...
type CreateSheetConditionFormatReqSheetConditionFormat ¶
type CreateSheetConditionFormatReqSheetConditionFormat struct { SheetID string `json:"sheet_id,omitempty"` // sheet的id ConditionFormat *CreateSheetConditionFormatReqSheetConditionFormatConditionFormat `json:"condition_format,omitempty"` // 一个条件格式的详细信息 }
CreateSheetConditionFormatReqSheetConditionFormat ...
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormat ¶
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormat struct { Ranges []string `json:"ranges,omitempty"` // 条件格式应用的范围,支持:sheetId(整表);sheetId!1:2(整行);sheetId!A:B(整列);sheetId!A1:B2(普通范围);sheetId!A1:C(应用至最后一行)。应用范围不能超过表格的行总数和列总数,sheetId要与参数的sheetId一致 RuleType string `json:"rule_type,omitempty"` // 条件格式规则类型,目前只有7种:***containsBlanks(为空)、notContainsBlanks(不为空)、duplicateValues(重复值)、uniqueValues(唯一值)、cellIs(限定值范围)、containsText(包含内容)、timePeriod(日期)*** Attrs []*CreateSheetConditionFormatReqSheetConditionFormatConditionFormatAttr `json:"attrs,omitempty"` // rule_type对应的具体属性信息,详见 [条件格式指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/conditionformat/condition-format-guide) Style *CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyle `json:"style,omitempty"` // 条件格式样式,只支持以下样式,以下样式每个参数都可选,但是不能设置空的style }
CreateSheetConditionFormatReqSheetConditionFormatConditionFormat ...
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatAttr ¶
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatAttr struct { Operator *string `json:"operator,omitempty"` // 操作方法 TimePeriod *string `json:"time_period,omitempty"` // 时间范围 Formula []string `json:"formula,omitempty"` // 格式 Text *string `json:"text,omitempty"` // 文本 }
CreateSheetConditionFormatReqSheetConditionFormatConditionFormatAttr ...
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyle ¶
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyle struct { Font *CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyleFont `json:"font,omitempty"` // 字体样式 TextDecoration *int64 `json:"text_decoration,omitempty"` // 文本装饰 ,0 默认,1 下划线,2 删除线 ,3 下划线和删除线 ForeColor *string `json:"fore_color,omitempty"` // 字体颜色 BackColor *string `json:"back_color,omitempty"` // 背景颜色 }
CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyle ...
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyleFont ¶
type CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyleFont struct { Bold *bool `json:"bold,omitempty"` // 加粗 Italic *bool `json:"italic,omitempty"` // 斜体 }
CreateSheetConditionFormatReqSheetConditionFormatConditionFormatStyleFont ...
type CreateSheetConditionFormatResp ¶
type CreateSheetConditionFormatResp struct {
Responses []*CreateSheetConditionFormatRespResponse `json:"responses,omitempty"` // 响应
}
CreateSheetConditionFormatResp ...
type CreateSheetConditionFormatRespResponse ¶
type CreateSheetConditionFormatRespResponse struct { SheetID string `json:"sheet_id,omitempty"` // sheet的Id CfID string `json:"cf_id,omitempty"` // 设置成功的条件格式id ResCode int64 `json:"res_code,omitempty"` // 条件格式设置状态码,0表示成功,非0表示失败 ResMsg string `json:"res_msg,omitempty"` // 条件格式设置返回的状态信息,空表示成功,非空表示失败原因 }
CreateSheetConditionFormatRespResponse ...
type CreateSheetDataValidationDropdownReq ¶
type CreateSheetDataValidationDropdownReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) DataValidationType string `json:"dataValidationType,omitempty"` // 下拉列表填"list" DataValidation *CreateSheetDataValidationDropdownReqDataValidation `json:"dataValidation,omitempty"` // 下拉列表规则属性 }
CreateSheetDataValidationDropdownReq ...
type CreateSheetDataValidationDropdownReqDataValidation ¶
type CreateSheetDataValidationDropdownReqDataValidation struct { ConditionValues []string `json:"conditionValues,omitempty"` // 下拉列表选项值, 需为字符串,不能包含",",选项值最长100字符,选项个数最多500个 Options *CreateSheetDataValidationDropdownReqDataValidationOptions `json:"options,omitempty"` // 可选属性 }
CreateSheetDataValidationDropdownReqDataValidation ...
type CreateSheetDataValidationDropdownReqDataValidationOptions ¶
type CreateSheetDataValidationDropdownReqDataValidationOptions struct { MultipleValues *bool `json:"multipleValues,omitempty"` // 单选填false, 多选填true,不填默认为false HighlightValidData *bool `json:"highlightValidData,omitempty"` // 是否设置颜色和胶囊样式, 不填默认为false Colors []string `json:"colors,omitempty"` // 当highlightValidData为true时,color需填颜色,与conditionValues中的值一一对应。需是RGB16进制格式,如"#fffd00" }
CreateSheetDataValidationDropdownReqDataValidationOptions ...
type CreateSheetDataValidationDropdownResp ¶
type CreateSheetDataValidationDropdownResp struct{}
CreateSheetDataValidationDropdownResp ...
type CreateSheetFilterReq ¶
type CreateSheetFilterReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA\*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b\**12" Range string `json:"range,omitempty"` // 筛选应用范围, 示例值:"xxxxxx!C1:H14" Col string `json:"col,omitempty"` // 设置筛选条件的列, 示例值:"E" Condition *CreateSheetFilterReqCondition `json:"condition,omitempty"` // 筛选的条件 }
CreateSheetFilterReq ...
type CreateSheetFilterReqCondition ¶
type CreateSheetFilterReqCondition struct { FilterType string `json:"filter_type,omitempty"` // 筛选类型, 示例值:"number" CompareType *string `json:"compare_type,omitempty"` // 比较类型, 示例值:"less" Expected []string `json:"expected,omitempty"` // 筛选参数, 示例值:6 }
CreateSheetFilterReqCondition ...
type CreateSheetFilterViewConditionReq ¶
type CreateSheetFilterViewConditionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" ConditionID *string `json:"condition_id,omitempty"` // 设置筛选条件的列,使用字母号, 示例值:"E" FilterType *string `json:"filter_type,omitempty"` // 筛选类型, 示例值:"number" CompareType *string `json:"compare_type,omitempty"` // 比较类型, 示例值:"less" Expected []string `json:"expected,omitempty"` // 筛选参数, 示例值:6 }
CreateSheetFilterViewConditionReq ...
type CreateSheetFilterViewConditionResp ¶
type CreateSheetFilterViewConditionResp struct {
Condition *CreateSheetFilterViewConditionRespCondition `json:"condition,omitempty"` // 创建的筛选条件
}
CreateSheetFilterViewConditionResp ...
type CreateSheetFilterViewConditionRespCondition ¶
type CreateSheetFilterViewConditionRespCondition struct { ConditionID string `json:"condition_id,omitempty"` // 设置筛选条件的列,使用字母号 FilterType string `json:"filter_type,omitempty"` // 筛选类型 CompareType string `json:"compare_type,omitempty"` // 比较类型 Expected []string `json:"expected,omitempty"` // 筛选参数 }
CreateSheetFilterViewConditionRespCondition ...
type CreateSheetFilterViewReq ¶
type CreateSheetFilterViewReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID *string `json:"filter_view_id,omitempty"` // 筛选视图 id, 示例值:"pH9hbVcCXA" FilterViewName *string `json:"filter_view_name,omitempty"` // 筛选视图名字, 示例值:"筛选视图 1" Range *string `json:"range,omitempty"` // 筛选视图的筛选范围, 示例值:"0b**12!C1:H14" }
CreateSheetFilterViewReq ...
type CreateSheetFilterViewResp ¶
type CreateSheetFilterViewResp struct {
FilterView *CreateSheetFilterViewRespFilterView `json:"filter_view,omitempty"` // 创建的筛选视图的 id 、name、range
}
CreateSheetFilterViewResp ...
type CreateSheetFilterViewRespFilterView ¶
type CreateSheetFilterViewRespFilterView struct { FilterViewID string `json:"filter_view_id,omitempty"` // 筛选视图 id FilterViewName string `json:"filter_view_name,omitempty"` // 筛选视图名字 Range string `json:"range,omitempty"` // 筛选视图的筛选范围 }
CreateSheetFilterViewRespFilterView ...
type CreateSheetFloatImageReq ¶
type CreateSheetFloatImageReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FloatImageID *string `json:"float_image_id,omitempty"` // 浮动图片 id, 示例值:"ye06SS14ph" FloatImageToken *string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作, 示例值:"boxbcbQsaSqIXsxxxxx1HCPJFbh" Range *string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格, 示例值:"0b**12!A1:A1" Width *float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px, 示例值:100 Height *float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px, 示例值:100 OffsetX *float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度, 示例值:0 OffsetY *float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度, 示例值:0 }
CreateSheetFloatImageReq ...
type CreateSheetFloatImageResp ¶
type CreateSheetFloatImageResp struct {
FloatImage *CreateSheetFloatImageRespFloatImage `json:"float_image,omitempty"` // 浮动图片返回值
}
CreateSheetFloatImageResp ...
type CreateSheetFloatImageRespFloatImage ¶
type CreateSheetFloatImageRespFloatImage struct { FloatImageID string `json:"float_image_id,omitempty"` // 浮动图片 id FloatImageToken string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作 Range string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格 Width float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px Height float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px OffsetX float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度 OffsetY float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 }
CreateSheetFloatImageRespFloatImage ...
type CreateSheetProtectedDimensionReq ¶
type CreateSheetProtectedDimensionReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 请求的用户id类型,可选open_id,union_id SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) AddProtectedDimension []*CreateSheetProtectedDimensionReqAddProtectedDimension `json:"addProtectedDimension,omitempty"` // 需要增加保护范围的维度信息,可多个范围 }
CreateSheetProtectedDimensionReq ...
type CreateSheetProtectedDimensionReqAddProtectedDimension ¶
type CreateSheetProtectedDimensionReqAddProtectedDimension struct { Dimension *CreateSheetProtectedDimensionReqAddProtectedDimensionDimension `json:"dimension,omitempty"` // 需要保护行列的维度信息 Editors []int64 `json:"editors,omitempty"` // 允许编辑保护范围的用户的 userID Users []string `json:"users,omitempty"` // 允许编辑保护范围的用户的id,id类型取决于user_id_type LockInfo *string `json:"lockInfo,omitempty"` // 保护范围的信息 }
CreateSheetProtectedDimensionReqAddProtectedDimension ...
type CreateSheetProtectedDimensionReqAddProtectedDimensionDimension ¶
type CreateSheetProtectedDimensionReqAddProtectedDimensionDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId MajorDimension *string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS StartIndex int64 `json:"startIndex"` // 开始的位置 EndIndex int64 `json:"endIndex,omitempty"` // 结束的位置 }
CreateSheetProtectedDimensionReqAddProtectedDimensionDimension ...
type CreateSheetProtectedDimensionResp ¶
type CreateSheetProtectedDimensionResp struct {
AddProtectedDimension []*CreateSheetProtectedDimensionRespAddProtectedDimension `json:"addProtectedDimension,omitempty"` // 需要增加保护范围的维度信息,可多个范围
}
CreateSheetProtectedDimensionResp ...
type CreateSheetProtectedDimensionRespAddProtectedDimension ¶
type CreateSheetProtectedDimensionRespAddProtectedDimension struct { Dimension *CreateSheetProtectedDimensionRespAddProtectedDimensionDimension `json:"dimension,omitempty"` // 需要保护行列的维度信息 Editors []int64 `json:"editors,omitempty"` // 允许编辑保护范围的用户的 userID Users []string `json:"users,omitempty"` // 允许编辑保护范围的用户的id,id类型取决于user_id_type LockInfo string `json:"lockInfo,omitempty"` // 保护范围的信息 ProtectID string `json:"protectId,omitempty"` // 保护区域的唯一 uid ,可用做后续解除保护 }
CreateSheetProtectedDimensionRespAddProtectedDimension ...
type CreateSheetProtectedDimensionRespAddProtectedDimensionDimension ¶
type CreateSheetProtectedDimensionRespAddProtectedDimensionDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId MajorDimension string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS StartIndex int64 `json:"startIndex"` // 开始的位置 EndIndex int64 `json:"endIndex,omitempty"` // 结束的位置 }
CreateSheetProtectedDimensionRespAddProtectedDimensionDimension ...
type CreateSheetReq ¶
type CreateSheetReq struct { Title *string `json:"title,omitempty"` // 表格标题, 示例值:"title" FolderToken *string `json:"folder_token,omitempty"` // 文件夹token,获取方式见[概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"fldcnMsNb*****hIW9IjG1LVswg" }
CreateSheetReq ...
type CreateSheetResp ¶
type CreateSheetResp struct {
Spreadsheet *CreateSheetRespSpreadsheet `json:"spreadsheet,omitempty"` // 表格
}
CreateSheetResp ...
type CreateSheetRespSpreadsheet ¶
type CreateSheetRespSpreadsheet struct { Title string `json:"title,omitempty"` // 表格标题 FolderToken string `json:"folder_token,omitempty"` // 文件夹token,获取方式见[概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) URL string `json:"url,omitempty"` // 文档url SpreadSheetToken string `json:"spreadsheet_token,omitempty"` // 表格token }
CreateSheetRespSpreadsheet ...
type CreateTaskCollaboratorReq ¶
type CreateTaskCollaboratorReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" ID string `json:"id,omitempty"` // 任务协作者的 ID, 示例值:"ou_99e1a581b36ecc4862cbfbce473f1234" }
CreateTaskCollaboratorReq ...
type CreateTaskCollaboratorResp ¶
type CreateTaskCollaboratorResp struct {
Collaborator *CreateTaskCollaboratorRespCollaborator `json:"collaborator,omitempty"` // 返回创建成功后的任务协作者
}
CreateTaskCollaboratorResp ...
type CreateTaskCollaboratorRespCollaborator ¶
type CreateTaskCollaboratorRespCollaborator struct {
ID string `json:"id,omitempty"` // 任务协作者的 ID
}
CreateTaskCollaboratorRespCollaborator ...
type CreateTaskCommentReq ¶
type CreateTaskCommentReq struct { TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" Content *string `json:"content,omitempty"` // 评论内容, 示例值:"举杯邀明月,对影成三人", 长度范围:`0` ~ `65536` 字符 ParentID *string `json:"parent_id,omitempty"` // 评论的父ID,创建评论时若不为空则为某条评论的回复,若不为空则不是回复, 示例值:"6937231762296684564" ID *string `json:"id,omitempty"` // 评论ID,由飞书服务器发号, 示例值:"6937231762296684564" }
CreateTaskCommentReq ...
type CreateTaskCommentResp ¶
type CreateTaskCommentResp struct {
Comment *CreateTaskCommentRespComment `json:"comment,omitempty"` // 返回创建好的任务评论
}
CreateTaskCommentResp ...
type CreateTaskCommentRespComment ¶
type CreateTaskCommentRespComment struct { Content string `json:"content,omitempty"` // 评论内容 ParentID string `json:"parent_id,omitempty"` // 评论的父ID,创建评论时若不为空则为某条评论的回复,若不为空则不是回复 ID string `json:"id,omitempty"` // 评论ID,由飞书服务器发号 }
CreateTaskCommentRespComment ...
type CreateTaskFollowerReq ¶
type CreateTaskFollowerReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" ID string `json:"id,omitempty"` // 任务关注者 ID, 示例值:"ou_99e1a581b36ecc4862cbfbce473f3123" }
CreateTaskFollowerReq ...
type CreateTaskFollowerResp ¶
type CreateTaskFollowerResp struct {
Follower *CreateTaskFollowerRespFollower `json:"follower,omitempty"` // 创建后的任务关注者
}
CreateTaskFollowerResp ...
type CreateTaskFollowerRespFollower ¶
type CreateTaskFollowerRespFollower struct {
ID string `json:"id,omitempty"` // 任务关注者 ID
}
CreateTaskFollowerRespFollower ...
type CreateTaskReminderReq ¶
type CreateTaskReminderReq struct { TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" RelativeFireMinute int64 `json:"relative_fire_minute,omitempty"` // 相对于截止时间的提醒时间(如提前 30 分钟,截止时间后 30 分钟,则为 -30), 示例值:30 }
CreateTaskReminderReq ...
type CreateTaskReminderResp ¶
type CreateTaskReminderResp struct {
Reminder *CreateTaskReminderRespReminder `json:"reminder,omitempty"` // 返回创建成功的提醒时间
}
CreateTaskReminderResp ...
type CreateTaskReminderRespReminder ¶
type CreateTaskReminderRespReminder struct { ID string `json:"id,omitempty"` // 提醒时间设置的 ID(在删除时候需要使用这个) RelativeFireMinute int64 `json:"relative_fire_minute,omitempty"` // 相对于截止时间的提醒时间(如提前 30 分钟,截止时间后 30 分钟,则为 -30) }
CreateTaskReminderRespReminder ...
type CreateTaskReq ¶
type CreateTaskReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID Summary string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务, 示例值:"每天喝八杯水,保持身心愉悦", 长度范围:`1` ~ `256` 字符 Description *string `json:"description,omitempty"` // 任务备注, 示例值:"多吃水果,多运动,健康生活,快乐工作。", 长度范围:`0` ~ `65536` 字符 Extra *string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定, 示例值:"dGVzdA==", 长度范围:`0` ~ `65536` 字符 Due *CreateTaskReqDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *CreateTaskReqOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit *bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息, 示例值:true, 默认值: `false` Custom *string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递, 示例值:"{\"custom_complete\":{\"android\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}},\"ios\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}},\"pc\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}}}}", 长度范围:`0` ~ `65536` 字符 }
CreateTaskReq ...
type CreateTaskReqDue ¶
type CreateTaskReqDue struct { Time *string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒), 示例值:"1623124318" Timezone *string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai, 示例值:"Asia/Shanghai", 默认值: `Asia/Shanghai` IsAllDay *bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点), 示例值:false, 默认值: `false` }
CreateTaskReqDue ...
type CreateTaskReqOrigin ¶
type CreateTaskReqOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn, 示例值:"{\"zh_cn\": \"IT 工作台\", \"en_us\": \"IT Workspace\"}", 长度范围:`0` ~ `1024` 字符 Href *CreateTaskReqOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
CreateTaskReqOrigin ...
type CreateTaskReqOriginHref ¶
type CreateTaskReqOriginHref struct { URL *string `json:"url,omitempty"` // 具体链接地址, 示例值:"https://support.feishu.com/internal/foo-bar", 长度范围:`0` ~ `1024` 字符 Title *string `json:"title,omitempty"` // 链接对应的标题, 示例值:"反馈一个问题,需要协助排查", 长度范围:`0` ~ `512` 字符 }
CreateTaskReqOriginHref ...
type CreateTaskResp ¶
type CreateTaskResp struct {
Task *CreateTaskRespTask `json:"task,omitempty"` // 返回创建好的任务
}
CreateTaskResp ...
type CreateTaskRespTask ¶
type CreateTaskRespTask struct { ID string `json:"id,omitempty"` // 任务 ID,由飞书任务服务器发号 Summary string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务 Description string `json:"description,omitempty"` // 任务备注 CompleteTime string `json:"complete_time,omitempty"` // 任务的完成时间戳(单位为秒),如果完成时间为 0,则表示任务尚未完成 CreatorID string `json:"creator_id,omitempty"` // 任务的创建者 ID。在创建任务时无需填充该字段 Extra string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定 CreateTime string `json:"create_time,omitempty"` // 任务的创建时间戳(单位为秒) UpdateTime string `json:"update_time,omitempty"` // 任务的更新时间戳(单位为秒) Due *CreateTaskRespTaskDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *CreateTaskRespTaskOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息 Custom string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递 Source int64 `json:"source,omitempty"` // 任务创建的来源, 可选值有: `0`:未知类型, `1`:来源任务中心创建, `2`:来源消息转任务, `3`:来源云文档, `4`:来源文档单品, `5`:来源PANO, `6`:来源tenant_access_token创建的任务, `7`:来源user_access_token创建的任务, `8`:来源新版云文档 }
CreateTaskRespTask ...
type CreateTaskRespTaskDue ¶
type CreateTaskRespTaskDue struct { Time string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒) Timezone string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai IsAllDay bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点) }
CreateTaskRespTaskDue ...
type CreateTaskRespTaskOrigin ¶
type CreateTaskRespTaskOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn Href *CreateTaskRespTaskOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
CreateTaskRespTaskOrigin ...
type CreateTaskRespTaskOriginHref ¶
type CreateTaskRespTaskOriginHref struct { URL string `json:"url,omitempty"` // 具体链接地址 Title string `json:"title,omitempty"` // 链接对应的标题 }
CreateTaskRespTaskOriginHref ...
type CreateUpdateAttendanceUserDailyShiftReq ¶
type CreateUpdateAttendanceUserDailyShiftReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_id 的员工工号类型可用值:【employee_id(员工的 employeeId),employee_no(员工工号)】,示例值:"employee_id" UserDailyShifts []*CreateUpdateAttendanceUserDailyShiftReqUserDailyShift `json:"user_daily_shifts,omitempty"` // 班表信息列表 }
CreateUpdateAttendanceUserDailyShiftReq ...
type CreateUpdateAttendanceUserDailyShiftReqUserDailyShift ¶
type CreateUpdateAttendanceUserDailyShiftReqUserDailyShift struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID ShiftID string `json:"shift_id,omitempty"` // 班次 ID,休息为 0 Month int64 `json:"month,omitempty"` // 月份 UserID string `json:"user_id,omitempty"` // 用户 DayNo int64 `json:"day_no,omitempty"` // 日期 }
CreateUpdateAttendanceUserDailyShiftReqUserDailyShift ...
type CreateUpdateAttendanceUserDailyShiftResp ¶
type CreateUpdateAttendanceUserDailyShiftResp struct {
UserDailyShifts []*CreateUpdateAttendanceUserDailyShiftRespUserDailyShift `json:"user_daily_shifts,omitempty"` // 班表信息列表
}
CreateUpdateAttendanceUserDailyShiftResp ...
type CreateUpdateAttendanceUserDailyShiftRespUserDailyShift ¶
type CreateUpdateAttendanceUserDailyShiftRespUserDailyShift struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID ShiftID string `json:"shift_id,omitempty"` // 班次 ID Month int64 `json:"month,omitempty"` // 月份 UserID string `json:"user_id,omitempty"` // 用户 DayNo int64 `json:"day_no,omitempty"` // 日期 }
CreateUpdateAttendanceUserDailyShiftRespUserDailyShift ...
type CreateUserReq ¶
type CreateUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型。,不同 ID 的说明以及获取方式参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0), 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` ClientToken *string `query:"client_token" json:"-"` // 根据client_token是否一致来判断是否为同一请求, 示例值:"xxxx-xxxxx-xxx" UserID *string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"3e3cf96b" Name string `json:"name,omitempty"` // 用户名, 示例值:"张三", 最小长度:`1` 字符 EnName *string `json:"en_name,omitempty"` // 英文名, 示例值:"San Zhang" Nickname *string `json:"nickname,omitempty"` // 别名, 示例值:"Alex Zhang" Email *string `json:"email,omitempty"` // 邮箱, 示例值:"zhangsan@gmail.com" Mobile string `json:"mobile,omitempty"` // 手机号,中国大陆手机可不填区号,境外手机需加国际电话区号前缀。, 示例值:"中国大陆手机号: 13011111111 或 +8613011111111, 境外手机号: +41446681800" MobileVisible *bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码, 示例值:false Gender *int64 `json:"gender,omitempty"` // 性别, 示例值:1, 可选值有: `0`:保密, `1`:男, `2`:女 AvatarKey *string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key, 示例值:"2500c7a9-5fff-4d9a-a2de-3d59614ae28g" DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0), 示例值:od-4e6ac4d14bcd5071a37a39de902c7141 LeaderUserID *string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" City *string `json:"city,omitempty"` // 城市, 示例值:"杭州" Country *string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description), 示例值:"CN" WorkStation *string `json:"work_station,omitempty"` // 工位, 示例值:"北楼-H34" JoinTime *int64 `json:"join_time,omitempty"` // 入职时间, 示例值:2147483647 EmployeeNo *string `json:"employee_no,omitempty"` // 工号, 示例值:"1" EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list), 示例值:1 Orders []*CreateUserReqOrder `json:"orders,omitempty"` // 用户排序信息 CustomAttrs []*CreateUserReqCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。 EnterpriseEmail *string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务, 示例值:"demo@mail.com" JobTitle *string `json:"job_title,omitempty"` // 职务, 示例值:"xxxxx" }
CreateUserReq ...
type CreateUserReqCustomAttr ¶
type CreateUserReqCustomAttr struct { Type *string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN), 示例值:"TEXT" ID *string `json:"id,omitempty"` // 自定义字段ID, 示例值:"DemoId" Value *CreateUserReqCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
CreateUserReqCustomAttr ...
type CreateUserReqCustomAttrValue ¶
type CreateUserReqCustomAttrValue struct { Text *string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填, 示例值:"DemoText" URL *string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL, 示例值:"http://www.feishu.cn" PcURL *string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL, 示例值:"http://www.feishu.cn" OptionID *string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值, 示例值:"edcvfrtg" GenericUser *CreateUserReqCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
CreateUserReqCustomAttrValue ...
type CreateUserReqCustomAttrValueGenericUser ¶
type CreateUserReqCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"9b2fabg5" Type int64 `json:"type,omitempty"` // 用户类型 1:用户, 示例值:1 }
CreateUserReqCustomAttrValueGenericUser ...
type CreateUserReqOrder ¶
type CreateUserReqOrder struct { DepartmentID *string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" UserOrder *int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前, 示例值:100 DepartmentOrder *int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前, 示例值:100 }
CreateUserReqOrder ...
type CreateUserResp ¶
type CreateUserResp struct {
User *CreateUserRespUser `json:"user,omitempty"` // 用户信息
}
CreateUserResp ...
type CreateUserRespUser ¶
type CreateUserRespUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号,中国大陆手机可不填区号,境外手机需加国际电话区号前缀。, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 AvatarKey string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key Avatar *CreateUserRespUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *CreateUserRespUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*CreateUserRespUserOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*CreateUserRespUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
CreateUserRespUser ...
type CreateUserRespUserAvatar ¶
type CreateUserRespUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
CreateUserRespUserAvatar ...
type CreateUserRespUserCustomAttr ¶
type CreateUserRespUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *CreateUserRespUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
CreateUserRespUserCustomAttr ...
type CreateUserRespUserCustomAttrValue ¶
type CreateUserRespUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *CreateUserRespUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
CreateUserRespUserCustomAttrValue ...
type CreateUserRespUserCustomAttrValueGenericUser ¶
type CreateUserRespUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
CreateUserRespUserCustomAttrValueGenericUser ...
type CreateUserRespUserOrder ¶
type CreateUserRespUserOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
CreateUserRespUserOrder ...
type CreateUserRespUserStatus ¶
type CreateUserRespUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
CreateUserRespUserStatus ...
type CreateWikiNodeReq ¶
type CreateWikiNodeReq struct { SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"6704147935988285963" ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 示例值:"doc/sheet/mindnote", 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken *string `json:"parent_node_token,omitempty"` // 节点的父亲token, 示例值:"wikcnKQ1k3pcuo5uSK4t8VN6kVf" NodeType string `json:"node_type,omitempty"` // 节点类型, 示例值:"origin/shortcut", 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken *string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值, 示例值:"wikcnKQ1k3pcuo5uSK4t8VN6kVf" }
CreateWikiNodeReq ...
type CreateWikiNodeResp ¶
type CreateWikiNodeResp struct {
Node *CreateWikiNodeRespNode `json:"node,omitempty"` // 节点
}
CreateWikiNodeResp ...
type CreateWikiNodeRespNode ¶
type CreateWikiNodeRespNode struct { SpaceID string `json:"space_id,omitempty"` // 知识库id NodeToken string `json:"node_token,omitempty"` // 节点token ObjToken string `json:"obj_token,omitempty"` // 文档token,可以根据obj_type判断是属于doc、sheet还是mindnote的token(对于快捷方式,该字段是对应的实体的obj_token) ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken string `json:"parent_node_token,omitempty"` // 节点的父亲token NodeType string `json:"node_type,omitempty"` // 节点类型, 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值 OriginSpaceID string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的spaceid HasChild bool `json:"has_child,omitempty"` // 是否有子节点 Title string `json:"title,omitempty"` // 文档标题 ObjCreateTime string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime string `json:"node_create_time,omitempty"` // 节点创建时间 }
CreateWikiNodeRespNode ...
type CreateWikiSpaceReq ¶
type CreateWikiSpaceReq struct { Name *string `json:"name,omitempty"` // 知识空间名称, 示例值:"知识空间" Description *string `json:"description,omitempty"` // 知识空间描述, 示例值:"知识空间描述" }
CreateWikiSpaceReq ...
type CreateWikiSpaceResp ¶
type CreateWikiSpaceResp struct {
Space *CreateWikiSpaceRespSpace `json:"space,omitempty"` // 知识空间
}
CreateWikiSpaceResp ...
type CreateWikiSpaceRespSpace ¶
type CreateWikiSpaceRespSpace struct { Name string `json:"name,omitempty"` // 知识空间名称 Description string `json:"description,omitempty"` // 知识空间描述 SpaceID string `json:"space_id,omitempty"` // 知识空间id }
CreateWikiSpaceRespSpace ...
type CropFaceVerifyImageReq ¶
type CropFaceVerifyImageReq struct {
RawImage io.Reader `json:"raw_image,omitempty"` // 带有头像的人脸照片文件名称
}
CropFaceVerifyImageReq ...
type CropFaceVerifyImageResp ¶
type CropFaceVerifyImageResp struct {
FaceImage string `json:"face_image,omitempty"` // BASE64(裁剪后的人脸基准图片),code为0时返回
}
CropFaceVerifyImageResp ...
type DeleteAttendanceGroupReq ¶
type DeleteAttendanceGroupReq struct {
GroupID string `path:"group_id" json:"-"` // 考勤组 ID,获取方式:1)[创建或修改考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create) 2)[按名称查询考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search) 3)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query), 示例值:"6919358128597097404"
}
DeleteAttendanceGroupReq ...
type DeleteAttendanceGroupResp ¶
type DeleteAttendanceGroupResp struct{}
DeleteAttendanceGroupResp ...
type DeleteAttendanceShiftReq ¶
type DeleteAttendanceShiftReq struct {
ShiftID string `path:"shift_id" json:"-"` // 班次 ID,获取方式:1)[按名称查询班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query) 2)[创建班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create), 示例值:"6919358778597097404"
}
DeleteAttendanceShiftReq ...
type DeleteAttendanceShiftResp ¶
type DeleteAttendanceShiftResp struct{}
DeleteAttendanceShiftResp ...
type DeleteBitableFieldReq ¶
type DeleteBitableFieldReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" FieldID string `path:"field_id" json:"-"` // field id, 示例值:"fldPTb0U2y" }
DeleteBitableFieldReq ...
type DeleteBitableFieldResp ¶
type DeleteBitableFieldResp struct { FieldID string `json:"field_id,omitempty"` // field id Deleted bool `json:"deleted,omitempty"` // 删除标记 }
DeleteBitableFieldResp ...
type DeleteBitableRecordReq ¶
type DeleteBitableRecordReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" RecordID string `path:"record_id" json:"-"` // 单条记录的Id, 示例值:"recpCsf4ME" }
DeleteBitableRecordReq ...
type DeleteBitableRecordResp ¶
type DeleteBitableRecordResp struct { Deleted bool `json:"deleted,omitempty"` // 是否成功删除 RecordID string `json:"record_id,omitempty"` // 删除的记录 ID }
DeleteBitableRecordResp ...
type DeleteBitableTableReq ¶
type DeleteBitableTableReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" }
DeleteBitableTableReq ...
type DeleteBitableViewReq ¶
type DeleteBitableViewReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" ViewID string `path:"view_id" json:"-"` // 视图Id, 示例值:"vewTpR1urY" }
DeleteBitableViewReq ...
type DeleteCalendarACLReq ¶
type DeleteCalendarACLReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" ACLID string `path:"acl_id" json:"-"` // acl资源ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"user_xxxxxx" }
DeleteCalendarACLReq ...
type DeleteCalendarEventAttendeeReq ¶
type DeleteCalendarEventAttendeeReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" AttendeeIDs []string `json:"attendee_ids,omitempty"` // 要移除的参与人 ID 列表。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:["user_xxxxx", "chat_xxxxx", "resource_xxxxx", "third_party_xxxxx"] NeedNotification *bool `json:"need_notification,omitempty"` // 删除日程参与人时是否要给参与人发送bot通知,默认为true, 示例值:false }
DeleteCalendarEventAttendeeReq ...
type DeleteCalendarEventAttendeeResp ¶
type DeleteCalendarEventAttendeeResp struct{}
DeleteCalendarEventAttendeeResp ...
type DeleteCalendarEventReq ¶
type DeleteCalendarEventReq struct { NeedNotification *bool `query:"need_notification" json:"-"` // 删除日程是否给日程参与人发送bot通知,默认为true, 示例值:false, 可选值有: `true`:true, `false`:false CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" }
DeleteCalendarEventReq ...
type DeleteCalendarExchangeBindingReq ¶
type DeleteCalendarExchangeBindingReq struct {
ExchangeBindingID string `path:"exchange_binding_id" json:"-"` // exchange绑定唯一标识id。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"ZW1haWxfYWRtaW5fZXhhbXBsZUBvdXRsb29rLmNvbSBlbWFpbF9hY2NvdW50X2V4YW1wbGVAb3V0bG9vay5jb20="
}
DeleteCalendarExchangeBindingReq ...
type DeleteCalendarExchangeBindingResp ¶
type DeleteCalendarExchangeBindingResp struct{}
DeleteCalendarExchangeBindingResp ...
type DeleteCalendarReq ¶
type DeleteCalendarReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
DeleteCalendarReq ...
type DeleteCalendarTimeoffEventReq ¶
type DeleteCalendarTimeoffEventReq struct {
TimeoffEventID string `path:"timeoff_event_id" json:"-"` // 休假申请的唯一标识id。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"timeoff:XXXXXX-XXXX-0917-1623-aa493d591a39"
}
DeleteCalendarTimeoffEventReq ...
type DeleteCalendarTimeoffEventResp ¶
type DeleteCalendarTimeoffEventResp struct{}
DeleteCalendarTimeoffEventResp ...
type DeleteChatManagerReq ¶
type DeleteChatManagerReq struct { MemberIDType *IDType `query:"member_id_type" json:"-"` // 群成员 id 类型 open_id/user_id/union_id/app_id, 示例值:"open_id", 可选值有: `user_id`:以 user_id 来识别成员,需要有获取用户 UserID 的权限 ([什么是 User ID?](https://open.feishu.cn/document/home/user-identity-introduction/user-id)), `union_id`:以 union_id 来识别成员([什么是 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/union-id)), `open_id`:以 open_id 来识别成员([什么是 Open ID?](https://open.feishu.cn/document/home/user-identity-introduction/open-id)), `app_id`:以 app_id 来识别成员([获取应用身份访问凭证](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g)) ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" ManagerIDs []string `json:"manager_ids,omitempty"` // 要删除的 manager_id, 示例值:["ou_9204a37300b3700d61effaa439f34295"], 最大长度:`50` }
DeleteChatManagerReq ...
type DeleteChatManagerResp ¶
type DeleteChatManagerResp struct { ChatManagers []string `json:"chat_managers,omitempty"` // 群目前用户类型的管理员 id ChatBotManagers []string `json:"chat_bot_managers,omitempty"` // 群目前机器人类型的管理员 id }
DeleteChatManagerResp ...
type DeleteChatMemberReq ¶
type DeleteChatMemberReq struct { MemberIDType *IDType `query:"member_id_type" json:"-"` // 出群成员 id 类型 open_id/user_id/union_id/app_id, 示例值:"open_id", 可选值有: `user_id`:以 user_id 来识别成员, `union_id`:以 union_id 来识别成员, `open_id`:以 open_id 来识别成员, `app_id`:以 app_id 来识别成员 ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" IDList []string `json:"id_list,omitempty"` // 成员列表 }
DeleteChatMemberReq ...
type DeleteChatMemberResp ¶
type DeleteChatMemberResp struct {
InvalidIDList []string `json:"invalid_id_list,omitempty"` // 无效成员列表
}
DeleteChatMemberResp ...
type DeleteChatReq ¶
type DeleteChatReq struct {
ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230"
}
DeleteChatReq ...
type DeleteContactGroupMemberReq ¶
type DeleteContactGroupMemberReq struct { GroupID string `path:"group_id" json:"-"` // 用户组ID, 示例值:"g198123" MemberType string `json:"member_type,omitempty"` // 用户组成员的类型,取值为 user, 示例值:"user", 可选值有: `user`:user, 默认值: `user` MemberID string `json:"member_id,omitempty"` // 操作移除的用户组成员ID, 示例值:"xj82871k" MemberIDType IDType `json:"member_id_type,omitempty"` // 当member_type =user时候,member_id_type表示user_id_type,枚举值为open_id, union_id, user_id, 示例值:"open_id", 可选值有: `open_id`:member_type =user时候,表示用户的open_id, `union_id`:member_type =user时候,表示用户的union_id, `user_id`:member_type =user时候,表示用户的user_id, 默认值: `open_id` }
DeleteContactGroupMemberReq ...
type DeleteContactGroupMemberResp ¶
type DeleteContactGroupMemberResp struct{}
DeleteContactGroupMemberResp ...
type DeleteContactGroupReq ¶
type DeleteContactGroupReq struct {
GroupID string `path:"group_id" json:"-"` // 需删除的用户组ID, 示例值:"g1837191"
}
DeleteContactGroupReq ...
type DeleteContactUnitReq ¶
type DeleteContactUnitReq struct {
UnitID string `path:"unit_id" json:"-"` // 单位ID, 示例值:"BU121"
}
DeleteContactUnitReq ...
type DeleteDepartmentReq ¶
type DeleteDepartmentReq struct { DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID string `path:"department_id" json:"-"` // 部门ID,需要与查询参数中传入的department_id_type类型保持一致。, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` }
DeleteDepartmentReq ...
type DeleteDriveCommentReq ¶
type DeleteDriveCommentReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnHh7U87HOFpii5u5G*****" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6916106822734578184" ReplyID string `path:"reply_id" json:"-"` // 回复ID, 示例值:"6916106822734594568" }
DeleteDriveCommentReq ...
type DeleteDriveDocFileReq ¶
type DeleteDriveDocFileReq struct {
DocToken string `path:"docToken" json:"-"` // doc 的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
}
DeleteDriveDocFileReq ...
type DeleteDriveDocFileResp ¶
type DeleteDriveDocFileResp struct { ID string `json:"id,omitempty"` // doc 的 id「字符串类型」 Result bool `json:"result,omitempty"` // 删除结果 }
DeleteDriveDocFileResp ...
type DeleteDriveFileReq ¶
type DeleteDriveFileReq struct { Type string `query:"type" json:"-"` // 云文档类型, 示例值:"file", 可选值有: `file`:box开头云文档类型 FileToken string `path:"file_token" json:"-"` // 需要删除的文件token, 示例值:"boxxxxxxx" }
DeleteDriveFileReq ...
type DeleteDriveMemberPermissionOldReq ¶
type DeleteDriveMemberPermissionOldReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "bitable" or "file" MemberType string `json:"member_type,omitempty"` // 用户类型,可选 **"openid"、"openchat"、"userid"** MemberID string `json:"member_id,omitempty"` // 用户类型下的值 }
DeleteDriveMemberPermissionOldReq ...
type DeleteDriveMemberPermissionOldResp ¶
type DeleteDriveMemberPermissionOldResp struct {
IsSuccess bool `json:"is_success,omitempty"` // 是否操作成功
}
DeleteDriveMemberPermissionOldResp ...
type DeleteDriveMemberPermissionReq ¶
type DeleteDriveMemberPermissionReq struct { Type string `query:"type" json:"-"` // 文件类型,放于query参数中,如:`?type=doc`, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:电子表格, `file`:云空间文件, `wiki`:知识库节点(部分支持), `bitable`:多维表格, `docx`:文档(暂不支持) MemberType string `query:"member_type" json:"-"` // 权限成员类型,放于query参数中,如:`?member_type=openid`, 示例值:"openid", 可选值有: `email`:邮箱地址, `openid`:[开放平台ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get), `openchat`:[开放平台群组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), `opendepartmentid`:[开放平台部门ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), `userid`:[用户自定义ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get) Token string `path:"token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"doccnBKgoMyY5OMbUG6FioTXuBe" MemberID string `path:"member_id" json:"-"` // 权限成员的ID,与`member_type`相对应, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" }
DeleteDriveMemberPermissionReq ...
type DeleteDriveMemberPermissionResp ¶
type DeleteDriveMemberPermissionResp struct{}
DeleteDriveMemberPermissionResp ...
type DeleteDriveSheetFileReq ¶
type DeleteDriveSheetFileReq struct {
SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
}
DeleteDriveSheetFileReq ...
type DeleteDriveSheetFileResp ¶
type DeleteDriveSheetFileResp struct { ID string `json:"id,omitempty"` // sheet 的 id 「字符串类型」 Result bool `json:"result,omitempty"` // 删除结果 }
DeleteDriveSheetFileResp ...
type DeleteEmployeeTypeEnumReq ¶
type DeleteEmployeeTypeEnumReq struct {
EnumID string `path:"enum_id" json:"-"` // 枚举值id, 示例值:"exGeIjow7zIqWMy+ONkFxA=="
}
DeleteEmployeeTypeEnumReq ...
type DeleteEmployeeTypeEnumResp ¶
type DeleteEmployeeTypeEnumResp struct{}
DeleteEmployeeTypeEnumResp ...
type DeleteEphemeralMessageReq ¶
type DeleteEphemeralMessageReq struct {
MessageID string `json:"message_id,omitempty"` // 临时消息ID
}
DeleteEphemeralMessageReq ...
type DeleteEphemeralMessageResp ¶
type DeleteEphemeralMessageResp struct{}
DeleteEphemeralMessageResp ...
type DeleteHelpdeskAgentScheduleReq ¶
type DeleteHelpdeskAgentScheduleReq struct {
AgentID string `path:"agent_id" json:"-"` // agent user id, 示例值:"12345"
}
DeleteHelpdeskAgentScheduleReq ...
type DeleteHelpdeskAgentScheduleResp ¶
type DeleteHelpdeskAgentScheduleResp struct{}
DeleteHelpdeskAgentScheduleResp ...
type DeleteHelpdeskAgentSkillReq ¶
type DeleteHelpdeskAgentSkillReq struct {
AgentSkillID string `path:"agent_skill_id" json:"-"` // agent group id, 示例值:"test-skill-id"
}
DeleteHelpdeskAgentSkillReq ...
type DeleteHelpdeskAgentSkillResp ¶
type DeleteHelpdeskAgentSkillResp struct{}
DeleteHelpdeskAgentSkillResp ...
type DeleteHelpdeskCategoryReq ¶
type DeleteHelpdeskCategoryReq struct {
ID string `path:"id" json:"-"` // 知识库分类ID, 示例值:"6948728206392295444"
}
DeleteHelpdeskCategoryReq ...
type DeleteHelpdeskCategoryResp ¶
type DeleteHelpdeskCategoryResp struct{}
DeleteHelpdeskCategoryResp ...
type DeleteHelpdeskFAQReq ¶
type DeleteHelpdeskFAQReq struct {
ID string `path:"id" json:"-"` // id, 示例值:"12345"
}
DeleteHelpdeskFAQReq ...
type DeleteHelpdeskTicketCustomizedFieldReq ¶
type DeleteHelpdeskTicketCustomizedFieldReq struct {
TicketCustomizedFieldID string `path:"ticket_customized_field_id" json:"-"` // 工单自定义字段ID, 示例值:"6948728206392295444"
}
DeleteHelpdeskTicketCustomizedFieldReq ...
type DeleteHelpdeskTicketCustomizedFieldResp ¶
type DeleteHelpdeskTicketCustomizedFieldResp struct{}
DeleteHelpdeskTicketCustomizedFieldResp ...
type DeleteMailGroupMemberReq ¶
type DeleteMailGroupMemberReq struct { MailGroupID string `path:"mailgroup_id" json:"-"` // The unique ID or email address of a mail group, 示例值:"xxxxxxxxxxxxxxx or test_mail_group@xxx.xx" MemberID string `path:"member_id" json:"-"` // The unique ID of a member in this mail group, 示例值:"xxxxxxxxxxxxxxx" }
DeleteMailGroupMemberReq ...
type DeleteMailGroupMemberResp ¶
type DeleteMailGroupMemberResp struct{}
DeleteMailGroupMemberResp ...
type DeleteMailGroupPermissionMemberReq ¶
type DeleteMailGroupPermissionMemberReq struct { MailGroupID string `path:"mailgroup_id" json:"-"` // The unique ID or email address of a mail group, 示例值:"xxxxxxxxxxxxxxx or test_mail_group@xxx.xx" PermissionMemberID string `path:"permission_member_id" json:"-"` // The unique ID of a member in this permission group, 示例值:"xxxxxxxxxxxxxxx" }
DeleteMailGroupPermissionMemberReq ...
type DeleteMailGroupPermissionMemberResp ¶
type DeleteMailGroupPermissionMemberResp struct{}
DeleteMailGroupPermissionMemberResp ...
type DeleteMailGroupReq ¶
type DeleteMailGroupReq struct {
MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx"
}
DeleteMailGroupReq ...
type DeleteMailUserAliasReq ¶
type DeleteMailUserAliasReq struct { UserID string `path:"user_id" json:"-"` // 用户邮箱地址, 示例值:"xxx@xx.xxx" AliasID string `path:"alias_id" json:"-"` // 别名邮箱地址, 示例值:"xxx@xx.xxx" }
DeleteMailUserAliasReq ...
type DeleteMeetingRoomBuildingReq ¶
type DeleteMeetingRoomBuildingReq struct {
BuildingID string `json:"building_id,omitempty"` // 要删除的建筑ID
}
DeleteMeetingRoomBuildingReq ...
type DeleteMeetingRoomBuildingResp ¶
type DeleteMeetingRoomBuildingResp struct{}
DeleteMeetingRoomBuildingResp ...
type DeleteMeetingRoomRoomReq ¶
type DeleteMeetingRoomRoomReq struct {
RoomID string `json:"room_id,omitempty"` // 要删除的会议室ID
}
DeleteMeetingRoomRoomReq ...
type DeleteMeetingRoomRoomResp ¶
type DeleteMeetingRoomRoomResp struct{}
DeleteMeetingRoomRoomResp ...
type DeleteMessageReactionReq ¶
type DeleteMessageReactionReq struct { MessageID string `path:"message_id" json:"-"` // 待删除reaction的消息ID, 示例值:"om_8964d1b4*********2b31383276113" ReactionID string `path:"reaction_id" json:"-"` // 待删除reaction的资源id, 示例值:"ZCaCIjUBVVWSrm5L-3ZTw*************sNa8dHVplEzzSfJVUVLMLcS_" }
DeleteMessageReactionReq ...
type DeleteMessageReactionResp ¶
type DeleteMessageReactionResp struct { ReactionID string `json:"reaction_id,omitempty"` // reaction资源ID Operator *DeleteMessageReactionRespOperator `json:"operator,omitempty"` // 添加reaction的操作人 ActionTime string `json:"action_time,omitempty"` // reaction动作的的unix timestamp(单位:ms) ReactionType *DeleteMessageReactionRespReactionType `json:"reaction_type,omitempty"` // reaction资源类型 }
DeleteMessageReactionResp ...
type DeleteMessageReactionRespOperator ¶
type DeleteMessageReactionRespOperator struct { OperatorID string `json:"operator_id,omitempty"` // 操作人ID OperatorType string `json:"operator_type,omitempty"` // 操作人身份,用户或应用, 可选值有: `app`:"app", `user`:"user" }
DeleteMessageReactionRespOperator ...
type DeleteMessageReactionRespReactionType ¶
type DeleteMessageReactionRespReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)
}
DeleteMessageReactionRespReactionType ...
type DeleteMessageReq ¶
type DeleteMessageReq struct {
MessageID string `path:"message_id" json:"-"` // 待撤回的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf"
}
DeleteMessageReq ...
type DeletePublicMailboxMemberReq ¶
type DeletePublicMailboxMemberReq struct { PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx" MemberID string `path:"member_id" json:"-"` // 公共邮箱内成员唯一标识, 示例值:"xxxxxxxxxxxxxxx" }
DeletePublicMailboxMemberReq ...
type DeletePublicMailboxMemberResp ¶
type DeletePublicMailboxMemberResp struct{}
DeletePublicMailboxMemberResp ...
type DeletePublicMailboxReq ¶
type DeletePublicMailboxReq struct {
PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 要释放的公共邮箱地址, 示例值:"xxxxxx@abc.com"
}
DeletePublicMailboxReq ...
type DeleteSearchDataSourceItemReq ¶
type DeleteSearchDataSourceItemReq struct { DataSourceID string `path:"data_source_id" json:"-"` // 数据源的ID, 示例值:"service_ticket" ItemID string `path:"item_id" json:"-"` // 数据记录的ID, 示例值:"01010111" }
DeleteSearchDataSourceItemReq ...
type DeleteSearchDataSourceItemResp ¶
type DeleteSearchDataSourceItemResp struct{}
DeleteSearchDataSourceItemResp ...
type DeleteSearchDataSourceReq ¶
type DeleteSearchDataSourceReq struct {
DataSourceID string `path:"data_source_id" json:"-"` // 数据源的唯一标识, 示例值:"6953903108179099667"
}
DeleteSearchDataSourceReq ...
type DeleteSearchDataSourceResp ¶
type DeleteSearchDataSourceResp struct{}
DeleteSearchDataSourceResp ...
type DeleteSheetConditionFormatReq ¶
type DeleteSheetConditionFormatReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // sheet 的 token,获取方式见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) SheetCfIDs *DeleteSheetConditionFormatReqSheetCfIDs `json:"sheet_cf_ids,omitempty"` // 表格条件格式id }
DeleteSheetConditionFormatReq ...
type DeleteSheetConditionFormatReqSheetCfIDs ¶
type DeleteSheetConditionFormatReqSheetCfIDs struct { SheetID string `json:"sheet_id,omitempty"` // sheet的id CfID string `json:"cf_id,omitempty"` // 条件格式id }
DeleteSheetConditionFormatReqSheetCfIDs ...
type DeleteSheetConditionFormatResp ¶
type DeleteSheetConditionFormatResp struct {
Responses []*DeleteSheetConditionFormatRespResponse `json:"responses,omitempty"` // 响应
}
DeleteSheetConditionFormatResp ...
type DeleteSheetConditionFormatRespResponse ¶
type DeleteSheetConditionFormatRespResponse struct { SheetID string `json:"sheet_id,omitempty"` // sheet的Id CfID string `json:"cf_id,omitempty"` // 条件格式id ResCode int64 `json:"res_code,omitempty"` // 条件格式删除状态码,0表示成功,非0表示失败 ResMsg string `json:"res_msg,omitempty"` // 条件格式删除返回的状态信息,空表示成功,非空表示失败原因 }
DeleteSheetConditionFormatRespResponse ...
type DeleteSheetDataValidationDropdownReq ¶
type DeleteSheetDataValidationDropdownReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) DataValidationRanges []*DeleteSheetDataValidationDropdownReqDataValidationRange `json:"dataValidationRanges,omitempty"` // 范围数组,每个range 最大单元格数量5000,每个range独立执行,一个range的失败不影响其他range的执行。返回结果会返回每个range的执行结果 }
DeleteSheetDataValidationDropdownReq ...
type DeleteSheetDataValidationDropdownReqDataValidationRange ¶
type DeleteSheetDataValidationDropdownReqDataValidationRange struct { Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) DataValidationIDs []int64 `json:"dataValidationIds,omitempty"` // 指定需要删除的dataValidationIds }
DeleteSheetDataValidationDropdownReqDataValidationRange ...
type DeleteSheetDataValidationDropdownResp ¶
type DeleteSheetDataValidationDropdownResp struct {
RangeResults []*DeleteSheetDataValidationDropdownRespRangeResult `json:"rangeResults,omitempty"`
}
DeleteSheetDataValidationDropdownResp ...
type DeleteSheetDataValidationDropdownRespRangeResult ¶
type DeleteSheetDataValidationDropdownRespRangeResult struct { Range string `json:"range,omitempty"` // 执行的range,与请求入参中的range 对应 Msg *string `json:"msg,omitempty"` // 结果信息 Success bool `json:"success,omitempty"` // 执行结果 UpdatedCells int64 `json:"updatedCells,omitempty"` // 影响的单元格数量 }
DeleteSheetDataValidationDropdownRespRangeResult ...
type DeleteSheetDimensionRangeReq ¶
type DeleteSheetDimensionRangeReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet的token,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Dimension *DeleteSheetDimensionRangeReqDimension `json:"dimension,omitempty"` // 需要删除行列的维度信息 }
DeleteSheetDimensionRangeReq ...
type DeleteSheetDimensionRangeReqDimension ¶
type DeleteSheetDimensionRangeReqDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId MajorDimension *string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS StartIndex int64 `json:"startIndex"` // 开始的位置 EndIndex int64 `json:"endIndex,omitempty"` // 结束的位置 }
DeleteSheetDimensionRangeReqDimension ...
type DeleteSheetDimensionRangeResp ¶
type DeleteSheetDimensionRangeResp struct { DelCount int64 `json:"delCount,omitempty"` // 删除的行/列数 MajorDimension string `json:"majorDimension,omitempty"` // 插入维度 }
DeleteSheetDimensionRangeResp ...
type DeleteSheetFilterReq ¶
type DeleteSheetFilterReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA\*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b\**12" }
DeleteSheetFilterReq ...
type DeleteSheetFilterViewConditionReq ¶
type DeleteSheetFilterViewConditionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" ConditionID string `path:"condition_id" json:"-"` // 筛选范围内的某列字母号, 示例值:"E" }
DeleteSheetFilterViewConditionReq ...
type DeleteSheetFilterViewConditionResp ¶
type DeleteSheetFilterViewConditionResp struct{}
DeleteSheetFilterViewConditionResp ...
type DeleteSheetFilterViewReq ¶
type DeleteSheetFilterViewReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" }
DeleteSheetFilterViewReq ...
type DeleteSheetFilterViewResp ¶
type DeleteSheetFilterViewResp struct{}
DeleteSheetFilterViewResp ...
type DeleteSheetFloatImageReq ¶
type DeleteSheetFloatImageReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FloatImageID string `path:"float_image_id" json:"-"` // 浮动图片 id, 示例值:"ye06SS14ph" }
DeleteSheetFloatImageReq ...
type DeleteSheetFloatImageResp ¶
type DeleteSheetFloatImageResp struct{}
DeleteSheetFloatImageResp ...
type DeleteSheetProtectedDimensionReq ¶
type DeleteSheetProtectedDimensionReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // sheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ProtectIDs []string `json:"protectIds,omitempty"` // 需要删除的保护范围ID,可以通过[获取表格元数据](https://open.feishu.cn/document/ukTMukTMukTM/uETMzUjLxEzM14SMxMTN)接口获取 }
DeleteSheetProtectedDimensionReq ...
type DeleteSheetProtectedDimensionResp ¶
type DeleteSheetProtectedDimensionResp struct {
DelProtectIDs []string `json:"delProtectIds,omitempty"` // 成功删除的保护范围ID
}
DeleteSheetProtectedDimensionResp ...
type DeleteTaskCollaboratorReq ¶
type DeleteTaskCollaboratorReq struct { TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" CollaboratorID string `path:"collaborator_id" json:"-"` // 任务协作者 ID(Open ID), 示例值:"ou_99e1a581b36ecc4862cbfbce123f346a" }
DeleteTaskCollaboratorReq ...
type DeleteTaskCollaboratorResp ¶
type DeleteTaskCollaboratorResp struct{}
DeleteTaskCollaboratorResp ...
type DeleteTaskCommentReq ¶
type DeleteTaskCommentReq struct { TaskID string `path:"task_id" json:"-"` // 任务ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6937231762296684564" }
DeleteTaskCommentReq ...
type DeleteTaskFollowerReq ¶
type DeleteTaskFollowerReq struct { TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" FollowerID string `path:"follower_id" json:"-"` // 任务关注者 ID(Open ID), 示例值:"ou_87e1a581b36ecc4862cbfbce473f346a" }
DeleteTaskFollowerReq ...
type DeleteTaskReminderReq ¶
type DeleteTaskReminderReq struct { TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" ReminderID string `path:"reminder_id" json:"-"` // 任务提醒时间设置的 ID(即 reminder.id), 示例值:"1" }
DeleteTaskReminderReq ...
type DeleteTaskReq ¶
type DeleteTaskReq struct {
TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa"
}
DeleteTaskReq ...
type DeleteUserReq ¶
type DeleteUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `path:"user_id" json:"-"` // 用户ID,需要与查询参数中的user_id_type类型保持一致。, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" DepartmentChatAcceptorUserID *string `json:"department_chat_acceptor_user_id,omitempty"` // 部门群接收者。被删除用户为部门群群主时,转让群主给指定接收者,不指定接收者则默认转让给群内第一个入群的人, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" ExternalChatAcceptorUserID *string `json:"external_chat_acceptor_user_id,omitempty"` // 外部群接收者。被删除用户为外部群群主时,转让群主给指定接收者,不指定接收者则默认转让给群内与被删除用户在同一组织的第一个入群的人,如果组织内只有该用户在群里,则解散外部群, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" DocsAcceptorUserID *string `json:"docs_acceptor_user_id,omitempty"` // 文档接收者。用户被删除时,其拥有的文档转让给接收者,不指定接收者则默认转让给直接领导,如果无直接领导则直接删除文档资源, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" CalendarAcceptorUserID *string `json:"calendar_acceptor_user_id,omitempty"` // 日程接收者。用户被删除时,其拥有的日程转让给接收者,不指定接收者则默认转让给直接领导,如果无直接领导则直接删除日程资源, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" ApplicationAcceptorUserID *string `json:"application_acceptor_user_id,omitempty"` // 应用接收者。用户被删除时,其创建的应用转让给接收者,不指定接收者则默认转让给直接领导,如果无直接领导则不会转移应用,会造成应用不可用, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" HelpdeskAcceptorUserID *string `json:"helpdesk_acceptor_user_id,omitempty"` // 用户超文本帮助信息接收者, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" }
DeleteUserReq ...
type DeleteVCReserveReq ¶
type DeleteVCReserveReq struct {
ReserveID string `path:"reserve_id" json:"-"` // 预约ID(预约的唯一标识), 示例值:"6911188411932033028"
}
DeleteVCReserveReq ...
type DeleteWikiSpaceMemberReq ¶
type DeleteWikiSpaceMemberReq struct { SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"7008061636015554580" MemberID string `path:"member_id" json:"-"` // 成员id, 示例值:"g64fb7g7" MemberType *string `json:"member_type,omitempty"` // “openchat” - 群id ,“userid” - 用户id ,“departmentid” - 部门id,“openid” - 应用openid,“unionid” - unionid, 示例值:"userid" MemberRole *string `json:"member_role,omitempty"` // 角色:,“admin” - 管理员,“member” - 成员, 示例值:"admin" }
DeleteWikiSpaceMemberReq ...
type DeleteWikiSpaceMemberResp ¶
type DeleteWikiSpaceMemberResp struct {
Member *DeleteWikiSpaceMemberRespMember `json:"member,omitempty"` // 成员信息
}
DeleteWikiSpaceMemberResp ...
type DeleteWikiSpaceMemberRespMember ¶
type DeleteWikiSpaceMemberRespMember struct { MemberType string `json:"member_type,omitempty"` // “openchat” - 群id ,“userid” - 用户id ,“departmentid” - 部门id,“openid” - 应用openid,“unionid” - unionid MemberID string `json:"member_id,omitempty"` // 用户id MemberRole string `json:"member_role,omitempty"` // 角色:,“admin” - 管理员,“member” - 成员 }
DeleteWikiSpaceMemberRespMember ...
type DepartmentIDType ¶
type DepartmentIDType string
DepartmentIDType ID类型
const ( DepartmentIDTypeDepartmentID DepartmentIDType = "department_id" // 以 department_id 来识别 DepartmentIDTypeOpenDepartmentID DepartmentIDType = "open_department_id" // 以 open_department_id 来识别 )
DepartmentIDTypeDepartmentID ...
func DepartmentIDTypePtr ¶
func DepartmentIDTypePtr(v DepartmentIDType) *DepartmentIDType
DepartmentIDTypePtr ...
type DetectFaceAttributesReq ¶
type DetectFaceAttributesReq struct {
Image *string `json:"image,omitempty"` // 图片 base64 数据, 示例值:"图片 base64 后的字符串"
}
DetectFaceAttributesReq ...
type DetectFaceAttributesResp ¶
type DetectFaceAttributesResp struct { ImageInfo *DetectFaceAttributesRespImageInfo `json:"image_info,omitempty"` // 图片信息 FaceInfos []*DetectFaceAttributesRespFaceInfo `json:"face_infos,omitempty"` // 人脸信息列表 }
DetectFaceAttributesResp ...
type DetectFaceAttributesRespFaceInfo ¶
type DetectFaceAttributesRespFaceInfo struct { Position *DetectFaceAttributesRespFaceInfoPosition `json:"position,omitempty"` // 人脸位置信息 Attribute *DetectFaceAttributesRespFaceInfoAttribute `json:"attribute,omitempty"` // 人脸属性信息 Quality *DetectFaceAttributesRespFaceInfoQuality `json:"quality,omitempty"` // 人脸质量信息 }
DetectFaceAttributesRespFaceInfo ...
type DetectFaceAttributesRespFaceInfoAttribute ¶
type DetectFaceAttributesRespFaceInfoAttribute struct { Gender *DetectFaceAttributesRespFaceInfoAttributeGender `json:"gender,omitempty"` // 性别信息:0 男性,1 女性 Age int64 `json:"age,omitempty"` // 年龄大小 Emotion *DetectFaceAttributesRespFaceInfoAttributeEmotion `json:"emotion,omitempty"` // 情绪:0 自然, 1 高兴,2 惊讶,3 害怕,4 悲伤,5 生气, 6 厌恶 Beauty int64 `json:"beauty,omitempty"` // 颜值打分:[0, 100] Pose *DetectFaceAttributesRespFaceInfoAttributePose `json:"pose,omitempty"` // 人脸姿态 Hat *DetectFaceAttributesRespFaceInfoAttributeHat `json:"hat,omitempty"` // 帽子:0 未戴帽子,1 戴帽子 Glass *DetectFaceAttributesRespFaceInfoAttributeGlass `json:"glass,omitempty"` // 眼镜:0 未戴眼镜,1 戴眼镜 Mask *DetectFaceAttributesRespFaceInfoAttributeMask `json:"mask,omitempty"` // 口罩:0 未戴口罩,1 戴口罩 }
DetectFaceAttributesRespFaceInfoAttribute ...
type DetectFaceAttributesRespFaceInfoAttributeEmotion ¶
type DetectFaceAttributesRespFaceInfoAttributeEmotion struct { Type int64 `json:"type,omitempty"` // 属性 Probability float64 `json:"probability,omitempty"` // 识别置信度,[0, 1],代表判断正确的概率 }
DetectFaceAttributesRespFaceInfoAttributeEmotion ...
type DetectFaceAttributesRespFaceInfoAttributeGender ¶
type DetectFaceAttributesRespFaceInfoAttributeGender struct { Type int64 `json:"type,omitempty"` // 属性 Probability float64 `json:"probability,omitempty"` // 识别置信度,[0, 1],代表判断正确的概率 }
DetectFaceAttributesRespFaceInfoAttributeGender ...
type DetectFaceAttributesRespFaceInfoAttributeGlass ¶
type DetectFaceAttributesRespFaceInfoAttributeGlass struct { Type int64 `json:"type,omitempty"` // 属性 Probability float64 `json:"probability,omitempty"` // 识别置信度,[0, 1],代表判断正确的概率 }
DetectFaceAttributesRespFaceInfoAttributeGlass ...
type DetectFaceAttributesRespFaceInfoAttributeHat ¶
type DetectFaceAttributesRespFaceInfoAttributeHat struct { Type int64 `json:"type,omitempty"` // 属性 Probability float64 `json:"probability,omitempty"` // 识别置信度,[0, 1],代表判断正确的概率 }
DetectFaceAttributesRespFaceInfoAttributeHat ...
type DetectFaceAttributesRespFaceInfoAttributeMask ¶
type DetectFaceAttributesRespFaceInfoAttributeMask struct { Type int64 `json:"type,omitempty"` // 属性 Probability float64 `json:"probability,omitempty"` // 识别置信度,[0, 1],代表判断正确的概率 }
DetectFaceAttributesRespFaceInfoAttributeMask ...
type DetectFaceAttributesRespFaceInfoAttributePose ¶
type DetectFaceAttributesRespFaceInfoAttributePose struct { Pitch int64 `json:"pitch,omitempty"` // 脸部上下偏移 [-90, 90] Yaw int64 `json:"yaw,omitempty"` // 脸部左右偏移 [-90, 90] Roll int64 `json:"roll,omitempty"` // 平面旋转 [-90, 90] }
DetectFaceAttributesRespFaceInfoAttributePose ...
type DetectFaceAttributesRespFaceInfoPosition ¶
type DetectFaceAttributesRespFaceInfoPosition struct { UpperLeft *DetectFaceAttributesRespFaceInfoPositionUpperLeft `json:"upper_left,omitempty"` // 人脸框的左上角坐标 LowerRight *DetectFaceAttributesRespFaceInfoPositionLowerRight `json:"lower_right,omitempty"` // 人脸框的右下角坐标 }
DetectFaceAttributesRespFaceInfoPosition ...
type DetectFaceAttributesRespFaceInfoPositionLowerRight ¶
type DetectFaceAttributesRespFaceInfoPositionLowerRight struct { X float64 `json:"x,omitempty"` // 横轴坐标 Y float64 `json:"y,omitempty"` // 纵轴坐标 }
DetectFaceAttributesRespFaceInfoPositionLowerRight ...
type DetectFaceAttributesRespFaceInfoPositionUpperLeft ¶
type DetectFaceAttributesRespFaceInfoPositionUpperLeft struct { X float64 `json:"x,omitempty"` // 横轴坐标 Y float64 `json:"y,omitempty"` // 纵轴坐标 }
DetectFaceAttributesRespFaceInfoPositionUpperLeft ...
type DetectFaceAttributesRespFaceInfoQuality ¶
type DetectFaceAttributesRespFaceInfoQuality struct { Sharpness float64 `json:"sharpness,omitempty"` // 清晰度,值越高越清晰 Brightness float64 `json:"brightness,omitempty"` // 亮度 Occlude *DetectFaceAttributesRespFaceInfoQualityOcclude `json:"occlude,omitempty"` // 面部遮挡属性 }
DetectFaceAttributesRespFaceInfoQuality ...
type DetectFaceAttributesRespFaceInfoQualityOcclude ¶
type DetectFaceAttributesRespFaceInfoQualityOcclude struct { Eyebrow float64 `json:"eyebrow,omitempty"` // 眉毛被遮挡情况:[0, 1] 值越大被遮挡的概率越高 Nose float64 `json:"nose,omitempty"` // 鼻子被遮挡情况:[0, 1] 值越大被遮挡的概率越高 Cheek float64 `json:"cheek,omitempty"` // 脸颊被遮挡情况:[0, 1] 值越大被遮挡的概率越高 Mouth float64 `json:"mouth,omitempty"` // 嘴被遮挡情况:[0, 1] 值越大被遮挡的概率越高 Chin float64 `json:"chin,omitempty"` // 下巴被遮挡情况:[0, 1] 值越大被遮挡的概率越高 LeftEye float64 `json:"left_eye,omitempty"` // 左眼睛被遮挡情况:[0, 1] 值越大被遮挡的概率越高 RightEye float64 `json:"right_eye,omitempty"` // 右眼睛被遮挡情况:[0, 1] 值越大被遮挡的概率越高 }
DetectFaceAttributesRespFaceInfoQualityOcclude ...
type DetectFaceAttributesRespImageInfo ¶
type DetectFaceAttributesRespImageInfo struct { Width int64 `json:"width,omitempty"` // 图片的宽度 Height int64 `json:"height,omitempty"` // 图片的高度 }
DetectFaceAttributesRespImageInfo ...
type DetectTextLanguageReq ¶
type DetectTextLanguageReq struct {
Text string `json:"text,omitempty"` // 需要被识别语种的文本, 示例值:"你好"
}
DetectTextLanguageReq ...
type DetectTextLanguageResp ¶
type DetectTextLanguageResp struct {
Language string `json:"language,omitempty"` // 识别的文本语种,返回符合 ISO 693-1 标准
}
DetectTextLanguageResp ...
type DocBitable ¶
type DocBitable struct { Token string `json:"token"` // bitable token,比如shtcnKjLimyn2fW0uGseasQYGgh_m7fMrN创建接口或插入操作使用,如果非空,进行深拷贝。不可编辑 ViewType string `json:"viewType"` // 数据表:grid 看板:kanban Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocBitable 文档内的多维表格,创建支持两种方式,二选一:
通过 token+viewType 深拷贝,token只允许doc内电子表格,不允许独立电子表格 不带 token,通过 viewType 创建空 bitable
type DocBlock ¶
type DocBlock struct { Type string `json:"type"` // 由下列类型组成,每个 Block 可以指定一种类型 Paragraph *DocParagraph `json:"paragraph,omitempty"` // 文本段落 Gallery *DocGallery `json:"gallery,omitempty"` // 图片 File *DocFile `json:"file,omitempty"` // 文件上传 ChatGroup *DocChatGroup `json:"chatGroup,omitempty"` // 群名片 Table *DocTable `json:"table,omitempty"` // 格式化表格 HorizontalLine *DocHorizontalLine `json:"horizontalLine,omitempty"` // 水平分割线 EmbeddedPage *DocEmbeddedPage `json:"embeddedPage,omitempty"` // 内嵌网页,例如西瓜视频等 Sheet *DocSheet `json:"sheet,omitempty"` // 电子表格 Bitable *DocBitable `json:"bitable,omitempty"` // 数据表或看板 Diagram *DocDiagram `json:"diagram,omitempty"` // 绘图或uml图 Jira *DocJira `json:"jira,omitempty"` // jira filter或jira issue Poll *DocPoll `json:"poll,omitempty"` // 投票 Code *DocCode `json:"code,omitempty"` // 新代码块 DocsApp *DocDocsApp `json:"docsApp,omitempty"` // 团队互动应用 Callout *DocCallout `json:"callout,omitempty"` // 高亮块 UndefinedBlock *DocUndefinedBlock `json:"undefinedBlock,omitempty"` // 未支持的block,全部用undefineBlock表示 }
DocBlock 文档的一行内容的基本元素。
type DocBody ¶
type DocBody struct {
Blocks []*DocBlock `json:"blocks"` // 文档结构是按行排列的,每行内容是一个 Block
}
DocBody 文档的正文部分,由 Block 组成。
type DocCallout ¶
type DocCallout struct { CalloutEmojiID string `json:"calloutEmojiId"` // 高亮块表情支持以下:https://bytedance.feishu.cn/sheets/shtcnkDBCFZJDyGliM7IOqPuSgd?sheet=7FyRq7 CalloutBackgroundColor *DocRGBColor `json:"calloutBackgroundColor"` // 高亮块背景色(分为深色系和浅色系,与边框色深浅色系对应) CalloutBorderColor *DocRGBColor `json:"calloutBorderColor"` // 高亮块边框色(分为深色系和浅色系,与背景色深浅色系对应) CalloutTextColor *DocRGBColor `json:"calloutTextColor"` // 高亮块内文字颜色 Body *DocBody `json:"body"` // 高亮块内容(仅支持Paragraph Block和HorizontalLine Block,ParagraphStyle支持除Collapse以外的所有) ZoneID string `json:"zoneId"` // Read only. 高亮块的ID,对代码块内容进行增加修改删除时需要 Location *DocLocation `json:"location"` // Read only. 高亮块位置 }
DocCallout 高亮
type DocChatGroup ¶
type DocChatGroup struct { OpenChatID string `json:"openChatId"` // 群聊天会话openId,比如oc_4149593da6ef5fe4de16b10cb4769c94 文档拷贝副本后,对于没有权限的群名片会替换为"none" 对于写操作,如果使用"none"或者用户不在该群都会返回无权限错误 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocChatGroup 群
type DocCode ¶
type DocCode struct { Language string `json:"language"` // 代码语言 支持以下语言:Plain Text, ABAP, Ada, Apache, Apex, Assembly language, Bash, C, C#, C++, COBOL, CSS, CoffeeScript, D, Dart, Delphi, Dockerfile, Django, Erlang, Fortran, FoxPro, Go, Groovy, HTML, HTMLBars, HTTP, Haskell, JSON, Java, JavaScript, Julia, Kotlin, LaTeX, Lisp, Logo, Lua, MATLAB, Makefile, Markdown, Nginx, Objective-C, OpenEdge ABL, PHP, Perl, PostScript, PowerShell, Prolog, ProtoBuf, Python, R, RPG, Ruby, Rust, SAS, SCSS, SQL, Scala, Scheme, Scratch, Shell, Swift, Thrift, TypeScript, VBScript, Visual Basic, XML, YAML WrapContent bool `json:"wrapContent"` // 是否自动换行 Body *DocBody `json:"body"` // 代码块内容(只支持Paragraph block) ZoneID string `json:"zoneId"` // Read only. 代码块的ID,对代码块内容进行增加修改删除时需要 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocCode 代码
type DocContent ¶
type DocContent struct { Title *DocParagraph `json:"title"` Body *DocBody `json:"body"` }
DocContent 描述一篇文档的富文本内容,由标题和正文两部分组成
type DocDiagram ¶
type DocDiagram struct { Token string `json:"token"` // diagram token, 比如diacnK1MYEHBopBbIdc6A5AOVCh,不支持编辑 DiagramType string `json:"diagramType"` // 绘图类型。 流程图:flowchart UML图:uml Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocDiagram 绘图,包含流程图和 UML 图。目前不支持写入。
type DocDocsApp ¶
type DocDocsApp struct { TypeID string `json:"typeId"` // 团队互动应用类型,比如信息收集"blk_5f992038c64240015d280958" InstanceId string `json:"instanceId"` // 团队互动应用唯一ID Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocDocsApp 团队互动应用。目前不支持写入。
type DocDocsLink ¶
type DocDocsLink struct { URL string `json:"url"` // 云文档链接 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocDocsLink 文档链接,需要传入云文档的链接,支持所有云文档类型。有效链接示例:https://sample.feishu.cn/docs/doccnByZP6puODElAYySJkPIfUb
type DocEmbeddedPage ¶
type DocEmbeddedPage struct { Type string `json:"type"` // 支持以下网页: bilibili:"bilibili" 西瓜视频:"xigua" 优酷:"youku" Airtable:"airtable" 百度地图:"baidumap" Url string `json:"url"` // 第三方网页链接,读写都必须使用query escape编码。 Width float32 `json:"width"` // 窗口宽度,如未指定使用默认值,如果提供会使用默认宽高等比计算高度 Height float32 `json:"height"` // 窗口高度,如未指定使用默认值 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocEmbeddedPage 内嵌的网页。
type DocEquation ¶
type DocEquation struct { Equation string `json:"equation"` // LaTeX 公式,需要遵循 LaTeX 的语法,比如"E=mc^2" Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocEquation LaTeX 公式
type DocFile ¶
type DocFile struct { FileToken string `json:"fileToken"` // 附件 token,比如boxcnOj88GDkmWGm2zsTyCBqoLb,不支持编辑 ViewType string `json:"viewType"` // 文件展示样式。 预览:preview 卡片:card 行内:inline FileName string `json:"fileName"` // 文件名,不支持编辑 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocFile 单次写操作图片和附件最多 50 个。本地文件需要先通过上传素材或分片上传素材进行上传。
type DocGallery ¶
type DocGallery struct { GalleryStyle *DocGalleryStyle `json:"galleryStyle"` // 图片样式,目前仅支持指定对齐方式 ImageList []*DocImageItem `json:"imageList"` // 图片对象,如果同时传入多张,会显示为同行多图。一行内最多显示 6 张图片 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocGallery 图片
type DocGalleryStyle ¶
type DocGalleryStyle struct {
Align string `json:"align"` // 图片对齐方式,仅当一行内只有一张图片时生效。 居中(默认):center 左对齐:left 右对齐:right
}
DocGalleryStyle 图片样式,目前仅支持指定对齐方式。
type DocHorizontalLine ¶
type DocHorizontalLine struct {
Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入
}
DocHorizontalLine 水平分割线。
type DocImageItem ¶
type DocImageItem struct { FileToken string `json:"fileToken"` // 图片 token,比如boxcnOj88GDkmWGm2zsTyCBqoLb,不支持编辑 Width int `json:"width"` // 图片宽,单位px Height int `json:"height"` // 图片高,单位px }
DocImageItem 单次写操作图片和附件最多 50 个,单个图片最大 20M。本地图片需要先通过上传素材或分片上传素材进行上传,支持jpg、jpeg、bmp、png 和 gif 格式。
支持指定图片宽高,为了保证图片显示效果,会根据图片原始宽高比例进行校验计算,最终的显示效果可能与手动指定的宽高有一定区别。
type DocJira ¶
type DocJira struct { Token string `json:"token"` // jira token,比如 jftcnsA0fY8V3CzYvtRPy9XsXxf,不支持编辑 JiraType string `json:"jiraType"` // Jira 类型。 过滤器:filter 问题:issue Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocJira Jira,包括 Jira filter 和 Jira issue。目前不支持写入
type DocLink ¶
type DocLink struct {
URL string `json:"url"` // 超链接的地址,读写都必须使用query escape编码。比如https%3A%2F%2Fwww.baidu.com%2Fmaps%2Fembed%2Fv1%2Fplace%3Fkey%3DAIzaSyAfJZc8JxNRe909WC_QBILdlM55NqGnI30%26q%3DCentral%2BPark%26center%3D40.7828647%2C-73.9675438%26zoom%3D17z%26language%3Den
}
DocLink 超链接
type DocLocation ¶
type DocLocation struct { ZoneID string `json:"zoneId"` // 编辑区域标识正文是 "0" 表格单元格是类似 "xr1m4jw7egd9nefz1s0mdsetenl5fbe3lygxc1azupv81i5t2rjmosw5ta0esuwtn8ksya" 的字符串 StartIndex int `json:"startIndex"` // 元素起始位置偏移量,从 0 开始,范围区间 [0, EOF) EndIndex int `json:"endIndex"` // 元素结束位置偏移量,范围区间 [0, EOF) }
DocLocation 描述文档内各元素的位置
type DocMergedCell ¶
type DocMergedCell struct { MergedCellID string `json:"mergedCellId"` // 合并单元格 id,不可编辑 RowStartIndex int `json:"rowStartIndex"` // 合并单元格行起始索引,从 0 开始 RowEndIndex int `json:"rowEndIndex"` // 合并单元格行截止索引 ColumnStartIndex int `json:"columnStartIndex"` // 合并单元格列起始索引,从 0 开始 ColumnEndIndex int `json:"columnEndIndex"` // 合并单元格列截止索引 }
DocMergedCell 合并的单元格。
type DocParagraph ¶
type DocParagraph struct { Style *DocParagraphStyle `json:"style"` // 段落样式 Elements []*DocParagraphElement `json:"elements"` // 段落元素组成一个段落 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 LineID string `json:"lineId"` }
DocParagraph 一行文本段落,可以由多个行内元素组成。
type DocParagraphElement ¶
type DocParagraphElement struct { Type string `json:"type"` // 由下列类型组成,每个元素可以指定一种类型 TextRun *DocTextRun `json:"textRun"` // 文本 DocsLink *DocDocsLink `json:"docsLink"` // 文档链接,可以根据链接自动识别为标题 Person *DocPerson `json:"person"` // @用户 Equation *DocEquation `json:"equation"` // LaTeX 公式 Reminder *DocReminder `json:"reminder"` // 任务列表截止时间,当且仅当这行是 checkBox 类型时才会生效 File *DocFile `json:"file"` // 文件的行内展示样式,会展示文件的名称 Jira *DocJira `json:"jira"` // 行内的jira issue UndefinedElement *DocUndefinedElement `json:"undefinedElement"` // 暂未支持的行内元素,不支持写入 }
DocParagraphElement 组成段落的行内元素,一行可以包含多个行内元素。
type DocParagraphStyle ¶
type DocParagraphStyle struct { HeadingLevel int `json:"headingLevel"` // 标题级别,支持 1-9 级标题,取值范围:[1,9] Collapse bool `json:"collapse"` // 标题是否折叠,仅headingLevel为[1,9]时有效 List *DocStyleList `json:"list"` // 有序列表/无序列表/任务列表/旧版代码块 Quote bool `json:"quote"` // 引用样式 Link struct { URL string `json:"url"` } Align string `json:"align"` // 行对齐方式 左对齐(默认):left 右对齐:right 居中对齐:center }
DocParagraphStyle 一行文本段落的样式,支持定义段落标题、列表、引用、行对齐方式。
type DocPerson ¶
type DocPerson struct { OpenID string `json:"openId"` // 用户的 openId,比如ou_3bbe8a09c20e89cce9bff989ed840674。 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocPerson 一个人
type DocPoll ¶
type DocPoll struct { Token string `json:"token"` // poll token,比如 jsncnxuT7beirSpf33NfcKrSwAh,不支持编辑 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocPoll 投票。目前不支持写入。
type DocRGBColor ¶
type DocRGBColor struct { Red int `json:"red"` // 取值范围:[0,255] Green int `json:"green"` // 取值范围:[0,255] Blue int `json:"blue"` // 取值范围:[0,255] Alpha float32 `json:"alpha"` // 取值范围:[0,1] }
DocRGBColor 支持为文本指定颜色,会根据线上文本支持的颜色进行校验,不支持色板以外的颜色。
支持的字体颜色:rgb(216, 57, 49), rgb(222, 120, 2), rgb(220, 155, 4), rgb(46, 161, 33), rgb(36, 91, 219), rgb(36, 91, 219), rgb(100, 37, 208), rgb(143, 149, 158)
支持的背景颜色:rgb(251, 191, 188), rgb(254, 212, 164), rgb(255, 246, 122), rgb(183, 237, 177), rgb(186, 206, 253), rgb(205, 178, 250), rgb(222, 224, 227), rgb(247, 105, 100), rgb(255, 165, 61), rgb(255, 233, 40), rgb(98, 210, 86), rgb(78, 131, 253), rgb(147, 90, 246), rgb(187, 191, 196)
type DocReminder ¶
type DocReminder struct { IsWholeDay bool `json:"isWholeDay"` // 日期还是整点小时 Timestamp int `json:"timestamp"` // 如果设置时间,要求30分或整点;如果不设置IsWholeDay true,时间戳为H:59:59,H和时区相关 ShouldNotify bool `json:"shouldNotify"` // 是否通知 NotifyType int `json:"notifyType"` // 通知触发时机: isWholeDay 为false时: 0 现在1 提前5分钟2 提前15分钟3 提前30分钟4 提前1小时5 提前2小时6 提前1天7 提前2天 / isWholeDay 为true时:50 当天9点51 提前一天9点52 提前两天9点53 提前一周9点 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocReminder 日期提醒,当且仅当所在行样式是 checkBox 时有效。
type DocSheet ¶
type DocSheet struct { Token string `json:"token"` // sheet token,比如shtcnKjLimyn2fW0uGseasQYGgh_m7fMrN,其中,下划线前的是sheet token,下划线后的部分是tableId,使用时请注意拆分。在创建时,如果传入 token,则进行深拷贝。 RowSize int `json:"rowSize"` // 电子表格列数量。创建空电子表格时使用,最大值为 9 ColumnSize int `json:"columnSize"` // 电子表格列数量。创建空电子表格时使用,最大值为 9 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocSheet 文档内的数据表格。数据表格内容读写API 创建支持两种方式,二选一:
通过token深拷贝,token只允许doc内电子表格,不允许独立电子表格 指定rowSize和columnSize创建空sheet
type DocStyleList ¶
type DocStyleList struct { Type string `json:"type"` // 有序列表:number / 无序列表:bullet / 任务列表:checkBox / 已完成的任务列表:checkedBox / 旧版代码块:code IndentLevel int `json:"indentLevel"` // 列表的缩进级别,支持指定一行的缩进 除代码块以外的列表都支持设置缩进,支持 1-16 级缩进,取值范围:[1,16] Number int `json:"number"` // 用于指定列表的行号,仅对有序列表和代码块生效 如果为有序列表设置了缩进,行号可能会显示为字母或者罗马数字 }
DocStyleList 列表段落,包括有序、无序列表,任务列表,旧版代码块。
注意 如需插入代码块,请使用 Block.Code,Paragraph.List.Code 即将下线。
type DocTable ¶
type DocTable struct { TableID string `json:"tableId"` // 表格ID,不可编辑 RowSize int `json:"rowSize"` // 表格行数量,创建空表格时最大值 9 ColumnSize int `json:"columnSize"` // 表格列数量,创建空表格时最大值 9 TableRows []*DocTableRow `json:"tableRows"` // 表格行内容,带内容创建时必须和 rowSize、columnSize 一致 TableStyle *DocTableStyle `json:"tableStyle"` // 表格样式 MergedCells []*DocMergedCell `json:"mergedCells"` // 合并单元格信息 Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入 }
DocTable 表格
文档内普通表格,如要了解文档内的数据表格或多维表格,请查看下方 Sheet、Bitable 部分。 创建支持两种方式,二选一: 提供rowSize、columnSize、tableRows、tableStyle、mergedCells 带内容创建 指定rowSize和columnSize创建空表格
type DocTableCell ¶
type DocTableCell struct { ZoneID string `json:"zoneId"` // 单元格ID ColumnIndex int `json:"columnIndex"` // 列索引,从 0 开始,第一列是 0,不可编辑 Body interface{} `json:"body"` // object 单元格内容,支持 Table、Sheet、Bitable 以外的 Block }
DocTableCell 普通表格的一个单元格。
type DocTableColumnProperty ¶
type DocTableColumnProperty struct {
Width int `json:"width"` // 列宽,单位 px,列宽最小 50,最大 1300,默认 100
}
DocTableColumnProperty 普通表格的列宽。
type DocTableRow ¶
type DocTableRow struct { RowIndex int `json:"rowIndex"` // 行索引,从 0 开始,第一行是 0,不可编辑 TableCells []*DocTableCell `json:"tableCells"` // 表格单元格内容 }
DocTableRow 普通表格的一行。
type DocTableStyle ¶
type DocTableStyle struct {
TableColumnProperties []*DocTableColumnProperty `json:"tableColumnProperties"` // 列属性
}
DocTableStyle 表格样式,目前仅支持调整表格的列宽。
type DocTextRun ¶
type DocTextRun struct { Text string `json:"text"` // 具体的文本内容 Style *DocTextStyle `json:"style"` // 文本内容的样式,支持 BIUS、颜色等 Location *DocLocation `json:"location"` // 仅返回,不支持写入。描述元素在当前区域(由 zoneId 指定)的位置 LineID string `json:"lineId"` // 仅返回,不支持写入。对于段落样式为 Heading 的,可以通过 lineId 拼接出段落的跳转链接 }
DocTextRun 段落中的文本内容。
type DocTextStyle ¶
type DocTextStyle struct { Bold bool `json:"bold"` // 加粗 Italic bool `json:"italic"` // 斜体 StrikeThrough bool `json:"strikeThrough"` // 删除线 Underline bool `json:"underline"` // 下划 CodeInline bool `json:"codeInline"` // 行内代码样式 BackColor *DocRGBColor `json:"backColor"` // 背景色 TextColor *DocRGBColor `json:"textColor"` // 字体颜色 Link *DocLink `json:"link"` // 超链接 }
DocTextStyle 文本样式
type DocUndefinedBlock ¶
type DocUndefinedBlock struct {
Location *DocLocation `json:"location"` // 元素位置。仅返回,不支持写入
}
DocUndefinedBlock 未支持的 Block 类型
type DocUndefinedElement ¶
type DocUndefinedElement struct {
Location *DocLocation `json:"location"`
}
DocUndefinedElement 未支持的行内元素
type DownloadAttendanceFileReq ¶
type DownloadAttendanceFileReq struct {
FileID string `path:"file_id" json:"-"` // 文件 ID, 示例值:"xxxxxb306842b1c189bc5212eefxxxxx"
}
DownloadAttendanceFileReq ...
type DownloadAttendanceFileResp ¶
DownloadAttendanceFileResp ...
type DownloadDriveFileReq ¶
type DownloadDriveFileReq struct { FileToken string `path:"file_token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"boxcnabCdefg12345" Range [2]int64 `header:"range" json:"-"` // 指定文件下载部分, 示例值:"bytes=0-1024" }
DownloadDriveFileReq ...
type DownloadDriveFileResp ¶
DownloadDriveFileResp ...
type DownloadDriveMediaReq ¶
type DownloadDriveMediaReq struct { Extra *string `query:"extra" json:"-"` // 扩展信息, 示例值:"[请参考-上传点类型及对应Extra说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/introduction)" FileToken string `path:"file_token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"boxcnabCdefg12345" Range [2]int64 `header:"range" json:"-"` // 指定文件下载部分,示例:bytes=0-1024 }
DownloadDriveMediaReq ...
type DownloadDriveMediaResp ¶
DownloadDriveMediaResp ...
type DownloadEHRAttachmentsReq ¶
type DownloadEHRAttachmentsReq struct {
Token string `path:"token" json:"-"` // 文件 token, 示例值:"09bf7b924f9a4a69875788891b5970d8"
}
DownloadEHRAttachmentsReq ...
type DownloadEHRAttachmentsResp ¶
DownloadEHRAttachmentsResp ...
type DownloadFileReq ¶
type DownloadFileReq struct {
FileKey string `path:"file_key" json:"-"` // 文件的key, 示例值:"file_456a92d6-c6ea-4de4-ac3f-7afcf44ac78g"
}
DownloadFileReq ...
type DownloadFileResp ¶
DownloadFileResp ...
type DownloadHelpdeskTicketImageReq ¶
type DownloadHelpdeskTicketImageReq struct { TicketID string `query:"ticket_id" json:"-"` // 工单ID, 示例值:"12345" MsgID string `query:"msg_id" json:"-"` // 消息ID,[查询消息ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket-message/list), 示例值:"12345" Index *int64 `query:"index" json:"-"` // index,当消息类型为post时,需指定图片index,index从0开始。当消息类型为img时,无需index, 示例值:0 }
DownloadHelpdeskTicketImageReq ...
type DownloadHelpdeskTicketImageResp ¶
DownloadHelpdeskTicketImageResp ...
type DownloadImageReq ¶
type DownloadImageReq struct {
ImageKey string `path:"image_key" json:"-"` // 图片的key, 示例值:"img_8d5181ca-0aed-40f0-b0d1-b1452132afbg"
}
DownloadImageReq ...
type DownloadImageResp ¶
DownloadImageResp ...
type DriveService ¶
type DriveService struct {
// contains filtered or unexported fields
}
func (*DriveService) AddSheetDimensionRange ¶
func (r *DriveService) AddSheetDimensionRange(ctx context.Context, request *AddSheetDimensionRangeReq, options ...MethodOptionFunc) (*AddSheetDimensionRangeResp, *Response, error)
AddSheetDimensionRange
该接口用于根据 spreadsheetToken 和长度,在末尾增加空行/列;单次操作不超过5000行或列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUjMzUjL1IzM14SNyMTN
func (*DriveService) AddWikiSpaceMember ¶
func (r *DriveService) AddWikiSpaceMember(ctx context.Context, request *AddWikiSpaceMemberReq, options ...MethodOptionFunc) (*AddWikiSpaceMemberResp, *Response, error)
AddWikiSpaceMember 添加知识空间成员
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-member/create
func (*DriveService) AppendSheetValue ¶
func (r *DriveService) AppendSheetValue(ctx context.Context, request *AppendSheetValueReq, options ...MethodOptionFunc) (*AppendSheetValueResp, *Response, error)
AppendSheetValue
该接口用于根据 spreadsheetToken 和 range 遇到空行则进行覆盖追加或新增行追加数据。 空行:默认该行第一个格子是空,则认为是空行;单次写入不超过5000行,100列,每个格子不超过5万字符。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMjMzUjLzIzM14yMyMTN
func (*DriveService) BatchGetDriveMediaTmpDownloadURL ¶
func (r *DriveService) BatchGetDriveMediaTmpDownloadURL(ctx context.Context, request *BatchGetDriveMediaTmpDownloadURLReq, options ...MethodOptionFunc) (*BatchGetDriveMediaTmpDownloadURLResp, *Response, error)
BatchGetDriveMediaTmpDownloadURL 通过file_token获取素材临时下载链接,链接时效性是24小时,过期失效。
该接口不支持太高的并发,且调用频率上限为5QPS
func (*DriveService) BatchGetSheetValue ¶
func (r *DriveService) BatchGetSheetValue(ctx context.Context, request *BatchGetSheetValueReq, options ...MethodOptionFunc) (*BatchGetSheetValueResp, *Response, error)
BatchGetSheetValue
该接口用于根据 spreadsheetToken 和 ranges 读取表格多个范围的值,返回数据限制为10M。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTMzUjL5EzM14SOxMTN
func (*DriveService) BatchSetSheetStyle ¶
func (r *DriveService) BatchSetSheetStyle(ctx context.Context, request *BatchSetSheetStyleReq, options ...MethodOptionFunc) (*BatchSetSheetStyleResp, *Response, error)
BatchSetSheetStyle
该接口用于根据 spreadsheetToken 、range和样式信息 批量更新单元格样式;单次写入不超过5000行,100列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uAzMzUjLwMzM14CMzMTN
func (*DriveService) BatchSetSheetValue ¶
func (r *DriveService) BatchSetSheetValue(ctx context.Context, request *BatchSetSheetValueReq, options ...MethodOptionFunc) (*BatchSetSheetValueResp, *Response, error)
BatchSetSheetValue
该接口用于根据 spreadsheetToken 和 range 向多个范围写入数据,若范围内有数据,将被更新覆盖;单次写入不超过5000行,100列,每个格子不超过5万字符。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uEjMzUjLxIzM14SMyMTN
func (*DriveService) BatchUpdateSheet ¶
func (r *DriveService) BatchUpdateSheet(ctx context.Context, request *BatchUpdateSheetReq, options ...MethodOptionFunc) (*BatchUpdateSheetResp, *Response, error)
BatchUpdateSheet
该接口用于根据 spreadsheetToken 操作表格,如增加工作表,复制工作表、删除工作表。 该接口和 [更新工作表属性](https://open.feishu.cn/document/ukTMukTMukTM/ugjMzUjL4IzM14COyMTN) 的请求地址相同,但参数不同,调用前请仔细阅读文档。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYTMzUjL2EzM14iNxMTN
func (*DriveService) CheckDriveMemberPermission ¶
func (r *DriveService) CheckDriveMemberPermission(ctx context.Context, request *CheckDriveMemberPermissionReq, options ...MethodOptionFunc) (*CheckDriveMemberPermissionResp, *Response, error)
CheckDriveMemberPermission 该接口用于根据 filetoken 判断当前登录用户是否具有某权限。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYzN3UjL2czN14iN3cTN
func (*DriveService) CopyDriveFile ¶
func (r *DriveService) CopyDriveFile(ctx context.Context, request *CopyDriveFileReq, options ...MethodOptionFunc) (*CopyDriveFileResp, *Response, error)
CopyDriveFile
该接口用于根据文件 token 复制 Doc 或 Sheet 到目标文件夹中。 若没有特定的文件夹用于承载创建的文档,可以先调用「获取文件夹元信息」文档中的「获取 root folder (我的空间) meta」接口,获得我的空间的 token,然后再使用此接口。复制的文档将会在「我的空间」的「归我所有」列表里。 该接口不支持并发创建,且调用频率上限为 5QPS 且 10000次/天
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYTNzUjL2UzM14iN1MTN
func (*DriveService) CreateDriveComment ¶
func (r *DriveService) CreateDriveComment(ctx context.Context, request *CreateDriveCommentReq, options ...MethodOptionFunc) (*CreateDriveCommentResp, *Response, error)
CreateDriveComment 往云文档添加一条全局评论。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/create
func (*DriveService) CreateDriveDoc ¶
func (r *DriveService) CreateDriveDoc(ctx context.Context, request *CreateDriveDocReq, options ...MethodOptionFunc) (*CreateDriveDocResp, *Response, error)
CreateDriveDoc
在使用此接口前,请仔细阅读[文档概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/docs-doc-overview)和[准备接入文档 API](https://open.feishu.cn/document/ukTMukTMukTM/ugzNzUjL4czM14CO3MTN/guide/getting-start)了解文档调用的规则和约束,确保你的文档数据不会丢失或出错。 文档数据结构定义可参考:[文档数据结构概述](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN) 该接口用于创建并初始化文档。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugDM2YjL4AjN24COwYjN
func (*DriveService) CreateDriveFile ¶
func (r *DriveService) CreateDriveFile(ctx context.Context, request *CreateDriveFileReq, options ...MethodOptionFunc) (*CreateDriveFileResp, *Response, error)
CreateDriveFile
该接口用于根据 folderToken 创建 Doc、 Sheet 或 Bitable 。 若没有特定的文件夹用于承载创建的文档,可以先调用「获取文件夹元信息」文档中的「获取 root folder (我的空间) meta」接口,获得我的空间的 token,然后再使用此接口。创建的文档将会在「我的空间」的「归我所有」列表里。 该接口不支持并发创建,且调用频率上限为 5QPS 且 10000次/天
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQTNzUjL0UzM14CN1MTN
func (*DriveService) CreateDriveFolder ¶
func (r *DriveService) CreateDriveFolder(ctx context.Context, request *CreateDriveFolderReq, options ...MethodOptionFunc) (*CreateDriveFolderResp, *Response, error)
CreateDriveFolder
该接口用于根据 folderToken 在该 folder 下创建文件夹。 该接口不支持并发创建,且调用频率上限为 5QPS 以及 10000次/天
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTNzUjL5UzM14SO1MTN
func (*DriveService) CreateDriveImportTask ¶
func (r *DriveService) CreateDriveImportTask(ctx context.Context, request *CreateDriveImportTaskReq, options ...MethodOptionFunc) (*CreateDriveImportTaskResp, *Response, error)
CreateDriveImportTask 创建导入任务。支持导入为 doc、sheet、bitable,参考[导入用户指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/import_task/import-user-guide)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/import_task/create
func (*DriveService) CreateDriveMemberPermission ¶
func (r *DriveService) CreateDriveMemberPermission(ctx context.Context, request *CreateDriveMemberPermissionReq, options ...MethodOptionFunc) (*CreateDriveMemberPermissionResp, *Response, error)
CreateDriveMemberPermission 该接口用于根据 filetoken 给用户增加文档的权限。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/permission-member/create
func (*DriveService) CreateDriveMemberPermissionOld ¶
func (r *DriveService) CreateDriveMemberPermissionOld(ctx context.Context, request *CreateDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*CreateDriveMemberPermissionOldResp, *Response, error)
CreateDriveMemberPermissionOld 该接口用于根据 filetoken 给用户增加文档的权限。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzNzUjLzczM14yM3MTN
func (*DriveService) CreateSheet ¶
func (r *DriveService) CreateSheet(ctx context.Context, request *CreateSheetReq, options ...MethodOptionFunc) (*CreateSheetResp, *Response, error)
CreateSheet 使用该接口可以在指定的目录下创建在线表格。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet/create
func (*DriveService) CreateSheetConditionFormat ¶
func (r *DriveService) CreateSheetConditionFormat(ctx context.Context, request *CreateSheetConditionFormatReq, options ...MethodOptionFunc) (*CreateSheetConditionFormatResp, *Response, error)
CreateSheetConditionFormat
该接口用于创建新的条件格式,单次最多支持增加10个条件格式,每个条件格式的设置会返回成功或者失败,失败的情况包括各种参数的校验。
func (*DriveService) CreateSheetDataValidationDropdown ¶
func (r *DriveService) CreateSheetDataValidationDropdown(ctx context.Context, request *CreateSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*CreateSheetDataValidationDropdownResp, *Response, error)
CreateSheetDataValidationDropdown
该接口根据 spreadsheetToken 、range 和下拉列表属性给单元格设置下拉列表规则;单次设置范围不超过5000行,100列。当一个数据区域中已有数据,支持将有效数据直接转为选项。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/datavalidation/set-dropdown
func (*DriveService) CreateSheetFilter ¶
func (r *DriveService) CreateSheetFilter(ctx context.Context, request *CreateSheetFilterReq, options ...MethodOptionFunc) (*CreateSheetFilterResp, *Response, error)
CreateSheetFilter 在子表内创建筛选。
参数值可参考[筛选指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter/filter-user-guide)
func (*DriveService) CreateSheetFilterView ¶
func (r *DriveService) CreateSheetFilterView(ctx context.Context, request *CreateSheetFilterViewReq, options ...MethodOptionFunc) (*CreateSheetFilterViewResp, *Response, error)
CreateSheetFilterView 根据传入的参数创建一个筛选视图。Id 和 名字可选,不填的话会默认生成;range 必填。Id 长度为10,由 0-9、a-z、A-Z 组合生成。名字长度不超过100。单个子表内的筛选视图个数不超过 150。
筛选范围的设置参考:[筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) CreateSheetFilterViewCondition ¶
func (r *DriveService) CreateSheetFilterViewCondition(ctx context.Context, request *CreateSheetFilterViewConditionReq, options ...MethodOptionFunc) (*CreateSheetFilterViewConditionResp, *Response, error)
CreateSheetFilterViewCondition 在筛选视图的筛选范围的某一列创建筛选条件。
筛选条件参考 [筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) CreateSheetFloatImage ¶
func (r *DriveService) CreateSheetFloatImage(ctx context.Context, request *CreateSheetFloatImageReq, options ...MethodOptionFunc) (*CreateSheetFloatImageResp, *Response, error)
CreateSheetFloatImage 根据传入的参数创建一张浮动图片。Float_image_token ([上传图片至表格后得到](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_all))和range(只支持一个单元格) 必填。Float_image_id 可选,不填的话会默认生成,长度为10,由 0-9、a-z、A-Z 组合生成。表格内不重复的图片(浮动图片+单元格图片)总数不超过4000。width 和 height 为图片展示的宽高,可选,不填的话会使用图片的真实宽高。offset_x 和 offset_y 为图片左上角距离所在单元格左上角的偏移,可选,默认为 0。
浮动图片的设置参考:[浮动图片指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-float_image/float-image-user-guide)
func (*DriveService) CreateSheetProtectedDimension ¶
func (r *DriveService) CreateSheetProtectedDimension(ctx context.Context, request *CreateSheetProtectedDimensionReq, options ...MethodOptionFunc) (*CreateSheetProtectedDimensionResp, *Response, error)
CreateSheetProtectedDimension
该接口用于根据 spreadsheetToken 和维度信息增加多个保护范围;单次操作不超过5000行或列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugDNzUjL4QzM14CO0MTN
func (*DriveService) CreateWikiNode ¶
func (r *DriveService) CreateWikiNode(ctx context.Context, request *CreateWikiNodeReq, options ...MethodOptionFunc) (*CreateWikiNodeResp, *Response, error)
CreateWikiNode 此接口用于在知识库里创建节点
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/create
func (*DriveService) CreateWikiSpace ¶
func (r *DriveService) CreateWikiSpace(ctx context.Context, request *CreateWikiSpaceReq, options ...MethodOptionFunc) (*CreateWikiSpaceResp, *Response, error)
CreateWikiSpace 此接口用于创建知识空间
此接口不支持应用身份访问
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/create
func (*DriveService) DeleteDriveComment ¶
func (r *DriveService) DeleteDriveComment(ctx context.Context, request *DeleteDriveCommentReq, options ...MethodOptionFunc) (*DeleteDriveCommentResp, *Response, error)
DeleteDriveComment 删除云文档中的某条回复。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/delete
func (*DriveService) DeleteDriveDocFile ¶
func (r *DriveService) DeleteDriveDocFile(ctx context.Context, request *DeleteDriveDocFileReq, options ...MethodOptionFunc) (*DeleteDriveDocFileResp, *Response, error)
DeleteDriveDocFile
该接口用于根据 docToken 删除对应的 Docs 文档。 文档只能被文档所有者删除,文档被删除后将会放到回收站里 该接口不支持并发调用,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATM2UjLwEjN14CMxYTN
func (*DriveService) DeleteDriveFile ¶
func (r *DriveService) DeleteDriveFile(ctx context.Context, request *DeleteDriveFileReq, options ...MethodOptionFunc) (*DeleteDriveFileResp, *Response, error)
DeleteDriveFile 删除在云空间内的文件
文档只能被文档所有者删除(使用tenant_access_token 前,请确保该应用是文档的所有者,否则会报无权限错误),文档被删除后将会放到回收站里 该接口不支持并发调用,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/delete
func (*DriveService) DeleteDriveMemberPermission ¶
func (r *DriveService) DeleteDriveMemberPermission(ctx context.Context, request *DeleteDriveMemberPermissionReq, options ...MethodOptionFunc) (*DeleteDriveMemberPermissionResp, *Response, error)
DeleteDriveMemberPermission 该接口用于根据 filetoken 移除文档协作者的权限。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/permission-member/delete
func (*DriveService) DeleteDriveMemberPermissionOld ¶
func (r *DriveService) DeleteDriveMemberPermissionOld(ctx context.Context, request *DeleteDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*DeleteDriveMemberPermissionOldResp, *Response, error)
DeleteDriveMemberPermissionOld 该接口用于根据 filetoken 移除文档协作者的权限。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYTN3UjL2UzN14iN1cTN
func (*DriveService) DeleteDriveSheetFile ¶
func (r *DriveService) DeleteDriveSheetFile(ctx context.Context, request *DeleteDriveSheetFileReq, options ...MethodOptionFunc) (*DeleteDriveSheetFileResp, *Response, error)
DeleteDriveSheetFile 该接口用于根据 spreadsheetToken 删除对应的 sheet 文档。
文档只能被文档所有者删除,文档被删除后将会放到回收站里 该接口不支持并发调用,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUTNzUjL1UzM14SN1MTN/delete-sheet
func (*DriveService) DeleteSheetConditionFormat ¶
func (r *DriveService) DeleteSheetConditionFormat(ctx context.Context, request *DeleteSheetConditionFormatReq, options ...MethodOptionFunc) (*DeleteSheetConditionFormatResp, *Response, error)
DeleteSheetConditionFormat
该接口用于删除已有的条件格式,单次最多支持删除10个条件格式,每个条件格式的删除会返回成功或者失败,失败的情况包括各种参数的校验。
func (*DriveService) DeleteSheetDataValidationDropdown ¶
func (r *DriveService) DeleteSheetDataValidationDropdown(ctx context.Context, request *DeleteSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*DeleteSheetDataValidationDropdownResp, *Response, error)
DeleteSheetDataValidationDropdown
该接口根据 spreadsheetToken 、range 移除选定数据范围单元格的下拉列表设置,但保留选项文本。单个删除范围不超过5000单元格。单次请求range最大数量100个。
func (*DriveService) DeleteSheetDimensionRange ¶
func (r *DriveService) DeleteSheetDimensionRange(ctx context.Context, request *DeleteSheetDimensionRangeReq, options ...MethodOptionFunc) (*DeleteSheetDimensionRangeResp, *Response, error)
DeleteSheetDimensionRange
该接口用于根据 spreadsheetToken 和维度信息删除行/列 。单次删除最大5000行/列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucjMzUjL3IzM14yNyMTN
func (*DriveService) DeleteSheetFilter ¶
func (r *DriveService) DeleteSheetFilter(ctx context.Context, request *DeleteSheetFilterReq, options ...MethodOptionFunc) (*DeleteSheetFilterResp, *Response, error)
DeleteSheetFilter 删除子表的筛选
func (*DriveService) DeleteSheetFilterView ¶
func (r *DriveService) DeleteSheetFilterView(ctx context.Context, request *DeleteSheetFilterViewReq, options ...MethodOptionFunc) (*DeleteSheetFilterViewResp, *Response, error)
DeleteSheetFilterView 删除指定 id 对应的筛选视图。
func (*DriveService) DeleteSheetFilterViewCondition ¶
func (r *DriveService) DeleteSheetFilterViewCondition(ctx context.Context, request *DeleteSheetFilterViewConditionReq, options ...MethodOptionFunc) (*DeleteSheetFilterViewConditionResp, *Response, error)
DeleteSheetFilterViewCondition 删除筛选视图的筛选范围某一列的筛选条件。
func (*DriveService) DeleteSheetFloatImage ¶
func (r *DriveService) DeleteSheetFloatImage(ctx context.Context, request *DeleteSheetFloatImageReq, options ...MethodOptionFunc) (*DeleteSheetFloatImageResp, *Response, error)
DeleteSheetFloatImage 删除 float_image_id 对应的浮动图片。
func (*DriveService) DeleteSheetProtectedDimension ¶
func (r *DriveService) DeleteSheetProtectedDimension(ctx context.Context, request *DeleteSheetProtectedDimensionReq, options ...MethodOptionFunc) (*DeleteSheetProtectedDimensionResp, *Response, error)
DeleteSheetProtectedDimension
该接口用于根据保护范围ID删除保护范围,最多支持同时删除10个ID。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYTM5YjL2ETO24iNxkjN
func (*DriveService) DeleteWikiSpaceMember ¶
func (r *DriveService) DeleteWikiSpaceMember(ctx context.Context, request *DeleteWikiSpaceMemberReq, options ...MethodOptionFunc) (*DeleteWikiSpaceMemberResp, *Response, error)
DeleteWikiSpaceMember 此接口用于删除知识空间成员
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-member/delete
func (*DriveService) DownloadDriveFile ¶
func (r *DriveService) DownloadDriveFile(ctx context.Context, request *DownloadDriveFileReq, options ...MethodOptionFunc) (*DownloadDriveFileResp, *Response, error)
DownloadDriveFile 使用该接口可以下载在云空间目录下的文件(不含飞书文档/表格/思维导图等在线文档)。支持range下载。
该接口支持调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/download
func (*DriveService) DownloadDriveMedia ¶
func (r *DriveService) DownloadDriveMedia(ctx context.Context, request *DownloadDriveMediaReq, options ...MethodOptionFunc) (*DownloadDriveMediaResp, *Response, error)
DownloadDriveMedia 使用该接口可以下载素材。素材表示在各种创作容器里的文件,如Doc文档内的图片,文件均属于素材。支持range下载。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/download
func (*DriveService) FindSheet ¶
func (r *DriveService) FindSheet(ctx context.Context, request *FindSheetReq, options ...MethodOptionFunc) (*FindSheetResp, *Response, error)
FindSheet 按照指定的条件查找子表的某个范围内的数据符合条件的单元格位置。请求体中的 range 和 find 字段为必填。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/find
func (*DriveService) FinishUploadDriveFile ¶
func (r *DriveService) FinishUploadDriveFile(ctx context.Context, request *FinishUploadDriveFileReq, options ...MethodOptionFunc) (*FinishUploadDriveFileResp, *Response, error)
FinishUploadDriveFile 触发完成上传。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/upload_finish
func (*DriveService) FinishUploadDriveMedia ¶
func (r *DriveService) FinishUploadDriveMedia(ctx context.Context, request *FinishUploadDriveMediaReq, options ...MethodOptionFunc) (*FinishUploadDriveMediaResp, *Response, error)
FinishUploadDriveMedia 触发完成上传。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_finish
func (*DriveService) GetDriveComment ¶
func (r *DriveService) GetDriveComment(ctx context.Context, request *GetDriveCommentReq, options ...MethodOptionFunc) (*GetDriveCommentResp, *Response, error)
GetDriveComment 获取云文档中的某条评论。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/get
func (*DriveService) GetDriveCommentList ¶
func (r *DriveService) GetDriveCommentList(ctx context.Context, request *GetDriveCommentListReq, options ...MethodOptionFunc) (*GetDriveCommentListResp, *Response, error)
GetDriveCommentList 通过分页方式获取云文档中的全文评论列表。
注意:该接口仅可获取在线文档的全文评论,不支持获取局部评论或者在线表格中的评论。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/list
func (*DriveService) GetDriveDocContent ¶
func (r *DriveService) GetDriveDocContent(ctx context.Context, request *GetDriveDocContentReq, options ...MethodOptionFunc) (*GetDriveDocContentResp, *Response, error)
GetDriveDocContent
在使用此接口前,请仔细阅读[文档概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/docs-doc-overview)和[准备接入文档 API](https://open.feishu.cn/document/ukTMukTMukTM/ugzNzUjL4czM14CO3MTN/guide/getting-start)了解文档调用的规则和约束,确保你的文档数据不会丢失或出错。 文档数据结构定义可参考:[文档数据结构概述](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN) 该接口用于获取结构化的文档内容。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDM2YjL1AjN24SNwYjN
func (*DriveService) GetDriveDocMeta ¶
func (r *DriveService) GetDriveDocMeta(ctx context.Context, request *GetDriveDocMetaReq, options ...MethodOptionFunc) (*GetDriveDocMetaResp, *Response, error)
GetDriveDocMeta
该接口用于根据 docToken 获取元数据。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uczN3UjL3czN14yN3cTN
func (*DriveService) GetDriveDocRawContent ¶
func (r *DriveService) GetDriveDocRawContent(ctx context.Context, request *GetDriveDocRawContentReq, options ...MethodOptionFunc) (*GetDriveDocRawContentResp, *Response, error)
GetDriveDocRawContent
该接口用于获取文档的纯文本内容,不包含富文本格式信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukzNzUjL5czM14SO3MTN
func (*DriveService) GetDriveFileMeta ¶
func (r *DriveService) GetDriveFileMeta(ctx context.Context, request *GetDriveFileMetaReq, options ...MethodOptionFunc) (*GetDriveFileMetaResp, *Response, error)
GetDriveFileMeta 该接口用于根据 token 获取各类文件的元数据。
请求用户需要拥有该文件的访问(读)权限
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMjN3UjLzYzN14yM2cTN
func (*DriveService) GetDriveFileStatistics ¶
func (r *DriveService) GetDriveFileStatistics(ctx context.Context, request *GetDriveFileStatisticsReq, options ...MethodOptionFunc) (*GetDriveFileStatisticsResp, *Response, error)
GetDriveFileStatistics 此接口用于获取文件统计信息,包括文档阅读人数、次数和点赞数。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-statistics/get
func (*DriveService) GetDriveFolderChildren ¶
func (r *DriveService) GetDriveFolderChildren(ctx context.Context, request *GetDriveFolderChildrenReq, options ...MethodOptionFunc) (*GetDriveFolderChildrenResp, *Response, error)
GetDriveFolderChildren
该接口用于根据 folderToken 获取该文件夹的文档清单,如 doc、sheet、file、bitable、folder。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uEjNzUjLxYzM14SM2MTN
func (*DriveService) GetDriveFolderMeta ¶
func (r *DriveService) GetDriveFolderMeta(ctx context.Context, request *GetDriveFolderMetaReq, options ...MethodOptionFunc) (*GetDriveFolderMetaResp, *Response, error)
GetDriveFolderMeta
该接口用于根据 folderToken 获取该文件夹的元信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uAjNzUjLwYzM14CM2MTN
func (*DriveService) GetDriveImportTask ¶
func (r *DriveService) GetDriveImportTask(ctx context.Context, request *GetDriveImportTaskReq, options ...MethodOptionFunc) (*GetDriveImportTaskResp, *Response, error)
GetDriveImportTask 根据创建导入任务返回的 ticket 查询导入结果。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/import_task/get
func (*DriveService) GetDriveMemberPermissionList ¶
func (r *DriveService) GetDriveMemberPermissionList(ctx context.Context, request *GetDriveMemberPermissionListReq, options ...MethodOptionFunc) (*GetDriveMemberPermissionListResp, *Response, error)
GetDriveMemberPermissionList 该接口用于根据 filetoken 查询协作者,目前包括人("user")和群("chat") 。
你能获取到协作者列表的前提是你对该文档有分享权限
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATN3UjLwUzN14CM1cTN
func (*DriveService) GetDrivePublicPermissionV2 ¶
func (r *DriveService) GetDrivePublicPermissionV2(ctx context.Context, request *GetDrivePublicPermissionV2Req, options ...MethodOptionFunc) (*GetDrivePublicPermissionV2Resp, *Response, error)
GetDrivePublicPermissionV2 该接口用于根据 filetoken 获取文档的公共设置。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITM3YjLyEzN24iMxcjN
func (*DriveService) GetDriveRootFolderMeta ¶
func (r *DriveService) GetDriveRootFolderMeta(ctx context.Context, request *GetDriveRootFolderMetaReq, options ...MethodOptionFunc) (*GetDriveRootFolderMetaResp, *Response, error)
GetDriveRootFolderMeta
该接口用于获取 "我的空间" 的元信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugTNzUjL4UzM14CO1MTN/get-root-folder-meta
func (*DriveService) GetSheetConditionFormat ¶
func (r *DriveService) GetSheetConditionFormat(ctx context.Context, request *GetSheetConditionFormatReq, options ...MethodOptionFunc) (*GetSheetConditionFormatResp, *Response, error)
GetSheetConditionFormat
该接口用于根据sheetId查询详细的条件格式信息,最多支持同时查询10个sheetId。
func (*DriveService) GetSheetDataValidationDropdown ¶
func (r *DriveService) GetSheetDataValidationDropdown(ctx context.Context, request *GetSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*GetSheetDataValidationDropdownResp, *Response, error)
GetSheetDataValidationDropdown
该接口根据 spreadsheetToken 、range 查询range内的下拉列表设置信息;单次查询范围不超过5000行,100列。
func (*DriveService) GetSheetFilter ¶
func (r *DriveService) GetSheetFilter(ctx context.Context, request *GetSheetFilterReq, options ...MethodOptionFunc) (*GetSheetFilterResp, *Response, error)
GetSheetFilter 获取子表的详细筛选信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter/get
func (*DriveService) GetSheetFilterView ¶
func (r *DriveService) GetSheetFilterView(ctx context.Context, request *GetSheetFilterViewReq, options ...MethodOptionFunc) (*GetSheetFilterViewResp, *Response, error)
GetSheetFilterView 获取指定筛选视图 id 的名字和筛选范围。
func (*DriveService) GetSheetFilterViewCondition ¶
func (r *DriveService) GetSheetFilterViewCondition(ctx context.Context, request *GetSheetFilterViewConditionReq, options ...MethodOptionFunc) (*GetSheetFilterViewConditionResp, *Response, error)
GetSheetFilterViewCondition 获取筛选视图某列的筛选条件信息。
筛选条件含义参考 [筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) GetSheetFloatImage ¶
func (r *DriveService) GetSheetFloatImage(ctx context.Context, request *GetSheetFloatImageReq, options ...MethodOptionFunc) (*GetSheetFloatImageResp, *Response, error)
GetSheetFloatImage 根据 float_image_id 获取对应浮动图片的信息。
浮动图片参考:[浮动图片指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-float_image/float-image-user-guide)
func (*DriveService) GetSheetMeta ¶
func (r *DriveService) GetSheetMeta(ctx context.Context, request *GetSheetMetaReq, options ...MethodOptionFunc) (*GetSheetMetaResp, *Response, error)
GetSheetMeta
该接口用于根据 spreadsheetToken 获取表格元数据。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uETMzUjLxEzM14SMxMTN
func (*DriveService) GetSheetProtectedDimension ¶
func (r *DriveService) GetSheetProtectedDimension(ctx context.Context, request *GetSheetProtectedDimensionReq, options ...MethodOptionFunc) (*GetSheetProtectedDimensionResp, *Response, error)
GetSheetProtectedDimension
该接口用于根据保护范围ID查询详细的保护行列信息,最多支持同时查询5个ID。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQTM5YjL0ETO24CNxkjN
func (*DriveService) GetSheetValue ¶
func (r *DriveService) GetSheetValue(ctx context.Context, request *GetSheetValueReq, options ...MethodOptionFunc) (*GetSheetValueResp, *Response, error)
GetSheetValue
该接口用于根据 spreadsheetToken 和 range 读取表格单个范围的值,返回数据限制为10M。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugTMzUjL4EzM14COxMTN
func (*DriveService) GetWikiNode ¶
func (r *DriveService) GetWikiNode(ctx context.Context, request *GetWikiNodeReq, options ...MethodOptionFunc) (*GetWikiNodeResp, *Response, error)
GetWikiNode 获取节点信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/get_node
func (*DriveService) GetWikiNodeList ¶
func (r *DriveService) GetWikiNodeList(ctx context.Context, request *GetWikiNodeListReq, options ...MethodOptionFunc) (*GetWikiNodeListResp, *Response, error)
GetWikiNodeList 此接口用于分页获取Wiki节点的子节点列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/list
func (*DriveService) GetWikiSpace ¶
func (r *DriveService) GetWikiSpace(ctx context.Context, request *GetWikiSpaceReq, options ...MethodOptionFunc) (*GetWikiSpaceResp, *Response, error)
GetWikiSpace 此接口用于根据知识空间ID来查询知识空间的信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/get
func (*DriveService) GetWikiSpaceList ¶
func (r *DriveService) GetWikiSpaceList(ctx context.Context, request *GetWikiSpaceListReq, options ...MethodOptionFunc) (*GetWikiSpaceListResp, *Response, error)
GetWikiSpaceList 此接口用于获取有权限访问的知识空间列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/list
func (*DriveService) GetWikiTask ¶
func (r *DriveService) GetWikiTask(ctx context.Context, request *GetWikiTaskReq, options ...MethodOptionFunc) (*GetWikiTaskResp, *Response, error)
GetWikiTask 该方法用于获取wiki异步任务的结果
仅发起任务的用户(或应用)可以查询任务结果。否则会返回权限报错。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/task/get
func (*DriveService) ImportSheet ¶
func (r *DriveService) ImportSheet(ctx context.Context, request *ImportSheetReq, options ...MethodOptionFunc) (*ImportSheetResp, *Response, error)
ImportSheet
> 为了更好地提升该接口的安全性,我们对其进行了升级,请尽快迁移至[新版本](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/import_task/import-user-guide) 该接口用于将本地表格导入到云空间上。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATO2YjLwkjN24CM5YjN
func (*DriveService) InsertSheetDimensionRange ¶
func (r *DriveService) InsertSheetDimensionRange(ctx context.Context, request *InsertSheetDimensionRangeReq, options ...MethodOptionFunc) (*InsertSheetDimensionRangeResp, *Response, error)
InsertSheetDimensionRange
该接口用于根据 spreadsheetToken 和维度信息 插入空行/列。 如 startIndex=3, endIndex=7,则从第 4 行开始开始插入行列,一直到第 7 行,共插入 4 行;单次操作不超过5000行或列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQjMzUjL0IzM14CNyMTN
func (*DriveService) MergeSheetCell ¶
func (r *DriveService) MergeSheetCell(ctx context.Context, request *MergeSheetCellReq, options ...MethodOptionFunc) (*MergeSheetCellResp, *Response, error)
MergeSheetCell
该接口用于根据 spreadsheetToken 和维度信息合并单元格;单次操作不超过5000行,100列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukDNzUjL5QzM14SO0MTN
func (*DriveService) MoveDocsToWiki ¶
func (r *DriveService) MoveDocsToWiki(ctx context.Context, request *MoveDocsToWikiReq, options ...MethodOptionFunc) (*MoveDocsToWikiResp, *Response, error)
MoveDocsToWiki 该接口允许添加已有云文档至知识库,并挂载在指定父页面下
### 移动操作 ### 移动后,文档将从“我的空间”或“共享空间”转移至“知识库”,并将从以下功能入口消失: - 云空间主页:最近访问、快速访问 - 我的空间 - 共享空间 - 收藏 ### 权限变更 ### 移动后,文档会向所有可查看“页面树”的用户显示,默认继承父页面的权限设置。 </md-alert 仅支持文档所有者发起请求 此接口为异步接口。若移动已完成(或节点已在Wiki中),则直接返回结果(Wiki token)。若尚未完成,则返回task id。请使用[获取任务结果](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/task/get)接口进行查询。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move_docs_to_wiki
func (*DriveService) MoveSheetDimension ¶
func (r *DriveService) MoveSheetDimension(ctx context.Context, request *MoveSheetDimensionReq, options ...MethodOptionFunc) (*MoveSheetDimensionResp, *Response, error)
MoveSheetDimension 该接口用于移动行列,行列被移动到目标位置后,原本在目标位置的行列会对应右移或下移。
func (*DriveService) MoveWikiNode ¶
func (r *DriveService) MoveWikiNode(ctx context.Context, request *MoveWikiNodeReq, options ...MethodOptionFunc) (*MoveWikiNodeResp, *Response, error)
MoveWikiNode 此方法用于在Wiki内移动节点,支持跨知识空间移动
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move
func (*DriveService) PartUploadDriveFile ¶
func (r *DriveService) PartUploadDriveFile(ctx context.Context, request *PartUploadDriveFileReq, options ...MethodOptionFunc) (*PartUploadDriveFileResp, *Response, error)
PartUploadDriveFile 上传对应的文件块。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/upload_part
func (*DriveService) PartUploadDriveMedia ¶
func (r *DriveService) PartUploadDriveMedia(ctx context.Context, request *PartUploadDriveMediaReq, options ...MethodOptionFunc) (*PartUploadDriveMediaResp, *Response, error)
PartUploadDriveMedia 上传对应的文件块。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_part
func (*DriveService) PrepareUploadDriveFile ¶
func (r *DriveService) PrepareUploadDriveFile(ctx context.Context, request *PrepareUploadDriveFileReq, options ...MethodOptionFunc) (*PrepareUploadDriveFileResp, *Response, error)
PrepareUploadDriveFile 发送初始化请求获取上传事务ID和分块策略,目前是以4MB大小进行定长分片。
你在24小时内可保存上传事务ID和上传进度,以便可以恢复上传 该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/upload_prepare
func (*DriveService) PrepareUploadDriveMedia ¶
func (r *DriveService) PrepareUploadDriveMedia(ctx context.Context, request *PrepareUploadDriveMediaReq, options ...MethodOptionFunc) (*PrepareUploadDriveMediaResp, *Response, error)
PrepareUploadDriveMedia 发送初始化请求获取上传事务ID和分块策略,目前是以4MB大小进行定长分片。
您在24小时内可保存上传事务ID和上传进度,以便可以恢复上传 该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_prepare
func (*DriveService) PrependSheetValue ¶
func (r *DriveService) PrependSheetValue(ctx context.Context, request *PrependSheetValueReq, options ...MethodOptionFunc) (*PrependSheetValueResp, *Response, error)
PrependSheetValue
该接口用于根据 spreadsheetToken 和 range 向范围之前增加相应数据的行和相应的数据,相当于数组的插入操作;单次写入不超过5000行,100列,每个格子不超过5万字符。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIjMzUjLyIzM14iMyMTN
func (*DriveService) QuerySheetFilterView ¶
func (r *DriveService) QuerySheetFilterView(ctx context.Context, request *QuerySheetFilterViewReq, options ...MethodOptionFunc) (*QuerySheetFilterViewResp, *Response, error)
QuerySheetFilterView 查询子表内所有的筛选视图基本信息,包括 id、name 和 range
func (*DriveService) QuerySheetFilterViewCondition ¶
func (r *DriveService) QuerySheetFilterViewCondition(ctx context.Context, request *QuerySheetFilterViewConditionReq, options ...MethodOptionFunc) (*QuerySheetFilterViewConditionResp, *Response, error)
QuerySheetFilterViewCondition 查询一个筛选视图的所有筛选条件,返回筛选视图的筛选范围内的筛选条件。
筛选条件含义可参考 [筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) QuerySheetFloatImage ¶
func (r *DriveService) QuerySheetFloatImage(ctx context.Context, request *QuerySheetFloatImageReq, options ...MethodOptionFunc) (*QuerySheetFloatImageResp, *Response, error)
QuerySheetFloatImage 返回子表内所有的浮动图片信息。
浮动图片参考:[浮动图片指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-float_image/float-image-user-guide)
func (*DriveService) ReplaceSheet ¶
func (r *DriveService) ReplaceSheet(ctx context.Context, request *ReplaceSheetReq, options ...MethodOptionFunc) (*ReplaceSheetResp, *Response, error)
ReplaceSheet 按照指定的条件查找子表的某个范围内的数据符合条件的单元格并替换值,返回替换成功的单元格位置。一次请求最多允许替换5000个单元格,如果超过请将range缩小范围再操作。请求体中的 range、find、replaccement 字段必填。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/replace
func (*DriveService) SearchDriveFile ¶
func (r *DriveService) SearchDriveFile(ctx context.Context, request *SearchDriveFileReq, options ...MethodOptionFunc) (*SearchDriveFileResp, *Response, error)
SearchDriveFile 该接口用于根据搜索条件进行文档搜索。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugDM4UjL4ADO14COwgTN
func (*DriveService) SetSheetStyle ¶
func (r *DriveService) SetSheetStyle(ctx context.Context, request *SetSheetStyleReq, options ...MethodOptionFunc) (*SetSheetStyleResp, *Response, error)
SetSheetStyle
该接口用于根据 spreadsheetToken 、range 和样式信息更新单元格样式;单次写入不超过5000行,100列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukjMzUjL5IzM14SOyMTN
func (*DriveService) SetSheetValue ¶
func (r *DriveService) SetSheetValue(ctx context.Context, request *SetSheetValueReq, options ...MethodOptionFunc) (*SetSheetValueResp, *Response, error)
SetSheetValue
该接口用于根据 spreadsheetToken 和 range 向单个范围写入数据,若范围内有数据,将被更新覆盖;单次写入不超过5000行,100列,每个格子不超过5万字符。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uAjMzUjLwIzM14CMyMTN
func (*DriveService) SetSheetValueImage ¶
func (r *DriveService) SetSheetValueImage(ctx context.Context, request *SetSheetValueImageReq, options ...MethodOptionFunc) (*SetSheetValueImageResp, *Response, error)
SetSheetValueImage
该接口用于根据 spreadsheetToken 和 range 向单个格子写入图片。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDNxYjL1QTM24SN0EjN
func (*DriveService) TransferDriveMemberPermission ¶
func (r *DriveService) TransferDriveMemberPermission(ctx context.Context, request *TransferDriveMemberPermissionReq, options ...MethodOptionFunc) (*TransferDriveMemberPermissionResp, *Response, error)
TransferDriveMemberPermission 该接口用于根据文档信息和用户信息转移文档的所有者。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQzNzUjL0czM14CN3MTN
func (*DriveService) UnmergeSheetCell ¶
func (r *DriveService) UnmergeSheetCell(ctx context.Context, request *UnmergeSheetCellReq, options ...MethodOptionFunc) (*UnmergeSheetCellResp, *Response, error)
UnmergeSheetCell
该接口用于根据 spreadsheetToken 和维度信息拆分单元格;单次操作不超过5000行,100列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATNzUjLwUzM14CM1MTN
func (*DriveService) UpdateDriveComment ¶
func (r *DriveService) UpdateDriveComment(ctx context.Context, request *UpdateDriveCommentReq, options ...MethodOptionFunc) (*UpdateDriveCommentResp, *Response, error)
UpdateDriveComment 更新云文档中的某条回复。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment-reply/update
func (*DriveService) UpdateDriveCommentPatch ¶
func (r *DriveService) UpdateDriveCommentPatch(ctx context.Context, request *UpdateDriveCommentPatchReq, options ...MethodOptionFunc) (*UpdateDriveCommentPatchResp, *Response, error)
UpdateDriveCommentPatch 解决或恢复云文档中的评论。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/patch
func (*DriveService) UpdateDriveMemberPermission ¶
func (r *DriveService) UpdateDriveMemberPermission(ctx context.Context, request *UpdateDriveMemberPermissionReq, options ...MethodOptionFunc) (*UpdateDriveMemberPermissionResp, *Response, error)
UpdateDriveMemberPermission 该接口用于根据 filetoken 更新文档协作者的权限。
该接口要求文档协作者已存在,如还未对文档协作者授权请先调用[「增加权限」 ](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/permission-member/create)接口进行授权。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/permission-member/update
func (*DriveService) UpdateDriveMemberPermissionOld ¶
func (r *DriveService) UpdateDriveMemberPermissionOld(ctx context.Context, request *UpdateDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*UpdateDriveMemberPermissionOldResp, *Response, error)
UpdateDriveMemberPermissionOld 该接口用于根据 filetoken 更新文档协作者的权限。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucTN3UjL3UzN14yN1cTN
func (*DriveService) UpdateDrivePublicPermission ¶
func (r *DriveService) UpdateDrivePublicPermission(ctx context.Context, request *UpdateDrivePublicPermissionReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionResp, *Response, error)
UpdateDrivePublicPermission 该接口用于根据 filetoken 更新文档的公共设置。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/permission-public/patch
func (*DriveService) UpdateDrivePublicPermissionV1Old ¶
func (r *DriveService) UpdateDrivePublicPermissionV1Old(ctx context.Context, request *UpdateDrivePublicPermissionV1OldReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionV1OldResp, *Response, error)
UpdateDrivePublicPermissionV1Old 该接口用于根据 filetoken 更新文档的公共设置。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukTM3UjL5EzN14SOxcTN
func (*DriveService) UpdateDrivePublicPermissionV2Old ¶
func (r *DriveService) UpdateDrivePublicPermissionV2Old(ctx context.Context, request *UpdateDrivePublicPermissionV2OldReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionV2OldResp, *Response, error)
UpdateDrivePublicPermissionV2Old 该接口用于根据 filetoken 更新文档的公共设置。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITN5UjLyUTO14iM1kTN
func (*DriveService) UpdateSheetConditionFormat ¶
func (r *DriveService) UpdateSheetConditionFormat(ctx context.Context, request *UpdateSheetConditionFormatReq, options ...MethodOptionFunc) (*UpdateSheetConditionFormatResp, *Response, error)
UpdateSheetConditionFormat
该接口用于更新已有的条件格式,单次最多支持更新10个条件格式,每个条件格式的更新会返回成功或者失败,失败的情况包括各种参数的校验。
func (*DriveService) UpdateSheetDataValidationDropdown ¶
func (r *DriveService) UpdateSheetDataValidationDropdown(ctx context.Context, request *UpdateSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*UpdateSheetDataValidationDropdownResp, *Response, error)
UpdateSheetDataValidationDropdown
该接口根据 spreadsheetToken 、sheetId、dataValidationId 更新下拉列表的属性。
func (*DriveService) UpdateSheetDimensionRange ¶
func (r *DriveService) UpdateSheetDimensionRange(ctx context.Context, request *UpdateSheetDimensionRangeReq, options ...MethodOptionFunc) (*UpdateSheetDimensionRangeResp, *Response, error)
UpdateSheetDimensionRange
该接口用于根据 spreadsheetToken 和维度信息更新隐藏行列、单元格大小;单次操作不超过5000行或列。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYjMzUjL2IzM14iNyMTN
func (*DriveService) UpdateSheetFilter ¶
func (r *DriveService) UpdateSheetFilter(ctx context.Context, request *UpdateSheetFilterReq, options ...MethodOptionFunc) (*UpdateSheetFilterResp, *Response, error)
UpdateSheetFilter 更新子表筛选范围中的列筛选条件。
参数值可参考[筛选指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter/filter-user-guide)
func (*DriveService) UpdateSheetFilterView ¶
func (r *DriveService) UpdateSheetFilterView(ctx context.Context, request *UpdateSheetFilterViewReq, options ...MethodOptionFunc) (*UpdateSheetFilterViewResp, *Response, error)
UpdateSheetFilterView 更新筛选视图的名字或者筛选范围。名字长度不超过100,不能重复即子表内唯一;筛选范围不超过子表的最大范围。
筛选范围的设置参考:[筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) UpdateSheetFilterViewCondition ¶
func (r *DriveService) UpdateSheetFilterViewCondition(ctx context.Context, request *UpdateSheetFilterViewConditionReq, options ...MethodOptionFunc) (*UpdateSheetFilterViewConditionResp, *Response, error)
UpdateSheetFilterViewCondition 更新筛选视图范围的某列的筛选条件,condition id 即为列的字母号。
筛选条件参数可参考 [筛选视图的筛选条件指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-filter_view-condition/filter-view-condition-user-guide)
func (*DriveService) UpdateSheetFloatImage ¶
func (r *DriveService) UpdateSheetFloatImage(ctx context.Context, request *UpdateSheetFloatImageReq, options ...MethodOptionFunc) (*UpdateSheetFloatImageResp, *Response, error)
UpdateSheetFloatImage 更新已有的浮动图片位置和宽高,包括 range、width、height、offset_x 和 offset_y,不包括 float_image_id 和 float_image_token。
浮动图片更新参考:[浮动图片指南](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-float_image/float-image-user-guide)
func (*DriveService) UpdateSheetProperty ¶
func (r *DriveService) UpdateSheetProperty(ctx context.Context, request *UpdateSheetPropertyReq, options ...MethodOptionFunc) (*UpdateSheetPropertyResp, *Response, error)
UpdateSheetProperty
该接口用于根据 spreadsheetToken 更新表格属性,如更新表格标题。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucTMzUjL3EzM14yNxMTN
func (*DriveService) UpdateSheetProtectedDimension ¶
func (r *DriveService) UpdateSheetProtectedDimension(ctx context.Context, request *UpdateSheetProtectedDimensionReq, options ...MethodOptionFunc) (*UpdateSheetProtectedDimensionResp, *Response, error)
UpdateSheetProtectedDimension
该接口用于根据保护范围ID修改保护范围,单次最多支持同时修改10个ID。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUTM5YjL1ETO24SNxkjN
func (*DriveService) UpdateWikiSpaceSetting ¶
func (r *DriveService) UpdateWikiSpaceSetting(ctx context.Context, request *UpdateWikiSpaceSettingReq, options ...MethodOptionFunc) (*UpdateWikiSpaceSettingResp, *Response, error)
UpdateWikiSpaceSetting 根据space_id更新知识空间公共设置
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-setting/update
func (*DriveService) UploadDriveFile ¶
func (r *DriveService) UploadDriveFile(ctx context.Context, request *UploadDriveFileReq, options ...MethodOptionFunc) (*UploadDriveFileResp, *Response, error)
UploadDriveFile 向云空间指定目录下上传一个文件
使用此方式上传可以快速传输小于等于20MB的文件 该接口支持调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/upload_all
func (*DriveService) UploadDriveMedia ¶
func (r *DriveService) UploadDriveMedia(ctx context.Context, request *UploadDriveMediaReq, options ...MethodOptionFunc) (*UploadDriveMediaResp, *Response, error)
UploadDriveMedia 将云文档或其他飞书套件所需要的素材(图片/文件)上传到云空间。
该接口不支持太高的并发,且调用频率上限为5QPS
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_all
type EHRAttachment ¶
type EHRAttachment struct { ID string `json:"id,omitempty"` // 下载文件所需要的 Token MimeType string `json:"mime_type,omitempty"` // 文件类型 Name string `json:"name,omitempty"` // 名称 Size int `json:"size,omitempty"` // 大小 }
EHRAttachment EHR 附件
type EHREducation ¶
type EHREducation struct { Level int `json:"level,omitempty"` // 学历, 可选值有: `1`:小学, `2`:初中, `3`:高中, `4`:职业高级中学, `5`:中等专业学校, `6`:大专, `7`:本科, `8`:硕士, `9`:博士 School string `json:"school,omitempty"` // 毕业学校 Major string `json:"major,omitempty"` // 专业 Degree int `json:"degree,omitempty"` // 学位, 可选值有: `1`:学士, `2`:硕士, `3`:博士 Start string `json:"start,omitempty"` // 开始日期 End string `json:"end,omitempty"` // 结束日期 }
EHREducation EHR 教育经历
type EHREmergencyContact ¶
type EHREmergencyContact struct { Name string `json:"name,omitempty"` // 紧急联系人姓名 Relationship int `json:"relationship,omitempty"` // 与紧急联系人的关系, 可选值有: `1`:父母, `2`:配偶, `3`:子女, `4`:兄弟姐妹, `5`:朋友, `6`:其他 Mobile string `json:"mobile,omitempty"` // 手机号 }
EHREmergencyContact EHR 紧急联系人
type EHRService ¶
type EHRService struct {
// contains filtered or unexported fields
}
func (*EHRService) DownloadEHRAttachments ¶
func (r *EHRService) DownloadEHRAttachments(ctx context.Context, request *DownloadEHRAttachmentsReq, options ...MethodOptionFunc) (*DownloadEHRAttachmentsResp, *Response, error)
DownloadEHRAttachments
根据文件 token 下载文件。 调用 「批量获取员工花名册信息」接口的返回值中,「文件」类型的字段 id,即是文件 token ![image.png](//sf1-ttcdn-tos.pstatp.com/obj/open-platform-opendoc/bed391d2a8ce6ed2d5985ea69bf92850_9GY1mnuDXP.png)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/ehr/ehr-v1/attachment/get
func (*EHRService) GetEHREmployeeList ¶
func (r *EHRService) GetEHREmployeeList(ctx context.Context, request *GetEHREmployeeListReq, options ...MethodOptionFunc) (*GetEHREmployeeListResp, *Response, error)
GetEHREmployeeList 根据员工飞书用户 ID / 员工状态 / 雇员类型等搜索条件 ,批量获取员工花名册字段信息。字段包括「系统标准字段 / system_fields」和「自定义字段 / custom_fields」
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/ehr/ehr-v1/employee/list
type EHRWorkExperience ¶
type EHRWorkExperience struct { Company string `json:"company,omitempty"` // 公司 Department string `json:"department,omitempty"` // 部门 Job string `json:"job,omitempty"` // 职位 Start string `json:"start,omitempty"` // 开始日期 End string `json:"end,omitempty"` // 截止日期 Description string `json:"description,omitempty"` // 工作描述 }
EHRWorkExperience EHR 工作经历
type EcosystemService ¶
type EcosystemService struct {
// contains filtered or unexported fields
}
func (*EcosystemService) GetEcosystemBindAwemeUser ¶
func (r *EcosystemService) GetEcosystemBindAwemeUser(ctx context.Context, request *GetEcosystemBindAwemeUserReq, options ...MethodOptionFunc) (*GetEcosystemBindAwemeUserResp, *Response, error)
GetEcosystemBindAwemeUser
获取绑定信息 适用于获取飞书账号是否为“抖音员工号”运营者。
type EditPermission ¶
type EditPermission string
EditPermission 群编辑权限
const ( EditPermissionAllMembers EditPermission = "all_members" EditPermissionOnlyOwner EditPermission = "only_owner" )
EditPermissionAllMembers ...
func EditPermissionPtr ¶
func EditPermissionPtr(v EditPermission) *EditPermission
EditPermissionPtr ...
type EmojiType ¶
type EmojiType string
const ( EmojiOk EmojiType = "OK" // ok https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_ok_v2.png EmojiThumbsUp EmojiType = "THUMBSUP" // 大拇指 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_thumbsup.png EmojiThanks EmojiType = "THANKS" // 谢谢 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_thanks.png EmojiMuscle EmojiType = "MUSCLE" // 肌肉 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_fighting.png EmojiFingerHeart EmojiType = "FINGERHEART" // 比心 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_fingerheart.png EmojiApplause EmojiType = "APPLAUSE" // 鼓掌 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_applaud.png EmojiFistBump EmojiType = "FISTBUMP" // 碰拳 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_fistbump.png EmojiJiaYi EmojiType = "JIAYI" // +1 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_plusone.png EmojiDone EmojiType = "DONE" // 完成 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_done.png EmojiSmile EmojiType = "SMILE" // 微笑 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_smile.png EmojiBlush EmojiType = "BLUSH" // 粘红 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_grin.png EmojiLaugh EmojiType = "LAUGH" // 大笑 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_laugh.png EmojiSmirk EmojiType = "SMIRK" // 傻笑 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_smirk.png EmojiLol EmojiType = "LOL" // 笑哭 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_lol.png EmojiFacepalm EmojiType = "FACEPALM" // 捂脸 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_facepalm.png EmojiLove EmojiType = "LOVE" // 爱 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_love.png EmojiWink EmojiType = "WINK" // 吐舌 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_wink.png EmojiProud EmojiType = "PROUD" // 自豪 https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_proud.png EmojiWitty EmojiType = "WITTY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_witty.png EmojiSmart EmojiType = "SMART" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_smart.png EmojiScowl EmojiType = "SCOWL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_scowl.png EmojiThinking EmojiType = "THINKING" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_thinking.png EmojiSob EmojiType = "SOB" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_sob.png EmojiCry EmojiType = "CRY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_cry.png EmojiError EmojiType = "ERROR" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_errr.png EmojiNosePick EmojiType = "NOSEPICK" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_nosepick.png EmojiHaughty EmojiType = "HAUGHTY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_irritated_v2.png EmojiSlap EmojiType = "SLAP" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_slap.png EmojiSpitBlood EmojiType = "SPITBLOOD" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_spitblood.png EmojiToasted EmojiType = "TOASTED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_toasted.png EmojiBlackface EmojiType = "BLACKFACE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_blackface.png EmojiGlance EmojiType = "GLANCE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_glance.png EmojiDull EmojiType = "DULL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_dull.png EmojiRose EmojiType = "ROSE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_rose.png EmojiHeart EmojiType = "HEART" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_heart.png EmojiParty EmojiType = "PARTY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_party.png EmojiInnocentSmile EmojiType = "INNOCENTSMILE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_innocentsmile.png EmojiShy EmojiType = "SHY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_shy.png EmojiChuckle EmojiType = "CHUCKLE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_chuckle.png EmojiJoyful EmojiType = "JOYFUL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_joyful.png EmojiWow EmojiType = "WOW" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_wow.png EmojiTrick EmojiType = "TRICK" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_trick.png EmojiYeah EmojiType = "YEAH" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_yeah.png EmojiEnough EmojiType = "ENOUGH" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_enough.png EmojiTears EmojiType = "TEARS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_tears.png EmojiEmbarrassed EmojiType = "EMBARRASSED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_embarrassed.png EmojiKiss EmojiType = "KISS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_kiss.png EmojiSmooch EmojiType = "SMOOCH" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_smooch.png EmojiDrool EmojiType = "DROOL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_drool.png EmojiObsessed EmojiType = "OBSESSED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_obsessed.png EmojiMoney EmojiType = "MONEY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_dollar.png EmojiTease EmojiType = "TEASE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_tease.png EmojiShowoff EmojiType = "SHOWOFF" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_showoff.png EmojiComfort EmojiType = "COMFORT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_comfort.png EmojiClap EmojiType = "CLAP" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_clap.png EmojiPraise EmojiType = "PRAISE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_praise.png EmojiStrive EmojiType = "STRIVE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_strive.png EmojiXBlush EmojiType = "XBLUSH" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_blush.png EmojiSilent EmojiType = "SILENT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_silent.png EmojiWave EmojiType = "WAVE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_wave.png EmojiEating EmojiType = "EATING" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_eating.png EmojiWhat EmojiType = "WHAT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_what.png EmojiFrown EmojiType = "FROWN" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_frown.png EmojiDullStare EmojiType = "DULLSTARE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_dullstare.png EmojiDizzy EmojiType = "DIZZY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_dizzy.png EmojiLookDown EmojiType = "LOOKDOWN" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_lookdown.png EmojiWail EmojiType = "WAIL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_wail.png EmojiCrazy EmojiType = "CRAZY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_crazy.png EmojiWhimper EmojiType = "WHIMPER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_whimper.png EmojiHug EmojiType = "HUG" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_hug.png EmojiBlubber EmojiType = "BLUBBER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_blubber.png EmojiWronged EmojiType = "WRONGED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_wronged.png EmojiHusky EmojiType = "HUSKY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_husky.png EmojiShhh EmojiType = "SHHH" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_shhh.png EmojiSmug EmojiType = "SMUG" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_smug.png EmojiAngry EmojiType = "ANGRY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_angry.png EmojiHammer EmojiType = "HAMMER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_hammer.png EmojiShocked EmojiType = "SHOCKED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_shocked.png EmojiTerror EmojiType = "TERROR" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_terror.png EmojiPetrified EmojiType = "PETRIFIED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_petrified.png EmojiSkull EmojiType = "SKULL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_skull.png EmojiSweat EmojiType = "SWEAT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_sweat.png EmojiSpeechless EmojiType = "SPEECHLESS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_speechless.png EmojiSleep EmojiType = "SLEEP" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_sleep.png EmojiDrowsy EmojiType = "DROWSY" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_drowsy.png EmojiYawn EmojiType = "YAWN" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_yawn.png EmojiSick EmojiType = "SICK" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_sick.png EmojiPuke EmojiType = "PUKE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_puke.png EmojiBigKiss EmojiType = "BIGKISS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_bigkiss.png EmojiBetrayed EmojiType = "BETRAYED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_mad.png EmojiHeadset EmojiType = "HEADSET" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_headset_v3.png EmojiDonnotGo EmojiType = "DONNOTGO" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_donnotgo.png EmojiEatingFood EmojiType = "EatingFood" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_eatingfood_v2.png EmojiTyping EmojiType = "Typing" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_typing.png EmojiLemon EmojiType = "Lemon" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_lemon_v2.png EmojiGet EmojiType = "Get" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_get_v3.png EmojiLgtm EmojiType = "LGTM" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_lgtm_v3.png EmojiSalute EmojiType = "SALUTE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_salute.png EmojiShake EmojiType = "SHAKE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_shake.png EmojiHighFive EmojiType = "HIGHFIVE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_highfive.png EmojiUpperLeft EmojiType = "UPPERLEFT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_upperleft.png EmojiThumbsDown EmojiType = "ThumbsDown" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_thumbsdown.png EmojiSlight EmojiType = "SLIGHT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_slight.png EmojiTongue EmojiType = "TONGUE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_tongue.png EmojiEyesClosed EmojiType = "EYESCLOSED" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_eyesclosed.png EmojiBear EmojiType = "BEAR" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_bear.png EmojiBull EmojiType = "BULL" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_bull.png EmojiCalf EmojiType = "CALF" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_calf.png EmojiLips EmojiType = "LIPS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_lips.png EmojiBeer EmojiType = "BEER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_beer.png EmojiCake EmojiType = "CAKE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_cake_v2.png EmojiGift EmojiType = "GIFT" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_gift_v2.png EmojiCucumber EmojiType = "CUCUMBER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_cucumber_v3.png EmojiDrumstick EmojiType = "Drumstick" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_drumstick.png EmojiPepper EmojiType = "Pepper" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_pepper.png EmojiCandiedHaws EmojiType = "CANDIEDHAWS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_candiedhaws.png EmojiBubbleTea EmojiType = "BubbleTea" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_bubbletea.png EmojiCoffee EmojiType = "Coffee" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_coffee_v2.png EmojiYes EmojiType = "Yes" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_yes_v2.png EmojiNo EmojiType = "No" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_no_v3.png EmojiOkr EmojiType = "OKR" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_okr.png EmojiCheckMark EmojiType = "CheckMark" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_checkmark.png EmojiCrossMark EmojiType = "CrossMark" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_crossmark.png EmojiMinusOne EmojiType = "MinusOne" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_minusone_v4.png EmojiHundred EmojiType = "Hundred" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_hundred.png EmojiE2021 EmojiType = "2021" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_balloon_v2.png EmojiAwesome EmojiType = "AWESOMEN" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_socool_v2.png EmojiPin EmojiType = "Pin" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_pin.png EmojiAlarm EmojiType = "Alarm" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_alarm.png EmojiLoudspeaker EmojiType = "Loudspeaker" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_loudspeaker.png EmojiTrophy EmojiType = "Trophy" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_trophy.png EmojiFire EmojiType = "Fire" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_fire.png EmojiRainbowPuke EmojiType = "RAINBOWPUKE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_rainbowpuke_v2.png EmojiMusic EmojiType = "Music" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_music_v2.png EmojiFireworks EmojiType = "FIREWORKS" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_fireworks_v2.png EmojiRedPacket EmojiType = "REDPACKET" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_redpacket_v2.png EmojiFortune EmojiType = "FORTUNE" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_gold.png EmojiLuck EmojiType = "LUCK" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_luck.png EmojiFirecracker EmojiType = "FIRECRACKER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_firecracker.png EmojiHeartbroken EmojiType = "HEARTBROKEN" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_heartbroken.png EmojiBomb EmojiType = "BOMB" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_bomb.png EmojiPoop EmojiType = "POOP" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_poop.png EmojiE18x EmojiType = "18X" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_eighteen.png EmojiCleaver EmojiType = "CLEAVER" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_cleaver_v2.png EmojiSoccer EmojiType = "Soccer" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_soccer_v3.png EmojiBasketball EmojiType = "Basketball" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_basketball_v3.png EmojiGeneralDoNotDisturb EmojiType = "GeneralDoNotDisturb" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generaldonotdisturb_v2.png EmojiStatusPrivateMessage EmojiType = "Status_PrivateMessage" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_status_privatemessage.png EmojiGeneralInMeetingBusy EmojiType = "GeneralInMeetingBusy" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generalInmeetingbusy_v2.png EmojiStatusReading EmojiType = "StatusReading" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_statusreading.png EmojiStatusFlashOfInspiration EmojiType = "StatusFlashOfInspiration" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_statusflashofInspiration.png EmojiGeneralBusinessTrip EmojiType = "GeneralBusinessTrip" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generalbusinesstrip_v2.png EmojiGeneralWorkFromHome EmojiType = "GeneralWorkFromHome" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generalworkfromhome.png EmojiStatusEnjoyLife EmojiType = "StatusEnjoyLife" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_statusenjoylife.png EmojiGeneralTravellingCar EmojiType = "GeneralTravellingCar" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generaltravellingcar.png EmojiStatusBus EmojiType = "StatusBus" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_statusbus.png EmojiStatusInFlight EmojiType = "StatusInFlight" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_statusinflight.png EmojiGeneralSun EmojiType = "GeneralSun" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generalsun.png EmojiGeneralMoonRest EmojiType = "GeneralMoonRest" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_generalmoonrest_v2.png EmojiPursueUltimate EmojiType = "PursueUltimate" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_pursueultimate.png EmojiCustomerSuccess EmojiType = "CustomerSuccess" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_customersuccess.png EmojiResponsible EmojiType = "Responsible" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_responsible.png EmojiReliable EmojiType = "Reliable" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_reliable.png EmojiAmbitious EmojiType = "Ambitious" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_ambitious.png EmojiPatient EmojiType = "Patient" // https://sf3-ttcdn-tos.pstatp.com/obj/lark-reaction-cn/emoji_patient.png )
type EmployeeType ¶
type EmployeeType string
EmployeeType 用户类型
const ( EmployeeTypeID EmployeeType = "employee_id" // 员工id EmployeeTypeNo EmployeeType = "employee_no" // 员工工号 )
EmployeeTypeID ...
type EndVCMeetingReq ¶
type EndVCMeetingReq struct {
MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028"
}
EndVCMeetingReq ...
type EventCallbackService ¶
type EventCallbackService struct {
// contains filtered or unexported fields
}
func (*EventCallbackService) HandlerEventCard ¶
func (r *EventCallbackService) HandlerEventCard(f EventCardHandler)
HandlerEventCard
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYjNwUjL2YDM14iN2ATN
func (*EventCallbackService) HandlerEventV1AddBot ¶
func (r *EventCallbackService) HandlerEventV1AddBot(f EventV1AddBotHandler)
EventV1AddBot
为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/added) 机器人被邀请加入群聊时触发此事件。 - 依赖条件:应用必须开启了[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMTNxYjLzUTM24yM1EjN
func (*EventCallbackService) HandlerEventV1AddUserToChat ¶
func (r *EventCallbackService) HandlerEventV1AddUserToChat(f EventV1AddUserToChatHandler)
EventV1AddUserToChat
如果你希望订阅机器人进出群、群内有人@机器人事件,请前往[机器人进群](https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/bot-added-to-group) 或 [机器人退群](https://open.feishu.cn/document/ukTMukTMukTM/ucDO04yN4QjL3gDN)。 为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至 [新版本(用户进群)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/added) 或[新版本(用户出群)>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/deleted) 用户进群、出群后触发此事件。 * 特殊说明:只有开启机器人能力并且机器人所在的群发生上述变化时才能触发此事件。 事件包括三个类型: 1. 用户进群 - add_user_to_chat 2. 用户出群 - remove_user_from_chat 3. 撤销加人 - revoke_add_user_from_chat
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDOwUjL0gDM14CN4ATN/event/user-joins-or-leave-group
func (*EventCallbackService) HandlerEventV1AppOpen ¶
func (r *EventCallbackService) HandlerEventV1AppOpen(f EventV1AppOpenHandler)
EventV1AppOpen
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 当租户第一次安装并启用此应用时触发此事件,启用应用包含以下场景: - 当租户管理员后台首次开通应用 - 租户内的普通成员首次安装此应用 只有应用商店应用才能订阅此事件。自建应用无此事件。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/event/app-first-enabled
func (*EventCallbackService) HandlerEventV1AppStatusChange ¶
func (r *EventCallbackService) HandlerEventV1AppStatusChange(f EventV1AppStatusChangeHandler)
EventV1AppStatusChange
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 当企业管理员在管理员后台启用、停用应用,或应用被平台停用时,开放平台推送 app_status_change 事件到请求网址。 - 订阅条件:只有应用商店应用才能订阅此事件。自建应用无此事件。 - 特殊说明:管理员手动安装应用时,也会触发启用事件。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/event/app-enabled-or-disabled
func (*EventCallbackService) HandlerEventV1AppTicket ¶
func (r *EventCallbackService) HandlerEventV1AppTicket(f EventV1AppTicketHandler)
EventV1AppTicket
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 对于应用商店应用,开放平台会每隔1小时推送一次 app_ticket ,应用通过该 app_ticket 获取 app_access_token。 - 特殊说明: 应用商店应用自动订阅此事件;企业自建应用不需要此事件。 - 搭配使用:[触发app_ticket重新推送 ](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/app_ticket_resend)、[通过app_ticket获取token ](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/app_access_token)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/event/app_ticket-events
func (*EventCallbackService) HandlerEventV1AppUninstalled ¶
func (r *EventCallbackService) HandlerEventV1AppUninstalled(f EventV1AppUninstalledHandler)
EventV1AppUninstalled
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) - 自建应用无此事件。 - 企业解散后会推送此事件。商店应用开发者可在收到此事件后进行相应的账户注销、数据清理等处理。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/event/app-uninstalled
func (*EventCallbackService) HandlerEventV1ChatDisband ¶
func (r *EventCallbackService) HandlerEventV1ChatDisband(f EventV1ChatDisbandHandler)
EventV1ChatDisband
如果你希望订阅机器人进出群、群内有人@机器人事件,请前往[机器人进群](https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/bot-added-to-group) 或 [机器人退群](https://open.feishu.cn/document/ukTMukTMukTM/ucDO04yN4QjL3gDN)。 为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/disbanded) 群聊被解散后触发此事件。 * 特殊说明:只有开启机器人能力并且机器人所在的群被解散时才能触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDOwUjL0gDM14CN4ATN/event/group-closed
func (*EventCallbackService) HandlerEventV1LeaveApprovalV2 ¶
func (r *EventCallbackService) HandlerEventV1LeaveApprovalV2(f EventV1LeaveApprovalV2Handler)
EventV1LeaveApprovalV2
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 「审批」应用的表单里如果包含 [请假控件组],则在此表单审批通过后触发此事件。 * 特殊说明:如果你订阅了此事件,会收到2条消息,其 [type] 分别为 [leave_approval]、 [leave_approvalV2] 。这两个事件的 [uuid] 不同、 [instance_code] 相同。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/leave
func (*EventCallbackService) HandlerEventV1OrderPaid ¶
func (r *EventCallbackService) HandlerEventV1OrderPaid(f EventV1OrderPaidHandler)
EventV1OrderPaid
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 用户购买应用商店付费应用成功后发送给应用ISV的通知事件。 - 订阅条件:只有应用商店应用才能订阅此事件。自建应用无此事件。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/event/public-app-purchase
func (*EventCallbackService) HandlerEventV1OutApproval ¶
func (r *EventCallbackService) HandlerEventV1OutApproval(f EventV1OutApprovalHandler)
EventV1OutApproval
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 「审批」应用的表单里如果包含 [外出控件组],则在此表单审批通过后触发此事件。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/out-of-office
func (*EventCallbackService) HandlerEventV1P2PChatCreate ¶
func (r *EventCallbackService) HandlerEventV1P2PChatCreate(f EventV1P2PChatCreateHandler)
EventV1P2PChatCreate
首次会话是用户了解应用的重要机会,你可以发送操作说明、配置地址来指导用户开始使用你的应用。 如果是应用商店应用,请务必确保订阅并响应此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/bot-events
func (*EventCallbackService) HandlerEventV1ReceiveMessage ¶
func (r *EventCallbackService) HandlerEventV1ReceiveMessage(f EventV1ReceiveMessageHandler)
EventV1ReceiveMessage
## 接收消息 当用户发送消息给机器人或在群聊中@机器人时触发此事件。 - 依赖权限:[获取用户发给机器人的私聊消息] 、 [获取群聊中用户 @ 机器人的消息]。开启了相应的权限才能获取到相应的消息。 - 其他条件:应用必须开启了[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)。 ### 文本消息
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/receive-message
func (*EventCallbackService) HandlerEventV1RemedyApproval ¶
func (r *EventCallbackService) HandlerEventV1RemedyApproval(f EventV1RemedyApprovalHandler)
EventV1RemedyApproval
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 补卡申请审批通过后触发此事件。 你可以在「打卡」应用里提交补卡申请。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/attendance-record-correction
func (*EventCallbackService) HandlerEventV1RemoveBot ¶
func (r *EventCallbackService) HandlerEventV1RemoveBot(f EventV1RemoveBotHandler)
EventV1RemoveBot
为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/deleted) 机器人被从群聊中移除时触发此事件。 - 依赖条件:应用必须开启了[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/bot-removed-from-group
func (*EventCallbackService) HandlerEventV1RemoveUserFromChat ¶
func (r *EventCallbackService) HandlerEventV1RemoveUserFromChat(f EventV1RemoveUserFromChatHandler)
EventV1RemoveUserFromChat
如果你希望订阅机器人进出群、群内有人@机器人事件,请前往[机器人进群](https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/bot-added-to-group) 或 [机器人退群](https://open.feishu.cn/document/ukTMukTMukTM/ucDO04yN4QjL3gDN)。 为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至 [新版本(用户进群)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/added) 或[新版本(用户出群)>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/deleted) 用户进群、出群后触发此事件。 * 特殊说明:只有开启机器人能力并且机器人所在的群发生上述变化时才能触发此事件。 事件包括三个类型: 1. 用户进群 - add_user_to_chat 2. 用户出群 - remove_user_from_chat 3. 撤销加人 - revoke_add_user_from_chat
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDOwUjL0gDM14CN4ATN/event/user-joins-or-leave-group
func (*EventCallbackService) HandlerEventV1RevokeAddUserFromChat ¶
func (r *EventCallbackService) HandlerEventV1RevokeAddUserFromChat(f EventV1RevokeAddUserFromChatHandler)
EventV1RevokeAddUserFromChat
如果你希望订阅机器人进出群、群内有人@机器人事件,请前往[机器人进群](https://open.feishu.cn/document/ukTMukTMukTM/ugzMugzMugzM/event/bot-added-to-group) 或 [机器人退群](https://open.feishu.cn/document/ukTMukTMukTM/ucDO04yN4QjL3gDN)。 为了更好地提升该事件的安全性,我们对其进行了升级,请尽快迁移至 [新版本(用户进群)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/added) 或[新版本(用户出群)>>](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/deleted) 用户进群、出群后触发此事件。 * 特殊说明:只有开启机器人能力并且机器人所在的群发生上述变化时才能触发此事件。 事件包括三个类型: 1. 用户进群 - add_user_to_chat 2. 用户出群 - remove_user_from_chat 3. 撤销加人 - revoke_add_user_from_chat
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQDOwUjL0gDM14CN4ATN/event/user-joins-or-leave-group
func (*EventCallbackService) HandlerEventV1ShiftApproval ¶
func (r *EventCallbackService) HandlerEventV1ShiftApproval(f EventV1ShiftApprovalHandler)
EventV1ShiftApproval
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 换班申请审批通过后触发此事件。 你可以在「打卡」应用里提交换班申请。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/shift-change
func (*EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventCreated ¶
func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventCreated(f EventV1ThirdPartyMeetingRoomEventCreatedHandler)
EventV1ThirdPartyMeetingRoomEventCreated
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 当添加了第三方会议室的日程发生变动时(创建/更新/删除)触发此事件。
func (*EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventDeleted ¶
func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventDeleted(f EventV1ThirdPartyMeetingRoomEventDeletedHandler)
EventV1ThirdPartyMeetingRoomEventDeleted
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 当添加了第三方会议室的日程发生变动时(创建/更新/删除)触发此事件。
func (*EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventUpdated ¶
func (r *EventCallbackService) HandlerEventV1ThirdPartyMeetingRoomEventUpdated(f EventV1ThirdPartyMeetingRoomEventUpdatedHandler)
EventV1ThirdPartyMeetingRoomEventUpdated
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 当添加了第三方会议室的日程发生变动时(创建/更新/删除)触发此事件。
func (*EventCallbackService) HandlerEventV1TripApproval ¶
func (r *EventCallbackService) HandlerEventV1TripApproval(f EventV1TripApprovalHandler)
EventV1TripApproval
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 「审批」应用的表单里如果包含 [出差控件组],则在此表单审批通过后触发此事件。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/business-trip
func (*EventCallbackService) HandlerEventV1WorkApproval ¶
func (r *EventCallbackService) HandlerEventV1WorkApproval(f EventV1WorkApprovalHandler)
EventV1WorkApproval
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 「审批」应用的表单里如果包含 [加班控件组],则在此表单审批通过后触发此事件。 * 依赖权限:[访问审批应用]
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/overtime
func (*EventCallbackService) HandlerEventV2ACSAccessRecordCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2ACSAccessRecordCreatedV1(f EventV2ACSAccessRecordCreatedV1Handler)
EventV2ACSAccessRecordCreatedV1
门禁设备识别用户成功后发送该事件给订阅应用{使用示例}(url=/api/tools/api_explore/api_explore_config?project=acs&version=v1&resource=access_record&event=created)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/access_record/events/created
func (*EventCallbackService) HandlerEventV2ACSUserUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2ACSUserUpdatedV1(f EventV2ACSUserUpdatedV1Handler)
EventV2ACSUserUpdatedV1
智能门禁用户特征值变化时,发送此事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=acs&version=v1&resource=user&event=updated)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/acs-v1/user/events/updated
func (*EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionAuditV6 ¶
func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionAuditV6(f EventV2ApplicationApplicationAppVersionAuditV6Handler)
EventV2ApplicationApplicationAppVersionAuditV6
通过订阅该事件,可接收应用审核(通过 / 拒绝)事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=application&version=v6&resource=application.app_version&event=audit)
func (*EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishApplyV6 ¶
func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishApplyV6(f EventV2ApplicationApplicationAppVersionPublishApplyV6Handler)
EventV2ApplicationApplicationAppVersionPublishApplyV6
通过订阅该事件,可接收应用提交发布申请事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=application&version=v6&resource=application.app_version&event=publish_apply)
func (*EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishRevokeV6 ¶
func (r *EventCallbackService) HandlerEventV2ApplicationApplicationAppVersionPublishRevokeV6(f EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler)
EventV2ApplicationApplicationAppVersionPublishRevokeV6
通过订阅该事件,可接收应用撤回发布申请事件
func (*EventCallbackService) HandlerEventV2ApplicationApplicationCreatedV6 ¶
func (r *EventCallbackService) HandlerEventV2ApplicationApplicationCreatedV6(f EventV2ApplicationApplicationCreatedV6Handler)
EventV2ApplicationApplicationCreatedV6
当企业内有新的应用被创建时推送此事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=application&version=v6&resource=application&event=created)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/application/events/created
func (*EventCallbackService) HandlerEventV2ApplicationApplicationVisibilityAddedV6 ¶
func (r *EventCallbackService) HandlerEventV2ApplicationApplicationVisibilityAddedV6(f EventV2ApplicationApplicationVisibilityAddedV6Handler)
EventV2ApplicationApplicationVisibilityAddedV6
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 仅当企业的用户通过「普通成员安装」方式获得应用可用性时推送此事件。 - 订阅前提:需要是应用商店应用
func (*EventCallbackService) HandlerEventV2ApprovalApprovalUpdatedV4 ¶
func (r *EventCallbackService) HandlerEventV2ApprovalApprovalUpdatedV4(f EventV2ApprovalApprovalUpdatedV4Handler)
EventV2ApprovalApprovalUpdatedV4
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 「审批」定义更新时触发此事件 * 依赖权限:[访问审批应用] **回调示例:** ```json { "schema": "2.0", "header": {
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDO24iM4YjLygjN/event/custom-approval-event
func (*EventCallbackService) HandlerEventV2AttendanceUserFlowCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2AttendanceUserFlowCreatedV1(f EventV2AttendanceUserFlowCreatedV1Handler)
EventV2AttendanceUserFlowCreatedV1
为了更好地提升接口文档的的易理解性,我们对文档进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-list) 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) **事件** 用户打卡成功后,推送该用户的打卡流水消息。(不支持商店应用使用) **事件体** |名称|类型|描述| |---|---|---| |schema|string|事件模式| |header|event_header|事件头| | ∟event_id|string|事件 ID| | ∟event_type|string|事件类型| | ∟create_time|string|事件创建时间戳(单位:毫秒)| | ∟token|string|事件 Token| | ∟app_id|string|应用 ID| | ∟tenant_key|string|租户 Key| |event|-|事件体| | ∟employee_id|string|员工 ID| | ∟employee_no|string|员工工号| | ∟location_name|string|打卡位置名称信息| | ∟check_time|string|打卡时间,精确到秒的时间戳| | ∟comment|string|打卡备注| | ∟record_id|string|打卡记录 ID| | ∟longitude|float|打卡经度| | ∟latitude|float|打卡纬度| | ∟ssid|string|打卡 Wi-Fi 的 SSID| | ∟bssid|string|打卡 Wi-Fi 的 MAC 地址| | ∟is_field|boolean|是否为外勤打卡| | ∟is_wifi|boolean|是否为 Wi-Fi 打卡| | ∟type|int|记录生成方式,可用值:【0(用户自己打卡),1(管理员修改),2(用户补卡),3(系统自动生成),4(下班免打卡),5(考勤机打卡),6(极速打卡),7(考勤开放平台导入)】| | ∟photo_urls|string\[\]|打卡照片列表|
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance/event/user-attendance-records-event
func (*EventCallbackService) HandlerEventV2AttendanceUserTaskUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2AttendanceUserTaskUpdatedV1(f EventV2AttendanceUserTaskUpdatedV1Handler)
EventV2AttendanceUserTaskUpdatedV1
为了更好地提升接口文档的的易理解性,我们对文档进行了升级,请尽快迁移至[新版本>>](https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-list) 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) **事件** 当用户任务变更后,推送该用户的任务状态变更消息。(不支持商店应用)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/Attendance/event/user-task-status-change-event
func (*EventCallbackService) HandlerEventV2AwemeEcosystemAwemeUserBindedAccountV1 ¶
func (r *EventCallbackService) HandlerEventV2AwemeEcosystemAwemeUserBindedAccountV1(f EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler)
EventV2AwemeEcosystemAwemeUserBindedAccountV1
绑定关系变更事件 适用于获取“抖音员工号”运营者是否发生变更,即当“抖音员工号”关联的飞书账号发生变化时,可通过该权限获知到此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=aweme_ecosystem&version=v1&resource=aweme_user&event=binded_account)
func (*EventCallbackService) HandlerEventV2CalendarCalendarACLCreatedV4 ¶
func (r *EventCallbackService) HandlerEventV2CalendarCalendarACLCreatedV4(f EventV2CalendarCalendarACLCreatedV4Handler)
EventV2CalendarCalendarACLCreatedV4
当被订阅的日历上有ACL被创建时触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=calendar&version=v4&resource=calendar.acl&event=created) 特殊说明:应用首先需要调用上述接口建立订阅关系。
func (*EventCallbackService) HandlerEventV2CalendarCalendarACLDeletedV4 ¶
func (r *EventCallbackService) HandlerEventV2CalendarCalendarACLDeletedV4(f EventV2CalendarCalendarACLDeletedV4Handler)
EventV2CalendarCalendarACLDeletedV4
当被订阅的日历上有ACL被删除时触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=calendar&version=v4&resource=calendar.acl&event=deleted) 特殊说明:应用首先需要调用上述接口建立订阅关系。
func (*EventCallbackService) HandlerEventV2CalendarCalendarChangedV4 ¶
func (r *EventCallbackService) HandlerEventV2CalendarCalendarChangedV4(f EventV2CalendarCalendarChangedV4Handler)
EventV2CalendarCalendarChangedV4
当订阅用户的日历列表有日历变动时触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=calendar&version=v4&resource=calendar&event=changed) 应用首先需要调用上述接口建立订阅关系。应用收到该事件后,使用事件的 user_list 字段中的用户对应的 user_access_token 调用[获取日历列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/list)接口拉取增量的变更数据
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/events/changed
func (*EventCallbackService) HandlerEventV2CalendarCalendarEventChangedV4 ¶
func (r *EventCallbackService) HandlerEventV2CalendarCalendarEventChangedV4(f EventV2CalendarCalendarEventChangedV4Handler)
EventV2CalendarCalendarEventChangedV4
当被订阅的用户日历下有日程变更时触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=calendar&version=v4&resource=calendar.event&event=changed) 应用首先需要调用上述接口建立订阅关系。应用收到该事件后,使用事件的 user_list 字段中的用户对应的 user_access_token 调用[获取日程列表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/list)接口拉取事件中 calendar_id 字段对应的日历下的日程数据
func (*EventCallbackService) HandlerEventV2ContactCustomAttrEventUpdatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactCustomAttrEventUpdatedV3(f EventV2ContactCustomAttrEventUpdatedV3Handler)
EventV2ContactCustomAttrEventUpdatedV3
通过该事件订阅成员字段变更。old_object 展示更新字段的原始值。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=custom_attr_event&event=updated) 触发事件的动作有「打开/关闭」开关、「增加/删除」成员字段。
func (*EventCallbackService) HandlerEventV2ContactDepartmentCreatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactDepartmentCreatedV3(f EventV2ContactDepartmentCreatedV3Handler)
EventV2ContactDepartmentCreatedV3
创建通讯录部门时发送该事件给订阅应用。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=department&event=created) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/events/created
func (*EventCallbackService) HandlerEventV2ContactDepartmentDeletedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactDepartmentDeletedV3(f EventV2ContactDepartmentDeletedV3Handler)
EventV2ContactDepartmentDeletedV3
订阅这一事件可以获得被删除部门的信息。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=department&event=deleted) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/events/deleted
func (*EventCallbackService) HandlerEventV2ContactDepartmentUpdatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactDepartmentUpdatedV3(f EventV2ContactDepartmentUpdatedV3Handler)
EventV2ContactDepartmentUpdatedV3
通过该事件订阅部门更新。old_object只展示被更新字段的原始值。应用身份访问通讯录的权限为历史版本,不推荐申请。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=department&event=updated) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/events/updated
func (*EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumActivedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumActivedV3(f EventV2ContactEmployeeTypeEnumActivedV3Handler)
EventV2ContactEmployeeTypeEnumActivedV3
启用人员类型会发出对应事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=employee_type_enum&event=actived)
func (*EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumCreatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumCreatedV3(f EventV2ContactEmployeeTypeEnumCreatedV3Handler)
EventV2ContactEmployeeTypeEnumCreatedV3
新建人员类型会发出对应事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=employee_type_enum&event=created)
func (*EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeactivatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeactivatedV3(f EventV2ContactEmployeeTypeEnumDeactivatedV3Handler)
EventV2ContactEmployeeTypeEnumDeactivatedV3
停用人员类型会发出对应事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=employee_type_enum&event=deactivated)
func (*EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeletedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumDeletedV3(f EventV2ContactEmployeeTypeEnumDeletedV3Handler)
EventV2ContactEmployeeTypeEnumDeletedV3
删除人员类型会发出对应事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=employee_type_enum&event=deleted)
func (*EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumUpdatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactEmployeeTypeEnumUpdatedV3(f EventV2ContactEmployeeTypeEnumUpdatedV3Handler)
EventV2ContactEmployeeTypeEnumUpdatedV3
修改人员类型名称会发出对应事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=employee_type_enum&event=updated)
func (*EventCallbackService) HandlerEventV2ContactScopeUpdatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactScopeUpdatedV3(f EventV2ContactScopeUpdatedV3Handler)
EventV2ContactScopeUpdatedV3
当应用通讯录范围权限发生变更时,订阅这个事件的应用会收到事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=scope&event=updated)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/scope/events/updated
func (*EventCallbackService) HandlerEventV2ContactUserCreatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactUserCreatedV3(f EventV2ContactUserCreatedV3Handler)
EventV2ContactUserCreatedV3
通过该事件订阅员工入职。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=user&event=created) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/events/created
func (*EventCallbackService) HandlerEventV2ContactUserDeletedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactUserDeletedV3(f EventV2ContactUserDeletedV3Handler)
EventV2ContactUserDeletedV3
通过该事件订阅员工离职。应用身份访问通讯录的权限为历史版本,不推荐申请。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=user&event=deleted) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/events/deleted
func (*EventCallbackService) HandlerEventV2ContactUserUpdatedV3 ¶
func (r *EventCallbackService) HandlerEventV2ContactUserUpdatedV3(f EventV2ContactUserUpdatedV3Handler)
EventV2ContactUserUpdatedV3
通过该事件订阅员工变更。old_object中只展示更新的字段的原始值。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=contact&version=v3&resource=user&event=updated) 只有当应用拥有被改动字段的数据权限时,才会接收到事件。具体的数据权限与字段的关系请参考[应用权限](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN),或查看事件体参数列表的字段描述。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/events/updated
func (*EventCallbackService) HandlerEventV2DriveFileDeletedV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFileDeletedV1(f EventV2DriveFileDeletedV1Handler)
EventV2DriveFileDeletedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件被彻底删除将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-deleted-completely
func (*EventCallbackService) HandlerEventV2DriveFileEditV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFileEditV1(f EventV2DriveFileEditV1Handler)
EventV2DriveFileEditV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件编辑将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-edited
func (*EventCallbackService) HandlerEventV2DriveFilePermissionMemberAddedV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFilePermissionMemberAddedV1(f EventV2DriveFilePermissionMemberAddedV1Handler)
EventV2DriveFilePermissionMemberAddedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件协作者添加用户/群时将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-collaborator-add
func (*EventCallbackService) HandlerEventV2DriveFilePermissionMemberRemovedV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFilePermissionMemberRemovedV1(f EventV2DriveFilePermissionMemberRemovedV1Handler)
EventV2DriveFilePermissionMemberRemovedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件协作者移除用户/群时将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-collaborator-remove
func (*EventCallbackService) HandlerEventV2DriveFileReadV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFileReadV1(f EventV2DriveFileReadV1Handler)
EventV2DriveFileReadV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件被打开将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-read
func (*EventCallbackService) HandlerEventV2DriveFileTitleUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFileTitleUpdatedV1(f EventV2DriveFileTitleUpdatedV1Handler)
EventV2DriveFileTitleUpdatedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件标题变更时将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/file-title-update
func (*EventCallbackService) HandlerEventV2DriveFileTrashedV1 ¶
func (r *EventCallbackService) HandlerEventV2DriveFileTrashedV1(f EventV2DriveFileTrashedV1Handler)
EventV2DriveFileTrashedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 文件被删除到回收站将触发此事件。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/event/delete-file-to-trash-can
func (*EventCallbackService) HandlerEventV2HelpdeskNotificationApproveV1 ¶
func (r *EventCallbackService) HandlerEventV2HelpdeskNotificationApproveV1(f EventV2HelpdeskNotificationApproveV1Handler)
EventV2HelpdeskNotificationApproveV1
Push审核状态通知事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=helpdesk&version=v1&resource=notification&event=approve)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/events/approve
func (*EventCallbackService) HandlerEventV2HelpdeskTicketCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2HelpdeskTicketCreatedV1(f EventV2HelpdeskTicketCreatedV1Handler)
EventV2HelpdeskTicketCreatedV1
可监听服务台的工单创建事件。需使用订阅接口订阅:[事件订阅](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/event/overview)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created
func (*EventCallbackService) HandlerEventV2HelpdeskTicketMessageCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2HelpdeskTicketMessageCreatedV1(f EventV2HelpdeskTicketMessageCreatedV1Handler)
EventV2HelpdeskTicketMessageCreatedV1
该消息事件属于工单消息事件。需使用订阅接口订阅:[事件订阅](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/event/overview)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_message/events/created
func (*EventCallbackService) HandlerEventV2HelpdeskTicketMessageUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2HelpdeskTicketMessageUpdatedV1(f EventV2HelpdeskTicketMessageUpdatedV1Handler)
EventV2HelpdeskTicketMessageUpdatedV1
可监听工单状态和阶段变更事件。需使用订阅接口订阅:[事件订阅](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/event/overview)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/updated
func (*EventCallbackService) HandlerEventV2IMChatDisbandedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatDisbandedV1(f EventV2IMChatDisbandedV1Handler)
EventV2IMChatDisbandedV1
群组被解散后触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat&event=disbanded) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [解散群] 事件 - 事件会向群内订阅了该事件的机器人进行推送
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/disbanded
func (*EventCallbackService) HandlerEventV2IMChatMemberBotAddedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatMemberBotAddedV1(f EventV2IMChatMemberBotAddedV1Handler)
EventV2IMChatMemberBotAddedV1
机器人被用户添加至群聊时触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat.member.bot&event=added) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [机器人进群] 事件 - 事件会向进群的机器人进行推送 - 机器人邀请机器人不会触发事件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/added
func (*EventCallbackService) HandlerEventV2IMChatMemberBotDeletedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatMemberBotDeletedV1(f EventV2IMChatMemberBotDeletedV1Handler)
EventV2IMChatMemberBotDeletedV1
机器人被移出群聊后触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat.member.bot&event=deleted) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [机器人被移出群] 事件 - 事件会向被移出群的机器人进行推送
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/deleted
func (*EventCallbackService) HandlerEventV2IMChatMemberUserAddedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatMemberUserAddedV1(f EventV2IMChatMemberUserAddedV1Handler)
EventV2IMChatMemberUserAddedV1
新用户进群触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat.member.user&event=added) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [用户进群] 事件 - 事件会向群内订阅了该事件的机器人进行推送
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/added
func (*EventCallbackService) HandlerEventV2IMChatMemberUserDeletedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatMemberUserDeletedV1(f EventV2IMChatMemberUserDeletedV1Handler)
EventV2IMChatMemberUserDeletedV1
用户主动退群或被移出群聊时推送事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat.member.user&event=deleted) 注意事项: - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)并且机器人所在群发生上述变化 - 机器人需要订阅 [消息与群组] 分类下的 [用户主动退群或被移出群聊] 事件 - 事件会向群内订阅了该事件的机器人进行推送
func (*EventCallbackService) HandlerEventV2IMChatMemberUserWithdrawnV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatMemberUserWithdrawnV1(f EventV2IMChatMemberUserWithdrawnV1Handler)
EventV2IMChatMemberUserWithdrawnV1
撤销拉用户进群后触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat.member.user&event=withdrawn) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [撤销拉用户进群] 事件 - 事件会向群内订阅了该事件的机器人进行推送
func (*EventCallbackService) HandlerEventV2IMChatUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMChatUpdatedV1(f EventV2IMChatUpdatedV1Handler)
EventV2IMChatUpdatedV1
群组配置被修改后触发此事件,包含: - 群主转移 - 群基本信息修改(群头像/群名称/群描述/群国际化名称) - 群权限修改(加人入群权限/群编辑权限/at所有人权限/群分享权限)。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=chat&event=updated) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [群配置修改] 事件 - 事件会向群内订阅了该事件的机器人进行推送
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/updated
func (*EventCallbackService) HandlerEventV2IMMessageReactionCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMMessageReactionCreatedV1(f EventV2IMMessageReactionCreatedV1Handler)
EventV2IMMessageReactionCreatedV1
消息被添加某一个表情回复后触发此事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=message.reaction&event=created) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) ,具备[获取单聊、群组消息] 或 [获取与发送单聊、群组消息]权限,并订阅 [即时通讯] 分类下的 [新增表情回复] 事件才可接收推送 - 机器人只能收到所在群聊内的消息被添加表情回复事件
func (*EventCallbackService) HandlerEventV2IMMessageReactionDeletedV1 ¶
func (r *EventCallbackService) HandlerEventV2IMMessageReactionDeletedV1(f EventV2IMMessageReactionDeletedV1Handler)
EventV2IMMessageReactionDeletedV1
消息被删除某一个表情回复后触发此事件{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=message.reaction&event=deleted) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) ,具备[获取单聊、群组消息] 或 [获取与发送单聊、群组消息]权限,并订阅 [即时通讯] 分类下的 [删除表情回复] 事件才可接收推送 - 机器人只能收到所在群聊内的消息被删除表情回复事件
func (*EventCallbackService) HandlerEventV2IMMessageReadV1 ¶
func (r *EventCallbackService) HandlerEventV2IMMessageReadV1(f EventV2IMMessageReadV1Handler)
EventV2IMMessageReadV1
用户阅读机器人发送的单聊消息后触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=message&event=message_read) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 需要订阅 [消息与群组] 分类下的 [消息已读] 事件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/events/message_read
func (*EventCallbackService) HandlerEventV2IMMessageReceiveV1 ¶
func (r *EventCallbackService) HandlerEventV2IMMessageReceiveV1(f EventV2IMMessageReceiveV1Handler)
EventV2IMMessageReceiveV1
机器人接收到用户发送的消息后触发此事件。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=im&version=v1&resource=message&event=receive) 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) ,并订阅 [消息与群组] 分类下的 [接收消息v2.0] 事件才可接收推送 - 同时,将根据应用具备的权限,判断可推送的信息: - 当具备[获取用户发给机器人的单聊消息]权限或者[读取用户发给机器人的单聊消息(历史权限)],可接收与机器人单聊会话中用户发送的所有消息 - 当具备[获取群组中所有消息] 权限时,可接收与机器人所在群聊会话中用户发送的所有消息 - 当具备[获取用户在群组中@机器人的消息] 权限或者[获取用户在群聊中@机器人的消息(历史权限)],可接收机器人所在群聊中用户 @ 机器人的消息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/events/receive
func (*EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomCreatedV1 ¶
func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomCreatedV1(f EventV2MeetingRoomMeetingRoomCreatedV1Handler)
EventV2MeetingRoomMeetingRoomCreatedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 会议室被创建将触发此事件。
func (*EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomDeletedV1 ¶
func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomDeletedV1(f EventV2MeetingRoomMeetingRoomDeletedV1Handler)
EventV2MeetingRoomMeetingRoomDeletedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 会议室被删除将触发此事件。
func (*EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomStatusChangedV1 ¶
func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomStatusChangedV1(f EventV2MeetingRoomMeetingRoomStatusChangedV1Handler)
EventV2MeetingRoomMeetingRoomStatusChangedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 会议室被预定,被释放以及被修改时间时会推送此事件。
func (*EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2MeetingRoomMeetingRoomUpdatedV1(f EventV2MeetingRoomMeetingRoomUpdatedV1Handler)
EventV2MeetingRoomMeetingRoomUpdatedV1
了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM) 会议室属性更新将触发此事件。
func (*EventCallbackService) HandlerEventV2TaskTaskCommentUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2TaskTaskCommentUpdatedV1(f EventV2TaskTaskCommentUpdatedV1Handler)
EventV2TaskTaskCommentUpdatedV1
当 APP 创建的任务评论信息发生变更时触发此事件,包括任务评论的创建、回复、更新、删除。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=task&version=v1&resource=task.comment&event=updated)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/events/updated
func (*EventCallbackService) HandlerEventV2TaskTaskUpdateTenantV1 ¶
func (r *EventCallbackService) HandlerEventV2TaskTaskUpdateTenantV1(f EventV2TaskTaskUpdateTenantV1Handler)
EventV2TaskTaskUpdateTenantV1
APP 订阅此事件后可接收到该 APP 所在租户的所有来源接口创建的任务的变更事件。事件体为发生变更任务的相关用户的 open_id,可用此 open_id ,通过 ListTask 接口获取与该用户相关的所有任务。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=task&version=v1&resource=task&event=update_tenant)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/events/update_tenant
func (*EventCallbackService) HandlerEventV2TaskTaskUpdatedV1 ¶
func (r *EventCallbackService) HandlerEventV2TaskTaskUpdatedV1(f EventV2TaskTaskUpdatedV1Handler)
EventV2TaskTaskUpdatedV1
当 APP 订阅此事件后可以接收到由该 APP 创建的任务发生的变更,包括任务标题、描述、截止时间、协作者、关注者、提醒时间、状态(完成或取消完成)。{使用示例}(url=/api/tools/api_explore/api_explore_config?project=task&version=v1&resource=task&event=updated)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/events/updated
func (*EventCallbackService) HandlerEventV2VCMeetingJoinMeetingV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingJoinMeetingV1(f EventV2VCMeetingJoinMeetingV1Handler)
EventV2VCMeetingJoinMeetingV1
发生在有人加入会议时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/join_meeting
func (*EventCallbackService) HandlerEventV2VCMeetingLeaveMeetingV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingLeaveMeetingV1(f EventV2VCMeetingLeaveMeetingV1Handler)
EventV2VCMeetingLeaveMeetingV1
发生在有人离开会议时{使用示例}(url=/api/tools/api_explore/api_explore_config?project=vc&version=v1&resource=meeting&event=leave_meeting)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/leave_meeting
func (*EventCallbackService) HandlerEventV2VCMeetingMeetingEndedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingMeetingEndedV1(f EventV2VCMeetingMeetingEndedV1Handler)
EventV2VCMeetingMeetingEndedV1
发生在会议结束时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/meeting_ended
func (*EventCallbackService) HandlerEventV2VCMeetingMeetingStartedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingMeetingStartedV1(f EventV2VCMeetingMeetingStartedV1Handler)
EventV2VCMeetingMeetingStartedV1
发生在会议开始时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/meeting_started
func (*EventCallbackService) HandlerEventV2VCMeetingRecordingEndedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingEndedV1(f EventV2VCMeetingRecordingEndedV1Handler)
EventV2VCMeetingRecordingEndedV1
发生在录制结束时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/recording_ended
func (*EventCallbackService) HandlerEventV2VCMeetingRecordingReadyV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingReadyV1(f EventV2VCMeetingRecordingReadyV1Handler)
EventV2VCMeetingRecordingReadyV1
发生在录制文件上传完毕时 收到该事件后,方可进行录制文件获取、授权等操作
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/recording_ready
func (*EventCallbackService) HandlerEventV2VCMeetingRecordingStartedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingRecordingStartedV1(f EventV2VCMeetingRecordingStartedV1Handler)
EventV2VCMeetingRecordingStartedV1
发生在开始录制时
func (*EventCallbackService) HandlerEventV2VCMeetingShareEndedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingShareEndedV1(f EventV2VCMeetingShareEndedV1Handler)
EventV2VCMeetingShareEndedV1
发生在屏幕共享结束时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/share_ended
func (*EventCallbackService) HandlerEventV2VCMeetingShareStartedV1 ¶
func (r *EventCallbackService) HandlerEventV2VCMeetingShareStartedV1(f EventV2VCMeetingShareStartedV1Handler)
EventV2VCMeetingShareStartedV1
发生在屏幕共享开始时
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/events/share_started
func (*EventCallbackService) ListenCallback ¶
func (r *EventCallbackService) ListenCallback(ctx context.Context, reader io.Reader, writer http.ResponseWriter)
https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM#8f960a4b
func (*EventCallbackService) ListenCardCallback ¶
func (r *EventCallbackService) ListenCardCallback(ctx context.Context, checkSecurity bool, header http.Header, reader io.Reader, writer http.ResponseWriter)
ListenCardCallback 卡片消息回调监听
https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM#8f960a4b
func (*EventCallbackService) ListenSecurityCallback ¶
func (r *EventCallbackService) ListenSecurityCallback(ctx context.Context, header http.Header, reader io.Reader, writer http.ResponseWriter)
https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM#8f960a4b
type EventCardCallback ¶
type EventCardCallback struct { RefreshToken string `json:"refresh_token"` // header: X-Refresh-Token OpenID string `json:"open_id"` UserID string `json:"user_id"` OpenMessageID string `json:"open_message_id"` TenantKey string `json:"tenant_key"` Token string `json:"token"` // 更新卡片用的token(凭证) Action *EventCardCallbackAction `json:"action"` }
EventCardCallback ...
type EventCardCallbackAction ¶
type EventCardCallbackAction struct { Value json.RawMessage `json:"value"` // 交互元素的value字段值 Tag string `json:"tag"` // 交互元素的tag字段值 Option string `json:"option"` // 选中option的value(button元素不适用) }
EventCardCallbackAction ...
type EventCardHandler ¶
type EventCardHandler func(ctx context.Context, cli *Lark, event *EventCardCallback) (string, error)
EventCardHandler ...
type EventHeaderV1 ¶
type EventHeaderV1 struct { UUID string `json:"event_id,omitempty"` // 事件 ID EventType EventType `json:"event_type,omitempty"` // 事件类型 TS string `json:"create_time,omitempty"` // 事件创建时间戳(单位:毫秒) Token string `json:"token,omitempty"` // 事件 Token }
EventHeaderV1 ...
type EventHeaderV2 ¶
type EventHeaderV2 struct { EventID string `json:"event_id,omitempty"` // 事件 ID EventType EventType `json:"event_type,omitempty"` // 事件类型 CreateTime string `json:"create_time,omitempty"` // 事件创建时间戳(单位:毫秒) Token string `json:"token,omitempty"` // 事件 Token AppID string `json:"app_id,omitempty"` // 应用 ID TenantKey string `json:"tenant_key,omitempty"` // 租户 Key }
EventHeaderV2 ...
type EventType ¶
type EventType string
EventType event type
const ( EventTypeV2ApplicationApplicationAppVersionAuditV6 EventType = "application.application.app_version.audit_v6" EventTypeV2ApplicationApplicationAppVersionPublishApplyV6 EventType = "application.application.app_version.publish_apply_v6" EventTypeV2ApplicationApplicationAppVersionPublishRevokeV6 EventType = "application.application.app_version.publish_revoke_v6" EventTypeV2ApplicationApplicationCreatedV6 EventType = "application.application.created_v6" EventTypeV2ContactCustomAttrEventUpdatedV3 EventType = "contact.custom_attr_event.updated_v3" EventTypeV2DriveFileTitleUpdatedV1 EventType = "drive.file.title_updated_v1" EventTypeV2DriveFileReadV1 EventType = "drive.file.read_v1" EventTypeV2DriveFileEditV1 EventType = "drive.file.edit_v1" EventTypeV1AppOpen EventType = "app_open" EventTypeV1ShiftApproval EventType = "shift_approval" EventTypeV1LeaveApprovalV2 EventType = "leave_approvalV2" EventTypeV1OutApproval EventType = "out_approval" EventTypeV1WorkApproval EventType = "work_approval" EventTypeV2DriveFilePermissionMemberAddedV1 EventType = "drive.file.permission_member_added_v1" EventTypeV2DriveFileTrashedV1 EventType = "drive.file.trashed_v1" EventTypeV2DriveFileDeletedV1 EventType = "drive.file.deleted_v1" EventTypeV2DriveFilePermissionMemberRemovedV1 EventType = "drive.file.permission_member_removed_v1" EventTypeV2ApprovalApprovalUpdatedV4 EventType = "approval.approval.updated_v4" EventTypeV1TripApproval EventType = "trip_approval" EventTypeV1RemedyApproval EventType = "remedy_approval" EventTypeV2MeetingRoomMeetingRoomUpdatedV1 EventType = "meeting_room.meeting_room.updated_v1" EventTypeV2MeetingRoomMeetingRoomStatusChangedV1 EventType = "meeting_room.meeting_room.status_changed_v1" EventTypeV2MeetingRoomMeetingRoomDeletedV1 EventType = "meeting_room.meeting_room.deleted_v1" EventTypeV2MeetingRoomMeetingRoomCreatedV1 EventType = "meeting_room.meeting_room.created_v1" EventTypeV1ThirdPartyMeetingRoomEventCreated EventType = "third_party_meeting_room_event_created" EventTypeV1ThirdPartyMeetingRoomEventUpdated EventType = "third_party_meeting_room_event_updated" EventTypeV1ThirdPartyMeetingRoomEventDeleted EventType = "third_party_meeting_room_event_deleted" EventTypeV1OrderPaid EventType = "order_paid" EventTypeV1AppTicket EventType = "app_ticket" EventTypeV1AppUninstalled EventType = "app_uninstalled" EventTypeV1AppStatusChange EventType = "app_status_change" EventTypeV2ApplicationApplicationVisibilityAddedV6 EventType = "application.application.visibility.added_v6" EventTypeV2AttendanceUserTaskUpdatedV1 EventType = "attendance.user_task.updated_v1" EventTypeV2AttendanceUserFlowCreatedV1 EventType = "attendance.user_flow.created_v1" EventTypeV2AwemeEcosystemAwemeUserBindedAccountV1 EventType = "aweme_ecosystem.aweme_user.binded_account_v1" EventTypeV2TaskTaskUpdateTenantV1 EventType = "task.task.update_tenant_v1" EventTypeV2TaskTaskUpdatedV1 EventType = "task.task.updated_v1" EventTypeV2TaskTaskCommentUpdatedV1 EventType = "task.task.comment.updated_v1" EventTypeV2HelpdeskTicketMessageCreatedV1 EventType = "helpdesk.ticket_message.created_v1" EventTypeV2HelpdeskTicketCreatedV1 EventType = "helpdesk.ticket.created_v1" EventTypeV2HelpdeskTicketMessageUpdatedV1 EventType = "helpdesk.ticket.updated_v1" EventTypeV2HelpdeskNotificationApproveV1 EventType = "helpdesk.notification.approve_v1" EventTypeV2ContactDepartmentCreatedV3 EventType = "contact.department.created_v3" EventTypeV2ContactDepartmentDeletedV3 EventType = "contact.department.deleted_v3" EventTypeV2ContactDepartmentUpdatedV3 EventType = "contact.department.updated_v3" EventTypeV2ContactUserUpdatedV3 EventType = "contact.user.updated_v3" EventTypeV2ContactUserCreatedV3 EventType = "contact.user.created_v3" EventTypeV2ContactUserDeletedV3 EventType = "contact.user.deleted_v3" EventTypeV2ContactScopeUpdatedV3 EventType = "contact.scope.updated_v3" EventTypeV2ContactEmployeeTypeEnumCreatedV3 EventType = "contact.employee_type_enum.created_v3" EventTypeV2ContactEmployeeTypeEnumActivedV3 EventType = "contact.employee_type_enum.actived_v3" EventTypeV2ContactEmployeeTypeEnumDeactivatedV3 EventType = "contact.employee_type_enum.deactivated_v3" EventTypeV2ContactEmployeeTypeEnumUpdatedV3 EventType = "contact.employee_type_enum.updated_v3" EventTypeV2ContactEmployeeTypeEnumDeletedV3 EventType = "contact.employee_type_enum.deleted_v3" EventTypeV2IMMessageReceiveV1 EventType = "im.message.receive_v1" EventTypeV2IMMessageReadV1 EventType = "im.message.message_read_v1" EventTypeV2IMMessageReactionDeletedV1 EventType = "im.message.reaction.deleted_v1" EventTypeV2IMMessageReactionCreatedV1 EventType = "im.message.reaction.created_v1" EventTypeV2IMChatDisbandedV1 EventType = "im.chat.disbanded_v1" EventTypeV2IMChatUpdatedV1 EventType = "im.chat.updated_v1" EventTypeV2IMChatMemberBotAddedV1 EventType = "im.chat.member.bot.added_v1" EventTypeV2IMChatMemberBotDeletedV1 EventType = "im.chat.member.bot.deleted_v1" EventTypeV2IMChatMemberUserAddedV1 EventType = "im.chat.member.user.added_v1" EventTypeV2IMChatMemberUserWithdrawnV1 EventType = "im.chat.member.user.withdrawn_v1" EventTypeV2IMChatMemberUserDeletedV1 EventType = "im.chat.member.user.deleted_v1" EventTypeV2VCMeetingMeetingStartedV1 EventType = "vc.meeting.meeting_started_v1" EventTypeV2VCMeetingMeetingEndedV1 EventType = "vc.meeting.meeting_ended_v1" EventTypeV2VCMeetingJoinMeetingV1 EventType = "vc.meeting.join_meeting_v1" EventTypeV2VCMeetingLeaveMeetingV1 EventType = "vc.meeting.leave_meeting_v1" EventTypeV2VCMeetingRecordingStartedV1 EventType = "vc.meeting.recording_started_v1" EventTypeV2VCMeetingRecordingEndedV1 EventType = "vc.meeting.recording_ended_v1" EventTypeV2VCMeetingRecordingReadyV1 EventType = "vc.meeting.recording_ready_v1" EventTypeV2ACSAccessRecordCreatedV1 EventType = "acs.access_record.created_v1" EventTypeV2ACSUserUpdatedV1 EventType = "acs.user.updated_v1" EventTypeV2CalendarCalendarACLCreatedV4 EventType = "calendar.calendar.acl.created_v4" EventTypeV2CalendarCalendarACLDeletedV4 EventType = "calendar.calendar.acl.deleted_v4" EventTypeV2CalendarCalendarEventChangedV4 EventType = "calendar.calendar.event.changed_v4" EventTypeV2CalendarCalendarChangedV4 EventType = "calendar.calendar.changed_v4" EventTypeV1AddBot EventType = "add_bot" EventTypeV1RemoveBot EventType = "remove_bot" EventTypeV1P2PChatCreate EventType = "p2p_chat_create" EventTypeV1ReceiveMessage EventType = "message" EventTypeV1AddUserToChat EventType = "add_user_to_chat" EventTypeV1RemoveUserFromChat EventType = "remove_user_from_chat" EventTypeV1RevokeAddUserFromChat EventType = "revoke_add_user_from_chat" EventTypeV1ChatDisband EventType = "chat_disband" )
type EventV1AddBot ¶
type EventV1AddBot struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatI18nNames *EventV1AddBotEventChatI18nNames `json:"chat_i18n_names,omitempty"` // 群名称国际化字段 ChatName string `json:"chat_name,omitempty"` // 如: 群名称 ChatOwnerEmployeeID string `json:"chat_owner_employee_id,omitempty"` // 群主的employee_id(即“用户ID”。如果群主是机器人则没有这个字段,仅企业自建应用返回). 如: ca51d83b ChatOwnerName string `json:"chat_owner_name,omitempty"` // 群主姓名. 如: xxx ChatOwnerOpenID string `json:"chat_owner_open_id,omitempty"` // 群主的open_id. 如: ou_18eac85d35a26f989317ad4f02e8bbbb OpenChatID string `json:"open_chat_id,omitempty"` // 群聊的id. 如: oc_e520983d3e4f5ec7306069bffe672aa3 OperatorEmployeeID string `json:"operator_employee_id,omitempty"` // 操作者的emplolyee_id ,仅企业自建应用返回. 如: ca51d83b OperatorName string `json:"operator_name,omitempty"` // 操作者姓名. 如: yyy OperatorOpenID string `json:"operator_open_id,omitempty"` // 操作者的open_id. 如: ou_18eac85d35a26f989317ad4f02e8bbbb OwnerIsBot bool `json:"owner_is_bot,omitempty"` // 群主是否是机器人. 如: false TenantKey string `json:"tenant_key,omitempty"` // 企业标识. 如: 736588c9260f175d Type string `json:"type,omitempty"` // 事件类型. 如: add_bot }
EventV1AddBot ...
type EventV1AddBotEventChatI18nNames ¶
type EventV1AddBotEventChatI18nNames struct { EnUs string `json:"en_us,omitempty"` // 如: 英文标题 ZhCn string `json:"zh_cn,omitempty"` // 如: 中文标题 }
EventV1AddBotEventChatI18nNames ...
type EventV1AddBotHandler ¶
type EventV1AddBotHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AddBot) (string, error)
EventV1AddBotHandler event EventV1AddBot handler
type EventV1AddUserToChat ¶
type EventV1AddUserToChat struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatID string `json:"chat_id,omitempty"` // 群聊的id. 如: oc_9e9619b938c9571c1c3165681cdaead5 Operator *EventV1AddUserToChatEventOperator `json:"operator,omitempty"` // 用户进出群的操作人。用户主动退群的话,operator 就是user自己 TenantKey string `json:"tenant_key,omitempty"` // 如: 736588c9260f175d Type string `json:"type,omitempty"` // 事件类型,add_user_to_chat/remove_user_from_chat/revoke_add_user_from_chat. 如: add_user_to_chat Users []*EventV1AddUserToChatEventUser `json:"users,omitempty"` }
EventV1AddUserToChat ...
type EventV1AddUserToChatEventOperator ¶
type EventV1AddUserToChatEventOperator struct { OpenID string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同. 如: ou_18eac85d35a26f989317ad4f02e8bbbb UserID string `json:"user_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: ca51d83b }
EventV1AddUserToChatEventOperator ...
type EventV1AddUserToChatEventUser ¶
type EventV1AddUserToChatEventUser struct { Name string `json:"name,omitempty"` // 如: James OpenID string `json:"open_id,omitempty"` // 如: ou_706adeb944ab1473b9fb3e7da2a40b68 UserID string `json:"user_id,omitempty"` // 如: 51g97a4g }
EventV1AddUserToChatEventUser ...
type EventV1AddUserToChatHandler ¶
type EventV1AddUserToChatHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AddUserToChat) (string, error)
EventV1AddUserToChatHandler event EventV1AddUserToChat handler
type EventV1AppOpen ¶
type EventV1AppOpen struct { AppID string `json:"app_id,omitempty"` // 开通的应用ID. 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 开通应用的企业唯一标识. 如: xxx Type string `json:"type,omitempty"` // 事件类型. 如: app_open Applicants []*EventV1AppOpenEventApplicant `json:"applicants,omitempty"` // 应用的申请者,可能有多个 Installer *EventV1AppOpenEventInstaller `json:"installer,omitempty"` // 当应用被管理员安装时,返回此字段。如果是自动安装或由普通成员获取时,没有此字段 InstallerEmployee *EventV1AppOpenEventInstallerEmployee `json:"installer_employee,omitempty"` // 当应用被普通成员安装时,返回此字段 }
EventV1AppOpen ...
type EventV1AppOpenEventApplicant ¶
type EventV1AppOpenEventApplicant struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同. 如: xxx
}
EventV1AppOpenEventApplicant ...
type EventV1AppOpenEventInstaller ¶
type EventV1AppOpenEventInstaller struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同. 如: xxx
}
EventV1AppOpenEventInstaller ...
type EventV1AppOpenEventInstallerEmployee ¶
type EventV1AppOpenEventInstallerEmployee struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同. 如: xxx
}
EventV1AppOpenEventInstallerEmployee ...
type EventV1AppOpenHandler ¶
type EventV1AppOpenHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AppOpen) (string, error)
EventV1AppOpenHandler event EventV1AppOpen handler
type EventV1AppStatusChange ¶
type EventV1AppStatusChange struct { AppID string `json:"app_id,omitempty"` // 应用ID. 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 企业唯一标识. 如: xxx Type string `json:"type,omitempty"` // 事件类型. 如: app_status_change Status string `json:"status,omitempty"` // 应用状态 start_by_tenant: 租户启用; stop_by_tenant: 租户停用; stop_by_platform: 平台停用. 如: start_by_tenant Operator *EventV1AppStatusChangeEventOperator `json:"operator,omitempty"` // 仅status=start_by_tenant时有此字段 }
EventV1AppStatusChange ...
type EventV1AppStatusChangeEventOperator ¶
type EventV1AppStatusChangeEventOperator struct { OpenID string `json:"open_id,omitempty"` // 如: xxx UserID string `json:"user_id,omitempty"` // 仅自建应用才会返回. 如: yyy UnionID string `json:"union_id,omitempty"` // 用户在ISV下的唯一标识. 如: zzz }
EventV1AppStatusChangeEventOperator ...
type EventV1AppStatusChangeHandler ¶
type EventV1AppStatusChangeHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AppStatusChange) (string, error)
EventV1AppStatusChangeHandler event EventV1AppStatusChange handler
type EventV1AppTicket ¶
type EventV1AppTicket struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx AppTicket string `json:"app_ticket,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: app_ticket }
EventV1AppTicket ...
type EventV1AppTicketHandler ¶
type EventV1AppTicketHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AppTicket) (string, error)
EventV1AppTicketHandler event EventV1AppTicket handler
type EventV1AppUninstalled ¶
type EventV1AppUninstalled struct { AppID string `json:"app_id,omitempty"` // 被卸载的应用ID. 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 卸载应用的企业ID. 如: xxx Type string `json:"type,omitempty"` // 事件类型. 如: app_uninstalled }
EventV1AppUninstalled ...
type EventV1AppUninstalledHandler ¶
type EventV1AppUninstalledHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1AppUninstalled) (string, error)
EventV1AppUninstalledHandler event EventV1AppUninstalled handler
type EventV1ChatDisband ¶
type EventV1ChatDisband struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatID string `json:"chat_id,omitempty"` // 如: oc_9f2df3c095c9395334bb6e70ced0fa83 Operator *EventV1ChatDisbandEventOperator `json:"operator,omitempty"` TenantKey string `json:"tenant_key,omitempty"` // 如: 736588c9260f175d Type string `json:"type,omitempty"` // 如: chat_disband }
EventV1ChatDisband ...
type EventV1ChatDisbandEventOperator ¶
type EventV1ChatDisbandEventOperator struct { OpenID string `json:"open_id,omitempty"` // 如: ou_18eac85d35a26f989317ad4f02e8bbbb UserID string `json:"user_id,omitempty"` // 如: ca51d83b }
EventV1ChatDisbandEventOperator ...
type EventV1ChatDisbandHandler ¶
type EventV1ChatDisbandHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ChatDisband) (string, error)
EventV1ChatDisbandHandler event EventV1ChatDisband handler
type EventV1LeaveApprovalV2 ¶
type EventV1LeaveApprovalV2 struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: leave_approvalV2 InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code. 如: xxx UserID string `json:"user_id,omitempty"` // 用户id. 如: xxx StartTime int64 `json:"start_time,omitempty"` // 审批发起时间. 如: 1564590532 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1564590532 LeaveName string `json:"leave_name,omitempty"` // 假期名称. 如: @i18n@123456 LeaveUnit string `json:"leave_unit,omitempty"` // 请假最小时长. 如: DAY LeaveStartTime string `json:"leave_start_time,omitempty"` // 请假开始时间. 如: 2019-10-01 00:00:00 LeaveEndTime string `json:"leave_end_time,omitempty"` // 请假结束时间. 如: 2019-10-02 00:00:00 LeaveDetail []string `json:"leave_detail,omitempty"` // 具体的请假明细时间 LeaveRange []string `json:"leave_range,omitempty"` // 具体的请假时间范围 LeaveInterval int64 `json:"leave_interval,omitempty"` // 请假时长,单位(秒). 如: 86400 LeaveReason string `json:"leave_reason,omitempty"` // 请假事由. 如: abc I18nResources []*EventV1LeaveApprovalV2EventI18nResource `json:"i18n_resources,omitempty"` // 国际化文案 }
EventV1LeaveApprovalV2 ...
type EventV1LeaveApprovalV2EventI18nResource ¶
type EventV1LeaveApprovalV2EventI18nResource struct { Locale string `json:"locale,omitempty"` // 如: en_us IsDefault bool `json:"is_default,omitempty"` // 如: true Texts map[string]string `json:"texts,omitempty"` }
EventV1LeaveApprovalV2EventI18nResource ...
type EventV1LeaveApprovalV2Handler ¶
type EventV1LeaveApprovalV2Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1LeaveApprovalV2) (string, error)
EventV1LeaveApprovalV2Handler event EventV1LeaveApprovalV2 handler
type EventV1OrderPaid ¶
type EventV1OrderPaid struct { Type string `json:"type,omitempty"` // 事件类型. 如: order_paid AppID string `json:"app_id,omitempty"` // 应用ID. 如: cli_9daeceab98721136 OrderID string `json:"order_id,omitempty"` // 用户购买付费方案时对订单ID 可作为唯一标识. 如: 6704894492631105539 PricePlanID string `json:"price_plan_id,omitempty"` // 付费方案ID. 如: price_9d86fa1333b8110c PricePlanType string `json:"price_plan_type,omitempty"` // 用户购买方案类型 "trial" -试用;"permanent"-一次性付费;"per_year"-企业年付费;"per_month"-企业月付费;"per_seat_per_year"-按人按年付费;"per_seat_per_month"-按人按月付费;"permanent_count"-按次付费. 如: per_seat_per_month Seats int64 `json:"seats,omitempty"` // 表示购买了多少人份. 如: 20 BuyCount int64 `json:"buy_count,omitempty"` // 套餐购买数量 目前都为1. 如: 1 CreateTime string `json:"create_time,omitempty"` // 如: 1502199207 PayTime string `json:"pay_time,omitempty"` // 如: 1502199209 BuyType string `json:"buy_type,omitempty"` // 购买类型 buy普通购买 upgrade为升级购买 renew为续费购买. 如: buy SrcOrderID string `json:"src_order_id,omitempty"` // 当前为升级购买时(buy_type 为upgrade),该字段表示原订单ID,升级后原订单失效,状态变为已升级(业务方需要处理). 如: 6704894492631105539 OrderPayPrice int64 `json:"order_pay_price,omitempty"` // 订单支付价格 单位分,. 如: 10000 TenantKey string `json:"tenant_key,omitempty"` // 购买应用的企业标示. 如: 2f98c01bc23f6847 }
EventV1OrderPaid ...
type EventV1OrderPaidHandler ¶
type EventV1OrderPaidHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1OrderPaid) (string, error)
EventV1OrderPaidHandler event EventV1OrderPaid handler
type EventV1OutApproval ¶
type EventV1OutApproval struct { AppID string `json:"app_id,omitempty"` // 如: cli_9e28cb7ba56a100e I18nResources []*EventV1OutApprovalEventI18nResource `json:"i18n_resources,omitempty"` InstanceCode string `json:"instance_code,omitempty"` // 此审批的唯一标识. 如: 59558CEE-CEF4-45C9-A2C3-DCBF8BEC7341 OutImage string `json:"out_image,omitempty"` OutInterval int64 `json:"out_interval,omitempty"` // 外出时长,单位秒. 如: 10800 OutName string `json:"out_name,omitempty"` // 通过i18n_resources里的信息换取相应语言的文案. 如: @i18n@someKey OutReason string `json:"out_reason,omitempty"` // 如: 外出事由 OutStartTime string `json:"out_start_time,omitempty"` // 如: 2020-05-15 15:00:00 OutEndTime string `json:"out_end_time,omitempty"` // 如: 2020-05-15 18:00:00 OutUnit string `json:"out_unit,omitempty"` // 外出时长的单位,HOUR 小时,DAY 天,HALF_DAY 半天. 如: HOUR StartTime int64 `json:"start_time,omitempty"` // 审批开始时间. 如: 1589527346 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1589527354 TenantKey string `json:"tenant_key,omitempty"` // 企业唯一标识. 如: 2d520d3b434f175e Type string `json:"type,omitempty"` // 事件类型. 如: out_approval UserID string `json:"user_id,omitempty"` // 申请发起人. 如: g6964gd3 }
EventV1OutApproval ...
type EventV1OutApprovalEventI18nResource ¶
type EventV1OutApprovalEventI18nResource struct { IsDefault bool `json:"is_default,omitempty"` // 如: true Locale string `json:"locale,omitempty"` // 如: zh_cn Texts map[string]string `json:"texts,omitempty"` }
EventV1OutApprovalEventI18nResource ...
type EventV1OutApprovalHandler ¶
type EventV1OutApprovalHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1OutApproval) (string, error)
EventV1OutApprovalHandler event EventV1OutApproval handler
type EventV1P2PChatCreate ¶
type EventV1P2PChatCreate struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatID string `json:"chat_id,omitempty"` // 机器人和用户的会话id. 如: oc_26b66a5eb603162b849f91bcd8815b20 Operator *EventV1P2PChatCreateEventOperator `json:"operator,omitempty"` // 会话的发起人。可能是用户,也可能是机器人。 TenantKey string `json:"tenant_key,omitempty"` // 企业标识. 如: 736588c9260f175c Type string `json:"type,omitempty"` // 事件类型. 如: p2p_chat_create User *EventV1P2PChatCreateEventUser `json:"user,omitempty"` // 会话的用户 }
EventV1P2PChatCreate ...
type EventV1P2PChatCreateEventOperator ¶
type EventV1P2PChatCreateEventOperator struct { OpenID string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同. 如: ou_2d2c0399b53d06fd195bb393cd1e38f2 UserID string `json:"user_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: gfa21d92 }
EventV1P2PChatCreateEventOperator ...
type EventV1P2PChatCreateEventUser ¶
type EventV1P2PChatCreateEventUser struct { Name string `json:"name,omitempty"` // 如: 张三 OpenID string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同. 如: ou_7dede290d6a27698b969a7fd70ca53da UserID string `json:"user_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: gfa21d92 }
EventV1P2PChatCreateEventUser ...
type EventV1P2PChatCreateHandler ¶
type EventV1P2PChatCreateHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1P2PChatCreate) (string, error)
EventV1P2PChatCreateHandler event EventV1P2PChatCreate handler
type EventV1ReceiveMessage ¶
type EventV1ReceiveMessage struct { Type string `json:"type,omitempty"` // 事件类型. 如: message AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 企业标识. 如: xxx RootID string `json:"root_id,omitempty"` // 如: ParentID string `json:"parent_id,omitempty"` // 如: OpenChatID string `json:"open_chat_id,omitempty"` // 如: oc_5ce6d572455d361153b7cb51da133945 ChatType ChatType `json:"chat_type,omitempty"` // 私聊private,群聊group. 如: private MsgType MsgType `json:"msg_type,omitempty"` // 消息类型. 如: text OpenID string `json:"open_id,omitempty"` // 如: ou_18eac85d35a26f989317ad4f02e8bbbb EmployeeID string `json:"employee_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: xxx UnionID string `json:"union_id,omitempty"` // 如: xxx OpenMessageID string `json:"open_message_id,omitempty"` // 如: om_36686ee62209da697d8775375d0c8e88 IsMention bool `json:"is_mention,omitempty"` Text string `json:"text,omitempty"` // 消息文本,可能包含被@的人/机器人。如: <at open_id="xxx">@小助手</at> 消息内容 <at open_id="yyy">@张三</at> TextWithoutAtBot string `json:"text_without_at_bot,omitempty"` // 消息内容,会过滤掉at你的机器人的内容. 如: 消息内容 <at open_id="yyy">@张三</at> Title string `json:"title,omitempty"` // 富文本标题 ImageKeys []string `json:"image_keys,omitempty"` // 富文本里面的图片的keys ImageKey string `json:"image_key,omitempty"` // 图片内容 FileKey string `json:"file_key,omitempty"` // 文件内容 }
EventV1ReceiveMessage ...
type EventV1ReceiveMessageHandler ¶
type EventV1ReceiveMessageHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ReceiveMessage) (string, error)
EventV1ReceiveMessageHandler event EventV1ReceiveMessage handler
type EventV1RemedyApproval ¶
type EventV1RemedyApproval struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: remedy_approval InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code. 如: xxx EmployeeID string `json:"employee_id,omitempty"` // 用户id. 如: xxx StartTime int64 `json:"start_time,omitempty"` // 审批发起时间. 如: 1502199207 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1502199307 RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间. 如: 2018-12-01 12:00:00 RemedyReason string `json:"remedy_reason,omitempty"` // 补卡原因. 如: xxx }
EventV1RemedyApproval ...
type EventV1RemedyApprovalHandler ¶
type EventV1RemedyApprovalHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1RemedyApproval) (string, error)
EventV1RemedyApprovalHandler event EventV1RemedyApproval handler
type EventV1RemoveBot ¶
type EventV1RemoveBot struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatI18nNames *EventV1RemoveBotEventChatI18nNames `json:"chat_i18n_names,omitempty"` // 群名称国际化字段 ChatName string `json:"chat_name,omitempty"` // 如: 群名称 ChatOwnerEmployeeID string `json:"chat_owner_employee_id,omitempty"` // 群主的employee_id(即“用户ID”。如果群主是机器人则没有这个字段,仅企业自建应用返回). 如: ca51d83b ChatOwnerName string `json:"chat_owner_name,omitempty"` // 群主姓名. 如: xxx ChatOwnerOpenID string `json:"chat_owner_open_id,omitempty"` // 群主的open_id. 如: ou_18eac85d35a26f989317ad4f02e8bbbb OpenChatID string `json:"open_chat_id,omitempty"` // 群聊的id. 如: oc_e520983d3e4f5ec7306069bffe672aa3 OperatorEmployeeID string `json:"operator_employee_id,omitempty"` // 操作者的emplolyee_id ,仅企业自建应用返回. 如: ca51d83b OperatorName string `json:"operator_name,omitempty"` // 操作者姓名. 如: yyy OperatorOpenID string `json:"operator_open_id,omitempty"` // 操作者的open_id. 如: ou_18eac85d35a26f989317ad4f02e8bbbb OwnerIsBot bool `json:"owner_is_bot,omitempty"` // 群主是否是机器人. 如: false TenantKey string `json:"tenant_key,omitempty"` // 企业标识. 如: 736588c9260f175d Type string `json:"type,omitempty"` // 移除机器人:remove_bot. 如: remove_bot }
EventV1RemoveBot ...
type EventV1RemoveBotEventChatI18nNames ¶
type EventV1RemoveBotEventChatI18nNames struct { EnUs string `json:"en_us,omitempty"` // 如: 英文标题 ZhCn string `json:"zh_cn,omitempty"` // 如: 中文标题 }
EventV1RemoveBotEventChatI18nNames ...
type EventV1RemoveBotHandler ¶
type EventV1RemoveBotHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1RemoveBot) (string, error)
EventV1RemoveBotHandler event EventV1RemoveBot handler
type EventV1RemoveUserFromChat ¶
type EventV1RemoveUserFromChat struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatID string `json:"chat_id,omitempty"` // 群聊的id. 如: oc_9e9619b938c9571c1c3165681cdaead5 Operator *EventV1RemoveUserFromChatEventOperator `json:"operator,omitempty"` // 用户进出群的操作人。用户主动退群的话,operator 就是user自己 TenantKey string `json:"tenant_key,omitempty"` // 如: 736588c9260f175d Type string `json:"type,omitempty"` // 事件类型,add_user_to_chat/remove_user_from_chat/revoke_add_user_from_chat. 如: add_user_to_chat Users []*EventV1RemoveUserFromChatEventUser `json:"users,omitempty"` }
EventV1RemoveUserFromChat ...
type EventV1RemoveUserFromChatEventOperator ¶
type EventV1RemoveUserFromChatEventOperator struct { OpenID string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同. 如: ou_18eac85d35a26f989317ad4f02e8bbbb UserID string `json:"user_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: ca51d83b }
EventV1RemoveUserFromChatEventOperator ...
type EventV1RemoveUserFromChatEventUser ¶
type EventV1RemoveUserFromChatEventUser struct { Name string `json:"name,omitempty"` // 如: James OpenID string `json:"open_id,omitempty"` // 如: ou_706adeb944ab1473b9fb3e7da2a40b68 UserID string `json:"user_id,omitempty"` // 如: 51g97a4g }
EventV1RemoveUserFromChatEventUser ...
type EventV1RemoveUserFromChatHandler ¶
type EventV1RemoveUserFromChatHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1RemoveUserFromChat) (string, error)
EventV1RemoveUserFromChatHandler event EventV1RemoveUserFromChat handler
type EventV1RevokeAddUserFromChat ¶
type EventV1RevokeAddUserFromChat struct { AppID string `json:"app_id,omitempty"` // 如: cli_9c8609450f78d102 ChatID string `json:"chat_id,omitempty"` // 群聊的id. 如: oc_9e9619b938c9571c1c3165681cdaead5 Operator *EventV1RevokeAddUserFromChatEventOperator `json:"operator,omitempty"` // 用户进出群的操作人。用户主动退群的话,operator 就是user自己 TenantKey string `json:"tenant_key,omitempty"` // 如: 736588c9260f175d Type string `json:"type,omitempty"` // 事件类型,add_user_to_chat/remove_user_from_chat/revoke_add_user_from_chat. 如: add_user_to_chat Users []*EventV1RevokeAddUserFromChatEventUser `json:"users,omitempty"` }
EventV1RevokeAddUserFromChat ...
type EventV1RevokeAddUserFromChatEventOperator ¶
type EventV1RevokeAddUserFromChatEventOperator struct { OpenID string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同. 如: ou_18eac85d35a26f989317ad4f02e8bbbb UserID string `json:"user_id,omitempty"` // 即“用户ID”,仅企业自建应用会返回. 如: ca51d83b }
EventV1RevokeAddUserFromChatEventOperator ...
type EventV1RevokeAddUserFromChatEventUser ¶
type EventV1RevokeAddUserFromChatEventUser struct { Name string `json:"name,omitempty"` // 如: James OpenID string `json:"open_id,omitempty"` // 如: ou_706adeb944ab1473b9fb3e7da2a40b68 UserID string `json:"user_id,omitempty"` // 如: 51g97a4g }
EventV1RevokeAddUserFromChatEventUser ...
type EventV1RevokeAddUserFromChatHandler ¶
type EventV1RevokeAddUserFromChatHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1RevokeAddUserFromChat) (string, error)
EventV1RevokeAddUserFromChatHandler event EventV1RevokeAddUserFromChat handler
type EventV1ShiftApproval ¶
type EventV1ShiftApproval struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: shift_approval InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code. 如: xxx EmployeeID string `json:"employee_id,omitempty"` // 用户id. 如: xxx StartTime int64 `json:"start_time,omitempty"` // 审批发起时间. 如: 1502199207 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1502199307 ShiftTime string `json:"shift_time,omitempty"` // 换班时间. 如: 2018-12-01 12:00:00 ReturnTime string `json:"return_time,omitempty"` // 还班时间. 如: 2018-12-02 12:00:00 ShiftReason string `json:"shift_reason,omitempty"` // 换班事由. 如: xxx }
EventV1ShiftApproval ...
type EventV1ShiftApprovalHandler ¶
type EventV1ShiftApprovalHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ShiftApproval) (string, error)
EventV1ShiftApprovalHandler event EventV1ShiftApproval handler
type EventV1ThirdPartyMeetingRoomEventCreated ¶
type EventV1ThirdPartyMeetingRoomEventCreated struct{}
EventV1ThirdPartyMeetingRoomEventCreated ...
type EventV1ThirdPartyMeetingRoomEventCreatedHandler ¶
type EventV1ThirdPartyMeetingRoomEventCreatedHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ThirdPartyMeetingRoomEventCreated) (string, error)
EventV1ThirdPartyMeetingRoomEventCreatedHandler event EventV1ThirdPartyMeetingRoomEventCreated handler
type EventV1ThirdPartyMeetingRoomEventDeleted ¶
type EventV1ThirdPartyMeetingRoomEventDeleted struct{}
EventV1ThirdPartyMeetingRoomEventDeleted ...
type EventV1ThirdPartyMeetingRoomEventDeletedHandler ¶
type EventV1ThirdPartyMeetingRoomEventDeletedHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ThirdPartyMeetingRoomEventDeleted) (string, error)
EventV1ThirdPartyMeetingRoomEventDeletedHandler event EventV1ThirdPartyMeetingRoomEventDeleted handler
type EventV1ThirdPartyMeetingRoomEventUpdated ¶
type EventV1ThirdPartyMeetingRoomEventUpdated struct{}
EventV1ThirdPartyMeetingRoomEventUpdated ...
type EventV1ThirdPartyMeetingRoomEventUpdatedHandler ¶
type EventV1ThirdPartyMeetingRoomEventUpdatedHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1ThirdPartyMeetingRoomEventUpdated) (string, error)
EventV1ThirdPartyMeetingRoomEventUpdatedHandler event EventV1ThirdPartyMeetingRoomEventUpdated handler
type EventV1TripApproval ¶
type EventV1TripApproval struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: trip_approval InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code. 如: xxx EmployeeID string `json:"employee_id,omitempty"` // 用户id. 如: xxx StartTime int64 `json:"start_time,omitempty"` // 审批发起时间. 如: 1502199207 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1502199307 Schedules []*EventV1TripApprovalEventSchedule `json:"schedules,omitempty"` TripInterval int64 `json:"trip_interval,omitempty"` // 行程总时长(秒). 如: 3600 TripReason string `json:"trip_reason,omitempty"` // 出差事由. 如: xxx TripPeers []*EventV1TripApprovalEventTripPeer `json:"trip_peers,omitempty"` // 同行人 }
EventV1TripApproval ...
type EventV1TripApprovalEventSchedule ¶
type EventV1TripApprovalEventSchedule struct { TripStartTime string `json:"trip_start_time,omitempty"` // 行程开始时间. 如: 2018-12-01 12:00:00 TripEndTime string `json:"trip_end_time,omitempty"` // 行程结束时间. 如: 2018-12-01 12:00:00 TripInterval int64 `json:"trip_interval,omitempty"` // 行程时长(秒). 如: 3600 Departure string `json:"departure,omitempty"` // 出发地. 如: xxx Destination string `json:"destination,omitempty"` // 目的地. 如: xxx Transportation string `json:"transportation,omitempty"` // 交通工具. 如: xxx TripType string `json:"trip_type,omitempty"` // 单程/往返. 如: 单程 Remark string `json:"remark,omitempty"` // 备注. 如: 备注 }
EventV1TripApprovalEventSchedule ...
type EventV1TripApprovalEventTripPeer ¶
type EventV1TripApprovalEventTripPeer struct {
// contains filtered or unexported fields
}
EventV1TripApprovalEventTripPeer ...
type EventV1TripApprovalHandler ¶
type EventV1TripApprovalHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1TripApproval) (string, error)
EventV1TripApprovalHandler event EventV1TripApproval handler
type EventV1WorkApproval ¶
type EventV1WorkApproval struct { AppID string `json:"app_id,omitempty"` // 如: cli_xxx TenantKey string `json:"tenant_key,omitempty"` // 如: xxx Type string `json:"type,omitempty"` // 如: work_approval InstanceCode string `json:"instance_code,omitempty"` // 审批实例Code. 如: xxx EmployeeID string `json:"employee_id,omitempty"` // 用户id. 如: xxx StartTime int64 `json:"start_time,omitempty"` // 审批发起时间. 如: 1502199207 EndTime int64 `json:"end_time,omitempty"` // 审批结束时间. 如: 1502199307 WorkType string `json:"work_type,omitempty"` // 加班类型. 如: xxx WorkStartTime string `json:"work_start_time,omitempty"` // 加班开始时间. 如: 2018-12-01 12:00:00 WorkEndTime string `json:"work_end_time,omitempty"` // 加班结束时间. 如: 2018-12-02 12:00:00 WorkInterval int64 `json:"work_interval,omitempty"` // 加班时长,单位(秒). 如: 7200 WorkReason string `json:"work_reason,omitempty"` // 加班事由. 如: xxx }
EventV1WorkApproval ...
type EventV1WorkApprovalHandler ¶
type EventV1WorkApprovalHandler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV1, event *EventV1WorkApproval) (string, error)
EventV1WorkApprovalHandler event EventV1WorkApproval handler
type EventV2ACSAccessRecordCreatedV1 ¶
type EventV2ACSAccessRecordCreatedV1 struct { AccessRecordID string `json:"access_record_id,omitempty"` // 门禁记录 ID UserID *EventV2ACSAccessRecordCreatedV1UserID `json:"user_id,omitempty"` // 用户 ID DeviceID string `json:"device_id,omitempty"` // 设备 ID IsClockIn bool `json:"is_clock_in,omitempty"` // 是否打卡 IsDoorOpen bool `json:"is_door_open,omitempty"` // 是否开门 AccessTime string `json:"access_time,omitempty"` // 识别时间 (单位:秒) }
EventV2ACSAccessRecordCreatedV1 ...
type EventV2ACSAccessRecordCreatedV1Handler ¶
type EventV2ACSAccessRecordCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ACSAccessRecordCreatedV1) (string, error)
EventV2ACSAccessRecordCreatedV1Handler event EventV2ACSAccessRecordCreatedV1 handler
type EventV2ACSAccessRecordCreatedV1UserID ¶
type EventV2ACSAccessRecordCreatedV1UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ACSAccessRecordCreatedV1UserID ...
type EventV2ACSUserUpdatedV1 ¶
type EventV2ACSUserUpdatedV1 struct { UserID *EventV2ACSUserUpdatedV1UserID `json:"user_id,omitempty"` // 用户 ID Card int64 `json:"card,omitempty"` // 卡号 FaceUploaded bool `json:"face_uploaded,omitempty"` // 是否上传人脸图片 }
EventV2ACSUserUpdatedV1 ...
type EventV2ACSUserUpdatedV1Handler ¶
type EventV2ACSUserUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ACSUserUpdatedV1) (string, error)
EventV2ACSUserUpdatedV1Handler event EventV2ACSUserUpdatedV1 handler
type EventV2ACSUserUpdatedV1UserID ¶
type EventV2ACSUserUpdatedV1UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ACSUserUpdatedV1UserID ...
type EventV2ApplicationApplicationAppVersionAuditV6 ¶
type EventV2ApplicationApplicationAppVersionAuditV6 struct { OperatorID *EventV2ApplicationApplicationAppVersionAuditV6OperatorID `json:"operator_id,omitempty"` // 通过 / 拒绝应用审核的管理员 id VersionID string `json:"version_id,omitempty"` // 被审核的应用版本 id CreatorID *EventV2ApplicationApplicationAppVersionAuditV6CreatorID `json:"creator_id,omitempty"` // 应用创建者的 id AppID string `json:"app_id,omitempty"` // 撤回应用的 id Operation string `json:"operation,omitempty"` // 审核通过 / 拒绝, 可选值有: `audited`:审核通过, `reject`:审核拒绝 Remark string `json:"remark,omitempty"` // 审核信息,当审核拒绝时,管理员填写的拒绝理由 AuditSource string `json:"audit_source,omitempty"` // 应用审核的方式, 可选值有: `administrator`:管理员审核, `auto`:自动免审 }
EventV2ApplicationApplicationAppVersionAuditV6 ...
type EventV2ApplicationApplicationAppVersionAuditV6CreatorID ¶
type EventV2ApplicationApplicationAppVersionAuditV6CreatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionAuditV6CreatorID ...
type EventV2ApplicationApplicationAppVersionAuditV6Handler ¶
type EventV2ApplicationApplicationAppVersionAuditV6Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApplicationApplicationAppVersionAuditV6) (string, error)
EventV2ApplicationApplicationAppVersionAuditV6Handler event EventV2ApplicationApplicationAppVersionAuditV6 handler
type EventV2ApplicationApplicationAppVersionAuditV6OperatorID ¶
type EventV2ApplicationApplicationAppVersionAuditV6OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionAuditV6OperatorID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6 ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6 struct { OperatorID *EventV2ApplicationApplicationAppVersionPublishApplyV6OperatorID `json:"operator_id,omitempty"` // 用户 ID OnlineVersion *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersion `json:"online_version,omitempty"` // 当前线上版本信息 UnderAuditVersion *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersion `json:"under_audit_version,omitempty"` // 当前线上版本信息 AppStatus int64 `json:"app_status,omitempty"` // 应用状态, 可选值有: `0`:停用状态, `1`:启用状态 }
EventV2ApplicationApplicationAppVersionPublishApplyV6 ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6Handler ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApplicationApplicationAppVersionPublishApplyV6) (string, error)
EventV2ApplicationApplicationAppVersionPublishApplyV6Handler event EventV2ApplicationApplicationAppVersionPublishApplyV6 handler
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersion ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersion struct { AppID string `json:"app_id,omitempty"` // 应用 id Version string `json:"version,omitempty"` // 开发者填入的应用版本 ID, 最小长度:`1` 字符 VersionID string `json:"version_id,omitempty"` // 唯一标识应用版本的 ID AppName string `json:"app_name,omitempty"` // 应用默认名称, 最小长度:`1` 字符 AvatarURL string `json:"avatar_url,omitempty"` // 应用头像 url Description string `json:"description,omitempty"` // 应用默认描述, 最小长度:`1` 字符 Scopes []*EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeURL string `json:"back_home_url,omitempty"` // 后台主页地址 I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionI18n `json:"i18n,omitempty"` // 应用的国际化信息列表, 最小长度:`1` CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述, 最大长度:`3` Events []string `json:"events,omitempty"` // 应用已订阅开放平台事件列表 Status int64 `json:"status,omitempty"` // 版本状态, 可选值有: `0`:未知状态, `1`:审核通过, `2`:审核拒绝, `3`:审核中, `4`:未提交审核 CreateTime string `json:"create_time,omitempty"` // 版本创建时间(单位:s) PublishTime string `json:"publish_time,omitempty"` // 版本发布时间(单位:s) Ability *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbility `json:"ability,omitempty"` // 当前版本下应用开启的能力 Remark *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemark `json:"remark,omitempty"` // 跟随应用版本的信息 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersion ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbility ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbility struct { Gadget *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityGadget `json:"gadget,omitempty"` // 小程序能力 WebApp *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWebApp `json:"web_app,omitempty"` // 网页能力 Bot *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityBot `json:"bot,omitempty"` // 机器人能力 WorkplaceWidgets []*EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWorkplaceWidget `json:"workplace_widgets,omitempty"` // 小组件能力 CloudDoc *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDoc `json:"cloud_doc,omitempty"` // 云文档应用 DocsBlocks []*EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlock `json:"docs_blocks,omitempty"` // 云文档小组件 MessageAction *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageAction `json:"message_action,omitempty"` // 消息快捷操作 PlusMenu *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityPlusMenu `json:"plus_menu,omitempty"` // 加号菜单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbility ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityBot ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityBot struct {
CardRequestURL string `json:"card_request_url,omitempty"` // 消息卡片回调地址
}
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityBot ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDoc ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDoc struct { SpaceURL string `json:"space_url,omitempty"` // 云空间重定向 url I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDocI18n `json:"i18n,omitempty"` // 国际化信息, 最小长度:`1` IconURL string `json:"icon_url,omitempty"` // 图标链接 Mode int64 `json:"mode,omitempty"` // 云文档支持模式, 可选值有: `0`:未知, `1`:移动端 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDoc ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDocI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDocI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 云文档国际化名称 ReadDescription string `json:"read_description,omitempty"` // 云文档国际化读权限说明 WriteDescription string `json:"write_description,omitempty"` // 云文档国际化写权限说明 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityCloudDocI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlock ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlock struct { BlockTypeID string `json:"block_type_id,omitempty"` // BlockTypeID I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlockI18n `json:"i18n,omitempty"` // block 的国际化信息, 最小长度:`1` MobileIconURL string `json:"mobile_icon_url,omitempty"` // 移动端 icon 链接 PcIconURL string `json:"pc_icon_url,omitempty"` // pc 端口 icon 链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlock ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlockI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlockI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 名称, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityDocsBlockI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityGadget ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityGadget struct { EnablePcMode int64 `json:"enable_pc_mode,omitempty"` // pc 支持的小程序模式,bit 位表示, 可选值有: `1`:sidebar 模式, `2`:pc 模式, `4`:主导航模式 SchemaURLs []string `json:"schema_urls,omitempty"` // schema url 列表 PcUseMobilePkg bool `json:"pc_use_mobile_pkg,omitempty"` // pc 端是否使用小程序版本 PcVersion string `json:"pc_version,omitempty"` // pc 的小程序版本号, 最小长度:`1` 字符 MobileVersion string `json:"mobile_version,omitempty"` // 移动端小程序版本号, 最小长度:`1` 字符 MobileMinLarkVersion string `json:"mobile_min_lark_version,omitempty"` // 移动端兼容的最低飞书版本, 最小长度:`1` 字符 PcMinLarkVersion string `json:"pc_min_lark_version,omitempty"` // pc 端兼容的最低飞书版本, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityGadget ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageAction ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageAction struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageActionI18n `json:"i18n,omitempty"` // 国际化信息, 最小长度:`1` }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageAction ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageActionI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageActionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 国际化名称, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityMessageActionI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigate ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigate struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigate ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigateMobile ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigateMobile struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigateMobile ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigatePc ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigatePc struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityNavigatePc ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityPlusMenu ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityPlusMenu struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityPlusMenu ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWebApp ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWebApp struct { PcURL string `json:"pc_url,omitempty"` // pc 端 url MobileURL string `json:"mobile_url,omitempty"` // 移动端 url }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWebApp ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWorkplaceWidget ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWorkplaceWidget struct {
MinLarkVersion string `json:"min_lark_version,omitempty"` // 最低兼容 lark 版本号
}
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionAbilityWorkplaceWidget ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 应用国际化名称, 最小长度:`1` 字符 Description string `json:"description,omitempty"` // 应用国际化描述(副标题), 最小长度:`1` 字符 HelpUse string `json:"help_use,omitempty"` // 帮助国际化文档链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemark ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemark struct { Remark string `json:"remark,omitempty"` // 备注说明 UpdateRemark string `json:"update_remark,omitempty"` // 更新说明 Visibility *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibility `json:"visibility,omitempty"` // 可见性名单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemark ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibility ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibility struct { IsAll bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleList `json:"visible_list,omitempty"` // 可见名单 InvisibleList *EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleList `json:"invisible_list,omitempty"` // 不可见名单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibility ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleList ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleList struct { OpenIDs []*EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleListOpenID `json:"open_ids,omitempty"` // 可见性成员 id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleList ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleListOpenID ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleListOpenID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityInvisibleListOpenID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleList ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleList struct { OpenIDs []*EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleListOpenID `json:"open_ids,omitempty"` // 可见性成员 id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleList ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleListOpenID ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleListOpenID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionRemarkVisibilityVisibleListOpenID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionScope ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionScope struct { Scope string `json:"scope,omitempty"` // 应用权限 Description string `json:"description,omitempty"` // 应用权限的国际化描述 Level string `json:"level,omitempty"` // 权限等级描述, 可选值有: `1`:普通权限, `2`:高级权限, `3`:超敏感权限, `0`:未知等级 }
EventV2ApplicationApplicationAppVersionPublishApplyV6OnlineVersionScope ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6OperatorID ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishApplyV6OperatorID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersion ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersion struct { AppID string `json:"app_id,omitempty"` // 应用 id Version string `json:"version,omitempty"` // 开发者填入的应用版本 ID, 最小长度:`1` 字符 VersionID string `json:"version_id,omitempty"` // 唯一标识应用版本的 ID AppName string `json:"app_name,omitempty"` // 应用默认名称, 最小长度:`1` 字符 AvatarURL string `json:"avatar_url,omitempty"` // 应用头像 url Description string `json:"description,omitempty"` // 应用默认描述, 最小长度:`1` 字符 Scopes []*EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeURL string `json:"back_home_url,omitempty"` // 后台主页地址 I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionI18n `json:"i18n,omitempty"` // 应用的国际化信息列表, 最小长度:`1` CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述, 最大长度:`3` Events []string `json:"events,omitempty"` // 应用已订阅开放平台事件列表 Status int64 `json:"status,omitempty"` // 版本状态, 可选值有: `0`:未知状态, `1`:审核通过, `2`:审核拒绝, `3`:审核中, `4`:未提交审核 CreateTime string `json:"create_time,omitempty"` // 版本创建时间(单位:s) PublishTime string `json:"publish_time,omitempty"` // 版本发布时间(单位:s) Ability *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbility `json:"ability,omitempty"` // 当前版本下应用开启的能力 Remark *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemark `json:"remark,omitempty"` // 跟随应用版本的信息 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersion ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbility ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbility struct { Gadget *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityGadget `json:"gadget,omitempty"` // 小程序能力 WebApp *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWebApp `json:"web_app,omitempty"` // 网页能力 Bot *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityBot `json:"bot,omitempty"` // 机器人能力 WorkplaceWidgets []*EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWorkplaceWidget `json:"workplace_widgets,omitempty"` // 小组件能力 CloudDoc *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDoc `json:"cloud_doc,omitempty"` // 云文档应用 DocsBlocks []*EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlock `json:"docs_blocks,omitempty"` // 云文档小组件 MessageAction *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageAction `json:"message_action,omitempty"` // 消息快捷操作 PlusMenu *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityPlusMenu `json:"plus_menu,omitempty"` // 加号菜单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbility ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityBot ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityBot struct {
CardRequestURL string `json:"card_request_url,omitempty"` // 消息卡片回调地址
}
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityBot ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDoc ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDoc struct { SpaceURL string `json:"space_url,omitempty"` // 云空间重定向 url I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDocI18n `json:"i18n,omitempty"` // 国际化信息, 最小长度:`1` IconURL string `json:"icon_url,omitempty"` // 图标链接 Mode int64 `json:"mode,omitempty"` // 云文档支持模式, 可选值有: `0`:未知, `1`:移动端 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDoc ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDocI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDocI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 云文档国际化名称 ReadDescription string `json:"read_description,omitempty"` // 云文档国际化读权限说明 WriteDescription string `json:"write_description,omitempty"` // 云文档国际化写权限说明 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityCloudDocI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlock ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlock struct { BlockTypeID string `json:"block_type_id,omitempty"` // BlockTypeID I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlockI18n `json:"i18n,omitempty"` // block 的国际化信息, 最小长度:`1` MobileIconURL string `json:"mobile_icon_url,omitempty"` // 移动端 icon 链接 PcIconURL string `json:"pc_icon_url,omitempty"` // pc 端口 icon 链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlock ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlockI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlockI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 名称, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityDocsBlockI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityGadget ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityGadget struct { EnablePcMode int64 `json:"enable_pc_mode,omitempty"` // pc 支持的小程序模式,bit 位表示, 可选值有: `1`:sidebar 模式, `2`:pc 模式, `4`:主导航模式 SchemaURLs []string `json:"schema_urls,omitempty"` // schema url 列表 PcUseMobilePkg bool `json:"pc_use_mobile_pkg,omitempty"` // pc 端是否使用小程序版本 PcVersion string `json:"pc_version,omitempty"` // pc 的小程序版本号, 最小长度:`1` 字符 MobileVersion string `json:"mobile_version,omitempty"` // 移动端小程序版本号, 最小长度:`1` 字符 MobileMinLarkVersion string `json:"mobile_min_lark_version,omitempty"` // 移动端兼容的最低飞书版本, 最小长度:`1` 字符 PcMinLarkVersion string `json:"pc_min_lark_version,omitempty"` // pc 端兼容的最低飞书版本, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityGadget ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageAction ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageAction struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 I18n *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageActionI18n `json:"i18n,omitempty"` // 国际化信息, 最小长度:`1` }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageAction ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageActionI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageActionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 国际化名称, 最小长度:`1` 字符 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityMessageActionI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigate ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigate struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigate ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigateMobile ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigateMobile struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigateMobile ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigatePc ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigatePc struct {}
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityNavigatePc ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityPlusMenu ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityPlusMenu struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityPlusMenu ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWebApp ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWebApp struct { PcURL string `json:"pc_url,omitempty"` // pc 端 url MobileURL string `json:"mobile_url,omitempty"` // 移动端 url }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWebApp ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWorkplaceWidget ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWorkplaceWidget struct {
MinLarkVersion string `json:"min_lark_version,omitempty"` // 最低兼容 lark 版本号
}
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionAbilityWorkplaceWidget ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionI18n ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 应用国际化名称, 最小长度:`1` 字符 Description string `json:"description,omitempty"` // 应用国际化描述(副标题), 最小长度:`1` 字符 HelpUse string `json:"help_use,omitempty"` // 帮助国际化文档链接 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionI18n ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemark ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemark struct { Remark string `json:"remark,omitempty"` // 备注说明 UpdateRemark string `json:"update_remark,omitempty"` // 更新说明 Visibility *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibility `json:"visibility,omitempty"` // 可见性名单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemark ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibility ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibility struct { IsAll bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleList `json:"visible_list,omitempty"` // 可见名单 InvisibleList *EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleList `json:"invisible_list,omitempty"` // 不可见名单 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibility ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleList ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleList struct { OpenIDs []*EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleListOpenID `json:"open_ids,omitempty"` // 可见性成员 id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleList ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleListOpenID ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleListOpenID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityInvisibleListOpenID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleList ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleList struct { OpenIDs []*EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleListOpenID `json:"open_ids,omitempty"` // 可见性成员 id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleList ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleListOpenID ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleListOpenID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionRemarkVisibilityVisibleListOpenID ...
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionScope ¶
type EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionScope struct { Scope string `json:"scope,omitempty"` // 应用权限 Description string `json:"description,omitempty"` // 应用权限的国际化描述 Level string `json:"level,omitempty"` // 权限等级描述, 可选值有: `1`:普通权限, `2`:高级权限, `3`:超敏感权限, `0`:未知等级 }
EventV2ApplicationApplicationAppVersionPublishApplyV6UnderAuditVersionScope ...
type EventV2ApplicationApplicationAppVersionPublishRevokeV6 ¶
type EventV2ApplicationApplicationAppVersionPublishRevokeV6 struct { OperatorID *EventV2ApplicationApplicationAppVersionPublishRevokeV6OperatorID `json:"operator_id,omitempty"` // 用户 ID CreatorID *EventV2ApplicationApplicationAppVersionPublishRevokeV6CreatorID `json:"creator_id,omitempty"` // 用户 ID AppID string `json:"app_id,omitempty"` // 撤回应用的 id VersionID string `json:"version_id,omitempty"` // 撤回应用的版本 id }
EventV2ApplicationApplicationAppVersionPublishRevokeV6 ...
type EventV2ApplicationApplicationAppVersionPublishRevokeV6CreatorID ¶
type EventV2ApplicationApplicationAppVersionPublishRevokeV6CreatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishRevokeV6CreatorID ...
type EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler ¶
type EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApplicationApplicationAppVersionPublishRevokeV6) (string, error)
EventV2ApplicationApplicationAppVersionPublishRevokeV6Handler event EventV2ApplicationApplicationAppVersionPublishRevokeV6 handler
type EventV2ApplicationApplicationAppVersionPublishRevokeV6OperatorID ¶
type EventV2ApplicationApplicationAppVersionPublishRevokeV6OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationAppVersionPublishRevokeV6OperatorID ...
type EventV2ApplicationApplicationCreatedV6 ¶
type EventV2ApplicationApplicationCreatedV6 struct { OperatorID *EventV2ApplicationApplicationCreatedV6OperatorID `json:"operator_id,omitempty"` // 用户 ID AppID string `json:"app_id,omitempty"` // 应用 ID Name string `json:"name,omitempty"` // 应用名称 Description string `json:"description,omitempty"` // 应用描述 Avatar string `json:"avatar,omitempty"` // 应用图标链接 AppSceneType int64 `json:"app_scene_type,omitempty"` // 应用类型,0: 自建应用,1: 应用商店应用 PrimaryLanguage string `json:"primary_language,omitempty"` // 应用主语言 }
EventV2ApplicationApplicationCreatedV6 ...
type EventV2ApplicationApplicationCreatedV6Handler ¶
type EventV2ApplicationApplicationCreatedV6Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApplicationApplicationCreatedV6) (string, error)
EventV2ApplicationApplicationCreatedV6Handler event EventV2ApplicationApplicationCreatedV6 handler
type EventV2ApplicationApplicationCreatedV6OperatorID ¶
type EventV2ApplicationApplicationCreatedV6OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2ApplicationApplicationCreatedV6OperatorID ...
type EventV2ApplicationApplicationVisibilityAddedV6 ¶
type EventV2ApplicationApplicationVisibilityAddedV6 struct { Source int64 `json:"source,omitempty"` // 事件来源, 为 1 时代表通过普通成员安装增加可见性. 如: 1 Users []*EventV2ApplicationApplicationVisibilityAddedV6User `json:"users,omitempty"` }
EventV2ApplicationApplicationVisibilityAddedV6 ...
type EventV2ApplicationApplicationVisibilityAddedV6Handler ¶
type EventV2ApplicationApplicationVisibilityAddedV6Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApplicationApplicationVisibilityAddedV6) (string, error)
EventV2ApplicationApplicationVisibilityAddedV6Handler event EventV2ApplicationApplicationVisibilityAddedV6 handler
type EventV2ApplicationApplicationVisibilityAddedV6User ¶
type EventV2ApplicationApplicationVisibilityAddedV6User struct {
UserID *EventV2ApplicationApplicationVisibilityAddedV6UserUserID `json:"user_id,omitempty"` // 开通的用户 id
}
EventV2ApplicationApplicationVisibilityAddedV6User ...
type EventV2ApplicationApplicationVisibilityAddedV6UserUserID ¶
type EventV2ApplicationApplicationVisibilityAddedV6UserUserID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_f370aea2baf6ffc69a6762d31cfaf96a UnionID string `json:"union_id,omitempty"` // 如: on_6bc1e6c0e9ad8193fa4391278eb76891 }
EventV2ApplicationApplicationVisibilityAddedV6UserUserID ...
type EventV2ApprovalApprovalUpdatedV4 ¶
type EventV2ApprovalApprovalUpdatedV4 struct{}
EventV2ApprovalApprovalUpdatedV4 ...
type EventV2ApprovalApprovalUpdatedV4Handler ¶
type EventV2ApprovalApprovalUpdatedV4Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ApprovalApprovalUpdatedV4) (string, error)
EventV2ApprovalApprovalUpdatedV4Handler event EventV2ApprovalApprovalUpdatedV4 handler
type EventV2AttendanceUserFlowCreatedV1 ¶
type EventV2AttendanceUserFlowCreatedV1 struct{}
EventV2AttendanceUserFlowCreatedV1 ...
type EventV2AttendanceUserFlowCreatedV1Handler ¶
type EventV2AttendanceUserFlowCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2AttendanceUserFlowCreatedV1) (string, error)
EventV2AttendanceUserFlowCreatedV1Handler event EventV2AttendanceUserFlowCreatedV1 handler
type EventV2AttendanceUserTaskUpdatedV1 ¶
type EventV2AttendanceUserTaskUpdatedV1 struct { EmployeeID string `json:"employee_id,omitempty"` // 员工 ID EmployeeNo string `json:"employee_no,omitempty"` // 员工工号 GroupID string `json:"group_id,omitempty"` // 考勤组 ID ShiftID string `json:"shift_id,omitempty"` // 班次 ID Date int64 `json:"date,omitempty"` // 日期 StatusChanges []*EventV2AttendanceUserTaskUpdatedV1StatusChange `json:"status_changes,omitempty"` // 状态变更数组 }
EventV2AttendanceUserTaskUpdatedV1 ...
type EventV2AttendanceUserTaskUpdatedV1Handler ¶
type EventV2AttendanceUserTaskUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2AttendanceUserTaskUpdatedV1) (string, error)
EventV2AttendanceUserTaskUpdatedV1Handler event EventV2AttendanceUserTaskUpdatedV1 handler
type EventV2AttendanceUserTaskUpdatedV1StatusChange ¶
type EventV2AttendanceUserTaskUpdatedV1StatusChange struct { BeforeStatus string `json:"before_status,omitempty"` // 变更前打卡结果,值为:【NoNeedCheck(无需打卡),SystemCheck(系统打卡),Normal(正常),Early(早退),Late(迟到),Lack(缺卡)】 CurrentStatus string `json:"current_status,omitempty"` // 变更后打卡结果,值为:【NoNeedCheck(无需打卡),SystemCheck(系统打卡),Normal(正常),Early(早退),Late(迟到),Lack(缺卡)】 BeforeSupplement string `json:"before_supplement,omitempty"` // 变更前结果补充,值为:【None(无),ManagerModification(管理员修改),CardReplacement(补卡通过),ShiftChange(换班),Travel(出差),Leave(请假),GoOut(外出),CardReplacementApplication(补卡申请中),FieldPunch(外勤打卡)】 CurrentSupplement string `json:"current_supplement,omitempty"` // 变更后打卡结果补充,值为:【None(无),ManagerModification(管理员修改),CardReplacement(补卡通过),ShiftChange(换班),Travel(出差),Leave(请假),GoOut(外出),CardReplacementApplication(补卡申请中),FieldPunch(外勤打卡)】 WorkType string `json:"work_type,omitempty"` // 上下班状态变更,值为:【on(上班),off(下班)】 Index string `json:"index,omitempty"` // 任务中的第几次上下班 }
EventV2AttendanceUserTaskUpdatedV1StatusChange ...
type EventV2AwemeEcosystemAwemeUserBindedAccountV1 ¶
type EventV2AwemeEcosystemAwemeUserBindedAccountV1 struct {
EventAwemeUser *EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUser `json:"event_aweme_user,omitempty"` // 变更后绑定关系
}
EventV2AwemeEcosystemAwemeUserBindedAccountV1 ...
type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUser ¶
type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUser struct { UserID *EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUserUserID `json:"user_id,omitempty"` // 用户 ID AwemeUserID string `json:"aweme_user_id,omitempty"` // 绑定的抖音用户ID IsBinded bool `json:"is_binded,omitempty"` // 飞书账号是否有绑定关系 }
EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUser ...
type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUserUserID ¶
type EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUserUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2AwemeEcosystemAwemeUserBindedAccountV1EventAwemeUserUserID ...
type EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler ¶
type EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2AwemeEcosystemAwemeUserBindedAccountV1) (string, error)
EventV2AwemeEcosystemAwemeUserBindedAccountV1Handler event EventV2AwemeEcosystemAwemeUserBindedAccountV1 handler
type EventV2CalendarCalendarACLCreatedV4 ¶
type EventV2CalendarCalendarACLCreatedV4 struct { ACLID string `json:"acl_id,omitempty"` // acl资源ID Role CalendarRole `json:"role,omitempty"` // 对日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 Scope *EventV2CalendarCalendarACLCreatedV4Scope `json:"scope,omitempty"` // 权限范围 UserIDList []*EventV2CalendarCalendarACLCreatedV4UserID `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
EventV2CalendarCalendarACLCreatedV4 ...
type EventV2CalendarCalendarACLCreatedV4Handler ¶
type EventV2CalendarCalendarACLCreatedV4Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2CalendarCalendarACLCreatedV4) (string, error)
EventV2CalendarCalendarACLCreatedV4Handler event EventV2CalendarCalendarACLCreatedV4 handler
type EventV2CalendarCalendarACLCreatedV4Scope ¶
type EventV2CalendarCalendarACLCreatedV4Scope struct { Type string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id, 可选值有: `user`:用户 UserID *EventV2CalendarCalendarACLCreatedV4ScopeUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2CalendarCalendarACLCreatedV4Scope ...
type EventV2CalendarCalendarACLCreatedV4ScopeUserID ¶
type EventV2CalendarCalendarACLCreatedV4ScopeUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarACLCreatedV4ScopeUserID ...
type EventV2CalendarCalendarACLCreatedV4UserID ¶
type EventV2CalendarCalendarACLCreatedV4UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarACLCreatedV4UserID ...
type EventV2CalendarCalendarACLDeletedV4 ¶
type EventV2CalendarCalendarACLDeletedV4 struct { ACLID string `json:"acl_id,omitempty"` // acl资源ID Role CalendarRole `json:"role,omitempty"` // 对日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 Scope *EventV2CalendarCalendarACLDeletedV4Scope `json:"scope,omitempty"` // 权限范围 UserIDList []*EventV2CalendarCalendarACLDeletedV4UserID `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
EventV2CalendarCalendarACLDeletedV4 ...
type EventV2CalendarCalendarACLDeletedV4Handler ¶
type EventV2CalendarCalendarACLDeletedV4Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2CalendarCalendarACLDeletedV4) (string, error)
EventV2CalendarCalendarACLDeletedV4Handler event EventV2CalendarCalendarACLDeletedV4 handler
type EventV2CalendarCalendarACLDeletedV4Scope ¶
type EventV2CalendarCalendarACLDeletedV4Scope struct { Type string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id, 可选值有: `user`:用户 UserID *EventV2CalendarCalendarACLDeletedV4ScopeUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2CalendarCalendarACLDeletedV4Scope ...
type EventV2CalendarCalendarACLDeletedV4ScopeUserID ¶
type EventV2CalendarCalendarACLDeletedV4ScopeUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarACLDeletedV4ScopeUserID ...
type EventV2CalendarCalendarACLDeletedV4UserID ¶
type EventV2CalendarCalendarACLDeletedV4UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarACLDeletedV4UserID ...
type EventV2CalendarCalendarChangedV4 ¶
type EventV2CalendarCalendarChangedV4 struct {
UserIDList []*EventV2CalendarCalendarChangedV4UserID `json:"user_id_list,omitempty"` // 需要推送事件的用户列表
}
EventV2CalendarCalendarChangedV4 ...
type EventV2CalendarCalendarChangedV4Handler ¶
type EventV2CalendarCalendarChangedV4Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2CalendarCalendarChangedV4) (string, error)
EventV2CalendarCalendarChangedV4Handler event EventV2CalendarCalendarChangedV4 handler
type EventV2CalendarCalendarChangedV4UserID ¶
type EventV2CalendarCalendarChangedV4UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarChangedV4UserID ...
type EventV2CalendarCalendarEventChangedV4 ¶
type EventV2CalendarCalendarEventChangedV4 struct { CalendarID string `json:"calendar_id,omitempty"` // 日历id UserIDList []*EventV2CalendarCalendarEventChangedV4UserID `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
EventV2CalendarCalendarEventChangedV4 ...
type EventV2CalendarCalendarEventChangedV4Handler ¶
type EventV2CalendarCalendarEventChangedV4Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2CalendarCalendarEventChangedV4) (string, error)
EventV2CalendarCalendarEventChangedV4Handler event EventV2CalendarCalendarEventChangedV4 handler
type EventV2CalendarCalendarEventChangedV4UserID ¶
type EventV2CalendarCalendarEventChangedV4UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2CalendarCalendarEventChangedV4UserID ...
type EventV2ContactCustomAttrEventUpdatedV3 ¶
type EventV2ContactCustomAttrEventUpdatedV3 struct { Object *EventV2ContactCustomAttrEventUpdatedV3Object `json:"object,omitempty"` // 变更后信息 OldObject *EventV2ContactCustomAttrEventUpdatedV3OldObject `json:"old_object,omitempty"` // 变更前信息 }
EventV2ContactCustomAttrEventUpdatedV3 ...
type EventV2ContactCustomAttrEventUpdatedV3Handler ¶
type EventV2ContactCustomAttrEventUpdatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactCustomAttrEventUpdatedV3) (string, error)
EventV2ContactCustomAttrEventUpdatedV3Handler event EventV2ContactCustomAttrEventUpdatedV3 handler
type EventV2ContactCustomAttrEventUpdatedV3Object ¶
type EventV2ContactCustomAttrEventUpdatedV3Object struct { ContactFieldKey []string `json:"contact_field_key,omitempty"` // 通讯录字段键值 AllowOpenQuery bool `json:"allow_open_query,omitempty"` // 开关是否打开 }
EventV2ContactCustomAttrEventUpdatedV3Object ...
type EventV2ContactCustomAttrEventUpdatedV3OldObject ¶
type EventV2ContactCustomAttrEventUpdatedV3OldObject struct { ContactFieldKey []string `json:"contact_field_key,omitempty"` // 通讯录字段键值 AllowOpenQuery bool `json:"allow_open_query,omitempty"` // 开关是否打开 }
EventV2ContactCustomAttrEventUpdatedV3OldObject ...
type EventV2ContactDepartmentCreatedV3 ¶
type EventV2ContactDepartmentCreatedV3 struct {
Object *EventV2ContactDepartmentCreatedV3Object `json:"object,omitempty"` // 部门信息
}
EventV2ContactDepartmentCreatedV3 ...
type EventV2ContactDepartmentCreatedV3Handler ¶
type EventV2ContactDepartmentCreatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactDepartmentCreatedV3) (string, error)
EventV2ContactDepartmentCreatedV3Handler event EventV2ContactDepartmentCreatedV3 handler
type EventV2ContactDepartmentCreatedV3Object ¶
type EventV2ContactDepartmentCreatedV3Object struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的部门open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0) LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Order int64 `json:"order,omitempty"` // 部门的排序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *EventV2ContactDepartmentCreatedV3ObjectStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
EventV2ContactDepartmentCreatedV3Object ...
type EventV2ContactDepartmentCreatedV3ObjectStatus ¶
type EventV2ContactDepartmentCreatedV3ObjectStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactDepartmentCreatedV3ObjectStatus ...
type EventV2ContactDepartmentDeletedV3 ¶
type EventV2ContactDepartmentDeletedV3 struct { Object *EventV2ContactDepartmentDeletedV3Object `json:"object,omitempty"` // 部门信息 OldObject *EventV2ContactDepartmentDeletedV3OldObject `json:"old_object,omitempty"` // 部门被删除前的信息 }
EventV2ContactDepartmentDeletedV3 ...
type EventV2ContactDepartmentDeletedV3Handler ¶
type EventV2ContactDepartmentDeletedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactDepartmentDeletedV3) (string, error)
EventV2ContactDepartmentDeletedV3Handler event EventV2ContactDepartmentDeletedV3 handler
type EventV2ContactDepartmentDeletedV3Object ¶
type EventV2ContactDepartmentDeletedV3Object struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的部门open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0) LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Order int64 `json:"order,omitempty"` // 部门的排序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *EventV2ContactDepartmentDeletedV3ObjectStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
EventV2ContactDepartmentDeletedV3Object ...
type EventV2ContactDepartmentDeletedV3ObjectStatus ¶
type EventV2ContactDepartmentDeletedV3ObjectStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactDepartmentDeletedV3ObjectStatus ...
type EventV2ContactDepartmentDeletedV3OldObject ¶
type EventV2ContactDepartmentDeletedV3OldObject struct { Status *EventV2ContactDepartmentDeletedV3OldObjectStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门open_id }
EventV2ContactDepartmentDeletedV3OldObject ...
type EventV2ContactDepartmentDeletedV3OldObjectStatus ¶
type EventV2ContactDepartmentDeletedV3OldObjectStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactDepartmentDeletedV3OldObjectStatus ...
type EventV2ContactDepartmentUpdatedV3 ¶
type EventV2ContactDepartmentUpdatedV3 struct { Object *EventV2ContactDepartmentUpdatedV3Object `json:"object,omitempty"` // 更新后信息 OldObject *EventV2ContactDepartmentUpdatedV3OldObject `json:"old_object,omitempty"` // 更新前信息 }
EventV2ContactDepartmentUpdatedV3 ...
type EventV2ContactDepartmentUpdatedV3Handler ¶
type EventV2ContactDepartmentUpdatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactDepartmentUpdatedV3) (string, error)
EventV2ContactDepartmentUpdatedV3Handler event EventV2ContactDepartmentUpdatedV3 handler
type EventV2ContactDepartmentUpdatedV3Object ¶
type EventV2ContactDepartmentUpdatedV3Object struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的部门open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0) LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Order int64 `json:"order,omitempty"` // 部门的排序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *EventV2ContactDepartmentUpdatedV3ObjectStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
EventV2ContactDepartmentUpdatedV3Object ...
type EventV2ContactDepartmentUpdatedV3ObjectStatus ¶
type EventV2ContactDepartmentUpdatedV3ObjectStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactDepartmentUpdatedV3ObjectStatus ...
type EventV2ContactDepartmentUpdatedV3OldObject ¶
type EventV2ContactDepartmentUpdatedV3OldObject struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的部门open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_department_id [部门相关ID概念](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0) LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Order int64 `json:"order,omitempty"` // 部门的排序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *EventV2ContactDepartmentUpdatedV3OldObjectStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
EventV2ContactDepartmentUpdatedV3OldObject ...
type EventV2ContactDepartmentUpdatedV3OldObjectStatus ¶
type EventV2ContactDepartmentUpdatedV3OldObjectStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactDepartmentUpdatedV3OldObjectStatus ...
type EventV2ContactEmployeeTypeEnumActivedV3 ¶
type EventV2ContactEmployeeTypeEnumActivedV3 struct { OldEnum *EventV2ContactEmployeeTypeEnumActivedV3OldEnum `json:"old_enum,omitempty"` // 旧枚举类型 NewEnum *EventV2ContactEmployeeTypeEnumActivedV3NewEnum `json:"new_enum,omitempty"` // 新枚举类型 }
EventV2ContactEmployeeTypeEnumActivedV3 ...
type EventV2ContactEmployeeTypeEnumActivedV3Handler ¶
type EventV2ContactEmployeeTypeEnumActivedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactEmployeeTypeEnumActivedV3) (string, error)
EventV2ContactEmployeeTypeEnumActivedV3Handler event EventV2ContactEmployeeTypeEnumActivedV3 handler
type EventV2ContactEmployeeTypeEnumActivedV3NewEnum ¶
type EventV2ContactEmployeeTypeEnumActivedV3NewEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumActivedV3NewEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumActivedV3NewEnum ...
type EventV2ContactEmployeeTypeEnumActivedV3NewEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumActivedV3NewEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumActivedV3NewEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumActivedV3OldEnum ¶
type EventV2ContactEmployeeTypeEnumActivedV3OldEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumActivedV3OldEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumActivedV3OldEnum ...
type EventV2ContactEmployeeTypeEnumActivedV3OldEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumActivedV3OldEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumActivedV3OldEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumCreatedV3 ¶
type EventV2ContactEmployeeTypeEnumCreatedV3 struct {
NewEnum *EventV2ContactEmployeeTypeEnumCreatedV3NewEnum `json:"new_enum,omitempty"` // 新枚举类型
}
EventV2ContactEmployeeTypeEnumCreatedV3 ...
type EventV2ContactEmployeeTypeEnumCreatedV3Handler ¶
type EventV2ContactEmployeeTypeEnumCreatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactEmployeeTypeEnumCreatedV3) (string, error)
EventV2ContactEmployeeTypeEnumCreatedV3Handler event EventV2ContactEmployeeTypeEnumCreatedV3 handler
type EventV2ContactEmployeeTypeEnumCreatedV3NewEnum ¶
type EventV2ContactEmployeeTypeEnumCreatedV3NewEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumCreatedV3NewEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumCreatedV3NewEnum ...
type EventV2ContactEmployeeTypeEnumCreatedV3NewEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumCreatedV3NewEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumCreatedV3NewEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumDeactivatedV3 ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3 struct { OldEnum *EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnum `json:"old_enum,omitempty"` // 旧枚举类型 NewEnum *EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnum `json:"new_enum,omitempty"` // 新枚举类型 }
EventV2ContactEmployeeTypeEnumDeactivatedV3 ...
type EventV2ContactEmployeeTypeEnumDeactivatedV3Handler ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactEmployeeTypeEnumDeactivatedV3) (string, error)
EventV2ContactEmployeeTypeEnumDeactivatedV3Handler event EventV2ContactEmployeeTypeEnumDeactivatedV3 handler
type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnum ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnum ...
type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumDeactivatedV3NewEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnum ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnum ...
type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumDeactivatedV3OldEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumDeletedV3 ¶
type EventV2ContactEmployeeTypeEnumDeletedV3 struct {
OldEnum *EventV2ContactEmployeeTypeEnumDeletedV3OldEnum `json:"old_enum,omitempty"` // 旧枚举类型
}
EventV2ContactEmployeeTypeEnumDeletedV3 ...
type EventV2ContactEmployeeTypeEnumDeletedV3Handler ¶
type EventV2ContactEmployeeTypeEnumDeletedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactEmployeeTypeEnumDeletedV3) (string, error)
EventV2ContactEmployeeTypeEnumDeletedV3Handler event EventV2ContactEmployeeTypeEnumDeletedV3 handler
type EventV2ContactEmployeeTypeEnumDeletedV3OldEnum ¶
type EventV2ContactEmployeeTypeEnumDeletedV3OldEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumDeletedV3OldEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumDeletedV3OldEnum ...
type EventV2ContactEmployeeTypeEnumDeletedV3OldEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumDeletedV3OldEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumDeletedV3OldEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumUpdatedV3 ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3 struct { OldEnum *EventV2ContactEmployeeTypeEnumUpdatedV3OldEnum `json:"old_enum,omitempty"` // 旧枚举类型 NewEnum *EventV2ContactEmployeeTypeEnumUpdatedV3NewEnum `json:"new_enum,omitempty"` // 新枚举类型 }
EventV2ContactEmployeeTypeEnumUpdatedV3 ...
type EventV2ContactEmployeeTypeEnumUpdatedV3Handler ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactEmployeeTypeEnumUpdatedV3) (string, error)
EventV2ContactEmployeeTypeEnumUpdatedV3Handler event EventV2ContactEmployeeTypeEnumUpdatedV3 handler
type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnum ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumUpdatedV3NewEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumUpdatedV3NewEnum ...
type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3NewEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumUpdatedV3NewEnumI18nContent ...
type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnum ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *EventV2ContactEmployeeTypeEnumUpdatedV3OldEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
EventV2ContactEmployeeTypeEnumUpdatedV3OldEnum ...
type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnumI18nContent ¶
type EventV2ContactEmployeeTypeEnumUpdatedV3OldEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
EventV2ContactEmployeeTypeEnumUpdatedV3OldEnumI18nContent ...
type EventV2ContactScopeUpdatedV3 ¶
type EventV2ContactScopeUpdatedV3 struct { Added *EventV2ContactScopeUpdatedV3Added `json:"added,omitempty"` // 当通讯录范围权限变更时,新增的对象 Removed *EventV2ContactScopeUpdatedV3Removed `json:"removed,omitempty"` // 当通讯录范围权限发生变更时,移除的对象 }
EventV2ContactScopeUpdatedV3 ...
type EventV2ContactScopeUpdatedV3Added ¶
type EventV2ContactScopeUpdatedV3Added struct { Departments []*EventV2ContactScopeUpdatedV3AddedDepartment `json:"departments,omitempty"` // 部门对象 Users []*EventV2ContactScopeUpdatedV3AddedUser `json:"users,omitempty"` // 用户对象 UserGroups []*EventV2ContactScopeUpdatedV3AddedUserGroup `json:"user_groups,omitempty"` // 用户组对象 }
EventV2ContactScopeUpdatedV3Added ...
type EventV2ContactScopeUpdatedV3AddedDepartment ¶
type EventV2ContactScopeUpdatedV3AddedDepartment struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 I18nName *EventV2ContactScopeUpdatedV3AddedDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID, 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactScopeUpdatedV3AddedDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactScopeUpdatedV3AddedDepartment ...
type EventV2ContactScopeUpdatedV3AddedDepartmentI18nName ¶
type EventV2ContactScopeUpdatedV3AddedDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
EventV2ContactScopeUpdatedV3AddedDepartmentI18nName ...
type EventV2ContactScopeUpdatedV3AddedDepartmentStatus ¶
type EventV2ContactScopeUpdatedV3AddedDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactScopeUpdatedV3AddedDepartmentStatus ...
type EventV2ContactScopeUpdatedV3AddedUser ¶
type EventV2ContactScopeUpdatedV3AddedUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactScopeUpdatedV3AddedUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactScopeUpdatedV3AddedUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactScopeUpdatedV3AddedUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 NeedSendNotification bool `json:"need_send_notification,omitempty"` // 是否发送提示消息 NotificationOption *EventV2ContactScopeUpdatedV3AddedUserNotificationOption `json:"notification_option,omitempty"` // 创建用户的邀请方式 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
EventV2ContactScopeUpdatedV3AddedUser ...
type EventV2ContactScopeUpdatedV3AddedUserAvatar ¶
type EventV2ContactScopeUpdatedV3AddedUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactScopeUpdatedV3AddedUserAvatar ...
type EventV2ContactScopeUpdatedV3AddedUserCustomAttr ¶
type EventV2ContactScopeUpdatedV3AddedUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactScopeUpdatedV3AddedUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactScopeUpdatedV3AddedUserCustomAttr ...
type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValue ¶
type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactScopeUpdatedV3AddedUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactScopeUpdatedV3AddedUserCustomAttrValue ...
type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValueGenericUser ¶
type EventV2ContactScopeUpdatedV3AddedUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactScopeUpdatedV3AddedUserCustomAttrValueGenericUser ...
type EventV2ContactScopeUpdatedV3AddedUserGroup ¶
type EventV2ContactScopeUpdatedV3AddedUserGroup struct { UserGroupID string `json:"user_group_id,omitempty"` // 用户组的自定义ID, 长度范围:`1` ~ `64` 字符 Name string `json:"name,omitempty"` // 用户组的名称, 长度范围:`1` ~ `100` 字符 Type int64 `json:"type,omitempty"` // 用户组的类型, 可选值有: `1`:普通用户组, `2`:动态用户组 MemberCount int64 `json:"member_count,omitempty"` // 成员数量 Status int64 `json:"status,omitempty"` // 用户组状态, 可选值有: `0`:未知, `1`:计算完毕, `2`:计算中, `3`:计算失败 }
EventV2ContactScopeUpdatedV3AddedUserGroup ...
type EventV2ContactScopeUpdatedV3AddedUserNotificationOption ¶
type EventV2ContactScopeUpdatedV3AddedUserNotificationOption struct { Channels []string `json:"channels,omitempty"` // 通道列表,枚举值,可多选:, `sms`:短信邀请, `email`:邮件邀请 Language string `json:"language,omitempty"` // 语言类型, 可选值有: `zh-CN`:中文, `en-US`:英文, `ja-JP`:日文 }
EventV2ContactScopeUpdatedV3AddedUserNotificationOption ...
type EventV2ContactScopeUpdatedV3AddedUserStatus ¶
type EventV2ContactScopeUpdatedV3AddedUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactScopeUpdatedV3AddedUserStatus ...
type EventV2ContactScopeUpdatedV3Handler ¶
type EventV2ContactScopeUpdatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactScopeUpdatedV3) (string, error)
EventV2ContactScopeUpdatedV3Handler event EventV2ContactScopeUpdatedV3 handler
type EventV2ContactScopeUpdatedV3Removed ¶
type EventV2ContactScopeUpdatedV3Removed struct { Departments []*EventV2ContactScopeUpdatedV3RemovedDepartment `json:"departments,omitempty"` // 部门对象 Users []*EventV2ContactScopeUpdatedV3RemovedUser `json:"users,omitempty"` // 用户对象 UserGroups []*EventV2ContactScopeUpdatedV3RemovedUserGroup `json:"user_groups,omitempty"` // 用户组对象 }
EventV2ContactScopeUpdatedV3Removed ...
type EventV2ContactScopeUpdatedV3RemovedDepartment ¶
type EventV2ContactScopeUpdatedV3RemovedDepartment struct { Name string `json:"name,omitempty"` // 部门名称, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 I18nName *EventV2ContactScopeUpdatedV3RemovedDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID, 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactScopeUpdatedV3RemovedDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactScopeUpdatedV3RemovedDepartment ...
type EventV2ContactScopeUpdatedV3RemovedDepartmentI18nName ¶
type EventV2ContactScopeUpdatedV3RemovedDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
EventV2ContactScopeUpdatedV3RemovedDepartmentI18nName ...
type EventV2ContactScopeUpdatedV3RemovedDepartmentStatus ¶
type EventV2ContactScopeUpdatedV3RemovedDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
EventV2ContactScopeUpdatedV3RemovedDepartmentStatus ...
type EventV2ContactScopeUpdatedV3RemovedUser ¶
type EventV2ContactScopeUpdatedV3RemovedUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactScopeUpdatedV3RemovedUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactScopeUpdatedV3RemovedUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactScopeUpdatedV3RemovedUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 NeedSendNotification bool `json:"need_send_notification,omitempty"` // 是否发送提示消息 NotificationOption *EventV2ContactScopeUpdatedV3RemovedUserNotificationOption `json:"notification_option,omitempty"` // 创建用户的邀请方式 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
EventV2ContactScopeUpdatedV3RemovedUser ...
type EventV2ContactScopeUpdatedV3RemovedUserAvatar ¶
type EventV2ContactScopeUpdatedV3RemovedUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactScopeUpdatedV3RemovedUserAvatar ...
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttr ¶
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactScopeUpdatedV3RemovedUserCustomAttr ...
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValue ¶
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValue ...
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValueGenericUser ¶
type EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactScopeUpdatedV3RemovedUserCustomAttrValueGenericUser ...
type EventV2ContactScopeUpdatedV3RemovedUserGroup ¶
type EventV2ContactScopeUpdatedV3RemovedUserGroup struct { UserGroupID string `json:"user_group_id,omitempty"` // 用户组的自定义ID, 长度范围:`1` ~ `64` 字符 Name string `json:"name,omitempty"` // 用户组的名称, 长度范围:`1` ~ `100` 字符 Type int64 `json:"type,omitempty"` // 用户组的类型, 可选值有: `1`:普通用户组, `2`:动态用户组 MemberCount int64 `json:"member_count,omitempty"` // 成员数量 Status int64 `json:"status,omitempty"` // 用户组状态, 可选值有: `0`:未知, `1`:计算完毕, `2`:计算中, `3`:计算失败 }
EventV2ContactScopeUpdatedV3RemovedUserGroup ...
type EventV2ContactScopeUpdatedV3RemovedUserNotificationOption ¶
type EventV2ContactScopeUpdatedV3RemovedUserNotificationOption struct { Channels []string `json:"channels,omitempty"` // 通道列表,枚举值,可多选:, `sms`:短信邀请, `email`:邮件邀请 Language string `json:"language,omitempty"` // 语言类型, 可选值有: `zh-CN`:中文, `en-US`:英文, `ja-JP`:日文 }
EventV2ContactScopeUpdatedV3RemovedUserNotificationOption ...
type EventV2ContactScopeUpdatedV3RemovedUserStatus ¶
type EventV2ContactScopeUpdatedV3RemovedUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactScopeUpdatedV3RemovedUserStatus ...
type EventV2ContactUserCreatedV3 ¶
type EventV2ContactUserCreatedV3 struct {
Object *EventV2ContactUserCreatedV3Object `json:"object,omitempty"` // 事件信息
}
EventV2ContactUserCreatedV3 ...
type EventV2ContactUserCreatedV3Handler ¶
type EventV2ContactUserCreatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactUserCreatedV3) (string, error)
EventV2ContactUserCreatedV3Handler event EventV2ContactUserCreatedV3 handler
type EventV2ContactUserCreatedV3Object ¶
type EventV2ContactUserCreatedV3Object struct { OpenID string `json:"open_id,omitempty"` // 用户的open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UnionID string `json:"union_id,omitempty"` // 用户的union_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:未知, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactUserCreatedV3ObjectAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactUserCreatedV3ObjectStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间, 取值范围:`1` ~ `2147483647`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型, 可选值有: `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*EventV2ContactUserCreatedV3ObjectOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactUserCreatedV3ObjectCustomAttr `json:"custom_attrs,omitempty"` // 自定义属性,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactUserCreatedV3Object ...
type EventV2ContactUserCreatedV3ObjectAvatar ¶
type EventV2ContactUserCreatedV3ObjectAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactUserCreatedV3ObjectAvatar ...
type EventV2ContactUserCreatedV3ObjectCustomAttr ¶
type EventV2ContactUserCreatedV3ObjectCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactUserCreatedV3ObjectCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactUserCreatedV3ObjectCustomAttr ...
type EventV2ContactUserCreatedV3ObjectCustomAttrValue ¶
type EventV2ContactUserCreatedV3ObjectCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactUserCreatedV3ObjectCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactUserCreatedV3ObjectCustomAttrValue ...
type EventV2ContactUserCreatedV3ObjectCustomAttrValueGenericUser ¶
type EventV2ContactUserCreatedV3ObjectCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactUserCreatedV3ObjectCustomAttrValueGenericUser ...
type EventV2ContactUserCreatedV3ObjectOrder ¶
type EventV2ContactUserCreatedV3ObjectOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
EventV2ContactUserCreatedV3ObjectOrder ...
type EventV2ContactUserCreatedV3ObjectStatus ¶
type EventV2ContactUserCreatedV3ObjectStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactUserCreatedV3ObjectStatus ...
type EventV2ContactUserDeletedV3 ¶
type EventV2ContactUserDeletedV3 struct { Object *EventV2ContactUserDeletedV3Object `json:"object,omitempty"` // 员工信息 OldObject *EventV2ContactUserDeletedV3OldObject `json:"old_object,omitempty"` // 删除前信息 }
EventV2ContactUserDeletedV3 ...
type EventV2ContactUserDeletedV3Handler ¶
type EventV2ContactUserDeletedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactUserDeletedV3) (string, error)
EventV2ContactUserDeletedV3Handler event EventV2ContactUserDeletedV3 handler
type EventV2ContactUserDeletedV3Object ¶
type EventV2ContactUserDeletedV3Object struct { OpenID string `json:"open_id,omitempty"` // 用户的open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UnionID string `json:"union_id,omitempty"` // 用户的union_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:未知, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactUserDeletedV3ObjectAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactUserDeletedV3ObjectStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间, 取值范围:`1` ~ `2147483647`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型, 可选值有: `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*EventV2ContactUserDeletedV3ObjectOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactUserDeletedV3ObjectCustomAttr `json:"custom_attrs,omitempty"` // 自定义属性,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactUserDeletedV3Object ...
type EventV2ContactUserDeletedV3ObjectAvatar ¶
type EventV2ContactUserDeletedV3ObjectAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactUserDeletedV3ObjectAvatar ...
type EventV2ContactUserDeletedV3ObjectCustomAttr ¶
type EventV2ContactUserDeletedV3ObjectCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactUserDeletedV3ObjectCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactUserDeletedV3ObjectCustomAttr ...
type EventV2ContactUserDeletedV3ObjectCustomAttrValue ¶
type EventV2ContactUserDeletedV3ObjectCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactUserDeletedV3ObjectCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactUserDeletedV3ObjectCustomAttrValue ...
type EventV2ContactUserDeletedV3ObjectCustomAttrValueGenericUser ¶
type EventV2ContactUserDeletedV3ObjectCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactUserDeletedV3ObjectCustomAttrValueGenericUser ...
type EventV2ContactUserDeletedV3ObjectOrder ¶
type EventV2ContactUserDeletedV3ObjectOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
EventV2ContactUserDeletedV3ObjectOrder ...
type EventV2ContactUserDeletedV3ObjectStatus ¶
type EventV2ContactUserDeletedV3ObjectStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactUserDeletedV3ObjectStatus ...
type EventV2ContactUserDeletedV3OldObject ¶
type EventV2ContactUserDeletedV3OldObject struct { DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 OpenID string `json:"open_id,omitempty"` // 用户open_id }
EventV2ContactUserDeletedV3OldObject ...
type EventV2ContactUserUpdatedV3 ¶
type EventV2ContactUserUpdatedV3 struct { Object *EventV2ContactUserUpdatedV3Object `json:"object,omitempty"` // 变更后信息 OldObject *EventV2ContactUserUpdatedV3OldObject `json:"old_object,omitempty"` // 变更前信息,body中只包含有变更的字段 }
EventV2ContactUserUpdatedV3 ...
type EventV2ContactUserUpdatedV3Handler ¶
type EventV2ContactUserUpdatedV3Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2ContactUserUpdatedV3) (string, error)
EventV2ContactUserUpdatedV3Handler event EventV2ContactUserUpdatedV3 handler
type EventV2ContactUserUpdatedV3Object ¶
type EventV2ContactUserUpdatedV3Object struct { OpenID string `json:"open_id,omitempty"` // 用户的open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UnionID string `json:"union_id,omitempty"` // 用户的union_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:未知, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactUserUpdatedV3ObjectAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactUserUpdatedV3ObjectStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间, 取值范围:`1` ~ `2147483647`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型, 可选值有: `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*EventV2ContactUserUpdatedV3ObjectOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactUserUpdatedV3ObjectCustomAttr `json:"custom_attrs,omitempty"` // 自定义属性,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactUserUpdatedV3Object ...
type EventV2ContactUserUpdatedV3ObjectAvatar ¶
type EventV2ContactUserUpdatedV3ObjectAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactUserUpdatedV3ObjectAvatar ...
type EventV2ContactUserUpdatedV3ObjectCustomAttr ¶
type EventV2ContactUserUpdatedV3ObjectCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactUserUpdatedV3ObjectCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactUserUpdatedV3ObjectCustomAttr ...
type EventV2ContactUserUpdatedV3ObjectCustomAttrValue ¶
type EventV2ContactUserUpdatedV3ObjectCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactUserUpdatedV3ObjectCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactUserUpdatedV3ObjectCustomAttrValue ...
type EventV2ContactUserUpdatedV3ObjectCustomAttrValueGenericUser ¶
type EventV2ContactUserUpdatedV3ObjectCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactUserUpdatedV3ObjectCustomAttrValueGenericUser ...
type EventV2ContactUserUpdatedV3ObjectOrder ¶
type EventV2ContactUserUpdatedV3ObjectOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
EventV2ContactUserUpdatedV3ObjectOrder ...
type EventV2ContactUserUpdatedV3ObjectStatus ¶
type EventV2ContactUserUpdatedV3ObjectStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactUserUpdatedV3ObjectStatus ...
type EventV2ContactUserUpdatedV3OldObject ¶
type EventV2ContactUserUpdatedV3OldObject struct { OpenID string `json:"open_id,omitempty"` // 用户的open_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UnionID string `json:"union_id,omitempty"` // 用户的union_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID Name string `json:"name,omitempty"` // 用户名, 最小长度:`1` 字符,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:未知, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *EventV2ContactUserUpdatedV3OldObjectAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *EventV2ContactUserUpdatedV3OldObjectStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间, 取值范围:`1` ~ `2147483647`,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型, 可选值有: `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*EventV2ContactUserUpdatedV3OldObjectOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*EventV2ContactUserUpdatedV3OldObjectCustomAttr `json:"custom_attrs,omitempty"` // 自定义属性,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 }
EventV2ContactUserUpdatedV3OldObject ...
type EventV2ContactUserUpdatedV3OldObjectAvatar ¶
type EventV2ContactUserUpdatedV3OldObjectAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
EventV2ContactUserUpdatedV3OldObjectAvatar ...
type EventV2ContactUserUpdatedV3OldObjectCustomAttr ¶
type EventV2ContactUserUpdatedV3OldObjectCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *EventV2ContactUserUpdatedV3OldObjectCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
EventV2ContactUserUpdatedV3OldObjectCustomAttr ...
type EventV2ContactUserUpdatedV3OldObjectCustomAttrValue ¶
type EventV2ContactUserUpdatedV3OldObjectCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *EventV2ContactUserUpdatedV3OldObjectCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
EventV2ContactUserUpdatedV3OldObjectCustomAttrValue ...
type EventV2ContactUserUpdatedV3OldObjectCustomAttrValueGenericUser ¶
type EventV2ContactUserUpdatedV3OldObjectCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
EventV2ContactUserUpdatedV3OldObjectCustomAttrValueGenericUser ...
type EventV2ContactUserUpdatedV3OldObjectOrder ¶
type EventV2ContactUserUpdatedV3OldObjectOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
EventV2ContactUserUpdatedV3OldObjectOrder ...
type EventV2ContactUserUpdatedV3OldObjectStatus ¶
type EventV2ContactUserUpdatedV3OldObjectStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
EventV2ContactUserUpdatedV3OldObjectStatus ...
type EventV2DriveFileDeletedV1 ¶
type EventV2DriveFileDeletedV1 struct { FileToken string `json:"file_token,omitempty"` // 文件token. 如: doccnxxxxxx FileType FileType `json:"file_type,omitempty"` // 文件类型,目前有doc、sheet. 如: doc OperatorID *EventV2DriveFileDeletedV1OperatorID `json:"operator_id,omitempty"` // 操作者id }
EventV2DriveFileDeletedV1 ...
type EventV2DriveFileDeletedV1Handler ¶
type EventV2DriveFileDeletedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFileDeletedV1) (string, error)
EventV2DriveFileDeletedV1Handler event EventV2DriveFileDeletedV1 handler
type EventV2DriveFileDeletedV1OperatorID ¶
type EventV2DriveFileDeletedV1OperatorID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_xxxxxx UnionID string `json:"union_id,omitempty"` // 如: on_xxxxxx UserID string `json:"user_id,omitempty"` // 如: xxxxxx }
EventV2DriveFileDeletedV1OperatorID ...
type EventV2DriveFileEditV1 ¶
type EventV2DriveFileEditV1 struct { FileToken string `json:"file_token,omitempty"` // 出现编辑的文档token. 如: doccnxxxxxxxxxxxxxxxxxxxxxxx FileType FileType `json:"file_type,omitempty"` // 出现编辑的文档类型. 如: doc OperatorIDList []*EventV2DriveFileEditV1OperatorID `json:"operator_id_list,omitempty"` // 编辑人列表 SubscriberIDList []*EventV2DriveFileEditV1SubscriberID `json:"subscriber_id_list,omitempty"` // 订阅用户列表 }
EventV2DriveFileEditV1 ...
type EventV2DriveFileEditV1Handler ¶
type EventV2DriveFileEditV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFileEditV1) (string, error)
EventV2DriveFileEditV1Handler event EventV2DriveFileEditV1 handler
type EventV2DriveFileEditV1OperatorID ¶
type EventV2DriveFileEditV1OperatorID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_xxxxxxxxxxxxxxxxxxxxxxxxx UnionID string `json:"union_id,omitempty"` // 如: on_xxxxxxxxxxxxxxxxxxxxxxxxx UserID string `json:"user_id,omitempty"` // 如: xxxxxxxx }
EventV2DriveFileEditV1OperatorID ...
type EventV2DriveFileEditV1SubscriberID ¶
type EventV2DriveFileEditV1SubscriberID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_xxxxxxxxxxxxxxxxxxxxxxxxx UnionID string `json:"union_id,omitempty"` // 如: on_xxxxxxxxxxxxxxxxxxxxxxxxx UserID string `json:"user_id,omitempty"` // 如: xxxxxxxx }
EventV2DriveFileEditV1SubscriberID ...
type EventV2DriveFilePermissionMemberAddedV1 ¶
type EventV2DriveFilePermissionMemberAddedV1 struct{}
EventV2DriveFilePermissionMemberAddedV1 ...
type EventV2DriveFilePermissionMemberAddedV1Handler ¶
type EventV2DriveFilePermissionMemberAddedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFilePermissionMemberAddedV1) (string, error)
EventV2DriveFilePermissionMemberAddedV1Handler event EventV2DriveFilePermissionMemberAddedV1 handler
type EventV2DriveFilePermissionMemberRemovedV1 ¶
type EventV2DriveFilePermissionMemberRemovedV1 struct{}
EventV2DriveFilePermissionMemberRemovedV1 ...
type EventV2DriveFilePermissionMemberRemovedV1Handler ¶
type EventV2DriveFilePermissionMemberRemovedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFilePermissionMemberRemovedV1) (string, error)
EventV2DriveFilePermissionMemberRemovedV1Handler event EventV2DriveFilePermissionMemberRemovedV1 handler
type EventV2DriveFileReadV1 ¶
type EventV2DriveFileReadV1 struct { FileToken string `json:"file_token,omitempty"` // 文件token. 如: doccnxxxxxx FileType FileType `json:"file_type,omitempty"` // 文件类型,目前有doc、sheet. 如: doc OperatorIDList []*EventV2DriveFileReadV1OperatorID `json:"operator_id_list,omitempty"` }
EventV2DriveFileReadV1 ...
type EventV2DriveFileReadV1Handler ¶
type EventV2DriveFileReadV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFileReadV1) (string, error)
EventV2DriveFileReadV1Handler event EventV2DriveFileReadV1 handler
type EventV2DriveFileReadV1OperatorID ¶
type EventV2DriveFileReadV1OperatorID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_xxxxxx UnionID string `json:"union_id,omitempty"` // 如: on_xxxxxx UserID string `json:"user_id,omitempty"` // 如: xxxxxx }
EventV2DriveFileReadV1OperatorID ...
type EventV2DriveFileTitleUpdatedV1 ¶
type EventV2DriveFileTitleUpdatedV1 struct{}
EventV2DriveFileTitleUpdatedV1 ...
type EventV2DriveFileTitleUpdatedV1Handler ¶
type EventV2DriveFileTitleUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFileTitleUpdatedV1) (string, error)
EventV2DriveFileTitleUpdatedV1Handler event EventV2DriveFileTitleUpdatedV1 handler
type EventV2DriveFileTrashedV1 ¶
type EventV2DriveFileTrashedV1 struct { FileToken string `json:"file_token,omitempty"` // 文件token. 如: doccnxxxxxx FileType FileType `json:"file_type,omitempty"` // 文件类型,目前有doc、sheet. 如: doc OperatorID *EventV2DriveFileTrashedV1OperatorID `json:"operator_id,omitempty"` // 操作者id }
EventV2DriveFileTrashedV1 ...
type EventV2DriveFileTrashedV1Handler ¶
type EventV2DriveFileTrashedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2DriveFileTrashedV1) (string, error)
EventV2DriveFileTrashedV1Handler event EventV2DriveFileTrashedV1 handler
type EventV2DriveFileTrashedV1OperatorID ¶
type EventV2DriveFileTrashedV1OperatorID struct { OpenID string `json:"open_id,omitempty"` // 如: ou_xxxxxx UnionID string `json:"union_id,omitempty"` // 如: on_xxxxxx UserID string `json:"user_id,omitempty"` // 如: xxxxxx }
EventV2DriveFileTrashedV1OperatorID ...
type EventV2HelpdeskNotificationApproveV1 ¶
type EventV2HelpdeskNotificationApproveV1 struct { NotificationID string `json:"notification_id,omitempty"` // 推送任务唯一ID HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台唯一ID ApproveStatus string `json:"approve_status,omitempty"` // REJECTED(审核不通过),APPROVED(审核通过),CANCELED(取消审核),DELETED(删除审核) }
EventV2HelpdeskNotificationApproveV1 ...
type EventV2HelpdeskNotificationApproveV1Handler ¶
type EventV2HelpdeskNotificationApproveV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2HelpdeskNotificationApproveV1) (string, error)
EventV2HelpdeskNotificationApproveV1Handler event EventV2HelpdeskNotificationApproveV1 handler
type EventV2HelpdeskTicketCreatedV1 ¶
type EventV2HelpdeskTicketCreatedV1 struct { TicketID string `json:"ticket_id,omitempty"` // 工单ID,[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list),[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created) HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Guest *EventV2HelpdeskTicketCreatedV1Guest `json:"guest,omitempty"` // 工单创建用户 Stage int64 `json:"stage,omitempty"` // 工单阶段,1:bot,2:人工 Status int64 `json:"status,omitempty"` // 工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭 Score int64 `json:"score,omitempty"` // 工单评分,1:不满意,2:一般,3:满意 CreatedAt int64 `json:"created_at,omitempty"` // 工单创建时间 UpdatedAt int64 `json:"updated_at,omitempty"` // 工单更新时间,没有值时为-1 ClosedAt int64 `json:"closed_at,omitempty"` // 工单结束时间 Channel int64 `json:"channel,omitempty"` // 工单渠道,描述:,9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道 Solve int64 `json:"solve,omitempty"` // 工单是否解决 1:没解决 2:已解决 ChatID string `json:"chat_id,omitempty"` // 会话Open ID }
EventV2HelpdeskTicketCreatedV1 ...
type EventV2HelpdeskTicketCreatedV1Guest ¶
type EventV2HelpdeskTicketCreatedV1Guest struct { ID *EventV2HelpdeskTicketCreatedV1GuestID `json:"id,omitempty"` // 用户 ID Name string `json:"name,omitempty"` // 用户名 }
EventV2HelpdeskTicketCreatedV1Guest ...
type EventV2HelpdeskTicketCreatedV1GuestID ¶
type EventV2HelpdeskTicketCreatedV1GuestID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2HelpdeskTicketCreatedV1GuestID ...
type EventV2HelpdeskTicketCreatedV1Handler ¶
type EventV2HelpdeskTicketCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2HelpdeskTicketCreatedV1) (string, error)
EventV2HelpdeskTicketCreatedV1Handler event EventV2HelpdeskTicketCreatedV1 handler
type EventV2HelpdeskTicketMessageCreatedV1 ¶
type EventV2HelpdeskTicketMessageCreatedV1 struct { TicketMessageID string `json:"ticket_message_id,omitempty"` // 工单消息ID MessageID string `json:"message_id,omitempty"` // chat消息open ID MsgType MsgType `json:"msg_type,omitempty"` // 消息类型;text:纯文本 Position string `json:"position,omitempty"` // 消息位置 SenderID *EventV2HelpdeskTicketMessageCreatedV1SenderID `json:"sender_id,omitempty"` // 用户 ID SenderType int64 `json:"sender_type,omitempty"` // 发送者类型 1:机器人;2:用户;3:客服 Text string `json:"text,omitempty"` // 内容 Ticket *EventV2HelpdeskTicketMessageCreatedV1Ticket `json:"ticket,omitempty"` // 工单信息 EventID string `json:"event_id,omitempty"` // 消息事件ID ChatID string `json:"chat_id,omitempty"` // 会话ID Content *EventV2HelpdeskTicketMessageCreatedV1Content `json:"content,omitempty"` // 内容详情 }
EventV2HelpdeskTicketMessageCreatedV1 ...
type EventV2HelpdeskTicketMessageCreatedV1Content ¶
type EventV2HelpdeskTicketMessageCreatedV1Content struct { Content string `json:"content,omitempty"` // 内容 MsgType MsgType `json:"msg_type,omitempty"` // 消息类型;text:纯文本;post:富文本;image:图片 ImageKeys []string `json:"image_keys,omitempty"` // 图片ID ImageKey string `json:"image_key,omitempty"` // 图片ID }
EventV2HelpdeskTicketMessageCreatedV1Content ...
type EventV2HelpdeskTicketMessageCreatedV1Handler ¶
type EventV2HelpdeskTicketMessageCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2HelpdeskTicketMessageCreatedV1) (string, error)
EventV2HelpdeskTicketMessageCreatedV1Handler event EventV2HelpdeskTicketMessageCreatedV1 handler
type EventV2HelpdeskTicketMessageCreatedV1SenderID ¶
type EventV2HelpdeskTicketMessageCreatedV1SenderID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2HelpdeskTicketMessageCreatedV1SenderID ...
type EventV2HelpdeskTicketMessageCreatedV1Ticket ¶
type EventV2HelpdeskTicketMessageCreatedV1Ticket struct { TicketID string `json:"ticket_id,omitempty"` // 工单ID Stage int64 `json:"stage,omitempty"` // 工单阶段,1:bot,2:人工 Status int64 `json:"status,omitempty"` // 工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被人工关闭 }
EventV2HelpdeskTicketMessageCreatedV1Ticket ...
type EventV2HelpdeskTicketMessageUpdatedV1 ¶
type EventV2HelpdeskTicketMessageUpdatedV1 struct { Object *EventV2HelpdeskTicketMessageUpdatedV1Object `json:"object,omitempty"` // ticket after update OldObject *EventV2HelpdeskTicketMessageUpdatedV1OldObject `json:"old_object,omitempty"` // ticket before update, only has updated fields }
EventV2HelpdeskTicketMessageUpdatedV1 ...
type EventV2HelpdeskTicketMessageUpdatedV1Handler ¶
type EventV2HelpdeskTicketMessageUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2HelpdeskTicketMessageUpdatedV1) (string, error)
EventV2HelpdeskTicketMessageUpdatedV1Handler event EventV2HelpdeskTicketMessageUpdatedV1 handler
type EventV2HelpdeskTicketMessageUpdatedV1Object ¶
type EventV2HelpdeskTicketMessageUpdatedV1Object struct { TicketID string `json:"ticket_id,omitempty"` // 工单ID,[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list),[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created) HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Guest *EventV2HelpdeskTicketMessageUpdatedV1ObjectGuest `json:"guest,omitempty"` // 工单创建用户 Stage int64 `json:"stage,omitempty"` // 工单阶段,1:bot,2:人工 Status int64 `json:"status,omitempty"` // 工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭 Score int64 `json:"score,omitempty"` // 工单评分,1:不满意,2:一般,3:满意 CreatedAt int64 `json:"created_at,omitempty"` // 工单创建时间 UpdatedAt int64 `json:"updated_at,omitempty"` // 工单更新时间,没有值时为-1 ClosedAt int64 `json:"closed_at,omitempty"` // 工单结束时间 Channel int64 `json:"channel,omitempty"` // 工单渠道,描述:,9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道 Solve int64 `json:"solve,omitempty"` // 工单是否解决 1:没解决 2:已解决 ChatID string `json:"chat_id,omitempty"` // 会话Open ID }
EventV2HelpdeskTicketMessageUpdatedV1Object ...
type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuest ¶
type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuest struct { ID *EventV2HelpdeskTicketMessageUpdatedV1ObjectGuestID `json:"id,omitempty"` // 用户 ID Name string `json:"name,omitempty"` // 用户名 }
EventV2HelpdeskTicketMessageUpdatedV1ObjectGuest ...
type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuestID ¶
type EventV2HelpdeskTicketMessageUpdatedV1ObjectGuestID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2HelpdeskTicketMessageUpdatedV1ObjectGuestID ...
type EventV2HelpdeskTicketMessageUpdatedV1OldObject ¶
type EventV2HelpdeskTicketMessageUpdatedV1OldObject struct { Stage int64 `json:"stage,omitempty"` // ticket stage Status int64 `json:"status,omitempty"` // ticket status UpdatedAt int64 `json:"updated_at,omitempty"` // ticket update time }
EventV2HelpdeskTicketMessageUpdatedV1OldObject ...
type EventV2IMChatDisbandedV1 ¶
type EventV2IMChatDisbandedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatDisbandedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // 操作者的租户 Key }
EventV2IMChatDisbandedV1 ...
type EventV2IMChatDisbandedV1Handler ¶
type EventV2IMChatDisbandedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatDisbandedV1) (string, error)
EventV2IMChatDisbandedV1Handler event EventV2IMChatDisbandedV1 handler
type EventV2IMChatDisbandedV1OperatorID ¶
type EventV2IMChatDisbandedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatDisbandedV1OperatorID ...
type EventV2IMChatMemberBotAddedV1 ¶
type EventV2IMChatMemberBotAddedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatMemberBotAddedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // operator tenant key }
EventV2IMChatMemberBotAddedV1 ...
type EventV2IMChatMemberBotAddedV1Handler ¶
type EventV2IMChatMemberBotAddedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatMemberBotAddedV1) (string, error)
EventV2IMChatMemberBotAddedV1Handler event EventV2IMChatMemberBotAddedV1 handler
type EventV2IMChatMemberBotAddedV1OperatorID ¶
type EventV2IMChatMemberBotAddedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberBotAddedV1OperatorID ...
type EventV2IMChatMemberBotDeletedV1 ¶
type EventV2IMChatMemberBotDeletedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatMemberBotDeletedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // 操作者租户 Key }
EventV2IMChatMemberBotDeletedV1 ...
type EventV2IMChatMemberBotDeletedV1Handler ¶
type EventV2IMChatMemberBotDeletedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatMemberBotDeletedV1) (string, error)
EventV2IMChatMemberBotDeletedV1Handler event EventV2IMChatMemberBotDeletedV1 handler
type EventV2IMChatMemberBotDeletedV1OperatorID ¶
type EventV2IMChatMemberBotDeletedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberBotDeletedV1OperatorID ...
type EventV2IMChatMemberUserAddedV1 ¶
type EventV2IMChatMemberUserAddedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatMemberUserAddedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // 操作者租户 Key Users []*EventV2IMChatMemberUserAddedV1User `json:"users,omitempty"` // 被添加的用户列表 }
EventV2IMChatMemberUserAddedV1 ...
type EventV2IMChatMemberUserAddedV1Handler ¶
type EventV2IMChatMemberUserAddedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatMemberUserAddedV1) (string, error)
EventV2IMChatMemberUserAddedV1Handler event EventV2IMChatMemberUserAddedV1 handler
type EventV2IMChatMemberUserAddedV1OperatorID ¶
type EventV2IMChatMemberUserAddedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserAddedV1OperatorID ...
type EventV2IMChatMemberUserAddedV1User ¶
type EventV2IMChatMemberUserAddedV1User struct { Name string `json:"name,omitempty"` // 用户名字 TenantKey string `json:"tenant_key,omitempty"` // 租户 Key UserID *EventV2IMChatMemberUserAddedV1UserUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2IMChatMemberUserAddedV1User ...
type EventV2IMChatMemberUserAddedV1UserUserID ¶
type EventV2IMChatMemberUserAddedV1UserUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserAddedV1UserUserID ...
type EventV2IMChatMemberUserDeletedV1 ¶
type EventV2IMChatMemberUserDeletedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatMemberUserDeletedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // 操作者租户 Key Users []*EventV2IMChatMemberUserDeletedV1User `json:"users,omitempty"` // 被移除用户列表 }
EventV2IMChatMemberUserDeletedV1 ...
type EventV2IMChatMemberUserDeletedV1Handler ¶
type EventV2IMChatMemberUserDeletedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatMemberUserDeletedV1) (string, error)
EventV2IMChatMemberUserDeletedV1Handler event EventV2IMChatMemberUserDeletedV1 handler
type EventV2IMChatMemberUserDeletedV1OperatorID ¶
type EventV2IMChatMemberUserDeletedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserDeletedV1OperatorID ...
type EventV2IMChatMemberUserDeletedV1User ¶
type EventV2IMChatMemberUserDeletedV1User struct { Name string `json:"name,omitempty"` // 用户名字 TenantKey string `json:"tenant_key,omitempty"` // 租户 Key UserID *EventV2IMChatMemberUserDeletedV1UserUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2IMChatMemberUserDeletedV1User ...
type EventV2IMChatMemberUserDeletedV1UserUserID ¶
type EventV2IMChatMemberUserDeletedV1UserUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserDeletedV1UserUserID ...
type EventV2IMChatMemberUserWithdrawnV1 ¶
type EventV2IMChatMemberUserWithdrawnV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatMemberUserWithdrawnV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // operator tenant key Users []*EventV2IMChatMemberUserWithdrawnV1User `json:"users,omitempty"` // 被撤销加群的用户列表 }
EventV2IMChatMemberUserWithdrawnV1 ...
type EventV2IMChatMemberUserWithdrawnV1Handler ¶
type EventV2IMChatMemberUserWithdrawnV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatMemberUserWithdrawnV1) (string, error)
EventV2IMChatMemberUserWithdrawnV1Handler event EventV2IMChatMemberUserWithdrawnV1 handler
type EventV2IMChatMemberUserWithdrawnV1OperatorID ¶
type EventV2IMChatMemberUserWithdrawnV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserWithdrawnV1OperatorID ...
type EventV2IMChatMemberUserWithdrawnV1User ¶
type EventV2IMChatMemberUserWithdrawnV1User struct { Name string `json:"name,omitempty"` // 用户名字 TenantKey string `json:"tenant_key,omitempty"` // 租户 Key UserID *EventV2IMChatMemberUserWithdrawnV1UserUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2IMChatMemberUserWithdrawnV1User ...
type EventV2IMChatMemberUserWithdrawnV1UserUserID ¶
type EventV2IMChatMemberUserWithdrawnV1UserUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatMemberUserWithdrawnV1UserUserID ...
type EventV2IMChatUpdatedV1 ¶
type EventV2IMChatUpdatedV1 struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) OperatorID *EventV2IMChatUpdatedV1OperatorID `json:"operator_id,omitempty"` // 用户 ID External bool `json:"external,omitempty"` // 是否是外部群 OperatorTenantKey string `json:"operator_tenant_key,omitempty"` // 操作者租户 Key AfterChange *EventV2IMChatUpdatedV1AfterChange `json:"after_change,omitempty"` // 更新后的群信息 BeforeChange *EventV2IMChatUpdatedV1BeforeChange `json:"before_change,omitempty"` // 更新前的群信息 ModeratorList *EventV2IMChatUpdatedV1ModeratorList `json:"moderator_list,omitempty"` // 群可发言成员名单的变更信息 }
EventV2IMChatUpdatedV1 ...
type EventV2IMChatUpdatedV1AfterChange ¶
type EventV2IMChatUpdatedV1AfterChange struct { Avatar string `json:"avatar,omitempty"` // 群头像 Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 AddMemberPermission AddMemberPermission `json:"add_member_permission,omitempty"` // 加人入群权限(all_members/only_owner/unknown) AtAllPermission AtAllPermission `json:"at_all_permission,omitempty"` // at 所有人权限(all_members/only_owner/unknown) EditPermission EditPermission `json:"edit_permission,omitempty"` // 群编辑权限(all_members/only_owner/unknown) MembershipApproval MembershipApproval `json:"membership_approval,omitempty"` // 加群审批(no_approval_required/approval_required) JoinMessageVisibility MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性(only_owner/all_members/not_anyone) LeaveMessageVisibility MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性(only_owner/all_members/not_anyone) ModerationPermission ModerationPermission `json:"moderation_permission,omitempty"` // 发言权限(all_members/only_owner) OwnerID *EventV2IMChatUpdatedV1AfterChangeOwnerID `json:"owner_id,omitempty"` // 用户 ID }
EventV2IMChatUpdatedV1AfterChange ...
type EventV2IMChatUpdatedV1AfterChangeOwnerID ¶
type EventV2IMChatUpdatedV1AfterChangeOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatUpdatedV1AfterChangeOwnerID ...
type EventV2IMChatUpdatedV1BeforeChange ¶
type EventV2IMChatUpdatedV1BeforeChange struct { Avatar string `json:"avatar,omitempty"` // 群头像 Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 AddMemberPermission AddMemberPermission `json:"add_member_permission,omitempty"` // 加人入群权限(all_members/only_owner/unknown) AtAllPermission AtAllPermission `json:"at_all_permission,omitempty"` // at 所有人权限(all_members/only_owner/unknown) EditPermission EditPermission `json:"edit_permission,omitempty"` // 群编辑权限(all_members/only_owner/unknown) MembershipApproval MembershipApproval `json:"membership_approval,omitempty"` // 加群审批(no_approval_required/approval_required) JoinMessageVisibility MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性(only_owner/all_members/not_anyone) LeaveMessageVisibility MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性(only_owner/all_members/not_anyone) ModerationPermission ModerationPermission `json:"moderation_permission,omitempty"` // 发言权限(all_members/only_owner) OwnerID *EventV2IMChatUpdatedV1BeforeChangeOwnerID `json:"owner_id,omitempty"` // 用户 ID }
EventV2IMChatUpdatedV1BeforeChange ...
type EventV2IMChatUpdatedV1BeforeChangeOwnerID ¶
type EventV2IMChatUpdatedV1BeforeChangeOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatUpdatedV1BeforeChangeOwnerID ...
type EventV2IMChatUpdatedV1Handler ¶
type EventV2IMChatUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMChatUpdatedV1) (string, error)
EventV2IMChatUpdatedV1Handler event EventV2IMChatUpdatedV1 handler
type EventV2IMChatUpdatedV1ModeratorList ¶
type EventV2IMChatUpdatedV1ModeratorList struct { AddedMemberList []*EventV2IMChatUpdatedV1ModeratorListAddedMember `json:"added_member_list,omitempty"` // 被添加进可发言名单的用户列表(列表中一定会有owner) RemovedMemberList []*EventV2IMChatUpdatedV1ModeratorListRemovedMember `json:"removed_member_list,omitempty"` // 被移除出可发言名单的用户列表 }
EventV2IMChatUpdatedV1ModeratorList ...
type EventV2IMChatUpdatedV1ModeratorListAddedMember ¶
type EventV2IMChatUpdatedV1ModeratorListAddedMember struct { TenantKey string `json:"tenant_key,omitempty"` // 租户 Key UserID *EventV2IMChatUpdatedV1ModeratorListAddedMemberUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2IMChatUpdatedV1ModeratorListAddedMember ...
type EventV2IMChatUpdatedV1ModeratorListAddedMemberUserID ¶
type EventV2IMChatUpdatedV1ModeratorListAddedMemberUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatUpdatedV1ModeratorListAddedMemberUserID ...
type EventV2IMChatUpdatedV1ModeratorListRemovedMember ¶
type EventV2IMChatUpdatedV1ModeratorListRemovedMember struct { TenantKey string `json:"tenant_key,omitempty"` // 租户 Key UserID *EventV2IMChatUpdatedV1ModeratorListRemovedMemberUserID `json:"user_id,omitempty"` // 用户 ID }
EventV2IMChatUpdatedV1ModeratorListRemovedMember ...
type EventV2IMChatUpdatedV1ModeratorListRemovedMemberUserID ¶
type EventV2IMChatUpdatedV1ModeratorListRemovedMemberUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatUpdatedV1ModeratorListRemovedMemberUserID ...
type EventV2IMChatUpdatedV1OperatorID ¶
type EventV2IMChatUpdatedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMChatUpdatedV1OperatorID ...
type EventV2IMMessageReactionCreatedV1 ¶
type EventV2IMMessageReactionCreatedV1 struct { MessageID string `json:"message_id,omitempty"` // 消息的 open_message_id ReactionType *EventV2IMMessageReactionCreatedV1ReactionType `json:"reaction_type,omitempty"` // 表情回复的资源类型 OperatorType string `json:"operator_type,omitempty"` // 操作人类型 UserID *EventV2IMMessageReactionCreatedV1UserID `json:"user_id,omitempty"` // 用户 ID AppID string `json:"app_id,omitempty"` // 应用 ID ActionTime string `json:"action_time,omitempty"` // 添加表情回复时间戳(单位:ms) }
EventV2IMMessageReactionCreatedV1 ...
type EventV2IMMessageReactionCreatedV1Handler ¶
type EventV2IMMessageReactionCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMMessageReactionCreatedV1) (string, error)
EventV2IMMessageReactionCreatedV1Handler event EventV2IMMessageReactionCreatedV1 handler
type EventV2IMMessageReactionCreatedV1ReactionType ¶
type EventV2IMMessageReactionCreatedV1ReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)
}
EventV2IMMessageReactionCreatedV1ReactionType ...
type EventV2IMMessageReactionCreatedV1UserID ¶
type EventV2IMMessageReactionCreatedV1UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMMessageReactionCreatedV1UserID ...
type EventV2IMMessageReactionDeletedV1 ¶
type EventV2IMMessageReactionDeletedV1 struct { MessageID string `json:"message_id,omitempty"` // 消息的 open_message_id ReactionType *EventV2IMMessageReactionDeletedV1ReactionType `json:"reaction_type,omitempty"` // 表情回复的资源类型 OperatorType string `json:"operator_type,omitempty"` // 操作人类型 UserID *EventV2IMMessageReactionDeletedV1UserID `json:"user_id,omitempty"` // 用户 ID AppID string `json:"app_id,omitempty"` // 应用 ID ActionTime string `json:"action_time,omitempty"` // 表情回复被添加时的时间戳(单位:ms) }
EventV2IMMessageReactionDeletedV1 ...
type EventV2IMMessageReactionDeletedV1Handler ¶
type EventV2IMMessageReactionDeletedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMMessageReactionDeletedV1) (string, error)
EventV2IMMessageReactionDeletedV1Handler event EventV2IMMessageReactionDeletedV1 handler
type EventV2IMMessageReactionDeletedV1ReactionType ¶
type EventV2IMMessageReactionDeletedV1ReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)
}
EventV2IMMessageReactionDeletedV1ReactionType ...
type EventV2IMMessageReactionDeletedV1UserID ¶
type EventV2IMMessageReactionDeletedV1UserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMMessageReactionDeletedV1UserID ...
type EventV2IMMessageReadV1 ¶
type EventV2IMMessageReadV1 struct { Reader *EventV2IMMessageReadV1Reader `json:"reader,omitempty"` // - MessageIDList []string `json:"message_id_list,omitempty"` // 消息列表 }
EventV2IMMessageReadV1 ...
type EventV2IMMessageReadV1Handler ¶
type EventV2IMMessageReadV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMMessageReadV1) (string, error)
EventV2IMMessageReadV1Handler event EventV2IMMessageReadV1 handler
type EventV2IMMessageReadV1Reader ¶
type EventV2IMMessageReadV1Reader struct { ReaderID *EventV2IMMessageReadV1ReaderReaderID `json:"reader_id,omitempty"` // 用户 ID ReadTime string `json:"read_time,omitempty"` // 阅读时间 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
EventV2IMMessageReadV1Reader ...
type EventV2IMMessageReadV1ReaderReaderID ¶
type EventV2IMMessageReadV1ReaderReaderID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMMessageReadV1ReaderReaderID ...
type EventV2IMMessageReceiveV1 ¶
type EventV2IMMessageReceiveV1 struct { Sender *EventV2IMMessageReceiveV1Sender `json:"sender,omitempty"` // 事件的发送者 Message *EventV2IMMessageReceiveV1Message `json:"message,omitempty"` // 事件中包含的消息内容 }
EventV2IMMessageReceiveV1 ...
type EventV2IMMessageReceiveV1Handler ¶
type EventV2IMMessageReceiveV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2IMMessageReceiveV1) (string, error)
EventV2IMMessageReceiveV1Handler event EventV2IMMessageReceiveV1 handler
type EventV2IMMessageReceiveV1Message ¶
type EventV2IMMessageReceiveV1Message struct { MessageID string `json:"message_id,omitempty"` // 消息的 open_message_id RootID string `json:"root_id,omitempty"` // 回复消息 根 id ParentID string `json:"parent_id,omitempty"` // 回复消息 父 id CreateTime string `json:"create_time,omitempty"` // 消息发送时间 毫秒 ChatID string `json:"chat_id,omitempty"` // 消息所在的群组 id ChatType ChatType `json:"chat_type,omitempty"` // 消息所在的群组类型,单聊(p2p)或群聊(group) MessageType MsgType `json:"message_type,omitempty"` // 消息类型 Content string `json:"content,omitempty"` // 消息内容, json 格式 ,[各类型消息Content](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/events/message_content) Mentions []*EventV2IMMessageReceiveV1MessageMention `json:"mentions,omitempty"` // 被提及用户的信息 }
EventV2IMMessageReceiveV1Message ...
type EventV2IMMessageReceiveV1MessageMention ¶
type EventV2IMMessageReceiveV1MessageMention struct { Key string `json:"key,omitempty"` // mention key ID *EventV2IMMessageReceiveV1MessageMentionID `json:"id,omitempty"` // 用户 ID Name string `json:"name,omitempty"` // 用户姓名 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
EventV2IMMessageReceiveV1MessageMention ...
type EventV2IMMessageReceiveV1MessageMentionID ¶
type EventV2IMMessageReceiveV1MessageMentionID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMMessageReceiveV1MessageMentionID ...
type EventV2IMMessageReceiveV1Sender ¶
type EventV2IMMessageReceiveV1Sender struct { SenderID *EventV2IMMessageReceiveV1SenderSenderID `json:"sender_id,omitempty"` // 用户 ID SenderType string `json:"sender_type,omitempty"` // 消息发送者类型。目前只支持用户(user)发送的消息。 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
EventV2IMMessageReceiveV1Sender ...
type EventV2IMMessageReceiveV1SenderSenderID ¶
type EventV2IMMessageReceiveV1SenderSenderID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2IMMessageReceiveV1SenderSenderID ...
type EventV2MeetingRoomMeetingRoomCreatedV1 ¶
type EventV2MeetingRoomMeetingRoomCreatedV1 struct { RoomID string `json:"room_id,omitempty"` // 会议室的唯一标识. 如: xxx RoomName string `json:"room_name,omitempty"` // 如: XXX }
EventV2MeetingRoomMeetingRoomCreatedV1 ...
type EventV2MeetingRoomMeetingRoomCreatedV1Handler ¶
type EventV2MeetingRoomMeetingRoomCreatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2MeetingRoomMeetingRoomCreatedV1) (string, error)
EventV2MeetingRoomMeetingRoomCreatedV1Handler event EventV2MeetingRoomMeetingRoomCreatedV1 handler
type EventV2MeetingRoomMeetingRoomDeletedV1 ¶
type EventV2MeetingRoomMeetingRoomDeletedV1 struct{}
EventV2MeetingRoomMeetingRoomDeletedV1 ...
type EventV2MeetingRoomMeetingRoomDeletedV1Handler ¶
type EventV2MeetingRoomMeetingRoomDeletedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2MeetingRoomMeetingRoomDeletedV1) (string, error)
EventV2MeetingRoomMeetingRoomDeletedV1Handler event EventV2MeetingRoomMeetingRoomDeletedV1 handler
type EventV2MeetingRoomMeetingRoomStatusChangedV1 ¶
type EventV2MeetingRoomMeetingRoomStatusChangedV1 struct{}
EventV2MeetingRoomMeetingRoomStatusChangedV1 ...
type EventV2MeetingRoomMeetingRoomStatusChangedV1Handler ¶
type EventV2MeetingRoomMeetingRoomStatusChangedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2MeetingRoomMeetingRoomStatusChangedV1) (string, error)
EventV2MeetingRoomMeetingRoomStatusChangedV1Handler event EventV2MeetingRoomMeetingRoomStatusChangedV1 handler
type EventV2MeetingRoomMeetingRoomUpdatedV1 ¶
type EventV2MeetingRoomMeetingRoomUpdatedV1 struct{}
EventV2MeetingRoomMeetingRoomUpdatedV1 ...
type EventV2MeetingRoomMeetingRoomUpdatedV1Handler ¶
type EventV2MeetingRoomMeetingRoomUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2MeetingRoomMeetingRoomUpdatedV1) (string, error)
EventV2MeetingRoomMeetingRoomUpdatedV1Handler event EventV2MeetingRoomMeetingRoomUpdatedV1 handler
type EventV2TaskTaskCommentUpdatedV1 ¶
type EventV2TaskTaskCommentUpdatedV1 struct { TaskID string `json:"task_id,omitempty"` // 任务ID CommentID string `json:"comment_id,omitempty"` // 任务评论ID ParentID string `json:"parent_id,omitempty"` // 任务评论父ID ObjType int64 `json:"obj_type,omitempty"` // 通知类型(1:创建评论,2:回复评论,3:更新评论,4:删除评论) }
EventV2TaskTaskCommentUpdatedV1 ...
type EventV2TaskTaskCommentUpdatedV1Handler ¶
type EventV2TaskTaskCommentUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2TaskTaskCommentUpdatedV1) (string, error)
EventV2TaskTaskCommentUpdatedV1Handler event EventV2TaskTaskCommentUpdatedV1 handler
type EventV2TaskTaskUpdateTenantV1 ¶
type EventV2TaskTaskUpdateTenantV1 struct {
UserIDList *EventV2TaskTaskUpdateTenantV1UserIDList `json:"user_id_list,omitempty"` // 用户 ID 列表
}
EventV2TaskTaskUpdateTenantV1 ...
type EventV2TaskTaskUpdateTenantV1Handler ¶
type EventV2TaskTaskUpdateTenantV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2TaskTaskUpdateTenantV1) (string, error)
EventV2TaskTaskUpdateTenantV1Handler event EventV2TaskTaskUpdateTenantV1 handler
type EventV2TaskTaskUpdateTenantV1UserIDList ¶
type EventV2TaskTaskUpdateTenantV1UserIDList struct {
UserIDList []*EventV2TaskTaskUpdateTenantV1UserIDListUserID `json:"user_id_list,omitempty"` // 用户 ID 列表
}
EventV2TaskTaskUpdateTenantV1UserIDList ...
type EventV2TaskTaskUpdateTenantV1UserIDListUserID ¶
type EventV2TaskTaskUpdateTenantV1UserIDListUserID struct { UnionID string `json:"union_id,omitempty"` // 忽略此字段 UserID string `json:"user_id,omitempty"` // 忽略此字段 OpenID string `json:"open_id,omitempty"` // 用户的 open_id }
EventV2TaskTaskUpdateTenantV1UserIDListUserID ...
type EventV2TaskTaskUpdatedV1 ¶
type EventV2TaskTaskUpdatedV1 struct { TaskID string `json:"task_id,omitempty"` // 任务ID ObjType int64 `json:"obj_type,omitempty"` // 通知类型(1:任务详情发生变化,2:任务协作者发生变化,3:任务关注者发生变化,4:任务提醒时间发生变化,5:任务完成,6:任务取消完成,7:任务删除) }
EventV2TaskTaskUpdatedV1 ...
type EventV2TaskTaskUpdatedV1Handler ¶
type EventV2TaskTaskUpdatedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2TaskTaskUpdatedV1) (string, error)
EventV2TaskTaskUpdatedV1Handler event EventV2TaskTaskUpdatedV1 handler
type EventV2VCMeetingJoinMeetingV1 ¶
type EventV2VCMeetingJoinMeetingV1 struct { Meeting *EventV2VCMeetingJoinMeetingV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingJoinMeetingV1Operator `json:"operator,omitempty"` // 事件操作人 }
EventV2VCMeetingJoinMeetingV1 ...
type EventV2VCMeetingJoinMeetingV1Handler ¶
type EventV2VCMeetingJoinMeetingV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingJoinMeetingV1) (string, error)
EventV2VCMeetingJoinMeetingV1Handler event EventV2VCMeetingJoinMeetingV1 handler
type EventV2VCMeetingJoinMeetingV1Meeting ¶
type EventV2VCMeetingJoinMeetingV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingJoinMeetingV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingJoinMeetingV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingJoinMeetingV1Meeting ...
type EventV2VCMeetingJoinMeetingV1MeetingHostUser ¶
type EventV2VCMeetingJoinMeetingV1MeetingHostUser struct { ID *EventV2VCMeetingJoinMeetingV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingJoinMeetingV1MeetingHostUser ...
type EventV2VCMeetingJoinMeetingV1MeetingHostUserID ¶
type EventV2VCMeetingJoinMeetingV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingJoinMeetingV1MeetingHostUserID ...
type EventV2VCMeetingJoinMeetingV1MeetingOwner ¶
type EventV2VCMeetingJoinMeetingV1MeetingOwner struct { ID *EventV2VCMeetingJoinMeetingV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingJoinMeetingV1MeetingOwner ...
type EventV2VCMeetingJoinMeetingV1MeetingOwnerID ¶
type EventV2VCMeetingJoinMeetingV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingJoinMeetingV1MeetingOwnerID ...
type EventV2VCMeetingJoinMeetingV1Operator ¶
type EventV2VCMeetingJoinMeetingV1Operator struct { ID *EventV2VCMeetingJoinMeetingV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingJoinMeetingV1Operator ...
type EventV2VCMeetingJoinMeetingV1OperatorID ¶
type EventV2VCMeetingJoinMeetingV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingJoinMeetingV1OperatorID ...
type EventV2VCMeetingLeaveMeetingV1 ¶
type EventV2VCMeetingLeaveMeetingV1 struct { Meeting *EventV2VCMeetingLeaveMeetingV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingLeaveMeetingV1Operator `json:"operator,omitempty"` // 事件操作人 LeaveReason int64 `json:"leave_reason,omitempty"` // 离开会议原因, 可选值有: `1`:主动离会, `2`:会议结束, `3`:被踢出 }
EventV2VCMeetingLeaveMeetingV1 ...
type EventV2VCMeetingLeaveMeetingV1Handler ¶
type EventV2VCMeetingLeaveMeetingV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingLeaveMeetingV1) (string, error)
EventV2VCMeetingLeaveMeetingV1Handler event EventV2VCMeetingLeaveMeetingV1 handler
type EventV2VCMeetingLeaveMeetingV1Meeting ¶
type EventV2VCMeetingLeaveMeetingV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingLeaveMeetingV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingLeaveMeetingV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingLeaveMeetingV1Meeting ...
type EventV2VCMeetingLeaveMeetingV1MeetingHostUser ¶
type EventV2VCMeetingLeaveMeetingV1MeetingHostUser struct { ID *EventV2VCMeetingLeaveMeetingV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingLeaveMeetingV1MeetingHostUser ...
type EventV2VCMeetingLeaveMeetingV1MeetingHostUserID ¶
type EventV2VCMeetingLeaveMeetingV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 userid OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingLeaveMeetingV1MeetingHostUserID ...
type EventV2VCMeetingLeaveMeetingV1MeetingOwner ¶
type EventV2VCMeetingLeaveMeetingV1MeetingOwner struct { ID *EventV2VCMeetingLeaveMeetingV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingLeaveMeetingV1MeetingOwner ...
type EventV2VCMeetingLeaveMeetingV1MeetingOwnerID ¶
type EventV2VCMeetingLeaveMeetingV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 userid OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingLeaveMeetingV1MeetingOwnerID ...
type EventV2VCMeetingLeaveMeetingV1Operator ¶
type EventV2VCMeetingLeaveMeetingV1Operator struct { ID *EventV2VCMeetingLeaveMeetingV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingLeaveMeetingV1Operator ...
type EventV2VCMeetingLeaveMeetingV1OperatorID ¶
type EventV2VCMeetingLeaveMeetingV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 userid OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingLeaveMeetingV1OperatorID ...
type EventV2VCMeetingMeetingEndedV1 ¶
type EventV2VCMeetingMeetingEndedV1 struct { Meeting *EventV2VCMeetingMeetingEndedV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingMeetingEndedV1Operator `json:"operator,omitempty"` // 事件操作人 }
EventV2VCMeetingMeetingEndedV1 ...
type EventV2VCMeetingMeetingEndedV1Handler ¶
type EventV2VCMeetingMeetingEndedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingMeetingEndedV1) (string, error)
EventV2VCMeetingMeetingEndedV1Handler event EventV2VCMeetingMeetingEndedV1 handler
type EventV2VCMeetingMeetingEndedV1Meeting ¶
type EventV2VCMeetingMeetingEndedV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingMeetingEndedV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingMeetingEndedV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingMeetingEndedV1Meeting ...
type EventV2VCMeetingMeetingEndedV1MeetingHostUser ¶
type EventV2VCMeetingMeetingEndedV1MeetingHostUser struct { ID *EventV2VCMeetingMeetingEndedV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingEndedV1MeetingHostUser ...
type EventV2VCMeetingMeetingEndedV1MeetingHostUserID ¶
type EventV2VCMeetingMeetingEndedV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingEndedV1MeetingHostUserID ...
type EventV2VCMeetingMeetingEndedV1MeetingOwner ¶
type EventV2VCMeetingMeetingEndedV1MeetingOwner struct { ID *EventV2VCMeetingMeetingEndedV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingEndedV1MeetingOwner ...
type EventV2VCMeetingMeetingEndedV1MeetingOwnerID ¶
type EventV2VCMeetingMeetingEndedV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingEndedV1MeetingOwnerID ...
type EventV2VCMeetingMeetingEndedV1Operator ¶
type EventV2VCMeetingMeetingEndedV1Operator struct { ID *EventV2VCMeetingMeetingEndedV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingEndedV1Operator ...
type EventV2VCMeetingMeetingEndedV1OperatorID ¶
type EventV2VCMeetingMeetingEndedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingEndedV1OperatorID ...
type EventV2VCMeetingMeetingStartedV1 ¶
type EventV2VCMeetingMeetingStartedV1 struct { Meeting *EventV2VCMeetingMeetingStartedV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingMeetingStartedV1Operator `json:"operator,omitempty"` // 事件操作人 }
EventV2VCMeetingMeetingStartedV1 ...
type EventV2VCMeetingMeetingStartedV1Handler ¶
type EventV2VCMeetingMeetingStartedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingMeetingStartedV1) (string, error)
EventV2VCMeetingMeetingStartedV1Handler event EventV2VCMeetingMeetingStartedV1 handler
type EventV2VCMeetingMeetingStartedV1Meeting ¶
type EventV2VCMeetingMeetingStartedV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingMeetingStartedV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingMeetingStartedV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingMeetingStartedV1Meeting ...
type EventV2VCMeetingMeetingStartedV1MeetingHostUser ¶
type EventV2VCMeetingMeetingStartedV1MeetingHostUser struct { ID *EventV2VCMeetingMeetingStartedV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingStartedV1MeetingHostUser ...
type EventV2VCMeetingMeetingStartedV1MeetingHostUserID ¶
type EventV2VCMeetingMeetingStartedV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingStartedV1MeetingHostUserID ...
type EventV2VCMeetingMeetingStartedV1MeetingOwner ¶
type EventV2VCMeetingMeetingStartedV1MeetingOwner struct { ID *EventV2VCMeetingMeetingStartedV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingStartedV1MeetingOwner ...
type EventV2VCMeetingMeetingStartedV1MeetingOwnerID ¶
type EventV2VCMeetingMeetingStartedV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingStartedV1MeetingOwnerID ...
type EventV2VCMeetingMeetingStartedV1Operator ¶
type EventV2VCMeetingMeetingStartedV1Operator struct { ID *EventV2VCMeetingMeetingStartedV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingMeetingStartedV1Operator ...
type EventV2VCMeetingMeetingStartedV1OperatorID ¶
type EventV2VCMeetingMeetingStartedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingMeetingStartedV1OperatorID ...
type EventV2VCMeetingRecordingEndedV1 ¶
type EventV2VCMeetingRecordingEndedV1 struct { Meeting *EventV2VCMeetingRecordingEndedV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingRecordingEndedV1Operator `json:"operator,omitempty"` // 事件操作人 }
EventV2VCMeetingRecordingEndedV1 ...
type EventV2VCMeetingRecordingEndedV1Handler ¶
type EventV2VCMeetingRecordingEndedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingRecordingEndedV1) (string, error)
EventV2VCMeetingRecordingEndedV1Handler event EventV2VCMeetingRecordingEndedV1 handler
type EventV2VCMeetingRecordingEndedV1Meeting ¶
type EventV2VCMeetingRecordingEndedV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingRecordingEndedV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingRecordingEndedV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingRecordingEndedV1Meeting ...
type EventV2VCMeetingRecordingEndedV1MeetingHostUser ¶
type EventV2VCMeetingRecordingEndedV1MeetingHostUser struct { ID *EventV2VCMeetingRecordingEndedV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingEndedV1MeetingHostUser ...
type EventV2VCMeetingRecordingEndedV1MeetingHostUserID ¶
type EventV2VCMeetingRecordingEndedV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingEndedV1MeetingHostUserID ...
type EventV2VCMeetingRecordingEndedV1MeetingOwner ¶
type EventV2VCMeetingRecordingEndedV1MeetingOwner struct { ID *EventV2VCMeetingRecordingEndedV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingEndedV1MeetingOwner ...
type EventV2VCMeetingRecordingEndedV1MeetingOwnerID ¶
type EventV2VCMeetingRecordingEndedV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingEndedV1MeetingOwnerID ...
type EventV2VCMeetingRecordingEndedV1Operator ¶
type EventV2VCMeetingRecordingEndedV1Operator struct { ID *EventV2VCMeetingRecordingEndedV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingEndedV1Operator ...
type EventV2VCMeetingRecordingEndedV1OperatorID ¶
type EventV2VCMeetingRecordingEndedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingEndedV1OperatorID ...
type EventV2VCMeetingRecordingReadyV1 ¶
type EventV2VCMeetingRecordingReadyV1 struct { Meeting *EventV2VCMeetingRecordingReadyV1Meeting `json:"meeting,omitempty"` // 会议数据 URL string `json:"url,omitempty"` // 会议录制链接 Duration string `json:"duration,omitempty"` // 录制总时长(单位msec) }
EventV2VCMeetingRecordingReadyV1 ...
type EventV2VCMeetingRecordingReadyV1Handler ¶
type EventV2VCMeetingRecordingReadyV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingRecordingReadyV1) (string, error)
EventV2VCMeetingRecordingReadyV1Handler event EventV2VCMeetingRecordingReadyV1 handler
type EventV2VCMeetingRecordingReadyV1Meeting ¶
type EventV2VCMeetingRecordingReadyV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) Owner *EventV2VCMeetingRecordingReadyV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingRecordingReadyV1Meeting ...
type EventV2VCMeetingRecordingReadyV1MeetingOwner ¶
type EventV2VCMeetingRecordingReadyV1MeetingOwner struct {
ID *EventV2VCMeetingRecordingReadyV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID
}
EventV2VCMeetingRecordingReadyV1MeetingOwner ...
type EventV2VCMeetingRecordingReadyV1MeetingOwnerID ¶
type EventV2VCMeetingRecordingReadyV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingReadyV1MeetingOwnerID ...
type EventV2VCMeetingRecordingStartedV1 ¶
type EventV2VCMeetingRecordingStartedV1 struct { Meeting *EventV2VCMeetingRecordingStartedV1Meeting `json:"meeting,omitempty"` // 会议数据 Operator *EventV2VCMeetingRecordingStartedV1Operator `json:"operator,omitempty"` // 事件操作人 }
EventV2VCMeetingRecordingStartedV1 ...
type EventV2VCMeetingRecordingStartedV1Handler ¶
type EventV2VCMeetingRecordingStartedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingRecordingStartedV1) (string, error)
EventV2VCMeetingRecordingStartedV1Handler event EventV2VCMeetingRecordingStartedV1 handler
type EventV2VCMeetingRecordingStartedV1Meeting ¶
type EventV2VCMeetingRecordingStartedV1Meeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *EventV2VCMeetingRecordingStartedV1MeetingHostUser `json:"host_user,omitempty"` // 会议主持人 Owner *EventV2VCMeetingRecordingStartedV1MeetingOwner `json:"owner,omitempty"` // 会议拥有者 }
EventV2VCMeetingRecordingStartedV1Meeting ...
type EventV2VCMeetingRecordingStartedV1MeetingHostUser ¶
type EventV2VCMeetingRecordingStartedV1MeetingHostUser struct { ID *EventV2VCMeetingRecordingStartedV1MeetingHostUserID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingStartedV1MeetingHostUser ...
type EventV2VCMeetingRecordingStartedV1MeetingHostUserID ¶
type EventV2VCMeetingRecordingStartedV1MeetingHostUserID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingStartedV1MeetingHostUserID ...
type EventV2VCMeetingRecordingStartedV1MeetingOwner ¶
type EventV2VCMeetingRecordingStartedV1MeetingOwner struct { ID *EventV2VCMeetingRecordingStartedV1MeetingOwnerID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingStartedV1MeetingOwner ...
type EventV2VCMeetingRecordingStartedV1MeetingOwnerID ¶
type EventV2VCMeetingRecordingStartedV1MeetingOwnerID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingStartedV1MeetingOwnerID ...
type EventV2VCMeetingRecordingStartedV1Operator ¶
type EventV2VCMeetingRecordingStartedV1Operator struct { ID *EventV2VCMeetingRecordingStartedV1OperatorID `json:"id,omitempty"` // 用户 ID UserRole int64 `json:"user_role,omitempty"` // 用户会中角色, 可选值有: `1`:普通参会人, `2`:主持人, `3`:联席主持人 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
EventV2VCMeetingRecordingStartedV1Operator ...
type EventV2VCMeetingRecordingStartedV1OperatorID ¶
type EventV2VCMeetingRecordingStartedV1OperatorID struct { UnionID string `json:"union_id,omitempty"` // 用户的 union id UserID string `json:"user_id,omitempty"` // 用户的 user id, 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的 open id }
EventV2VCMeetingRecordingStartedV1OperatorID ...
type EventV2VCMeetingShareEndedV1 ¶
type EventV2VCMeetingShareEndedV1 struct {}
EventV2VCMeetingShareEndedV1 ...
type EventV2VCMeetingShareEndedV1Handler ¶
type EventV2VCMeetingShareEndedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingShareEndedV1) (string, error)
EventV2VCMeetingShareEndedV1Handler event EventV2VCMeetingShareEndedV1 handler
type EventV2VCMeetingShareEndedV1Meeting ¶
type EventV2VCMeetingShareEndedV1Meeting struct {}
EventV2VCMeetingShareEndedV1Meeting ...
type EventV2VCMeetingShareEndedV1MeetingHostUser ¶
type EventV2VCMeetingShareEndedV1MeetingHostUser struct {}
EventV2VCMeetingShareEndedV1MeetingHostUser ...
type EventV2VCMeetingShareEndedV1MeetingHostUserID ¶
type EventV2VCMeetingShareEndedV1MeetingHostUserID struct {}
EventV2VCMeetingShareEndedV1MeetingHostUserID ...
type EventV2VCMeetingShareEndedV1MeetingOwner ¶
type EventV2VCMeetingShareEndedV1MeetingOwner struct {}
EventV2VCMeetingShareEndedV1MeetingOwner ...
type EventV2VCMeetingShareEndedV1MeetingOwnerID ¶
type EventV2VCMeetingShareEndedV1MeetingOwnerID struct {}
EventV2VCMeetingShareEndedV1MeetingOwnerID ...
type EventV2VCMeetingShareEndedV1Operator ¶
type EventV2VCMeetingShareEndedV1Operator struct {}
EventV2VCMeetingShareEndedV1Operator ...
type EventV2VCMeetingShareEndedV1OperatorID ¶
type EventV2VCMeetingShareEndedV1OperatorID struct {}
EventV2VCMeetingShareEndedV1OperatorID ...
type EventV2VCMeetingShareStartedV1 ¶
type EventV2VCMeetingShareStartedV1 struct {}
EventV2VCMeetingShareStartedV1 ...
type EventV2VCMeetingShareStartedV1Handler ¶
type EventV2VCMeetingShareStartedV1Handler func(ctx context.Context, cli *Lark, schema string, header *EventHeaderV2, event *EventV2VCMeetingShareStartedV1) (string, error)
EventV2VCMeetingShareStartedV1Handler event EventV2VCMeetingShareStartedV1 handler
type EventV2VCMeetingShareStartedV1Meeting ¶
type EventV2VCMeetingShareStartedV1Meeting struct {}
EventV2VCMeetingShareStartedV1Meeting ...
type EventV2VCMeetingShareStartedV1MeetingHostUser ¶
type EventV2VCMeetingShareStartedV1MeetingHostUser struct {}
EventV2VCMeetingShareStartedV1MeetingHostUser ...
type EventV2VCMeetingShareStartedV1MeetingHostUserID ¶
type EventV2VCMeetingShareStartedV1MeetingHostUserID struct {}
EventV2VCMeetingShareStartedV1MeetingHostUserID ...
type EventV2VCMeetingShareStartedV1MeetingOwner ¶
type EventV2VCMeetingShareStartedV1MeetingOwner struct {}
EventV2VCMeetingShareStartedV1MeetingOwner ...
type EventV2VCMeetingShareStartedV1MeetingOwnerID ¶
type EventV2VCMeetingShareStartedV1MeetingOwnerID struct {}
EventV2VCMeetingShareStartedV1MeetingOwnerID ...
type EventV2VCMeetingShareStartedV1Operator ¶
type EventV2VCMeetingShareStartedV1Operator struct {}
EventV2VCMeetingShareStartedV1Operator ...
type EventV2VCMeetingShareStartedV1OperatorID ¶
type EventV2VCMeetingShareStartedV1OperatorID struct {}
EventV2VCMeetingShareStartedV1OperatorID ...
type ExecuteSendHelpdeskNotificationReq ¶
type ExecuteSendHelpdeskNotificationReq struct { NotificationID string `path:"notification_id" json:"-"` // 创建接口返回的唯一id, 示例值:"6985032626234982420" SendAt string `json:"send_at,omitempty"` // 发送时间戳(毫秒), 示例值:"1624326025000" }
ExecuteSendHelpdeskNotificationReq ...
type ExecuteSendHelpdeskNotificationResp ¶
type ExecuteSendHelpdeskNotificationResp struct{}
ExecuteSendHelpdeskNotificationResp ...
type FileService ¶
type FileService struct {
// contains filtered or unexported fields
}
func (*FileService) DownloadFile ¶
func (r *FileService) DownloadFile(ctx context.Context, request *DownloadFileReq, options ...MethodOptionFunc) (*DownloadFileResp, *Response, error)
DownloadFile 下载文件接口,只能下载应用自己上传的文件
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能下载机器人自己上传的文件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/file/get
func (*FileService) DownloadImage ¶
func (r *FileService) DownloadImage(ctx context.Context, request *DownloadImageReq, options ...MethodOptionFunc) (*DownloadImageResp, *Response, error)
DownloadImage 下载图片资源,只能下载应用自己上传且图片类型为message的图片
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能下载机器人自己上传且图片类型为message的图片,avatar类型暂不支持下载;
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/get
func (*FileService) UploadFile ¶
func (r *FileService) UploadFile(ctx context.Context, request *UploadFileReq, options ...MethodOptionFunc) (*UploadFileResp, *Response, error)
UploadFile 上传文件,可以上传视频,音频和常见的文件类型
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/file/create
func (*FileService) UploadImage ¶
func (r *FileService) UploadImage(ctx context.Context, request *UploadImageReq, options ...MethodOptionFunc) (*UploadImageResp, *Response, error)
UploadImage 上传图片接口,可以上传 JPEG、PNG、WEBP、GIF、TIFF、BMP、ICO格式图片
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 上传的图片大小不能超过10MB
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create
type FileType ¶
type FileType string
FileType 文件类型
const ( FileTypeOpus FileType = "opus" // 上传opus音频文件;其他格式的音频文件,请转为opus格式后上传,转换方式可参考:ffmpeg -i SourceFile.mp3 -acodec libopus -ac 1 -ar 16000 TargetFile.opus FileTypeMp4 FileType = "mp4" // 上传mp4视频文件 FileTypePdf FileType = "pdf" // 上传pdf格式文件 FileTypeDoc FileType = "doc" // 上传doc格式文件 FileTypeXls FileType = "xls" // 上传xls格式文件 FileTypePpt FileType = "ppt" // 上传ppt格式文件 FileTypeStream FileType = "stream" // 上传stream格式文件 )
FileTypeOpus ...
type FindSheetReq ¶
type FindSheetReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格的 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表的 id, 示例值:"0b**12" FindCondition *FindSheetReqFindCondition `json:"find_condition,omitempty"` // 查找条件 Find string `json:"find,omitempty"` // 查找的字符串, 示例值:"hello" }
FindSheetReq ...
type FindSheetReqFindCondition ¶
type FindSheetReqFindCondition struct { Range string `json:"range,omitempty"` // 查找范围, 示例值:"0b**12!A1:H10" MatchCase *bool `json:"match_case,omitempty"` // 是否忽略大小写, 示例值:true MatchEntireCell *bool `json:"match_entire_cell,omitempty"` // 是否匹配整个单元格, 示例值:false SearchByRegex *bool `json:"search_by_regex,omitempty"` // 是否为正则匹配, 示例值:false IncludeFormulas *bool `json:"include_formulas,omitempty"` // 是否搜索公式内容, 示例值:false }
FindSheetReqFindCondition ...
type FindSheetResp ¶
type FindSheetResp struct {
FindResult *FindSheetRespFindResult `json:"find_result,omitempty"` // 查找返回符合条件的信息
}
FindSheetResp ...
type FindSheetRespFindResult ¶
type FindSheetRespFindResult struct { MatchedCells []string `json:"matched_cells,omitempty"` // 符合查找条件的单元格数组,不包含公式,例如["A1", "A2"...] MatchedFormulaCells []string `json:"matched_formula_cells,omitempty"` // 符合查找条件的含有公式的单元格数组,例如["B3", "H7"...] RowsCount int64 `json:"rows_count,omitempty"` // 符合查找条件的总行数 }
FindSheetRespFindResult ...
type FinishUploadDriveFileReq ¶
type FinishUploadDriveFileReq struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID, 示例值:"123456" BlockNum int64 `json:"block_num,omitempty"` // 分片数量, 示例值:1 }
FinishUploadDriveFileReq ...
type FinishUploadDriveFileResp ¶
type FinishUploadDriveFileResp struct {
FileToken string `json:"file_token,omitempty"` // 新创建的文件token
}
FinishUploadDriveFileResp ...
type FinishUploadDriveMediaReq ¶
type FinishUploadDriveMediaReq struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID, 示例值:"1233456" BlockNum int64 `json:"block_num,omitempty"` // 分片数量, 示例值:1 }
FinishUploadDriveMediaReq ...
type FinishUploadDriveMediaResp ¶
type FinishUploadDriveMediaResp struct {
FileToken string `json:"file_token,omitempty"` // 新创建文件的 token
}
FinishUploadDriveMediaResp ...
type GenOAuthURLReq ¶
type GenOAuthURLReq struct { RedirectURI string `json:"redirect_uri,omitempty"` // 在本流程中,此值为 authorization_code State string `json:"state,omitempty"` // 来自[请求身份验证(新)](/ssl:ttdoc/ukTMukTMukTM/ukzN4UjL5cDO14SO3gTN)流程,用户扫码登录后会自动302到redirect_uri并带上此参数 }
GenOAuthURLReq ...
type GenerateCaldavConfReq ¶
type GenerateCaldavConfReq struct {
DeviceName *string `json:"device_name,omitempty"` // 需要同步日历的设备名,在日历中展示用来管理密码, 示例值:"iPhone", 最大长度:`100` 字符
}
GenerateCaldavConfReq ...
type GenerateCaldavConfResp ¶
type GenerateCaldavConfResp struct { Password string `json:"password,omitempty"` // caldav密码 UserName string `json:"user_name,omitempty"` // caldav用户名 ServerAddress string `json:"server_address,omitempty"` // 服务器地址 DeviceName string `json:"device_name,omitempty"` // 设备名 }
GenerateCaldavConfResp ...
type GenerateJssdkSignatureReq ¶
type GenerateJssdkSignatureReq struct {
URL string `json:"url"` // 调用飞书组件的页面的url,不要包括#、?后面的参数。 比如原url是https://m.mm.cn/ttc/3541093/3131_1.html#subtitle?foo=bar,则实际应该传入https://m.mm.cn/ttc/3541093/3131_1.html
}
GenerateJssdkSignatureReq ...
type GetACSAccessRecordListReq ¶
type GetACSAccessRecordListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:100, 最大值:`500` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" From int64 `query:"from" json:"-"` // 记录开始时间,单位秒, 示例值:1624520521 To int64 `query:"to" json:"-"` // 记录结束时间,单位秒,,时间跨度不能超过30天, 示例值:1624520521 DeviceID *string `query:"device_id" json:"-"` // 门禁设备 ID, 示例值:"7091146989218002577" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetACSAccessRecordListReq ...
type GetACSAccessRecordListResp ¶
type GetACSAccessRecordListResp struct { Items []*GetACSAccessRecordListRespItem `json:"items,omitempty"` // - PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetACSAccessRecordListResp ...
type GetACSAccessRecordListRespItem ¶
type GetACSAccessRecordListRespItem struct { AccessRecordID string `json:"access_record_id,omitempty"` // 门禁记录 ID UserID string `json:"user_id,omitempty"` // 门禁记录所属用户 ID DeviceID string `json:"device_id,omitempty"` // 门禁设备 ID IsClockIn bool `json:"is_clock_in,omitempty"` // 是否是打卡 AccessTime string `json:"access_time,omitempty"` // 访问时间,单位秒 AccessType string `json:"access_type,omitempty"` // 识别方式, 可选值有: `FA`:人脸识别方式 AccessData string `json:"access_data,omitempty"` // 识别相关数据,根据 access_type 不同,取值不同 IsDoorOpen bool `json:"is_door_open,omitempty"` // 是否开门 }
GetACSAccessRecordListRespItem ...
type GetACSAccessRecordPhotoReq ¶
type GetACSAccessRecordPhotoReq struct {
AccessRecordID string `path:"access_record_id" json:"-"` // 门禁访问记录 ID, 示例值:"6939433228970082591"
}
GetACSAccessRecordPhotoReq ...
type GetACSAccessRecordPhotoResp ¶
GetACSAccessRecordPhotoResp ...
type GetACSDeviceListResp ¶
type GetACSDeviceListResp struct {
Items []*GetACSDeviceListRespItem `json:"items,omitempty"` // -
}
GetACSDeviceListResp ...
type GetACSDeviceListRespItem ¶
type GetACSDeviceListRespItem struct { DeviceID string `json:"device_id,omitempty"` // 门禁设备 ID DeviceName string `json:"device_name,omitempty"` // 设备名称 DeviceSn string `json:"device_sn,omitempty"` // 设备 SN 码 }
GetACSDeviceListRespItem ...
type GetACSUserFaceReq ¶
type GetACSUserFaceReq struct { IsCropped *bool `query:"is_cropped" json:"-"` // 裁剪图, 示例值:true UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `path:"user_id" json:"-"` // 用户 ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" }
GetACSUserFaceReq ...
type GetACSUserFaceResp ¶
GetACSUserFaceResp ...
type GetACSUserListReq ¶
type GetACSUserListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"10" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetACSUserListReq ...
type GetACSUserListResp ¶
type GetACSUserListResp struct { Items []*GetACSUserListRespItem `json:"items,omitempty"` // - PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetACSUserListResp ...
type GetACSUserListRespItem ¶
type GetACSUserListRespItem struct { Feature *GetACSUserListRespItemFeature `json:"feature,omitempty"` // 用户特征 UserID string `json:"user_id,omitempty"` // 用户 ID }
GetACSUserListRespItem ...
type GetACSUserListRespItemFeature ¶
type GetACSUserListRespItemFeature struct { Card int64 `json:"card,omitempty"` // 卡号 FaceUploaded bool `json:"face_uploaded,omitempty"` // 是否已上传人脸图片 }
GetACSUserListRespItemFeature ...
type GetACSUserReq ¶
type GetACSUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `path:"user_id" json:"-"` // 用户 ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" }
GetACSUserReq ...
type GetACSUserResp ¶
type GetACSUserResp struct {
User *GetACSUserRespUser `json:"user,omitempty"` // 门禁用户信息
}
GetACSUserResp ...
type GetACSUserRespUser ¶
type GetACSUserRespUser struct { Feature *GetACSUserRespUserFeature `json:"feature,omitempty"` // 用户特征 UserID string `json:"user_id,omitempty"` // 用户 ID }
GetACSUserRespUser ...
type GetACSUserRespUserFeature ¶
type GetACSUserRespUserFeature struct { Card int64 `json:"card,omitempty"` // 卡号 FaceUploaded bool `json:"face_uploaded,omitempty"` // 是否已上传人脸图片 }
GetACSUserRespUserFeature ...
type GetAccessTokenReq ¶
type GetAccessTokenReq struct { GrantType string `json:"grant_type,omitempty"` // 授权类型,本流程中,此值为:"authorization_code", 示例值:"authorization_code" Code string `json:"code,omitempty"` // 来自[请求身份验证](https://open.feishu.cn/document/ukTMukTMukTM/ukzN4UjL5cDO14SO3gTN)流程,用户扫码登录后会自动302到redirect_uri并带上此参数, 示例值:"xMSldislSkdK" }
GetAccessTokenReq ...
type GetAccessTokenResp ¶
type GetAccessTokenResp struct { AccessToken string `json:"access_token,omitempty"` // user_access_token,用于获取用户资源 TokenType string `json:"token_type,omitempty"` // token 类型 ExpiresIn int64 `json:"expires_in,omitempty"` // access_token 的有效期,单位: 秒 Name string `json:"name,omitempty"` // 用户姓名 EnName string `json:"en_name,omitempty"` // 用户英文名称 AvatarURL string `json:"avatar_url,omitempty"` // 用户头像 AvatarThumb string `json:"avatar_thumb,omitempty"` // 用户头像 72x72 AvatarMiddle string `json:"avatar_middle,omitempty"` // 用户头像 240x240 AvatarBig string `json:"avatar_big,omitempty"` // 用户头像 640x640 OpenID string `json:"open_id,omitempty"` // 用户在应用内的唯一标识 UnionID string `json:"union_id,omitempty"` // 用户统一ID Email string `json:"email,omitempty"` // 用户邮箱, 字段权限要求: 获取用户邮箱信息 UserID string `json:"user_id,omitempty"` // 用户 user_id, 字段权限要求: 获取用户 user ID Mobile string `json:"mobile,omitempty"` // 用户手机号, 字段权限要求: 获取用户手机号 TenantKey string `json:"tenant_key,omitempty"` // 当前企业标识 RefreshExpiresIn int64 `json:"refresh_expires_in,omitempty"` // refresh_token 的有效期,单位: 秒 RefreshToken string `json:"refresh_token,omitempty"` // 刷新用户 access_token 时使用的 token }
GetAccessTokenResp ...
type GetAdminDeptStatsReq ¶
type GetAdminDeptStatsReq struct { DepartmentIDType DepartmentIDType `query:"department_id_type" json:"-"` // 部门ID类型, 示例值:"open_department_id", 可选值有: `department_id`:部门的 ID, `open_department_id`:部门的 Open ID StartDate string `query:"start_date" json:"-"` // 起始日期(包含),格式是YYYY-mm-dd, 示例值:"2020-02-15" EndDate string `query:"end_date" json:"-"` // 终止日期(包含),格式是YYYY-mm-dd,起止日期之间相差不能超过91天(包含91天), 示例值:"2020-02-15" DepartmentID string `query:"department_id" json:"-"` // 部门的 ID,取决于department_id_type,仅支持根部门及其下前4级子部门, 示例值:"od-382e2793cfc9471f892e8a672987654c" ContainsChildDept bool `query:"contains_child_dept" json:"-"` // 是否包含子部门,如果该值为false,则只查出本部门直属用户活跃和功能使用数据;如果该值为true,则查出该部门以及其子部门(子部门层级最多不超过根部门下的前4级)的用户活跃和功能使用数据, 示例值:false PageSize *int64 `query:"page_size" json:"-"` // 分页大小,默认是10, 示例值:10, 取值范围:`1` ~ `20` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据, 示例值:"2" }
GetAdminDeptStatsReq ...
type GetAdminDeptStatsResp ¶
type GetAdminDeptStatsResp struct { HasMore bool `json:"has_more,omitempty"` // 分页查询时返回,代表是否还有更多数据 PageToken string `json:"page_token,omitempty"` // 分页标记,下一页分页的token Items []*GetAdminDeptStatsRespItem `json:"items,omitempty"` // 数据报表 }
GetAdminDeptStatsResp ...
type GetAdminDeptStatsRespItem ¶
type GetAdminDeptStatsRespItem struct { Date string `json:"date,omitempty"` // 日期 DepartmentID string `json:"department_id,omitempty"` // 部门的department_id 或者open_department_id DepartmentName string `json:"department_name,omitempty"` // 部门名字 DepartmentPath string `json:"department_path,omitempty"` // 部门路径 TotalUserNum int64 `json:"total_user_num,omitempty"` // 部门总人数 ActiveUserNum int64 `json:"active_user_num,omitempty"` // 激活人数 ActiveUserRate string `json:"active_user_rate,omitempty"` // 激活率 SuiteDau int64 `json:"suite_dau,omitempty"` // 活跃人数 SuiteActiveRate string `json:"suite_active_rate,omitempty"` // 活跃率 NewUserNum int64 `json:"new_user_num,omitempty"` // 新用户数 NewActiveNum int64 `json:"new_active_num,omitempty"` // 新激活数 ResignUserNum int64 `json:"resign_user_num,omitempty"` // 离职人数 IMDau int64 `json:"im_dau,omitempty"` // 消息活跃人数 SendMessengerUserNum int64 `json:"send_messenger_user_num,omitempty"` // 发送消息人数 SendMessengerNum int64 `json:"send_messenger_num,omitempty"` // 发送消息数 AvgSendMessengerNum string `json:"avg_send_messenger_num,omitempty"` // 人均发送消息数 DocsDau int64 `json:"docs_dau,omitempty"` // 云文档活跃人数 CreateDocsUserNum int64 `json:"create_docs_user_num,omitempty"` // 创建文件人数 CreateDocsNum int64 `json:"create_docs_num,omitempty"` // 创建文件数 AvgCreateDocsNum string `json:"avg_create_docs_num,omitempty"` // 人均创建文件数 CalDau int64 `json:"cal_dau,omitempty"` // 日历活跃人数 CreateCalUserNum int64 `json:"create_cal_user_num,omitempty"` // 创建日程人数 CreateCalNum int64 `json:"create_cal_num,omitempty"` // 创建日程数 AvgCreateCalNum string `json:"avg_create_cal_num,omitempty"` // 人均创建日程数 VCDau int64 `json:"vc_dau,omitempty"` // 音视频会议活跃人数 VCDuration int64 `json:"vc_duration,omitempty"` // 会议时长(分钟) AvgVCDuration string `json:"avg_vc_duration,omitempty"` // 人均会议时长(分钟) }
GetAdminDeptStatsRespItem ...
type GetAdminUserStatsReq ¶
type GetAdminUserStatsReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 部门ID类型, 示例值:"open_department_id", 可选值有: `department_id`:部门的 ID, `open_department_id`:部门的 Open ID StartDate string `query:"start_date" json:"-"` // 起始日期(包含),格式是YYYY-mm-dd, 示例值:"2020-02-15" EndDate string `query:"end_date" json:"-"` // 终止日期(包含),格式是YYYY-mm-dd。起止日期之间相差不能超过31天(包含31天), 示例值:"2020-02-15" DepartmentID *string `query:"department_id" json:"-"` // 部门的 ID,取决于department_id_type, 示例值:"od-382e2793cfc9471f892e8a672987654c" UserID *string `query:"user_id" json:"-"` // 用户的open_id,user_id或者union_id,取决于user_id_type, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" PageSize *int64 `query:"page_size" json:"-"` // 分页大小,默认是10, 示例值:10, 取值范围:`1` ~ `20` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据, 示例值:"2" }
GetAdminUserStatsReq ...
type GetAdminUserStatsResp ¶
type GetAdminUserStatsResp struct { HasMore bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken string `json:"page_token,omitempty"` // 下一页分页的token Items []*GetAdminUserStatsRespItem `json:"items,omitempty"` // 数据报表 }
GetAdminUserStatsResp ...
type GetAdminUserStatsRespItem ¶
type GetAdminUserStatsRespItem struct { Date string `json:"date,omitempty"` // 日期 UserID string `json:"user_id,omitempty"` // 用户ID UserName string `json:"user_name,omitempty"` // 用户名 DepartmentName string `json:"department_name,omitempty"` // 部门名 DepartmentPath string `json:"department_path,omitempty"` // 部门路径 CreateTime string `json:"create_time,omitempty"` // 账号创建时间 UserActiveFlag int64 `json:"user_active_flag,omitempty"` // 用户激活状态, 可选值有: `0`:未激活, `1`:已激活 RegisterTime string `json:"register_time,omitempty"` // 激活时间 SuiteActiveFlag int64 `json:"suite_active_flag,omitempty"` // 用户活跃状态, 可选值有: `0`:无活跃, `1`:活跃 LastActiveTime string `json:"last_active_time,omitempty"` // 最近活跃时间 IMActiveFlag int64 `json:"im_active_flag,omitempty"` // 用户消息活跃状态, 可选值有: `0`:无活跃, `1`:活跃 SendMessengerNum int64 `json:"send_messenger_num,omitempty"` // 发送消息数 DocsActiveFlag int64 `json:"docs_active_flag,omitempty"` // 用户云文档活跃状态, 可选值有: `0`:无活跃, `1`:活跃 CreateDocsNum int64 `json:"create_docs_num,omitempty"` // 创建文件数 CalActiveFlag int64 `json:"cal_active_flag,omitempty"` // 用户日历活跃状态, 可选值有: `0`:无活跃, `1`:活跃 CreateCalNum int64 `json:"create_cal_num,omitempty"` // 创建日程数 VCActiveFlag int64 `json:"vc_active_flag,omitempty"` // 用户音视频会议活跃状态, 可选值有: `0`:无活跃, `1`:活跃 VCDuration int64 `json:"vc_duration,omitempty"` // 会议时长 ActiveOs string `json:"active_os,omitempty"` // 活跃设备 }
GetAdminUserStatsRespItem ...
type GetApplicationAppAdminUserListReq ¶
type GetApplicationAppAdminUserListReq struct{}
GetApplicationAppAdminUserListReq ...
type GetApplicationAppAdminUserListResp ¶
type GetApplicationAppAdminUserListResp struct {
UserList []*GetApplicationAppAdminUserListRespUser `json:"user_list,omitempty"` // 管理员列表
}
GetApplicationAppAdminUserListResp ...
type GetApplicationAppAdminUserListRespUser ¶
type GetApplicationAppAdminUserListRespUser struct {
OpenID *GetApplicationAppAdminUserListRespUserOpenID `json:"open_id,omitempty"` // 某管理员的open_id
}
GetApplicationAppAdminUserListRespUser ...
type GetApplicationAppAdminUserListRespUserOpenID ¶
type GetApplicationAppAdminUserListRespUserOpenID struct { UserID string `json:"user_id,omitempty"` // 某管理员的user_id UnionID string `json:"union_id,omitempty"` // 某管理员的union_id }
GetApplicationAppAdminUserListRespUserOpenID ...
type GetApplicationAppListReq ¶
type GetApplicationAppListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页起始位置标示,不填表示从头开始 PageSize *int64 `query:"page_size" json:"-"` // 单页需求最大个数(最大 100),0 自动最大个数 Lang *string `query:"lang" json:"-"` // 优先展示的应用信息的语言版本(zh_cn:中文,en_us:英文,ja_jp:日文) Status *int64 `query:"status" json:"-"` // 要返回的应用的状态,0:停用;1:启用;-1:全部,默认为 -1 }
GetApplicationAppListReq ...
type GetApplicationAppListResp ¶
type GetApplicationAppListResp struct { PageToken string `json:"page_token,omitempty"` // 下一个请求页应当给的起始位置 PageSize int64 `json:"page_size,omitempty"` // 本次请求实际返回的页大小 TotalCount int64 `json:"total_count,omitempty"` // 可用的应用总数 HasMore int64 `json:"has_more,omitempty"` // 是否还有更多应用 Lang string `json:"lang,omitempty"` // 当前选择的版本语言 AppList *GetApplicationAppListRespAppList `json:"app_list,omitempty"` // 应用列表 }
GetApplicationAppListResp ...
type GetApplicationAppListRespAppList ¶
type GetApplicationAppListRespAppList struct { AppID string `json:"app_id,omitempty"` // 应用 ID PrimaryLanguage string `json:"primary_language,omitempty"` // 应用首选语言 AppName string `json:"app_name,omitempty"` // 应用名称 Description string `json:"description,omitempty"` // 应用描述 AvatarURL string `json:"avatar_url,omitempty"` // 应用 icon AppSceneType int64 `json:"app_scene_type,omitempty"` // 应用类型,0:企业自建应用;1:应用商店应用 Status int64 `json:"status,omitempty"` // 启停状态,0:停用;1:启用 MobileDefaultAbility int64 `json:"mobile_default_ability,omitempty"` // 移动端默认的应用功能,0:未开启;1:小程序;2:H5;8:机器人 PcDefaultAbility int64 `json:"pc_default_ability,omitempty"` // PC客户端默认的应用功能,0:未开启;1:小程序;2:H5;8:机器人 }
GetApplicationAppListRespAppList ...
type GetApplicationAppVisibilityReq ¶
type GetApplicationAppVisibilityReq struct { AppID string `query:"app_id" json:"-"` // 目标应用的 ID UserPageToken *string `query:"user_page_token" json:"-"` // 分页拉取用户列表起始位置标示,不填表示从头开始 UserPageSize *int64 `query:"user_page_size" json:"-"` // 本次拉取用户列表最大个数(最大值 1000 ,0 自动最大个数 ) }
GetApplicationAppVisibilityReq ...
type GetApplicationAppVisibilityResp ¶
type GetApplicationAppVisibilityResp struct { Departments []*GetApplicationAppVisibilityRespDepartment `json:"departments,omitempty"` // 可用部门列表 Users []*GetApplicationAppVisibilityRespUser `json:"users,omitempty"` // 可用用户列表(仅包含单独设置的用户,可用部门、用户组中的用户未展开) IsVisibleToAll int64 `json:"is_visible_to_all,omitempty"` // 是否全员可见,1:是,0:否 HasMoreUsers int64 `json:"has_more_users,omitempty"` // 是否还有更多可见用户,1:是,0:否 UserPageToken string `json:"user_page_token,omitempty"` // 拉取下一页用户列表时使用的 user_page_token }
GetApplicationAppVisibilityResp ...
type GetApplicationAppVisibilityRespDepartment ¶
type GetApplicationAppVisibilityRespDepartment struct {
ID string `json:"id,omitempty"` // 自定义 department_id
}
GetApplicationAppVisibilityRespDepartment ...
type GetApplicationAppVisibilityRespUser ¶
type GetApplicationAppVisibilityRespUser struct { UserID string `json:"user_id,omitempty"` // 用户的 user_id,只返回给申请了 user_id 权限的企业自建应用 OpenID string `json:"open_id,omitempty"` // 用户的 open_id }
GetApplicationAppVisibilityRespUser ...
type GetApplicationMessageDetailReq ¶
type GetApplicationMessageDetailReq struct { AppID string `query:"app_id" json:"-"` // 目标应用的 ID MessageID string `query:"message_id" json:"-"` // open_message_id TimeStart int64 `query:"time_start" json:"-"` // 起始时间戳(秒),时间跨度最长支持180天 TimeEnd int64 `query:"time_end" json:"-"` // 截止时间戳(秒),时间跨度最长支持180天 PageToken *string `query:"page_token" json:"-"` // 分页标记,首次传空,非首次使用返回中的page_token PageSize *int64 `query:"page_size" json:"-"` // 分页大小,默认为512,取值区间[1,1000] }
GetApplicationMessageDetailReq ...
type GetApplicationMessageDetailResp ¶
type GetApplicationMessageDetailResp struct { MessageID string `json:"message_id,omitempty"` // open_message_id ChatType ChatType `json:"chat_type,omitempty"` // 聊天类型 MessageType MsgType `json:"message_type,omitempty"` // 消息类型 Nsent int64 `json:"nsent,omitempty"` // 总发送数 Target *GetApplicationMessageDetailRespTarget `json:"target,omitempty"` // 发送目标用户列表,群聊为空 Nread int64 `json:"nread,omitempty"` // 总阅读数 UsersRead *GetApplicationMessageDetailRespUsersRead `json:"users_read,omitempty"` // 已读用户列表 HasMore bool `json:"has_more,omitempty"` // 是否还有更多分页,当 has_more 为 true 时,会同时返回新的 page_token PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetApplicationMessageDetailResp ...
type GetApplicationMessageDetailRespTarget ¶
type GetApplicationMessageDetailRespTarget struct {
OpenID string `json:"open_id,omitempty"` // open_id
}
GetApplicationMessageDetailRespTarget ...
type GetApplicationMessageDetailRespUsersRead ¶
type GetApplicationMessageDetailRespUsersRead struct {
OpenID string `json:"open_id,omitempty"` // open_id
}
GetApplicationMessageDetailRespUsersRead ...
type GetApplicationMessageOverviewReq ¶
type GetApplicationMessageOverviewReq struct { AppID string `json:"app_id,omitempty"` // 目标应用的 ID TimeStart int64 `json:"time_start,omitempty"` // 起始时间戳(秒),时间跨度最长支持180天 TimeEnd int64 `json:"time_end,omitempty"` // 截止时间戳(秒),时间跨度最长支持180天 ChatType *ChatType `json:"chat_type,omitempty"` // 聊天类型,大小写不敏感,p2p:私聊;group:群聊 MessageType *MsgType `json:"message_type,omitempty"` // 消息类型,大小写不敏感,text:文本消息;image:图片消息;card:卡片消息;post:富文本消息;share_chat:群名片 }
GetApplicationMessageOverviewReq ...
type GetApplicationMessageOverviewResp ¶
type GetApplicationMessageOverviewResp struct { P2pSent *GetApplicationMessageOverviewRespP2pSent `json:"p2p_sent,omitempty"` // 单聊发送 P2pReceived *GetApplicationMessageOverviewRespP2pReceived `json:"p2p_received,omitempty"` // 单聊接收 P2pRead *GetApplicationMessageOverviewRespP2pRead `json:"p2p_read,omitempty"` // 单聊已读 GroupSent *GetApplicationMessageOverviewRespGroupSent `json:"group_sent,omitempty"` // 群聊发送 GroupReceived *GetApplicationMessageOverviewRespGroupReceived `json:"group_received,omitempty"` // 群聊接收 GroupRead *GetApplicationMessageOverviewRespGroupRead `json:"group_read,omitempty"` // 群聊已读 }
GetApplicationMessageOverviewResp ...
type GetApplicationMessageOverviewRespGroupRead ¶
type GetApplicationMessageOverviewRespGroupRead struct {
Pv *GetApplicationMessageOverviewRespGroupReadPv `json:"pv,omitempty"` // 消息已读用户数量
}
GetApplicationMessageOverviewRespGroupRead ...
type GetApplicationMessageOverviewRespGroupReadPv ¶
type GetApplicationMessageOverviewRespGroupReadPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息已读用户数量
}
GetApplicationMessageOverviewRespGroupReadPv ...
type GetApplicationMessageOverviewRespGroupReceived ¶
type GetApplicationMessageOverviewRespGroupReceived struct {
Pv *GetApplicationMessageOverviewRespGroupReceivedPv `json:"pv,omitempty"` // 消息接收群聊数量
}
GetApplicationMessageOverviewRespGroupReceived ...
type GetApplicationMessageOverviewRespGroupReceivedPv ¶
type GetApplicationMessageOverviewRespGroupReceivedPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息接收群聊数量
}
GetApplicationMessageOverviewRespGroupReceivedPv ...
type GetApplicationMessageOverviewRespGroupSent ¶
type GetApplicationMessageOverviewRespGroupSent struct {
Pv *GetApplicationMessageOverviewRespGroupSentPv `json:"pv,omitempty"` // 消息接收群聊数量
}
GetApplicationMessageOverviewRespGroupSent ...
type GetApplicationMessageOverviewRespGroupSentPv ¶
type GetApplicationMessageOverviewRespGroupSentPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息接收群聊数量
}
GetApplicationMessageOverviewRespGroupSentPv ...
type GetApplicationMessageOverviewRespP2pRead ¶
type GetApplicationMessageOverviewRespP2pRead struct {
Pv *GetApplicationMessageOverviewRespP2pReadPv `json:"pv,omitempty"` // 消息已读用户数量
}
GetApplicationMessageOverviewRespP2pRead ...
type GetApplicationMessageOverviewRespP2pReadPv ¶
type GetApplicationMessageOverviewRespP2pReadPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息已读用户数量
}
GetApplicationMessageOverviewRespP2pReadPv ...
type GetApplicationMessageOverviewRespP2pReceived ¶
type GetApplicationMessageOverviewRespP2pReceived struct {
Pv *GetApplicationMessageOverviewRespP2pReceivedPv `json:"pv,omitempty"` // 消息接收用户数量
}
GetApplicationMessageOverviewRespP2pReceived ...
type GetApplicationMessageOverviewRespP2pReceivedPv ¶
type GetApplicationMessageOverviewRespP2pReceivedPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息接收用户数量
}
GetApplicationMessageOverviewRespP2pReceivedPv ...
type GetApplicationMessageOverviewRespP2pSent ¶
type GetApplicationMessageOverviewRespP2pSent struct {
Pv *GetApplicationMessageOverviewRespP2pSentPv `json:"pv,omitempty"` // 消息接收用户数量
}
GetApplicationMessageOverviewRespP2pSent ...
type GetApplicationMessageOverviewRespP2pSentPv ¶
type GetApplicationMessageOverviewRespP2pSentPv struct {
Uv int64 `json:"uv,omitempty"` // 去重的消息接收用户数量
}
GetApplicationMessageOverviewRespP2pSentPv ...
type GetApplicationMessageTrendReq ¶
type GetApplicationMessageTrendReq struct { AppID string `json:"app_id,omitempty"` // 目标应用的 ID TimeStart int64 `json:"time_start,omitempty"` // 起始时间戳(秒),时间跨度最长支持180天 TimeEnd int64 `json:"time_end,omitempty"` // 截止时间戳(秒),时间跨度最长支持180天 TimeInterval int64 `json:"time_interval,omitempty"` // 步长(秒),最小步长为60秒,需满足(${time_end} - ${time_start}) / ${time_interval} <= 2*24*60 ChatType *ChatType `json:"chat_type,omitempty"` // 聊天类型,大小写不敏感,p2p:私聊;group:群聊 MessageType *MsgType `json:"message_type,omitempty"` // 消息类型,大小写不敏感,text:文本消息;image:图片消息;card:卡片消息;post:富文本消息;share_chat:群名片 }
GetApplicationMessageTrendReq ...
type GetApplicationMessageTrendResp ¶
type GetApplicationMessageTrendResp struct { P2pSent *GetApplicationMessageTrendRespP2pSent `json:"p2p_sent,omitempty"` // 单聊发送 P2pReceived *GetApplicationMessageTrendRespP2pReceived `json:"p2p_received,omitempty"` // 单聊接收 P2pRead *GetApplicationMessageTrendRespP2pRead `json:"p2p_read,omitempty"` // 单聊已读 GroupSent *GetApplicationMessageTrendRespGroupSent `json:"group_sent,omitempty"` // 群聊发送 GroupReceived *GetApplicationMessageTrendRespGroupReceived `json:"group_received,omitempty"` // 群聊接收 GroupRead *GetApplicationMessageTrendRespGroupRead `json:"group_read,omitempty"` // 群聊已读 }
GetApplicationMessageTrendResp ...
type GetApplicationMessageTrendRespGroupRead ¶
type GetApplicationMessageTrendRespGroupRead struct {
Timestamp *GetApplicationMessageTrendRespGroupReadTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespGroupRead ...
type GetApplicationMessageTrendRespGroupReadTimestamp ¶
type GetApplicationMessageTrendRespGroupReadTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息已读用户数量 Uv int64 `json:"uv,omitempty"` // 去重的消息已读用户数量 }
GetApplicationMessageTrendRespGroupReadTimestamp ...
type GetApplicationMessageTrendRespGroupReceived ¶
type GetApplicationMessageTrendRespGroupReceived struct {
Timestamp *GetApplicationMessageTrendRespGroupReceivedTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespGroupReceived ...
type GetApplicationMessageTrendRespGroupReceivedTimestamp ¶
type GetApplicationMessageTrendRespGroupReceivedTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息接收群聊数量 Uv int64 `json:"uv,omitempty"` // 去重的消息接收群聊数量 }
GetApplicationMessageTrendRespGroupReceivedTimestamp ...
type GetApplicationMessageTrendRespGroupSent ¶
type GetApplicationMessageTrendRespGroupSent struct {
Timestamp *GetApplicationMessageTrendRespGroupSentTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespGroupSent ...
type GetApplicationMessageTrendRespGroupSentTimestamp ¶
type GetApplicationMessageTrendRespGroupSentTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息接收群聊数量 Uv int64 `json:"uv,omitempty"` // 去重的消息接收群聊数量 }
GetApplicationMessageTrendRespGroupSentTimestamp ...
type GetApplicationMessageTrendRespP2pRead ¶
type GetApplicationMessageTrendRespP2pRead struct {
Timestamp *GetApplicationMessageTrendRespP2pReadTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespP2pRead ...
type GetApplicationMessageTrendRespP2pReadTimestamp ¶
type GetApplicationMessageTrendRespP2pReadTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息已读用户数量 Uv int64 `json:"uv,omitempty"` // 去重的消息已读用户数量 }
GetApplicationMessageTrendRespP2pReadTimestamp ...
type GetApplicationMessageTrendRespP2pReceived ¶
type GetApplicationMessageTrendRespP2pReceived struct {
Timestamp *GetApplicationMessageTrendRespP2pReceivedTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespP2pReceived ...
type GetApplicationMessageTrendRespP2pReceivedTimestamp ¶
type GetApplicationMessageTrendRespP2pReceivedTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息接收用户数量 Uv int64 `json:"uv,omitempty"` // 去重的消息接收用户数量 }
GetApplicationMessageTrendRespP2pReceivedTimestamp ...
type GetApplicationMessageTrendRespP2pSent ¶
type GetApplicationMessageTrendRespP2pSent struct {
Timestamp *GetApplicationMessageTrendRespP2pSentTimestamp `json:"timestamp,omitempty"` // 时间戳(秒)
}
GetApplicationMessageTrendRespP2pSent ...
type GetApplicationMessageTrendRespP2pSentTimestamp ¶
type GetApplicationMessageTrendRespP2pSentTimestamp struct { Pv int64 `json:"pv,omitempty"` // 消息接收用户数量 Uv int64 `json:"uv,omitempty"` // 去重的消息接收用户数量 }
GetApplicationMessageTrendRespP2pSentTimestamp ...
type GetApplicationOrderListReq ¶
type GetApplicationOrderListReq struct { Status *string `query:"status" json:"-"` // 获取用户购买套餐信息设置的过滤条件, normal为正常状态,refunded为已退款,该字段为空或者all表示所有,未支付的订单无法查到 PageSize int64 `query:"page_size" json:"-"` // `每页显示的订单数量` PageToken *string `query:"page_token" json:"-"` // 翻页标识,可以从上次请求的响应中获取,不填或者为空时表示从开头获取 TenantKey *string `query:"tenant_key" json:"-"` // 购买应用的租户唯一标识,为空表示获取应用下所有订单,有值表示获取应用下该租户购买的订单 }
GetApplicationOrderListReq ...
type GetApplicationOrderListResp ¶
type GetApplicationOrderListResp struct { Total int64 `json:"total,omitempty"` // 总订单数 HasMore bool `json:"has_more,omitempty"` // 是否还有数据,true还有数据,false没有数据 PageToken string `json:"page_token,omitempty"` // 下一页数据的标识,可作为请求下一页数据的参数,当has_more为false时该字段为空 OrderList *GetApplicationOrderListRespOrderList `json:"order_list,omitempty"` // 订单信息列表 }
GetApplicationOrderListResp ...
type GetApplicationOrderListRespOrderList ¶
type GetApplicationOrderListRespOrderList struct { OrderID string `json:"order_id,omitempty"` // 订单ID,唯一标识 PricePlanID string `json:"price_plan_id,omitempty"` // 价格方案ID,唯一标识 PricePlanType string `json:"price_plan_type,omitempty"` // 价格方案类型 "trial" -试用;"permanent"-一次性付费;"per_year"-企业年付费;"per_month"-企业月付费;"per_seat_per_year"-按人按年付费;"per_seat_per_month"-按人按月付费;"permanent_count"-按次付费; Seats int64 `json:"seats,omitempty"` // 实际购买人数 仅对price_plan_type为per_seat_per_year和per_seat_per_month 有效 BuyCount int64 `json:"buy_count,omitempty"` // 购买数量 总是为1 CreateTime string `json:"create_time,omitempty"` // 订单创建时间戳 PayTime string `json:"pay_time,omitempty"` // 订单支付时间戳 Status string `json:"status,omitempty"` // 订单当前状态,"normal" -正常;"refund"-已退款; BuyType string `json:"buy_type,omitempty"` // 购买类型,"buy" - 普通购买;"upgrade"-为升级购买(仅price_plan_type 为per_year,per_month,per_seat_per_year,per_seat_per_month时可升级购买);"renew" - 续费购买; SrcOrderID string `json:"src_order_id,omitempty"` // 源订单ID,当前订单为升级购买时,即buy_type为upgrade时,此字段记录源订单等ID DstOrderID string `json:"dst_order_id,omitempty"` // 升级后的新订单ID,当前订单如果做过升级购买,此字段记录升级购买后生成的新订单ID,当前订单仍然有效 OrderPayPrice int64 `json:"order_pay_price,omitempty"` // 订单实际支付金额, 单位分 TenantKey string `json:"tenant_key,omitempty"` // 租户唯一标识 }
GetApplicationOrderListRespOrderList ...
type GetApplicationOrderReq ¶
type GetApplicationOrderReq struct {
OrderID string `query:"order_id" json:"-"` // 订单ID
}
GetApplicationOrderReq ...
type GetApplicationOrderResp ¶
type GetApplicationOrderResp struct {
Order *GetApplicationOrderRespOrder `json:"order,omitempty"` // 订单信息
}
GetApplicationOrderResp ...
type GetApplicationOrderRespOrder ¶
type GetApplicationOrderRespOrder struct { OrderID string `json:"order_id,omitempty"` // 订单ID,唯一标识 PricePlanID string `json:"price_plan_id,omitempty"` // 价格方案ID,唯一标识 PricePlanType string `json:"price_plan_type,omitempty"` // 价格方案类型 "trial" -试用;"permanent"-一次性付费;"per_year"-企业年付费;"per_month"-企业月付费;"per_seat_per_year"-按人按年付费;"per_seat_per_month"-按人按月付费;"permanent_count"-按次付费; Seats int64 `json:"seats,omitempty"` // 实际购买人数 仅对price_plan_type为per_seat_per_year和per_seat_per_month 有效 BuyCount int64 `json:"buy_count,omitempty"` // 购买数量 总是为1 CreateTime string `json:"create_time,omitempty"` // 订单创建时间戳 PayTime string `json:"pay_time,omitempty"` // 订单支付时间戳 Status string `json:"status,omitempty"` // 订单当前状态,"normal" -正常;"refund"-已退款; BuyType string `json:"buy_type,omitempty"` // 购买类型,"buy" - 普通购买;"upgrade"-为升级购买(仅price_plan_type 为per_year,per_month,per_seat_per_year,per_seat_per_month时可升级购买);"renew" - 续费购买; SrcOrderID string `json:"src_order_id,omitempty"` // 源订单ID,当前订单为升级购买时,即buy_type为upgrade时,此字段记录源订单等ID DstOrderID string `json:"dst_order_id,omitempty"` // 升级后的新订单ID,当前订单如果做过升级购买,此字段记录升级购买后生成的新订单ID,当前订单仍然有效 OrderPayPrice int64 `json:"order_pay_price,omitempty"` // 订单实际支付金额, 单位分 TenantKey string `json:"tenant_key,omitempty"` // 租户唯一标识 }
GetApplicationOrderRespOrder ...
type GetApplicationReq ¶
type GetApplicationReq struct { Lang string `query:"lang" json:"-"` // 指定获取应用在该语言下的信息, 示例值:"zh_cn", 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文, 最小长度:`1` 字符 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppID string `path:"app_id" json:"-"` // 应用的 app_id,需要查询其他应用信息时,必须申请[获取应用信息](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)权限,仅查询本应用信息时,可填入 "me" 或者应用自身 app_id, 示例值:"cli_9b445f5258795107" }
GetApplicationReq ...
type GetApplicationResp ¶
type GetApplicationResp struct {
App *GetApplicationRespApp `json:"app,omitempty"` // 应用数据
}
GetApplicationResp ...
type GetApplicationRespApp ¶
type GetApplicationRespApp struct { AppID string `json:"app_id,omitempty"` // 应用的 app_id CreatorID string `json:"creator_id,omitempty"` // 应用创建者(所有者) Status int64 `json:"status,omitempty"` // 应用状态, 可选值有: `0`:停用状态, `1`:启用状态, `2`:未启用状态, `3`:未知状态 SceneType int64 `json:"scene_type,omitempty"` // 应用类型, 可选值有: `0`:自建应用, `1`:应用商店应用, `2`:个人应用商店应用, `3`:未知应用类型 RedirectURLs []string `json:"redirect_urls,omitempty"` // 安全设置中的重定向 URL OnlineVersionID string `json:"online_version_id,omitempty"` // 发布在线上的应用版本 ID,若没有则为空 UnauditVersionID string `json:"unaudit_version_id,omitempty"` // 在审核中的版本 ID,若没有则为空 AppName string `json:"app_name,omitempty"` // 应用名称 AvatarURL string `json:"avatar_url,omitempty"` // 应用图标 url Description string `json:"description,omitempty"` // 应用默认描述 Scopes []*GetApplicationRespAppScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeURL string `json:"back_home_url,omitempty"` // 后台主页地址 I18n *GetApplicationRespAppI18n `json:"i18n,omitempty"` // 应用的国际化信息列表 PrimaryLanguage string `json:"primary_language,omitempty"` // 应用主语言, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述 }
GetApplicationRespApp ...
type GetApplicationRespAppI18n ¶
type GetApplicationRespAppI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 应用国际化名称 Description string `json:"description,omitempty"` // 应用国际化描述(副标题) HelpUse string `json:"help_use,omitempty"` // 帮助国际化文档链接 }
GetApplicationRespAppI18n ...
type GetApplicationRespAppScope ¶
type GetApplicationRespAppScope struct { Scope string `json:"scope,omitempty"` // 应用权限 Description string `json:"description,omitempty"` // 应用权限的国际化描述 Level string `json:"level,omitempty"` // 权限等级描述, 可选值有: `1`:普通权限, `2`:高级权限, `3`:超敏感权限, `0`:未知等级 }
GetApplicationRespAppScope ...
type GetApplicationUnderAuditListReq ¶
type GetApplicationUnderAuditListReq struct { Lang string `query:"lang" json:"-"` // 指定返回的语言, 示例值:"zh_cn", 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文, 最小长度:`1` 字符 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"new-e3c5a0627cdf0c2e057da7257b90376a" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` }
GetApplicationUnderAuditListReq ...
type GetApplicationUnderAuditListResp ¶
type GetApplicationUnderAuditListResp struct { Items []*GetApplicationUnderAuditListRespItem `json:"items,omitempty"` // 待审核应用列表 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetApplicationUnderAuditListResp ...
type GetApplicationUnderAuditListRespItem ¶
type GetApplicationUnderAuditListRespItem struct { AppID string `json:"app_id,omitempty"` // 应用的 app_id CreatorID string `json:"creator_id,omitempty"` // 应用创建者(所有者) Status int64 `json:"status,omitempty"` // 应用状态, 可选值有: `0`:停用状态, `1`:启用状态, `2`:未启用状态, `3`:未知状态 SceneType int64 `json:"scene_type,omitempty"` // 应用类型, 可选值有: `0`:自建应用, `1`:应用商店应用, `2`:个人应用商店应用, `3`:未知应用类型 RedirectURLs []string `json:"redirect_urls,omitempty"` // 安全设置中的重定向 URL OnlineVersionID string `json:"online_version_id,omitempty"` // 发布在线上的应用版本 ID,若没有则为空 UnauditVersionID string `json:"unaudit_version_id,omitempty"` // 在审核中的版本 ID,若没有则为空 AppName string `json:"app_name,omitempty"` // 应用名称, 最小长度:`1` 字符 AvatarURL string `json:"avatar_url,omitempty"` // 应用图标 url Description string `json:"description,omitempty"` // 应用默认描述, 最小长度:`1` 字符 Scopes []*GetApplicationUnderAuditListRespItemScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeURL string `json:"back_home_url,omitempty"` // 后台主页地址 I18n *GetApplicationUnderAuditListRespItemI18n `json:"i18n,omitempty"` // 应用的国际化信息列表, 最小长度:`1` PrimaryLanguage string `json:"primary_language,omitempty"` // 应用主语言, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述, 最大长度:`3` }
GetApplicationUnderAuditListRespItem ...
type GetApplicationUnderAuditListRespItemI18n ¶
type GetApplicationUnderAuditListRespItemI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 应用国际化名称, 最小长度:`1` 字符 Description string `json:"description,omitempty"` // 应用国际化描述(副标题), 最小长度:`1` 字符 HelpUse string `json:"help_use,omitempty"` // 帮助国际化文档链接 }
GetApplicationUnderAuditListRespItemI18n ...
type GetApplicationUnderAuditListRespItemScope ¶
type GetApplicationUnderAuditListRespItemScope struct { Scope string `json:"scope,omitempty"` // 应用权限 Description string `json:"description,omitempty"` // 应用权限的国际化描述 Level string `json:"level,omitempty"` // 权限等级描述, 可选值有: `1`:普通权限, `2`:高级权限, `3`:超敏感权限, `0`:未知等级 }
GetApplicationUnderAuditListRespItemScope ...
type GetApplicationUsageDetailReq ¶
type GetApplicationUsageDetailReq struct { AppID string `json:"app_id,omitempty"` // 目标应用的 ID,支持自建应用 Ability string `json:"ability,omitempty"` // 应用能力,mp:小程序 TimeStart int64 `json:"time_start,omitempty"` // 起始时间戳(秒),时间跨度最长支持180天 TimeEnd int64 `json:"time_end,omitempty"` // 截止时间戳(秒),时间跨度最长支持180天 Filters []*GetApplicationUsageDetailReqFilter `json:"filters,omitempty"` // 过滤条件 OrderBy *string `json:"order_by,omitempty"` // 排序字段,大小写不敏感,支持open_id、timestamp,默认为open_id Order *string `json:"order,omitempty"` // 排序方式,大小写不敏感,desc:降序;asc:升序,默认值 PageToken *string `json:"page_token,omitempty"` // 分页标记,首次传空,非首次使用返回中的page_token PageSize *int64 `json:"page_size,omitempty"` // 分页大小,默认为512,取值区间[1,1000] }
GetApplicationUsageDetailReq ...
type GetApplicationUsageDetailReqFilter ¶
type GetApplicationUsageDetailReqFilter struct { Key string `json:"key,omitempty"` // 过滤字段,支持`department_id` Op string `json:"op,omitempty"` // 过滤操作,支持`in`、`=` Value string `json:"value,omitempty"` // 过滤字段值,多个使用英文逗号分隔 }
GetApplicationUsageDetailReqFilter ...
type GetApplicationUsageDetailResp ¶
type GetApplicationUsageDetailResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多分页,当 has_more 为 true 时,会同时返回新的 page_token PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Users []*GetApplicationUsageDetailRespUser `json:"users,omitempty"` // 用户列表 }
GetApplicationUsageDetailResp ...
type GetApplicationUsageDetailRespUser ¶
type GetApplicationUsageDetailRespUser struct {
OpenID string `json:"open_id,omitempty"` // open_id
}
GetApplicationUsageDetailRespUser ...
type GetApplicationUsageOverviewReq ¶
type GetApplicationUsageOverviewReq struct { DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` AppID string `path:"app_id" json:"-"` // 目标应用 ID, 示例值:"cli_9f115af860f7901b" Date string `json:"date,omitempty"` // 查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号, 示例值:"2021-07-08" CycleType int64 `json:"cycle_type,omitempty"` // 活跃周期的统计类型, 示例值:1, 可选值有: `1`:日活,指自然日,返回当前日期所在日的数据, `2`:周活,指自然周,返回当前日期所在周的数据。若到查询时当周还没结束,则返回周一到当前日期的数值。例如在2021/7/15 查询2021/7/5 这一周的数据,则代表的是2021/7/5 ~ 2021/7/11。但若是在2021/7/8 查询2021/7/5 这一周的数据,则返回的是2021/7/5 ~ 2021/7/7 的数据, `3`:月活,指自然月,返回当前日期所在月的数据。若不满一个月则返回当月1日到截止日期前的数据。例如在2021/8/15 查询 7月的数据,则代表2021/7/1~2021/7/31。 若在2021/8/15 查询8月的数据,则代表2021/8/1~2021/8/14的数据 DepartmentID *string `json:"department_id,omitempty"` // 查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); , 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" Ability string `json:"ability,omitempty"` // 能力类型,按能力类型进行筛选,返回对应能力的活跃数据, 示例值:"app", 可选值有: `app`:返回应用整体的数据, `mp`:返回小程序能力的数据, `h5`:返回网页能力的数据, `bot`:返回机器人能力的数据 }
GetApplicationUsageOverviewReq ...
type GetApplicationUsageOverviewResp ¶
type GetApplicationUsageOverviewResp struct {
Items []*GetApplicationUsageOverviewRespItem `json:"items,omitempty"` // 员工使用应用概览数据
}
GetApplicationUsageOverviewResp ...
type GetApplicationUsageOverviewRespItem ¶
type GetApplicationUsageOverviewRespItem struct { MetricName string `json:"metric_name,omitempty"` // 指标名称,uv:活跃用户数,total_users:累计用户数,new_users:新增用户数 MetricValue int64 `json:"metric_value,omitempty"` // 指标值 }
GetApplicationUsageOverviewRespItem ...
type GetApplicationUsageTrendReq ¶
type GetApplicationUsageTrendReq struct { AppID string `json:"app_id,omitempty"` // 目标应用的 ID,支持自建应用 Ability string `json:"ability,omitempty"` // 应用能力,mp:小程序 TimeStart int64 `json:"time_start,omitempty"` // 起始时间戳(秒),时间跨度最长支持180天 TimeEnd int64 `json:"time_end,omitempty"` // 截止时间戳(秒),时间跨度最长支持180天 TimeInterval int64 `json:"time_interval,omitempty"` // 步长(秒),最小步长为60秒,需满足(${time_end} - ${time_start}) / ${time_interval} <= 2*24*60 Filters []*GetApplicationUsageTrendReqFilter `json:"filters,omitempty"` // 过滤条件 }
GetApplicationUsageTrendReq ...
type GetApplicationUsageTrendReqFilter ¶
type GetApplicationUsageTrendReqFilter struct { Key string `json:"key,omitempty"` // 过滤字段,支持`department_id` Op string `json:"op,omitempty"` // 过滤操作,支持`in`、`=` Value string `json:"value,omitempty"` // 过滤字段值,多个使用英文逗号分隔 }
GetApplicationUsageTrendReqFilter ...
type GetApplicationUsageTrendResp ¶
type GetApplicationUsageTrendResp struct {
Item map[string]*GetApplicationUsageTrendRespItem `json:"item,omitempty"` // 返回项
}
GetApplicationUsageTrendResp ...
type GetApplicationUsageTrendRespItem ¶
type GetApplicationUsageTrendRespItem struct {
Trends []*GetApplicationUsageTrendRespItemTrend `json:"trends,omitempty"` // 趋势数据
}
GetApplicationUsageTrendRespItem ...
type GetApplicationUsageTrendRespItemTrend ¶
type GetApplicationUsageTrendRespItemTrend struct { Timestamp int64 `json:"timestamp,omitempty"` // 时间戳 Pv int64 `json:"pv,omitempty"` // 应用使用pv Uv int64 `json:"uv,omitempty"` // 应用使用uv }
GetApplicationUsageTrendRespItemTrend ...
type GetApplicationUserAdminScopeReq ¶
type GetApplicationUserAdminScopeReq struct { EmployeeID string `query:"employee_id" json:"-"` // 支持通过 open_id 或者 employee_id 查询,不支持混合两种 ID 进行查询,其中 employee_id 同通讯录 v3 版本中的 user_id OpenID string `query:"open_id" json:"-"` // 支持通过 open_id 或者 employee_id 查询,不支持混合两种 ID 进行查询,其中 employee_id 同通讯录 v3 版本中的 user_id }
GetApplicationUserAdminScopeReq ...
type GetApplicationUserAdminScopeResp ¶
type GetApplicationUserAdminScopeResp struct { IsAll bool `json:"is_all,omitempty"` // 是否管理所有部门 DepartmentList []string `json:"department_list,omitempty"` // 管理的部门列表,当 is_all 为 true 时,不返回该字段 }
GetApplicationUserAdminScopeResp ...
type GetApplicationUserVisibleAppReq ¶
type GetApplicationUserVisibleAppReq struct { PageToken *string `query:"page_token" json:"-"` // 分页起始位置标示,不填表示从头开始 PageSize *int64 `query:"page_size" json:"-"` // 单页需求最大个数(最大 100),0 自动最大个数 Lang *string `query:"lang" json:"-"` // 优先展示的应用信息的语言版本(zh_cn:中文,en_us:英文,ja_jp:日文) OpenID *string `query:"open_id" json:"-"` // 目标用户 open_id UserID *string `query:"user_id" json:"-"` // 目标用户 user_id,与 open_id 至少给其中之一,user_id 优先于 open_id }
GetApplicationUserVisibleAppReq ...
type GetApplicationUserVisibleAppResp ¶
type GetApplicationUserVisibleAppResp struct { PageToken string `json:"page_token,omitempty"` // 下一个请求页应当给的起始位置 PageSize int64 `json:"page_size,omitempty"` // 本次请求实际返回的页大小 TotalCount int64 `json:"total_count,omitempty"` // 可用的应用总数 HasMore int64 `json:"has_more,omitempty"` // 是否还有更多应用 Lang string `json:"lang,omitempty"` // 当前选择的版本语言 AppList *GetApplicationUserVisibleAppRespAppList `json:"app_list,omitempty"` // 应用列表 }
GetApplicationUserVisibleAppResp ...
type GetApplicationUserVisibleAppRespAppList ¶
type GetApplicationUserVisibleAppRespAppList struct { AppID string `json:"app_id,omitempty"` // 应用 ID PrimaryLanguage string `json:"primary_language,omitempty"` // 应用首选语言 AppName string `json:"app_name,omitempty"` // 应用名称 Description string `json:"description,omitempty"` // 应用描述 AvatarURL string `json:"avatar_url,omitempty"` // 应用 icon AppSceneType int64 `json:"app_scene_type,omitempty"` // 应用类型,0:企业自建应用;1:应用商店应用 Status int64 `json:"status,omitempty"` // 启停状态,0:停用;1:启用 MobileDefaultAbility int64 `json:"mobile_default_ability,omitempty"` // 移动端默认的应用功能,0:未开启;1:小程序;2:H5;8:机器人 PcDefaultAbility int64 `json:"pc_default_ability,omitempty"` // PC客户端默认的应用功能,0:未开启;1:小程序;2:H5;8:机器人 }
GetApplicationUserVisibleAppRespAppList ...
type GetApplicationVersionReq ¶
type GetApplicationVersionReq struct { Lang string `query:"lang" json:"-"` // 应用信息的语言版本, 示例值:"zh_cn", 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文, 最小长度:`1` 字符 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppID string `path:"app_id" json:"-"` // 应用的 app_id,需要查询其他应用版本信息时,必须申请[获取应用版本信息](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)权限,仅查询本应用版本信息时,可填入 "me" 或者应用自身 app_id, 示例值:"cli_9f3ca975326b501b" VersionID string `path:"version_id" json:"-"` // 唯一标识应用版本的 ID, 示例值:"oav_d317f090b7258ad0372aa53963cda70d" }
GetApplicationVersionReq ...
type GetApplicationVersionResp ¶
type GetApplicationVersionResp struct {
AppVersion *GetApplicationVersionRespAppVersion `json:"app_version,omitempty"` // 应用版本信息
}
GetApplicationVersionResp ...
type GetApplicationVersionRespAppVersion ¶
type GetApplicationVersionRespAppVersion struct { AppID string `json:"app_id,omitempty"` // 应用 id Version string `json:"version,omitempty"` // 在开发者后台填入的应用版本号 VersionID string `json:"version_id,omitempty"` // 唯一标识应用版本的 ID AppName string `json:"app_name,omitempty"` // 应用默认名称 AvatarURL string `json:"avatar_url,omitempty"` // 应用头像 url Description string `json:"description,omitempty"` // 应用默认描述 Scopes []*GetApplicationVersionRespAppVersionScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeURL string `json:"back_home_url,omitempty"` // 后台主页地址 I18n *GetApplicationVersionRespAppVersionI18n `json:"i18n,omitempty"` // 应用的国际化信息列表 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述 Events []string `json:"events,omitempty"` // 应用已订阅开放平台事件列表 Status int64 `json:"status,omitempty"` // 版本状态, 可选值有: `0`:未知状态, `1`:审核通过, `2`:审核拒绝, `3`:审核中, `4`:未提交审核 CreateTime string `json:"create_time,omitempty"` // 版本创建时间(单位:s) PublishTime string `json:"publish_time,omitempty"` // 版本发布时间(单位:s) Ability *GetApplicationVersionRespAppVersionAbility `json:"ability,omitempty"` // 当前版本下应用开启的能力 Remark *GetApplicationVersionRespAppVersionRemark `json:"remark,omitempty"` // 跟随应用版本的信息 }
GetApplicationVersionRespAppVersion ...
type GetApplicationVersionRespAppVersionAbility ¶
type GetApplicationVersionRespAppVersionAbility struct { Gadget *GetApplicationVersionRespAppVersionAbilityGadget `json:"gadget,omitempty"` // 小程序能力 WebApp *GetApplicationVersionRespAppVersionAbilityWebApp `json:"web_app,omitempty"` // 网页能力 Bot *GetApplicationVersionRespAppVersionAbilityBot `json:"bot,omitempty"` // 机器人能力 WorkplaceWidgets []*GetApplicationVersionRespAppVersionAbilityWorkplaceWidget `json:"workplace_widgets,omitempty"` // 小组件能力 CloudDoc *GetApplicationVersionRespAppVersionAbilityCloudDoc `json:"cloud_doc,omitempty"` // 云文档应用 DocsBlocks []*GetApplicationVersionRespAppVersionAbilityDocsBlock `json:"docs_blocks,omitempty"` // 云文档小组件 MessageAction *GetApplicationVersionRespAppVersionAbilityMessageAction `json:"message_action,omitempty"` // 消息快捷操作 PlusMenu *GetApplicationVersionRespAppVersionAbilityPlusMenu `json:"plus_menu,omitempty"` // 加号菜单 }
GetApplicationVersionRespAppVersionAbility ...
type GetApplicationVersionRespAppVersionAbilityBot ¶
type GetApplicationVersionRespAppVersionAbilityBot struct {
CardRequestURL string `json:"card_request_url,omitempty"` // 消息卡片回调地址
}
GetApplicationVersionRespAppVersionAbilityBot ...
type GetApplicationVersionRespAppVersionAbilityCloudDoc ¶
type GetApplicationVersionRespAppVersionAbilityCloudDoc struct { SpaceURL string `json:"space_url,omitempty"` // 云空间重定向 url I18n *GetApplicationVersionRespAppVersionAbilityCloudDocI18n `json:"i18n,omitempty"` // 国际化信息 IconURL string `json:"icon_url,omitempty"` // 图标链接 Mode int64 `json:"mode,omitempty"` // 云文档支持模式, 可选值有: `0`:未知, `1`:移动端 }
GetApplicationVersionRespAppVersionAbilityCloudDoc ...
type GetApplicationVersionRespAppVersionAbilityCloudDocI18n ¶
type GetApplicationVersionRespAppVersionAbilityCloudDocI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 云文档国际化名称 ReadDescription string `json:"read_description,omitempty"` // 云文档国际化读权限说明 WriteDescription string `json:"write_description,omitempty"` // 云文档国际化写权限说明 }
GetApplicationVersionRespAppVersionAbilityCloudDocI18n ...
type GetApplicationVersionRespAppVersionAbilityDocsBlock ¶
type GetApplicationVersionRespAppVersionAbilityDocsBlock struct { BlockTypeID string `json:"block_type_id,omitempty"` // BlockTypeID I18n *GetApplicationVersionRespAppVersionAbilityDocsBlockI18n `json:"i18n,omitempty"` // block 的国际化信息 MobileIconURL string `json:"mobile_icon_url,omitempty"` // 移动端 icon 链接 PcIconURL string `json:"pc_icon_url,omitempty"` // pc 端口 icon 链接 }
GetApplicationVersionRespAppVersionAbilityDocsBlock ...
type GetApplicationVersionRespAppVersionAbilityDocsBlockI18n ¶
type GetApplicationVersionRespAppVersionAbilityDocsBlockI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 名称 }
GetApplicationVersionRespAppVersionAbilityDocsBlockI18n ...
type GetApplicationVersionRespAppVersionAbilityGadget ¶
type GetApplicationVersionRespAppVersionAbilityGadget struct { EnablePcMode int64 `json:"enable_pc_mode,omitempty"` // pc 支持的小程序模式,bit 位表示, 可选值有: `1`:sidebar 模式, `2`:pc 模式, `4`:主导航模式 SchemaURLs []string `json:"schema_urls,omitempty"` // schema url 列表 PcUseMobilePkg bool `json:"pc_use_mobile_pkg,omitempty"` // pc 端是否使用小程序版本 PcVersion string `json:"pc_version,omitempty"` // pc 的小程序版本号 MobileVersion string `json:"mobile_version,omitempty"` // 移动端小程序版本号 MobileMinLarkVersion string `json:"mobile_min_lark_version,omitempty"` // 移动端兼容的最低飞书版本 PcMinLarkVersion string `json:"pc_min_lark_version,omitempty"` // pc 端兼容的最低飞书版本 }
GetApplicationVersionRespAppVersionAbilityGadget ...
type GetApplicationVersionRespAppVersionAbilityMessageAction ¶
type GetApplicationVersionRespAppVersionAbilityMessageAction struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 I18n *GetApplicationVersionRespAppVersionAbilityMessageActionI18n `json:"i18n,omitempty"` // 国际化信息 }
GetApplicationVersionRespAppVersionAbilityMessageAction ...
type GetApplicationVersionRespAppVersionAbilityMessageActionI18n ¶
type GetApplicationVersionRespAppVersionAbilityMessageActionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 国际化名称 }
GetApplicationVersionRespAppVersionAbilityMessageActionI18n ...
type GetApplicationVersionRespAppVersionAbilityNavigate ¶
type GetApplicationVersionRespAppVersionAbilityNavigate struct {}
GetApplicationVersionRespAppVersionAbilityNavigate ...
type GetApplicationVersionRespAppVersionAbilityNavigateMobile ¶
type GetApplicationVersionRespAppVersionAbilityNavigateMobile struct {}
GetApplicationVersionRespAppVersionAbilityNavigateMobile ...
type GetApplicationVersionRespAppVersionAbilityNavigatePc ¶
type GetApplicationVersionRespAppVersionAbilityNavigatePc struct {}
GetApplicationVersionRespAppVersionAbilityNavigatePc ...
type GetApplicationVersionRespAppVersionAbilityPlusMenu ¶
type GetApplicationVersionRespAppVersionAbilityPlusMenu struct { PcAppLink string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink string `json:"mobile_app_link,omitempty"` // 移动端链接 }
GetApplicationVersionRespAppVersionAbilityPlusMenu ...
type GetApplicationVersionRespAppVersionAbilityWebApp ¶
type GetApplicationVersionRespAppVersionAbilityWebApp struct { PcURL string `json:"pc_url,omitempty"` // pc 端 url MobileURL string `json:"mobile_url,omitempty"` // 移动端 url }
GetApplicationVersionRespAppVersionAbilityWebApp ...
type GetApplicationVersionRespAppVersionAbilityWorkplaceWidget ¶
type GetApplicationVersionRespAppVersionAbilityWorkplaceWidget struct {
MinLarkVersion string `json:"min_lark_version,omitempty"` // 最低兼容 lark 版本号
}
GetApplicationVersionRespAppVersionAbilityWorkplaceWidget ...
type GetApplicationVersionRespAppVersionI18n ¶
type GetApplicationVersionRespAppVersionI18n struct { I18nKey string `json:"i18n_key,omitempty"` // 国际化语言的 key, 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 Name string `json:"name,omitempty"` // 应用国际化名称 Description string `json:"description,omitempty"` // 应用国际化描述(副标题) HelpUse string `json:"help_use,omitempty"` // 帮助国际化文档链接 }
GetApplicationVersionRespAppVersionI18n ...
type GetApplicationVersionRespAppVersionRemark ¶
type GetApplicationVersionRespAppVersionRemark struct { Remark string `json:"remark,omitempty"` // 备注说明 UpdateRemark string `json:"update_remark,omitempty"` // 更新说明 Visibility *GetApplicationVersionRespAppVersionRemarkVisibility `json:"visibility,omitempty"` // 应用当前版本开发者编辑的可见性建议,若开发者未编辑可见性建议,则该字段无内容 }
GetApplicationVersionRespAppVersionRemark ...
type GetApplicationVersionRespAppVersionRemarkVisibility ¶
type GetApplicationVersionRespAppVersionRemarkVisibility struct { IsAll bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *GetApplicationVersionRespAppVersionRemarkVisibilityVisibleList `json:"visible_list,omitempty"` // 可见名单 InvisibleList *GetApplicationVersionRespAppVersionRemarkVisibilityInvisibleList `json:"invisible_list,omitempty"` // 不可见名单 }
GetApplicationVersionRespAppVersionRemarkVisibility ...
type GetApplicationVersionRespAppVersionRemarkVisibilityInvisibleList ¶
type GetApplicationVersionRespAppVersionRemarkVisibilityInvisibleList struct { OpenIDs []string `json:"open_ids,omitempty"` // 可见性成员 open_id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
GetApplicationVersionRespAppVersionRemarkVisibilityInvisibleList ...
type GetApplicationVersionRespAppVersionRemarkVisibilityVisibleList ¶
type GetApplicationVersionRespAppVersionRemarkVisibilityVisibleList struct { OpenIDs []string `json:"open_ids,omitempty"` // 可见性成员 open_id 列表 DepartmentIDs []string `json:"department_ids,omitempty"` // 可见性部门的 id 列表 }
GetApplicationVersionRespAppVersionRemarkVisibilityVisibleList ...
type GetApplicationVersionRespAppVersionScope ¶
type GetApplicationVersionRespAppVersionScope struct { Scope string `json:"scope,omitempty"` // 应用权限 Description string `json:"description,omitempty"` // 应用权限的国际化描述 Level string `json:"level,omitempty"` // 权限等级描述, 可选值有: `1`:普通权限, `2`:高级权限, `3`:超敏感权限, `0`:未知等级 }
GetApplicationVersionRespAppVersionScope ...
type GetApprovalInstanceListReq ¶
type GetApprovalInstanceListReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义唯一标识 StartTime int64 `json:"start_time,omitempty"` // 审批实例创建时间区间(毫秒) EndTime int64 `json:"end_time,omitempty"` // 审批实例创建时间区间(毫秒) Offset int64 `json:"offset,omitempty"` // 查询偏移量 Limit int64 `json:"limit,omitempty"` // 查询限制量 注:不得大于100 }
GetApprovalInstanceListReq ...
type GetApprovalInstanceListResp ¶
type GetApprovalInstanceListResp struct {
InstanceCodeList []string `json:"instance_code_list,omitempty"` // 审批实例 Code
}
GetApprovalInstanceListResp ...
type GetApprovalInstanceReq ¶
type GetApprovalInstanceReq struct { InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code Locale *string `json:"locale,omitempty"` // zh-CN - 中文<br>en-US - 英文<br>ja-JP - 日文 UserID *string `json:"user_id,omitempty"` // 发起审批用户,平台级审批时使用 OpenID *string `json:"open_id,omitempty"` // 发起审批用户 open id }
GetApprovalInstanceReq ...
type GetApprovalInstanceResp ¶
type GetApprovalInstanceResp struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code ApprovalName string `json:"approval_name,omitempty"` // 审批名称 StartTime int64 `json:"start_time,omitempty"` // 审批创建时间 EndTime int64 `json:"end_time,omitempty"` // 审批完成时间,未完成为 0 UserID string `json:"user_id,omitempty"` // 发起审批用户 OpenID string `json:"open_id,omitempty"` // 发起审批用户 open id SerialNumber string `json:"serial_number,omitempty"` // 审批单编号 DepartmentID string `json:"department_id,omitempty"` // 发起审批用户所在部门 Status string `json:"status,omitempty"` // 审批实例状态<br>PENDING - 审批中<br>APPROVED - 通过<br>REJECTED - 拒绝<br>CANCELED - 撤回<br>DELETED - 删除 UUID string `json:"uuid,omitempty"` // 用户的唯一标识id Form ApprovalWidgetList `json:"form,omitempty"` // json字符串,**控件值** TaskList []*GetApprovalInstanceRespTask `json:"task_list,omitempty"` // 审批任务列表 CommentList []*GetApprovalInstanceRespComment `json:"comment_list,omitempty"` // 评论列表 Timeline []*GetApprovalInstanceRespTimeline `json:"timeline,omitempty"` // 审批动态 }
GetApprovalInstanceResp ...
type GetApprovalInstanceRespComment ¶
type GetApprovalInstanceRespComment struct { ID string `json:"id,omitempty"` // comment id UserID string `json:"user_id,omitempty"` // 发表评论用户 OpenID string `json:"open_id,omitempty"` // 发表评论用户 open id Comment string `json:"comment,omitempty"` // 评论内容 CreateTime int64 `json:"create_time,omitempty"` // 评论时间 }
GetApprovalInstanceRespComment ...
type GetApprovalInstanceRespTask ¶
type GetApprovalInstanceRespTask struct { ID string `json:"id,omitempty"` // task id UserID *string `json:"user_id,omitempty"` // 审批人<br>自动通过、自动拒绝 task user_id 为空 OpenID *string `json:"open_id,omitempty"` // 审批人 open id Status string `json:"status,omitempty"` // 任务状态<br>PENDING - 审批中<br>APPROVED - 同意<br>REJECTED - 拒绝<br>TRANSFERRED - 已转交<br>DONE - 完成 NodeID *string `json:"node_id,omitempty"` // task 所属节点 id NodeName *string `json:"node_name,omitempty"` // task 所属节点名称 CustomNodeID *string `json:"custom_node_id,omitempty"` // task 所属节点自定义 id, 如果没设置自定义 id, 则不返回该字段 Type string `json:"type,omitempty"` // 审批方式<br>AND -会签<br>OR - 或签<br>AUTO_PASS -自动通过<br>AUTO_REJECT - 自动拒绝<br>SEQUENTIAL - 按顺序 StartTime int64 `json:"start_time,omitempty"` // task 开始时间 EndTime int64 `json:"end_time,omitempty"` // task 完成时间, 未完成为 0 }
GetApprovalInstanceRespTask ...
type GetApprovalInstanceRespTimeline ¶
type GetApprovalInstanceRespTimeline struct { Type string `json:"type,omitempty"` // 动态类型,不同类型 ext 内的 user_id_list 含义不一样<br>START - 审批开始<br>PASS - 通过<br>REJECT - 拒绝<br>AUTO_PASS - 自动通过<br>AUTO_REJECT - 自动拒绝<br>REMOVE_REPEAT - 去重<br>TRANSFER - 转交 <br>ADD_APPROVER_BEFORE - 前加签<br>ADD_APPROVER - 并加签<br>ADD_APPROVER_AFTER - 后加签 <br>DELETE_APPROVER - 减签<br>ROLLBACK_SELECTED - 指定回退<br>ROLLBACK - 全部回退<br>CANCEL - 撤回<br>DELETE - 删除<br>CC - 抄送 CreateTime int64 `json:"create_time,omitempty"` // 发生时间 UserID *string `json:"user_id,omitempty"` // 动态产生用户 OpenID *string `json:"open_id,omitempty"` // 动态产生用户 open id UserIDList []string `json:"user_id_list,omitempty"` // 被抄送人列表 OpenIDList []string `json:"open_id_list,omitempty"` // 被抄送人列表 TaskID *string `json:"task_id,omitempty"` // 产生动态关联的task_id Comment *string `json:"comment,omitempty"` // 理由 CcUserList []*GetApprovalInstanceRespTimelineCcUser `json:"cc_user_list,omitempty"` // 抄送人列表 Ext *GetApprovalInstanceRespTimelineExt `json:"ext,omitempty"` // 动态其他信息,目前包括 user_id_list, user_id NodeKey *string `json:"node_key,omitempty"` // 产生task的节点key }
GetApprovalInstanceRespTimeline ...
type GetApprovalInstanceRespTimelineCcUser ¶
type GetApprovalInstanceRespTimelineCcUser struct { UserID *string `json:"user_id,omitempty"` // 抄送人 user id CcID *string `json:"cc_id,omitempty"` // 审批实例内抄送唯一标识 OpenID *string `json:"open_id,omitempty"` // 抄送人 open id }
GetApprovalInstanceRespTimelineCcUser ...
type GetApprovalInstanceRespTimelineExt ¶
type GetApprovalInstanceRespTimelineExt struct { UserIDList []string `json:"user_id_list,omitempty"` // **type类型** - **user_id_list 含义**<br>TRANSFER - 被转交人 <br>ADD_APPROVER_BEFORE - 被加签人<br>ADD_APPROVER - 被加签人<br>ADD_APPROVER_AFTER - 被加签人 <br>DELETE_APPROVER - 被减签人 OpenIDList []string `json:"open_id_list,omitempty"` // user_id_list 对应的 open id UserID *string `json:"user_id,omitempty"` // **type类型** - **user_id 含义**<br>CC - 抄送人 OpenID *string `json:"open_id,omitempty"` // user_id 对应的 open_id }
GetApprovalInstanceRespTimelineExt ...
func (GetApprovalInstanceRespTimelineExt) MarshalJSON ¶
func (r GetApprovalInstanceRespTimelineExt) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*GetApprovalInstanceRespTimelineExt) UnmarshalJSON ¶
func (r *GetApprovalInstanceRespTimelineExt) UnmarshalJSON(bs []byte) (err error)
UnmarshalJSON ...
type GetApprovalReq ¶
type GetApprovalReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code Locale *string `json:"locale,omitempty"` // zh-CN - 中文<br>en-US - 英文 <br>ja-JP - 日文 }
GetApprovalReq ...
type GetApprovalResp ¶
type GetApprovalResp struct { ApprovalName string `json:"approval_name,omitempty"` // 审批名称 Status string `json:"status,omitempty"` // 审批定义状态<br>ACTIVE -已启用<br>INACTIVE -已停用<br>DELETED -已删除<br>UNKNOWN -未知 Form ApprovalWidgetList `json:"form,omitempty"` // json 数组,**控件信息** NodeList []*GetApprovalRespNode `json:"node_list,omitempty"` // 节点信息 Viewers []*GetApprovalRespViewer `json:"viewers,omitempty"` // 可见人列表 }
GetApprovalResp ...
type GetApprovalRespNode ¶
type GetApprovalRespNode struct { Name string `json:"name,omitempty"` // 节点名称 NeedApprover bool `json:"need_approver,omitempty"` // 是否发起人自选节点<br>true - 发起审批时需要提交审批人 NodeID string `json:"node_id,omitempty"` // 节点 ID CustomNodeID *string `json:"custom_node_id,omitempty"` // 节点自定义 ID,如果没有设置则不返回 NodeType string `json:"node_type,omitempty"` // 审批方式<br>AND -会签<br>OR - 或签<br>CC_NODE -抄送节点 }
GetApprovalRespNode ...
type GetApprovalRespViewer ¶
type GetApprovalRespViewer struct { Type string `json:"type,omitempty"` // 可见人类型,分别有:<br>TENANT:租户内可见<br>DEPARTMENT:指定部门<br> USER:指定用户<br>NONE:任何人都不可见 OpenID *string `json:"open_id,omitempty"` // 在可见人类型为DEPARTMENT时,open_id为部门的open_id<br>在可见人类型为USER时,open_id为用户的open_id UserID *string `json:"user_id,omitempty"` // 在可见人类型为USER时,表示可见人用户id }
GetApprovalRespViewer ...
type GetApprovalUserTaskListReq ¶
type GetApprovalUserTaskListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:100, 最大值:`200` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"1" UserID string `query:"user_id" json:"-"` // 需要查询的 User ID, 示例值:"example_user_id" Topic string `query:"topic" json:"-"` // 需要查询的任务分组主题,如「待办」、「已办」等, 示例值:"1", 可选值有: `1`:待办审批, `2`:已办审批, `3`:已发起审批, `17`:未读知会, `18`:已读知会 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetApprovalUserTaskListReq ...
type GetApprovalUserTaskListResp ¶
type GetApprovalUserTaskListResp struct { Tasks []*GetApprovalUserTaskListRespTask `json:"tasks,omitempty"` // 任务列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 Count *GetApprovalUserTaskListRespCount `json:"count,omitempty"` // 列表计数,只在分页第一页返回 }
GetApprovalUserTaskListResp ...
type GetApprovalUserTaskListRespCount ¶
type GetApprovalUserTaskListRespCount struct { Total int64 `json:"total,omitempty"` // 总数,大于等于 1000 个项目时将返回 999 HasMore bool `json:"has_more,omitempty"` // 还有更多,当大于等于 1000 时将返回 true }
GetApprovalUserTaskListRespCount ...
type GetApprovalUserTaskListRespTask ¶
type GetApprovalUserTaskListRespTask struct { Topic string `json:"topic,omitempty"` // 任务所属的任务分组,如「待办」、「已办」等, 可选值有: `1`:待办审批, `2`:已办审批, `3`:已发起审批, `17`:未读知会, `18`:已读知会 UserID string `json:"user_id,omitempty"` // 任务所属的用户 ID Title string `json:"title,omitempty"` // 任务题目 URLs *GetApprovalUserTaskListRespTaskURLs `json:"urls,omitempty"` // 任务相关 URL ProcessExternalID string `json:"process_external_id,omitempty"` // 流程三方 ID,仅第三方流程,需要在当前租户、当前 APP 内唯一 TaskExternalID string `json:"task_external_id,omitempty"` // 任务三方 ID,仅第三方流程,需要在当前流程实例内唯一 Status string `json:"status,omitempty"` // 任务状态, 可选值有: `1`:待办, `2`:已办, `17`:未读, `18`:已读, `33`:处理中,标记完成用, `34`:撤回 ProcessStatus string `json:"process_status,omitempty"` // 流程实例状态, 可选值有: `0`:无流程状态,不展示对应标签, `1`:流程实例流转中, `2`:已通过, `3`:已拒绝, `4`:已撤销, `5`:已终止 DefinitionCode string `json:"definition_code,omitempty"` // 流程定义 Code Initiators []string `json:"initiators,omitempty"` // 发起人 ID 列表 InitiatorNames []string `json:"initiator_names,omitempty"` // 发起人姓名列表 TaskID string `json:"task_id,omitempty"` // 任务 ID,全局唯一 ProcessID string `json:"process_id,omitempty"` // 流程 ID,全局唯一 ProcessCode string `json:"process_code,omitempty"` // 流程 Code DefinitionGroupID string `json:"definition_group_id,omitempty"` // 流程定义分组 ID DefinitionGroupName string `json:"definition_group_name,omitempty"` // 流程定义分组名称 DefinitionID string `json:"definition_id,omitempty"` // 流程定义 ID DefinitionName string `json:"definition_name,omitempty"` // 流程定义名称 }
GetApprovalUserTaskListRespTask ...
type GetApprovalUserTaskListRespTaskURLs ¶
type GetApprovalUserTaskListRespTaskURLs struct { Helpdesk string `json:"helpdesk,omitempty"` // 帮助服务台 URL Mobile string `json:"mobile,omitempty"` // 移动端 URL Pc string `json:"pc,omitempty"` // PC 端 URL }
GetApprovalUserTaskListRespTaskURLs ...
type GetAttendanceGroupReq ¶
type GetAttendanceGroupReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 用户 ID 的类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employeeId, `employee_no`:员工工号 DeptType string `query:"dept_type" json:"-"` // 部门 ID 的类型, 示例值:"od-fcb45c28a45311afd441b8869541ece8", 可选值有: `open_id`:暂时只支持部门的 openid GroupID string `path:"group_id" json:"-"` // 考勤组 ID,获取方式:1)[创建或修改考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create) 2)[按名称查询考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search) 3)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query), 示例值:"6919358128597097404" }
GetAttendanceGroupReq ...
type GetAttendanceGroupResp ¶
type GetAttendanceGroupResp struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID(仅修改时提供), 需要从“获取打卡结果”的接口中获取 groupId GroupName string `json:"group_name,omitempty"` // 考勤组名称 TimeZone string `json:"time_zone,omitempty"` // 时区 BindDeptIDs []string `json:"bind_dept_ids,omitempty"` // 绑定的部门 ID ExceptDeptIDs []string `json:"except_dept_ids,omitempty"` // 排除的部门 ID BindUserIDs []string `json:"bind_user_ids,omitempty"` // 绑定的用户 ID ExceptUserIDs []string `json:"except_user_ids,omitempty"` // 排除的用户 ID GroupLeaderIDs []string `json:"group_leader_ids,omitempty"` // 考勤负责人 ID 列表,必选字段 AllowOutPunch bool `json:"allow_out_punch,omitempty"` // 是否允许外勤打卡 AllowPcPunch bool `json:"allow_pc_punch,omitempty"` // 是否允许 PC 端打卡 AllowRemedy bool `json:"allow_remedy,omitempty"` // 是否限制补卡 RemedyLimit bool `json:"remedy_limit,omitempty"` // 是否限制补卡次数 RemedyLimitCount int64 `json:"remedy_limit_count,omitempty"` // 补卡次数 RemedyDateLimit bool `json:"remedy_date_limit,omitempty"` // 是否限制补卡时间 RemedyDateNum int64 `json:"remedy_date_num,omitempty"` // 补卡时间,几天内补卡 ShowCumulativeTime bool `json:"show_cumulative_time,omitempty"` // 是否展示累计时长 ShowOverTime bool `json:"show_over_time,omitempty"` // 是否展示加班时长 HideStaffPunchTime bool `json:"hide_staff_punch_time,omitempty"` // 是否隐藏员工打卡详情 FacePunch bool `json:"face_punch,omitempty"` // 是否开启人脸识别打卡 FacePunchCfg int64 `json:"face_punch_cfg,omitempty"` // 人脸识别打卡规则,1:每次打卡均需人脸识别,2:疑似作弊打卡时需要人脸识别 FaceDowngrade bool `json:"face_downgrade,omitempty"` // 人脸识别失败时是否允许普通拍照打卡 ReplaceBasicPic bool `json:"replace_basic_pic,omitempty"` // 人脸识别失败时是否允许替换基准图片 Machines []*GetAttendanceGroupRespMachine `json:"machines,omitempty"` // 考勤机列表 GpsRange int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围(不建议使用) Locations []*GetAttendanceGroupRespLocation `json:"locations,omitempty"` // 地址列表 GroupType int64 `json:"group_type,omitempty"` // 考勤类型,0:固定班制,2:排班制, 3:自由班制 PunchDayShiftIDs []string `json:"punch_day_shift_ids,omitempty"` // 固定班制必须填 FreePunchCfg *GetAttendanceGroupRespFreePunchCfg `json:"free_punch_cfg,omitempty"` // 配置自由班制 CalendarID int64 `json:"calendar_id,omitempty"` // 国家日历 ID,0:不根据国家日历排休,1:中国大陆,2:美国,3:日本,4:印度,5:新加坡,默认 1 NeedPunchSpecialDays []*GetAttendanceGroupRespNeedPunchSpecialDay `json:"need_punch_special_days,omitempty"` // 必须打卡的特殊日期 NoNeedPunchSpecialDays []*GetAttendanceGroupRespNoNeedPunchSpecialDay `json:"no_need_punch_special_days,omitempty"` // 无需打卡的特殊日期 WorkDayNoPunchAsLack bool `json:"work_day_no_punch_as_lack,omitempty"` // 自由班制下工作日不打卡是否记为缺卡 EffectNow bool `json:"effect_now,omitempty"` // 是否立即生效,默认 false RemedyPeriodType int64 `json:"remedy_period_type,omitempty"` // 补卡周期类型 RemedyPeriodCustomDate int64 `json:"remedy_period_custom_date,omitempty"` // 补卡自定义周期起始日期 PunchType int64 `json:"punch_type,omitempty"` // 打卡类型,位运算。1:GPS 打卡,2:Wi-Fi 打卡,4:考勤机打卡,8:IP 打卡 }
GetAttendanceGroupResp ...
type GetAttendanceGroupRespFreePunchCfg ¶
type GetAttendanceGroupRespFreePunchCfg struct { FreeStartTime string `json:"free_start_time,omitempty"` // 自由班制打卡开始时间 FreeEndTime string `json:"free_end_time,omitempty"` // 自由班制打卡结束时间 PunchDay int64 `json:"punch_day,omitempty"` // 打卡的时间,为 7 位数字,每一位依次代表周一到周日,0 为不上班,1 为上班 WorkDayNoPunchAsLack bool `json:"work_day_no_punch_as_lack,omitempty"` // 工作日不打卡是否记为缺卡 }
GetAttendanceGroupRespFreePunchCfg ...
type GetAttendanceGroupRespLocation ¶
type GetAttendanceGroupRespLocation struct { LocationID string `json:"location_id,omitempty"` // 地址 ID LocationName string `json:"location_name,omitempty"` // 地址名称 LocationType int64 `json:"location_type,omitempty"` // 地址类型,1:GPS,2:Wi-Fi,8:IP Latitude float64 `json:"latitude,omitempty"` // 地址纬度 Longitude float64 `json:"longitude,omitempty"` // 地址经度 Ssid string `json:"ssid,omitempty"` // Wi-Fi 名称 Bssid string `json:"bssid,omitempty"` // Wi-Fi 的 MAC 地址 MapType int64 `json:"map_type,omitempty"` // 地图类型,1:高德, 2:谷歌 Address string `json:"address,omitempty"` // 地址名称 Ip string `json:"ip,omitempty"` // IP 地址 Feature string `json:"feature,omitempty"` // 额外信息,例如:运营商信息 GpsRange int64 `json:"gps_range,omitempty"` // GPS 打卡的有效范围 }
GetAttendanceGroupRespLocation ...
type GetAttendanceGroupRespMachine ¶
type GetAttendanceGroupRespMachine struct { MachineSn string `json:"machine_sn,omitempty"` // 考勤机序列号 MachineName string `json:"machine_name,omitempty"` // 考勤机名称 }
GetAttendanceGroupRespMachine ...
type GetAttendanceGroupRespNeedPunchSpecialDay ¶
type GetAttendanceGroupRespNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期 ShiftID string `json:"shift_id,omitempty"` // 班次 ID }
GetAttendanceGroupRespNeedPunchSpecialDay ...
type GetAttendanceGroupRespNoNeedPunchSpecialDay ¶
type GetAttendanceGroupRespNoNeedPunchSpecialDay struct { PunchDay int64 `json:"punch_day,omitempty"` // 打卡日期 ShiftID string `json:"shift_id,omitempty"` // 班次 ID }
GetAttendanceGroupRespNoNeedPunchSpecialDay ...
type GetAttendanceShiftDetailReq ¶
type GetAttendanceShiftDetailReq struct {
ShiftID string `path:"shift_id" json:"-"` // 班次 ID,获取方式:1)[按名称查询班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query) 2)[创建班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create), 示例值:"6919358778597097404"
}
GetAttendanceShiftDetailReq ...
type GetAttendanceShiftDetailResp ¶
type GetAttendanceShiftDetailResp struct { ShiftID string `json:"shift_id,omitempty"` // 班次 ID ShiftName string `json:"shift_name,omitempty"` // 班次名称 PunchTimes int64 `json:"punch_times,omitempty"` // 打卡次数 IsFlexible bool `json:"is_flexible,omitempty"` // 是否弹性打卡 FlexibleMinutes int64 `json:"flexible_minutes,omitempty"` // 弹性打卡的时间 NoNeedOff bool `json:"no_need_off,omitempty"` // 不需要打下班卡 PunchTimeRule *GetAttendanceShiftDetailRespPunchTimeRule `json:"punch_time_rule,omitempty"` // 打卡规则 LateOffLateOnRule *GetAttendanceShiftDetailRespLateOffLateOnRule `json:"late_off_late_on_rule,omitempty"` // 晚走晚到规则 RestTimeRule *GetAttendanceShiftDetailRespRestTimeRule `json:"rest_time_rule,omitempty"` // 休息规则 }
GetAttendanceShiftDetailResp ...
type GetAttendanceShiftDetailRespLateOffLateOnRule ¶
type GetAttendanceShiftDetailRespLateOffLateOnRule struct { LateOffMinutes int64 `json:"late_off_minutes,omitempty"` // 晚走多久 LateOnMinutes int64 `json:"late_on_minutes,omitempty"` // 晚到多久 }
GetAttendanceShiftDetailRespLateOffLateOnRule ...
type GetAttendanceShiftDetailRespPunchTimeRule ¶
type GetAttendanceShiftDetailRespPunchTimeRule struct { OnTime string `json:"on_time,omitempty"` // 上班时间 OffTime string `json:"off_time,omitempty"` // 下班时间 LateMinutesAsLate int64 `json:"late_minutes_as_late,omitempty"` // 晚到多久记为迟到 LateMinutesAsLack int64 `json:"late_minutes_as_lack,omitempty"` // 晚到多久记为缺卡 OnAdvanceMinutes int64 `json:"on_advance_minutes,omitempty"` // 最早多久可打上班卡 EarlyMinutesAsEarly int64 `json:"early_minutes_as_early,omitempty"` // 早退多久记为早退 EarlyMinutesAsLack int64 `json:"early_minutes_as_lack,omitempty"` // 早退多久记为缺卡 OffDelayMinutes int64 `json:"off_delay_minutes,omitempty"` // 最晚多久可打下班卡 }
GetAttendanceShiftDetailRespPunchTimeRule ...
type GetAttendanceShiftDetailRespRestTimeRule ¶
type GetAttendanceShiftDetailRespRestTimeRule struct { RestBeginTime string `json:"rest_begin_time,omitempty"` // 休息开始 RestEndTime string `json:"rest_end_time,omitempty"` // 休息结束 }
GetAttendanceShiftDetailRespRestTimeRule ...
type GetAttendanceShiftReq ¶
type GetAttendanceShiftReq struct {
ShiftName string `query:"shift_name" json:"-"` // 班次名称, 示例值:"早班"
}
GetAttendanceShiftReq ...
type GetAttendanceShiftResp ¶
type GetAttendanceShiftResp struct { ShiftID string `json:"shift_id,omitempty"` // 班次 ID ShiftName string `json:"shift_name,omitempty"` // 班次名称 PunchTimes int64 `json:"punch_times,omitempty"` // 打卡次数 IsFlexible bool `json:"is_flexible,omitempty"` // 是否弹性打卡 FlexibleMinutes int64 `json:"flexible_minutes,omitempty"` // 弹性打卡的时间 NoNeedOff bool `json:"no_need_off,omitempty"` // 不需要打下班卡 PunchTimeRule *GetAttendanceShiftRespPunchTimeRule `json:"punch_time_rule,omitempty"` // 打卡规则 LateOffLateOnRule *GetAttendanceShiftRespLateOffLateOnRule `json:"late_off_late_on_rule,omitempty"` // 晚走晚到规则 RestTimeRule *GetAttendanceShiftRespRestTimeRule `json:"rest_time_rule,omitempty"` // 休息规则 }
GetAttendanceShiftResp ...
type GetAttendanceShiftRespLateOffLateOnRule ¶
type GetAttendanceShiftRespLateOffLateOnRule struct { LateOffMinutes int64 `json:"late_off_minutes,omitempty"` // 晚走多久 LateOnMinutes int64 `json:"late_on_minutes,omitempty"` // 晚到多久 }
GetAttendanceShiftRespLateOffLateOnRule ...
type GetAttendanceShiftRespPunchTimeRule ¶
type GetAttendanceShiftRespPunchTimeRule struct { OnTime string `json:"on_time,omitempty"` // 上班时间 OffTime string `json:"off_time,omitempty"` // 下班时间 LateMinutesAsLate int64 `json:"late_minutes_as_late,omitempty"` // 晚到多久记为迟到 LateMinutesAsLack int64 `json:"late_minutes_as_lack,omitempty"` // 晚到多久记为缺卡 OnAdvanceMinutes int64 `json:"on_advance_minutes,omitempty"` // 最早多久可打上班卡 EarlyMinutesAsEarly int64 `json:"early_minutes_as_early,omitempty"` // 早退多久记为早退 EarlyMinutesAsLack int64 `json:"early_minutes_as_lack,omitempty"` // 早退多久记为缺卡 OffDelayMinutes int64 `json:"off_delay_minutes,omitempty"` // 最晚多久可打下班卡 }
GetAttendanceShiftRespPunchTimeRule ...
type GetAttendanceShiftRespRestTimeRule ¶
type GetAttendanceShiftRespRestTimeRule struct { RestBeginTime string `json:"rest_begin_time,omitempty"` // 休息开始 RestEndTime string `json:"rest_end_time,omitempty"` // 休息结束 }
GetAttendanceShiftRespRestTimeRule ...
type GetAttendanceUserAllowedRemedyReq ¶
type GetAttendanceUserAllowedRemedyReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_id 的员工工号类型,必选字段,可用值:【employee_id(员工employeeId),employee_no(员工工号)】,示例值:"employee_id" UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 查询补卡的日期 }
GetAttendanceUserAllowedRemedyReq ...
type GetAttendanceUserAllowedRemedyResp ¶
type GetAttendanceUserAllowedRemedyResp struct {
UserAllowedRemedys *GetAttendanceUserAllowedRemedyRespUserAllowedRemedys `json:"user_allowed_remedys,omitempty"`
}
GetAttendanceUserAllowedRemedyResp ...
type GetAttendanceUserAllowedRemedyRespUserAllowedRemedys ¶
type GetAttendanceUserAllowedRemedyRespUserAllowedRemedys struct { UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 IsFreePunch bool `json:"is_free_punch,omitempty"` // 是否为自由班次,若为自由班次,则不用选择考虑第几次上下班,直接选择补卡时间即可 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,可用值:【0(第 1 次上下班),1(第 2 次上下班),2(第 3 次上下班)】 WorkType int64 `json:"work_type,omitempty"` // 上班/下班,1:上班,2:下班 PunchStatus string `json:"punch_status,omitempty"` // 打卡状态,可用值【Early(早退),Late(迟到),Lack(缺卡)】 NormalPunchTime string `json:"normal_punch_time,omitempty"` // 正常的应打卡时间,时间格式为 yyyy-MM-dd HH:mm RemedyStartTime string `json:"remedy_start_time,omitempty"` // 可选的补卡时间的最小值,时间格式为 yyyy-MM-dd HH:mm RemedyEndTime string `json:"remedy_end_time,omitempty"` // 可选的补卡时间的最大值,时间格式为 yyyy-MM-dd HH:mm }
GetAttendanceUserAllowedRemedyRespUserAllowedRemedys ...
type GetAttendanceUserApprovalReq ¶
type GetAttendanceUserApprovalReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 的员工工号类型,必选字段,可用值:【employee_id(员工的 employeeId),employee_no(员工工号)】,示例值:"employee_id" UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表 CheckDateFrom int64 `json:"check_date_from,omitempty"` // 查询的起始工作日 CheckDateTo int64 `json:"check_date_to,omitempty"` // 查询的结束工作日,与 check_date_from 的时间间隔不超过30天 }
GetAttendanceUserApprovalReq ...
type GetAttendanceUserApprovalResp ¶
type GetAttendanceUserApprovalResp struct {
UserApprovals []*GetAttendanceUserApprovalRespUserApproval `json:"user_approvals,omitempty"` // 审批结果列表
}
GetAttendanceUserApprovalResp ...
type GetAttendanceUserApprovalRespUserApproval ¶
type GetAttendanceUserApprovalRespUserApproval struct { UserID string `json:"user_id,omitempty"` // 审批用户 ID Date string `json:"date,omitempty"` // 审批作用时间 Outs []*GetAttendanceUserApprovalRespUserApprovalOut `json:"outs,omitempty"` // 外出信息 Leaves []*GetAttendanceUserApprovalRespUserApprovalLeave `json:"leaves,omitempty"` // 请假信息 OvertimeWorks []*GetAttendanceUserApprovalRespUserApprovalOvertimeWork `json:"overtime_works,omitempty"` // 加班信息 Trips []*GetAttendanceUserApprovalRespUserApprovalTrip `json:"trips,omitempty"` // 出差信息 }
GetAttendanceUserApprovalRespUserApproval ...
type GetAttendanceUserApprovalRespUserApprovalLeave ¶
type GetAttendanceUserApprovalRespUserApprovalLeave struct { UniqID string `json:"uniq_id,omitempty"` // 假期类型唯一 ID,代表一种假期类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 假期时长单位,可用值:【1(天),0(小时),4(分钟)】 StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 假期多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果假期名称没有所对应语言的名称,则会使用默认语言的名称,可用值:【ch(中文),en(英文),ja(日文)】 Reason string `json:"reason,omitempty"` // 请假理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间,时间格式为 yyyy-MM-dd HH:mm:ss ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间,时间格式为 yyyy-MM-dd HH:mm:ss }
GetAttendanceUserApprovalRespUserApprovalLeave ...
type GetAttendanceUserApprovalRespUserApprovalOut ¶
type GetAttendanceUserApprovalRespUserApprovalOut struct { UniqID string `json:"uniq_id,omitempty"` // 外出类型唯一 ID,代表一种外出类型,长度小于 14 Unit int64 `json:"unit,omitempty"` // 外出时长单位,可用值:【1(天),2(小时),3(半天),4(半小时)】 Interval int64 `json:"interval,omitempty"` // 外出时长(单位秒) StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss I18nNames *I18nNames `json:"i18n_names,omitempty"` // 外出多语言展示,格式为 map,key 为["ch"、"en"、"ja"],其中 ch 代表中文,en 代表英文、ja 代表日文 DefaultLocale string `json:"default_locale,omitempty"` // 默认语言类型,由于飞书客户端支持中、英、日三种语言,当用户切换语言时,如果外出名称没有所对应语言的名称,则会使用默认语言的名称 Reason string `json:"reason,omitempty"` // 外出理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间 ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间 }
GetAttendanceUserApprovalRespUserApprovalOut ...
type GetAttendanceUserApprovalRespUserApprovalOvertimeWork ¶
type GetAttendanceUserApprovalRespUserApprovalOvertimeWork struct { Duration float64 `json:"duration,omitempty"` // 加班时长 Unit int64 `json:"unit,omitempty"` // 加班时长单位,可用值:【1(天),2(小时)】 Category int64 `json:"category,omitempty"` // 加班日期类型,可用值:【1(工作日),2(休息日),3(节假日)】 Type int64 `json:"type,omitempty"` // 加班规则类型,可用值:【0(不关联加班规则),1(调休),2(加班费)】 StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss }
GetAttendanceUserApprovalRespUserApprovalOvertimeWork ...
type GetAttendanceUserApprovalRespUserApprovalTrip ¶
type GetAttendanceUserApprovalRespUserApprovalTrip struct { StartTime string `json:"start_time,omitempty"` // 开始时间,时间格式为 yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty"` // 结束时间,时间格式为 yyyy-MM-dd HH:mm:ss Reason string `json:"reason,omitempty"` // 出差理由 ApprovePassTime string `json:"approve_pass_time,omitempty"` // 审批通过时间,时间格式为 yyyy-MM-dd HH:mm:ss ApproveApplyTime string `json:"approve_apply_time,omitempty"` // 审批申请时间,时间格式为 yyyy-MM-dd HH:mm:ss }
GetAttendanceUserApprovalRespUserApprovalTrip ...
type GetAttendanceUserDailyShiftReq ¶
type GetAttendanceUserDailyShiftReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表, 示例值:["abd754f7"] CheckDateFrom int64 `json:"check_date_from,omitempty"` // 查询的起始工作日, 示例值:20190817 CheckDateTo int64 `json:"check_date_to,omitempty"` // 查询的结束工作日, 示例值:20190820 }
GetAttendanceUserDailyShiftReq ...
type GetAttendanceUserDailyShiftResp ¶
type GetAttendanceUserDailyShiftResp struct {
UserDailyShifts []*GetAttendanceUserDailyShiftRespUserDailyShift `json:"user_daily_shifts,omitempty"` // 班表信息列表
}
GetAttendanceUserDailyShiftResp ...
type GetAttendanceUserDailyShiftRespUserDailyShift ¶
type GetAttendanceUserDailyShiftRespUserDailyShift struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID,获取方式:1)[创建或修改考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/create) 2)[按名称查询考勤组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/group/search) 3)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query) ShiftID string `json:"shift_id,omitempty"` // 班次 ID,获取方式:1)[按名称查询班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/query) 2)[创建班次](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/shift/create) Month int64 `json:"month,omitempty"` // 月份 UserID string `json:"user_id,omitempty"` // 用户 ID DayNo int64 `json:"day_no,omitempty"` // 日期 }
GetAttendanceUserDailyShiftRespUserDailyShift ...
type GetAttendanceUserFlowReq ¶
type GetAttendanceUserFlowReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 响应体中的 user_id 和 creator_id 的员工工号类型, 示例值:"employee_id", 可选值有: `open_id`:开放 openID, `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserFlowID string `path:"user_flow_id" json:"-"` // 打卡流水记录 ID,获取方式:1)[批量查询打卡流水记录](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_flow/query) 2)[获取打卡结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_task/query) 3)[导入打卡流水记录](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_flow/batch_create), 示例值:"6708236686834352397" }
GetAttendanceUserFlowReq ...
type GetAttendanceUserFlowResp ¶
type GetAttendanceUserFlowResp struct { UserID string `json:"user_id,omitempty"` // 用户 ID CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息 CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳 Comment string `json:"comment,omitempty"` // 打卡备注 RecordID string `json:"record_id,omitempty"` // 打卡记录 ID Longitude float64 `json:"longitude,omitempty"` // 打卡经度 Latitude float64 `json:"latitude,omitempty"` // 打卡纬度 Ssid string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID Bssid string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址 IsField bool `json:"is_field,omitempty"` // 是否为外勤打卡 IsWifi bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡 Type int64 `json:"type,omitempty"` // 记录生成方式, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表 DeviceID string `json:"device_id,omitempty"` // 打卡设备 ID }
GetAttendanceUserFlowResp ...
type GetAttendanceUserSettingListReq ¶
type GetAttendanceUserSettingListReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表, 示例值:["abd754f7"], 最大长度:`100` }
GetAttendanceUserSettingListReq ...
type GetAttendanceUserSettingListResp ¶
type GetAttendanceUserSettingListResp struct {
UserSettings []*GetAttendanceUserSettingListRespUserSetting `json:"user_settings,omitempty"` // 用户设置信息列表
}
GetAttendanceUserSettingListResp ...
type GetAttendanceUserSettingListRespUserSetting ¶
type GetAttendanceUserSettingListRespUserSetting struct { UserID string `json:"user_id,omitempty"` // 用户 ID FaceKey string `json:"face_key,omitempty"` // 人脸照片文件 ID,获取方式:[文件上传](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/file/upload) FaceKeyUpdateTime string `json:"face_key_update_time,omitempty"` // 人脸照片更新时间,精确到秒的时间戳 }
GetAttendanceUserSettingListRespUserSetting ...
type GetAttendanceUserStatsDataReq ¶
type GetAttendanceUserStatsDataReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 Locale string `json:"locale,omitempty"` // 语言类型, 示例值:"zh", 可选值有: `en`:英语, `ja`:日语, `zh`:中文 StatsType string `json:"stats_type,omitempty"` // 统计类型, 示例值:"month", 可选值有: `daily`:日度统计, `month`:月度统计 StartDate int64 `json:"start_date,omitempty"` // 开始时间, 示例值:20210316 EndDate int64 `json:"end_date,omitempty"` // 结束时间,(时间间隔不超过 40 天), 示例值:20210323 UserIDs []string `json:"user_ids,omitempty"` // 查询的用户 ID 列表,(用户数量不超过 20), 示例值:[, "ec8ddg56",, "4dbb52f2",, "4167842e", ] NeedHistory *bool `json:"need_history,omitempty"` // 是否需要历史数据, 示例值:true CurrentGroupOnly *bool `json:"current_group_only,omitempty"` // 只展示当前考勤组, 示例值:true }
GetAttendanceUserStatsDataReq ...
type GetAttendanceUserStatsDataResp ¶
type GetAttendanceUserStatsDataResp struct {
UserDatas []*GetAttendanceUserStatsDataRespUserData `json:"user_datas,omitempty"` // 用户统计数据
}
GetAttendanceUserStatsDataResp ...
type GetAttendanceUserStatsDataRespUserData ¶
type GetAttendanceUserStatsDataRespUserData struct { Name string `json:"name,omitempty"` // 用户姓名 UserID string `json:"user_id,omitempty"` // 用户 ID Datas []*GetAttendanceUserStatsDataRespUserDataData `json:"datas,omitempty"` // 用户的统计数据 }
GetAttendanceUserStatsDataRespUserData ...
type GetAttendanceUserStatsDataRespUserDataData ¶
type GetAttendanceUserStatsDataRespUserDataData struct { Code string `json:"code,omitempty"` // 字段编号 Value string `json:"value,omitempty"` // 数据值 Features []*GetAttendanceUserStatsDataRespUserDataDataFeature `json:"features,omitempty"` // 数据属性 }
GetAttendanceUserStatsDataRespUserDataData ...
type GetAttendanceUserStatsDataRespUserDataDataFeature ¶
type GetAttendanceUserStatsDataRespUserDataDataFeature struct { Key string `json:"key,omitempty"` // 统计数据列附加属性的名称 Value string `json:"value,omitempty"` // 统计数据列附加属性的值 }
GetAttendanceUserStatsDataRespUserDataDataFeature ...
type GetAttendanceUserStatsFieldReq ¶
type GetAttendanceUserStatsFieldReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 Locale string `json:"locale,omitempty"` // 语言类型, 示例值:"zh", 可选值有: `en`:英语, `ja`:日语, `zh`:中文 StatsType string `json:"stats_type,omitempty"` // 统计类型, 示例值:"daily", 可选值有: `daily`:日度统计, `month`:月度统计 StartDate int64 `json:"start_date,omitempty"` // 开始时间, 示例值:20210316 EndDate int64 `json:"end_date,omitempty"` // 结束时间(时间间隔不超过 40 天), 示例值:20210323 }
GetAttendanceUserStatsFieldReq ...
type GetAttendanceUserStatsFieldResp ¶
type GetAttendanceUserStatsFieldResp struct {
UserStatsField *GetAttendanceUserStatsFieldRespUserStatsField `json:"user_stats_field,omitempty"` // 统计数据表头
}
GetAttendanceUserStatsFieldResp ...
type GetAttendanceUserStatsFieldRespUserStatsField ¶
type GetAttendanceUserStatsFieldRespUserStatsField struct { StatsType string `json:"stats_type,omitempty"` // 统计类型, 可选值有: `daily`:日度统计, `month`:月度统计 UserID string `json:"user_id,omitempty"` // 用户 ID Fields []*GetAttendanceUserStatsFieldRespUserStatsFieldField `json:"fields,omitempty"` // 字段列表 }
GetAttendanceUserStatsFieldRespUserStatsField ...
type GetAttendanceUserStatsFieldRespUserStatsFieldField ¶
type GetAttendanceUserStatsFieldRespUserStatsFieldField struct { Code string `json:"code,omitempty"` // 字段编号 Title string `json:"title,omitempty"` // 字段名称 ChildFields []*GetAttendanceUserStatsFieldRespUserStatsFieldFieldChildField `json:"child_fields,omitempty"` // 子字段列表 }
GetAttendanceUserStatsFieldRespUserStatsFieldField ...
type GetAttendanceUserStatsFieldRespUserStatsFieldFieldChildField ¶
type GetAttendanceUserStatsFieldRespUserStatsFieldFieldChildField struct { Code string `json:"code,omitempty"` // 子字段编号 Title string `json:"title,omitempty"` // 子字段名称 TimeUnit string `json:"time_unit,omitempty"` // 时间单位 }
GetAttendanceUserStatsFieldRespUserStatsFieldFieldChildField ...
type GetAttendanceUserStatsViewReq ¶
type GetAttendanceUserStatsViewReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 Locale string `json:"locale,omitempty"` // 语言类型, 示例值:"zh", 可选值有: `en`:英语, `ja`:日语, `zh`:中文 StatsType string `json:"stats_type,omitempty"` // 统计类型, 示例值:"daily", 可选值有: `daily`:日度统计, `month`:月度统计 }
GetAttendanceUserStatsViewReq ...
type GetAttendanceUserStatsViewResp ¶
type GetAttendanceUserStatsViewResp struct {
View *GetAttendanceUserStatsViewRespView `json:"view,omitempty"` // 统计视图
}
GetAttendanceUserStatsViewResp ...
type GetAttendanceUserStatsViewRespView ¶
type GetAttendanceUserStatsViewRespView struct { ViewID string `json:"view_id,omitempty"` // 视图 ID StatsType string `json:"stats_type,omitempty"` // 视图类型, 可选值有: `daily`:日度统计, `month`:月度统计 UserID string `json:"user_id,omitempty"` // 用户 ID Items []*GetAttendanceUserStatsViewRespViewItem `json:"items,omitempty"` // 用户设置字段 }
GetAttendanceUserStatsViewRespView ...
type GetAttendanceUserStatsViewRespViewItem ¶
type GetAttendanceUserStatsViewRespViewItem struct { Code string `json:"code,omitempty"` // 标题编号 Title string `json:"title,omitempty"` // 标题名称 ChildItems []*GetAttendanceUserStatsViewRespViewItemChildItem `json:"child_items,omitempty"` // 子标题 }
GetAttendanceUserStatsViewRespViewItem ...
type GetAttendanceUserStatsViewRespViewItemChildItem ¶
type GetAttendanceUserStatsViewRespViewItemChildItem struct { Code string `json:"code,omitempty"` // 子标题编号 Value string `json:"value,omitempty"` // 开关字段,0:关闭,1:开启(非开关字段场景:code = 51501 可选值为1-6) Title string `json:"title,omitempty"` // 子标题名称 ColumnType int64 `json:"column_type,omitempty"` // 列类型 ReadOnly bool `json:"read_only,omitempty"` // 是否只读 MinValue string `json:"min_value,omitempty"` // 最小值 MaxValue string `json:"max_value,omitempty"` // 最大值 }
GetAttendanceUserStatsViewRespViewItemChildItem ...
type GetAttendanceUserTaskRemedyAllowedRemedyListReq ¶
type GetAttendanceUserTaskRemedyAllowedRemedyListReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"abd754f7" RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期, 示例值:20210104 }
GetAttendanceUserTaskRemedyAllowedRemedyListReq ...
type GetAttendanceUserTaskRemedyAllowedRemedyListResp ¶
type GetAttendanceUserTaskRemedyAllowedRemedyListResp struct {
UserAllowedRemedys []*GetAttendanceUserTaskRemedyAllowedRemedyListRespUserAllowedRemedy `json:"user_allowed_remedys,omitempty"` // 用户可补卡时间
}
GetAttendanceUserTaskRemedyAllowedRemedyListResp ...
type GetAttendanceUserTaskRemedyAllowedRemedyListRespUserAllowedRemedy ¶
type GetAttendanceUserTaskRemedyAllowedRemedyListRespUserAllowedRemedy struct { UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 IsFreePunch bool `json:"is_free_punch,omitempty"` // 是否为自由班次,若为自由班次,则不用选择考虑第几次上下班,直接选择补卡时间即可 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,0:第 1 次上下班,1:第 2 次上下班,2:第 3 次上下班 WorkType int64 `json:"work_type,omitempty"` // 上班 / 下班,1:上班,2:下班 PunchStatus string `json:"punch_status,omitempty"` // 打卡状态,Early:早退,Late:迟到,Lack:缺卡 NormalPunchTime string `json:"normal_punch_time,omitempty"` // 正常的应打卡时间,时间格式为 yyyy-MM-dd HH:mm RemedyStartTime string `json:"remedy_start_time,omitempty"` // 可选的补卡时间的最小值,时间格式为 yyyy-MM-dd HH:mm RemedyEndTime string `json:"remedy_end_time,omitempty"` // 可选的补卡时间的最大值,时间格式为 yyyy-MM-dd HH:mm }
GetAttendanceUserTaskRemedyAllowedRemedyListRespUserAllowedRemedy ...
type GetAttendanceUserTaskRemedyReq ¶
type GetAttendanceUserTaskRemedyReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_ids 和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表, 示例值:["abd754f7"] CheckTimeFrom string `json:"check_time_from,omitempty"` // 查询的起始时间,精确到秒的时间戳, 示例值:"1566641088" CheckTimeTo string `json:"check_time_to,omitempty"` // 查询的结束时间,精确到秒的时间戳, 示例值:"1592561088" }
GetAttendanceUserTaskRemedyReq ...
type GetAttendanceUserTaskRemedyResp ¶
type GetAttendanceUserTaskRemedyResp struct {
UserRemedys []*GetAttendanceUserTaskRemedyRespUserRemedy `json:"user_remedys,omitempty"` // 补卡记录列表
}
GetAttendanceUserTaskRemedyResp ...
type GetAttendanceUserTaskRemedyRespUserRemedy ¶
type GetAttendanceUserTaskRemedyRespUserRemedy struct { UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,0:第 1 次上下班,1:第 2 次上下班,2:第 3 次上下班,自由班制填 0 WorkType int64 `json:"work_type,omitempty"` // 上班 / 下班,1:上班,2:下班,自由班制填 0 ApprovalID string `json:"approval_id,omitempty"` // 审批 ID RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间,时间格式为 yyyy-MM-dd HH:mm Status int64 `json:"status,omitempty"` // 补卡状态, 可选值有: `0`:审批中, `2`:已通过, `3`:已取消, `4`:通过后撤回 Reason string `json:"reason,omitempty"` // 补卡原因 Time string `json:"time,omitempty"` // 补卡时间,精确到秒的时间戳 TimeZone string `json:"time_zone,omitempty"` // 补卡时考勤组时区 CreateTime string `json:"create_time,omitempty"` // 补卡发起时间,精确到秒的时间戳 UpdateTime string `json:"update_time,omitempty"` // 补卡状态更新时间,精确到秒的时间戳 }
GetAttendanceUserTaskRemedyRespUserRemedy ...
type GetAttendanceUserTaskReq ¶
type GetAttendanceUserTaskReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 IgnoreInvalidUsers *bool `query:"ignore_invalid_users" json:"-"` // 是否忽略无效和没有权限的用户。如果 true,则返回有效用户的信息,并告知无效和没有权限的用户信息;如果 false,且 user_ids 中存在无效或没有权限的用户,则返回错误, 示例值:true IncludeTerminatedUser *bool `query:"include_terminated_user" json:"-"` // 由于新入职员工可以复用已离职员工的 employee_no/employee_id,如果 true,则返回 employee_no/employee_id 对应的所有在职 + 离职员工的数据;如果 false,则只返回 employee_no/employee_id 对应的在职或最近一个离职员工的数据, 示例值:true UserIDs []string `json:"user_ids,omitempty"` // employee_no 或 employee_id 列表, 示例值:abd754f7 CheckDateFrom int64 `json:"check_date_from,omitempty"` // 查询的起始工作日, 示例值:20190817 CheckDateTo int64 `json:"check_date_to,omitempty"` // 查询的结束工作日, 示例值:20190820 }
GetAttendanceUserTaskReq ...
type GetAttendanceUserTaskResp ¶
type GetAttendanceUserTaskResp struct { UserTaskResults []*GetAttendanceUserTaskRespUserTaskResult `json:"user_task_results,omitempty"` // 打卡任务列表 InvalidUserIDs []string `json:"invalid_user_ids,omitempty"` // 无效用户 ID 列表 }
GetAttendanceUserTaskResp ...
type GetAttendanceUserTaskRespUserTaskResult ¶
type GetAttendanceUserTaskRespUserTaskResult struct { ResultID string `json:"result_id,omitempty"` // 打卡记录 ID UserID string `json:"user_id,omitempty"` // 用户 ID EmployeeName string `json:"employee_name,omitempty"` // 用户姓名 Day int64 `json:"day,omitempty"` // 日期 GroupID string `json:"group_id,omitempty"` // 考勤组 ID ShiftID string `json:"shift_id,omitempty"` // 班次 ID Records []*GetAttendanceUserTaskRespUserTaskResultRecord `json:"records,omitempty"` // 用户考勤记录 }
GetAttendanceUserTaskRespUserTaskResult ...
type GetAttendanceUserTaskRespUserTaskResultRecord ¶
type GetAttendanceUserTaskRespUserTaskResultRecord struct { CheckInRecordID string `json:"check_in_record_id,omitempty"` // 上班打卡记录 ID CheckInRecord *GetAttendanceUserTaskRespUserTaskResultRecordCheckInRecord `json:"check_in_record,omitempty"` // 上班打卡记录 CheckOutRecordID string `json:"check_out_record_id,omitempty"` // 下班打卡记录 ID CheckOutRecord *GetAttendanceUserTaskRespUserTaskResultRecordCheckOutRecord `json:"check_out_record,omitempty"` // 下班打卡记录 CheckInResult string `json:"check_in_result,omitempty"` // 上班打卡结果, 可选值有: `NoNeedCheck`:无需打卡, `SystemCheck`:系统打卡, `Normal`:正常, `Early`:早退, `Late`:迟到, `Lack`:缺卡 CheckOutResult string `json:"check_out_result,omitempty"` // 下班打卡结果, 可选值有: `NoNeedCheck`:无需打卡, `SystemCheck`:系统打卡, `Normal`:正常, `Early`:早退, `Late`:迟到, `Lack`:缺卡 CheckInResultSupplement string `json:"check_in_result_supplement,omitempty"` // 上班打卡结果补充, 可选值有: `None`:无, `ManagerModification`:管理员修改, `CardReplacement`:补卡通过, `ShiftChange`:换班, `Travel`:出差, `Leave`:请假, `GoOut`:外出, `CardReplacementApplication`:补卡申请中, `FieldPunch`:外勤打卡 CheckOutResultSupplement string `json:"check_out_result_supplement,omitempty"` // 下班打卡结果补充, 可选值有: `None`:无, `ManagerModification`:管理员修改, `CardReplacement`:补卡通过, `ShiftChange`:换班, `Travel`:出差, `Leave`:请假, `GoOut`:外出, `CardReplacementApplication`:补卡申请中, `FieldPunch`:外勤打卡 CheckInShiftTime string `json:"check_in_shift_time,omitempty"` // 上班打卡时间 CheckOutShiftTime string `json:"check_out_shift_time,omitempty"` // 下班打卡时间 }
GetAttendanceUserTaskRespUserTaskResultRecord ...
type GetAttendanceUserTaskRespUserTaskResultRecordCheckInRecord ¶
type GetAttendanceUserTaskRespUserTaskResultRecordCheckInRecord struct { UserID string `json:"user_id,omitempty"` // 用户 ID CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息 CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳 Comment string `json:"comment,omitempty"` // 打卡备注 RecordID string `json:"record_id,omitempty"` // 打卡记录 ID Longitude float64 `json:"longitude,omitempty"` // 打卡经度 Latitude float64 `json:"latitude,omitempty"` // 打卡纬度 Ssid string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID Bssid string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址 IsField bool `json:"is_field,omitempty"` // 是否为外勤打卡 IsWifi bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡 Type int64 `json:"type,omitempty"` // 记录生成方式, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表 DeviceID string `json:"device_id,omitempty"` // 打卡设备 ID }
GetAttendanceUserTaskRespUserTaskResultRecordCheckInRecord ...
type GetAttendanceUserTaskRespUserTaskResultRecordCheckOutRecord ¶
type GetAttendanceUserTaskRespUserTaskResultRecordCheckOutRecord struct { UserID string `json:"user_id,omitempty"` // 用户 ID CreatorID string `json:"creator_id,omitempty"` // 记录创建者 ID LocationName string `json:"location_name,omitempty"` // 打卡位置名称信息 CheckTime string `json:"check_time,omitempty"` // 打卡时间,精确到秒的时间戳 Comment string `json:"comment,omitempty"` // 打卡备注 RecordID string `json:"record_id,omitempty"` // 打卡记录 ID Longitude float64 `json:"longitude,omitempty"` // 打卡经度 Latitude float64 `json:"latitude,omitempty"` // 打卡纬度 Ssid string `json:"ssid,omitempty"` // 打卡 Wi-Fi 的 SSID Bssid string `json:"bssid,omitempty"` // 打卡 Wi-Fi 的 MAC 地址 IsField bool `json:"is_field,omitempty"` // 是否为外勤打卡 IsWifi bool `json:"is_wifi,omitempty"` // 是否为 Wi-Fi 打卡 Type int64 `json:"type,omitempty"` // 记录生成方式, 可选值有: `0`:用户打卡, `1`:管理员修改, `2`:用户补卡, `3`:系统自动生成, `4`:下班免打卡, `5`:考勤机, `6`:极速打卡, `7`:考勤开放平台导入 PhotoURLs []string `json:"photo_urls,omitempty"` // 打卡照片列表 DeviceID string `json:"device_id,omitempty"` // 打卡设备 ID }
GetAttendanceUserTaskRespUserTaskResultRecordCheckOutRecord ...
type GetBatchSentMessageProgressReq ¶
type GetBatchSentMessageProgressReq struct {
BatchMessageID string `path:"batch_message_id" json:"-"` // 待查询的批量消息的ID, 示例值:"bm-0b3d5d1b2df7c6d5dbd1abe2c91e2217"
}
GetBatchSentMessageProgressReq ...
type GetBatchSentMessageProgressResp ¶
type GetBatchSentMessageProgressResp struct { BatchMessageSendProgress []*GetBatchSentMessageProgressRespBatchMessageSendProgres `json:"batch_message_send_progress,omitempty"` // 消息发送进度 BatchMessageRecallProgress []*GetBatchSentMessageProgressRespBatchMessageRecallProgres `json:"batch_message_recall_progress,omitempty"` // 消息撤回进度 }
GetBatchSentMessageProgressResp ...
type GetBatchSentMessageProgressRespBatchMessageRecallProgres ¶
type GetBatchSentMessageProgressRespBatchMessageRecallProgres struct { Recall bool `json:"recall,omitempty"` // 该条批量消息是否被执行过撤回操作 RecallCount int64 `json:"recall_count,omitempty"` // 已经成功撤回的消息数量 }
GetBatchSentMessageProgressRespBatchMessageRecallProgres ...
type GetBatchSentMessageProgressRespBatchMessageSendProgres ¶
type GetBatchSentMessageProgressRespBatchMessageSendProgres struct { ValidUserIDsCount int64 `json:"valid_user_ids_count,omitempty"` // 批量请求中有效的userid数量(包含机器人不可见用户),* 注: ,当valid_user_ids_count为0有两种情况:,1. 批量任务还没有开始被调度(请等待一会再调用该接口),2. 批量发送消息时传入的所有openIDs、employeID、departmentiIDs都不包含有效的用户 SuccessUserIDsCount int64 `json:"success_user_ids_count,omitempty"` // 已经成功给用户发送成功的消息数量,* 注:最终success_user_ids_count不一定等于valid_user_ids_count, 因为valid_user_ids_count包含了对机器人不可见的用户 ReadUserIDsCount int64 `json:"read_user_ids_count,omitempty"` // 已读信息用户数量 }
GetBatchSentMessageProgressRespBatchMessageSendProgres ...
type GetBatchSentMessageReadUserReq ¶
type GetBatchSentMessageReadUserReq struct {
BatchMessageID string `path:"batch_message_id" json:"-"` // 待查询的批量消息的ID, 示例值:"bm_dc13264520392913993dd051dba21dcf"
}
GetBatchSentMessageReadUserReq ...
type GetBatchSentMessageReadUserResp ¶
type GetBatchSentMessageReadUserResp struct {
ReadUser *GetBatchSentMessageReadUserRespReadUser `json:"read_user,omitempty"` // 批量发送消息的用户阅读情况
}
GetBatchSentMessageReadUserResp ...
type GetBatchSentMessageReadUserRespReadUser ¶
type GetBatchSentMessageReadUserRespReadUser struct { ReadCount string `json:"read_count,omitempty"` // 已读的人数 TotalCount string `json:"total_count,omitempty"` // 推送的总人数 }
GetBatchSentMessageReadUserRespReadUser ...
type GetBitableFieldListReq ¶
type GetBitableFieldListReq struct { ViewID *string `query:"view_id" json:"-"` // 视图 ID, 示例值:"vewOVMEXPF" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"fldwJ4YrtB" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" }
GetBitableFieldListReq ...
type GetBitableFieldListResp ¶
type GetBitableFieldListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Total int64 `json:"total,omitempty"` // 总数 Items []*GetBitableFieldListRespItem `json:"items,omitempty"` // 字段信息 }
GetBitableFieldListResp ...
type GetBitableFieldListRespItem ¶
type GetBitableFieldListRespItem struct { FieldID string `json:"field_id,omitempty"` // 多维表格字段 id FieldName string `json:"field_name,omitempty"` // 多维表格字段名 Type int64 `json:"type,omitempty"` // 多维表格字段类型, 可选值有: `1`:多行文本, `2`:数字, `3`:单选, `4`:多选, `5`:日期, `7`:复选框, `11`:人员, `15`:超链接, `17`:附件, `18`:关联, `20`:公式, `21`:双向关联, `1001`:创建时间, `1002`:最后更新时间, `1003`:创建人, `1004`:修改人 Property *GetBitableFieldListRespItemProperty `json:"property,omitempty"` // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide) }
GetBitableFieldListRespItem ...
type GetBitableFieldListRespItemProperty ¶
type GetBitableFieldListRespItemProperty struct { Options []*GetBitableFieldListRespItemPropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 Formatter string `json:"formatter,omitempty"` // 数字、公式字段的显示格式 DateFormatter string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式 AutoFill bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间 Multiple bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录 TableID string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的id TableName string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字 BackFieldName string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字 }
GetBitableFieldListRespItemProperty ...
type GetBitableFieldListRespItemPropertyOption ¶
type GetBitableFieldListRespItemPropertyOption struct { Name string `json:"name,omitempty"` // 选项名 ID string `json:"id,omitempty"` // 选项id Color int64 `json:"color,omitempty"` // 选项颜色 }
GetBitableFieldListRespItemPropertyOption ...
type GetBitableMetaReq ¶
type GetBitableMetaReq struct {
AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh"
}
GetBitableMetaReq ...
type GetBitableMetaResp ¶
type GetBitableMetaResp struct {
App *GetBitableMetaRespApp `json:"app,omitempty"` // 多维表格元数据
}
GetBitableMetaResp ...
type GetBitableMetaRespApp ¶
type GetBitableMetaRespApp struct { AppToken string `json:"app_token,omitempty"` // 多维表格的 app_token Name string `json:"name,omitempty"` // 多维表格的名字 Revision int64 `json:"revision,omitempty"` // 多维表格的版本号 }
GetBitableMetaRespApp ...
type GetBitableRecordListReq ¶
type GetBitableRecordListReq struct { ViewID *string `query:"view_id" json:"-"` // 视图 id, 如filter或sort有值, view_id会被忽略, 示例值:"vewqhz51lk" Filter *string `query:"filter" json:"-"` // filter, 不超过2000个字符, 不支持对高级字段属性(关联和公式)进行过滤筛选,仅支持字段文本值。详细请参考 [记录筛选指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-record/list), 示例值:"AND(CurrentValue.[身高]>180, CurrentValue.[体重]>150)" Sort *string `query:"sort" json:"-"` // sort, 不超过1000字符, 不支持对带特殊字段(关联和公式)的表的使用, 示例值:"["字段1 DESC","字段2 ASC"]" FieldNames *string `query:"field_names" json:"-"` // field_names, 示例值:"["字段1"]" TextFieldAsArray *bool `query:"text_field_as_array" json:"-"` // 控制多行文本字段数据的返回格式, true 表示以数组形式返回, 示例值:true PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"recn0hoyXL" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"bascnCMII2ORej2RItqpZZUNMIe" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblxI2tWaxP5dG7p" }
GetBitableRecordListReq ...
type GetBitableRecordListResp ¶
type GetBitableRecordListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Total int64 `json:"total,omitempty"` // 总数 Items []*GetBitableRecordListRespItem `json:"items,omitempty"` // 记录信息 }
GetBitableRecordListResp ...
type GetBitableRecordListRespItem ¶
type GetBitableRecordListRespItem struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
GetBitableRecordListRespItem ...
type GetBitableRecordReq ¶
type GetBitableRecordReq struct { TextFieldAsArray *bool `query:"text_field_as_array" json:"-"` // 控制多行文本字段数据的返回格式, true 表示以数组形式返回, 示例值:true UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"bascnCMII2ORej2RItqpZZUNMIe" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblxI2tWaxP5dG7p" RecordID string `path:"record_id" json:"-"` // 单条记录的 id, 示例值:"recn0hoyXL" }
GetBitableRecordReq ...
type GetBitableRecordResp ¶
type GetBitableRecordResp struct {
Record *GetBitableRecordRespRecord `json:"record,omitempty"` // 记录
}
GetBitableRecordResp ...
type GetBitableRecordRespRecord ¶
type GetBitableRecordRespRecord struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
GetBitableRecordRespRecord ...
type GetBitableTableListReq ¶
type GetBitableTableListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"tblsRc9GRRXKqhvW" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" }
GetBitableTableListReq ...
type GetBitableTableListResp ¶
type GetBitableTableListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Total int64 `json:"total,omitempty"` // 总数 Items []*GetBitableTableListRespItem `json:"items,omitempty"` // 数据表信息 }
GetBitableTableListResp ...
type GetBitableTableListRespItem ¶
type GetBitableTableListRespItem struct { TableID string `json:"table_id,omitempty"` // 数据表 id Revision int64 `json:"revision,omitempty"` // 数据表的版本号 Name string `json:"name,omitempty"` // 数据表名字 }
GetBitableTableListRespItem ...
type GetBitableViewListReq ¶
type GetBitableViewListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"vewTpR1urY" AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" }
GetBitableViewListReq ...
type GetBitableViewListResp ¶
type GetBitableViewListResp struct { Items []*GetBitableViewListRespItem `json:"items,omitempty"` // 视图信息 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 Total int64 `json:"total,omitempty"` // 总数 }
GetBitableViewListResp ...
type GetBitableViewListRespItem ¶
type GetBitableViewListRespItem struct { ViewID string `json:"view_id,omitempty"` // 视图Id ViewName string `json:"view_name,omitempty"` // 视图名字 ViewType string `json:"view_type,omitempty"` // 视图类型 }
GetBitableViewListRespItem ...
type GetBotInfoResp ¶
type GetBotInfoResp struct { ActivateStatus int64 `json:"activate_status,omitempty"` // app 当前状态。,0: 初始化,租户待安装,1: 租户停用,2: 租户启用,3: 安装后待启用,4: 升级待启用,5: license过期停用,6: Lark套餐到期或降级停用 AppName string `json:"app_name,omitempty"` // app 名称 AvatarURL string `json:"avatar_url,omitempty"` // app 图像地址 IpWhiteList []string `json:"ip_white_list,omitempty"` // app 的 IP 白名单地址 OpenID string `json:"open_id,omitempty"` // 机器人的open_id }
GetBotInfoResp ...
type GetCalendarACLListReq ¶
type GetCalendarACLListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10,小于10取10, 最大值:`50` CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" }
GetCalendarACLListReq ...
type GetCalendarACLListResp ¶
type GetCalendarACLListResp struct { Acls []*GetCalendarACLListRespACL `json:"acls,omitempty"` // 入参日历对应的acl列表 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetCalendarACLListResp ...
type GetCalendarACLListRespACL ¶
type GetCalendarACLListRespACL struct { ACLID string `json:"acl_id,omitempty"` // acl资源ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Role CalendarRole `json:"role,omitempty"` // 对日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 Scope *GetCalendarACLListRespACLScope `json:"scope,omitempty"` // 权限范围 }
GetCalendarACLListRespACL ...
type GetCalendarACLListRespACLScope ¶
type GetCalendarACLListRespACLScope struct { Type string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id, 可选值有: `user`:用户 UserID string `json:"user_id,omitempty"` // 用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) }
GetCalendarACLListRespACLScope ...
type GetCalendarEventAttendeeChatMemberListReq ¶
type GetCalendarEventAttendeeChatMemberListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"23jhysaxxxxsysy" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` CalendarID string `path:"calendar_id" json:"-"` // 日历 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" AttendeeID string `path:"attendee_id" json:"-"` // 群参与人 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"chat_xxxxxx" }
GetCalendarEventAttendeeChatMemberListReq ...
type GetCalendarEventAttendeeChatMemberListResp ¶
type GetCalendarEventAttendeeChatMemberListResp struct { Items []*GetCalendarEventAttendeeChatMemberListRespItem `json:"items,omitempty"` // 群中的群成员,当type为chat时有效;群成员不支持编辑 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetCalendarEventAttendeeChatMemberListResp ...
type GetCalendarEventAttendeeChatMemberListRespItem ¶
type GetCalendarEventAttendeeChatMemberListRespItem struct { RsvpStatus string `json:"rsvp_status,omitempty"` // 参与人RSVP状态, 可选值有: `needs_action`:参与人尚未回复状态,或表示会议室预约中, `accept`:参与人回复接受,或表示会议室预约成功, `tentative`:参与人回复待定, `decline`:参与人回复拒绝,或表示会议室预约失败, `removed`:参与人或会议室已经从日程中被移除 IsOptional bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」 DisplayName string `json:"display_name,omitempty"` // 参与人名称 IsOrganizer bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal bool `json:"is_external,omitempty"` // 参与人是否为外部参与人 }
GetCalendarEventAttendeeChatMemberListRespItem ...
type GetCalendarEventAttendeeListReq ¶
type GetCalendarEventAttendeeListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"780TRhwXXXXX" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` CalendarID string `path:"calendar_id" json:"-"` // 日历 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程 ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" }
GetCalendarEventAttendeeListReq ...
type GetCalendarEventAttendeeListResp ¶
type GetCalendarEventAttendeeListResp struct { Items []*GetCalendarEventAttendeeListRespItem `json:"items,omitempty"` // 日程的参与者列表 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetCalendarEventAttendeeListResp ...
type GetCalendarEventAttendeeListRespItem ¶
type GetCalendarEventAttendeeListRespItem struct { Type CalendarEventAttendeeType `json:"type,omitempty"` // 参与人类型, 可选值有: `user`:用户, `chat`:群组, `resource`:会议室, `third_party`:邮箱 AttendeeID string `json:"attendee_id,omitempty"` // 参与人ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) RsvpStatus string `json:"rsvp_status,omitempty"` // 参与人RSVP状态, 可选值有: `needs_action`:参与人尚未回复状态,或表示会议室预约中, `accept`:参与人回复接受,或表示会议室预约成功, `tentative`:参与人回复待定, `decline`:参与人回复拒绝,或表示会议室预约失败, `removed`:参与人或会议室已经从日程中被移除 IsOptional bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」,无法编辑群参与人的此字段 IsOrganizer bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal bool `json:"is_external,omitempty"` // 参与人是否为外部参与人;外部参与人不支持编辑 DisplayName string `json:"display_name,omitempty"` // 参与人名称 ChatMembers []*GetCalendarEventAttendeeListRespItemChatMember `json:"chat_members,omitempty"` // 群中的群成员,当type为Chat时有效;群成员不支持编辑 UserID string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ChatID string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id,参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) RoomID string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id ThirdPartyEmail string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱 OperateID string `json:"operate_id,omitempty"` // 如果日程是使用应用身份创建的,在添加会议室的时候,用来指定会议室的联系人,在会议室视图展示。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ResourceCustomization *GetCalendarEventAttendeeListRespItemResourceCustomization `json:"resource_customization,omitempty"` // 会议室的个性化配置 }
GetCalendarEventAttendeeListRespItem ...
type GetCalendarEventAttendeeListRespItemChatMember ¶
type GetCalendarEventAttendeeListRespItemChatMember struct { RsvpStatus string `json:"rsvp_status,omitempty"` // 参与人RSVP状态, 可选值有: `needs_action`:参与人尚未回复状态,或表示会议室预约中, `accept`:参与人回复接受,或表示会议室预约成功, `tentative`:参与人回复待定, `decline`:参与人回复拒绝,或表示会议室预约失败, `removed`:参与人或会议室已经从日程中被移除 IsOptional bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」 DisplayName string `json:"display_name,omitempty"` // 参与人名称 IsOrganizer bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal bool `json:"is_external,omitempty"` // 参与人是否为外部参与人 }
GetCalendarEventAttendeeListRespItemChatMember ...
type GetCalendarEventAttendeeListRespItemResourceCustomization ¶
type GetCalendarEventAttendeeListRespItemResourceCustomization struct { IndexKey string `json:"index_key,omitempty"` // 每个配置的唯一ID InputContent string `json:"input_content,omitempty"` // 当type类型为填空时,该参数需要填入 Options []*GetCalendarEventAttendeeListRespItemResourceCustomizationOption `json:"options,omitempty"` // 每个配置的选项 }
GetCalendarEventAttendeeListRespItemResourceCustomization ...
type GetCalendarEventAttendeeListRespItemResourceCustomizationOption ¶
type GetCalendarEventAttendeeListRespItemResourceCustomizationOption struct { OptionKey string `json:"option_key,omitempty"` // 每个选项的唯一ID OthersContent string `json:"others_content,omitempty"` // 当type类型为其它选项时,该参数需要填入 }
GetCalendarEventAttendeeListRespItemResourceCustomizationOption ...
type GetCalendarEventListReq ¶
type GetCalendarEventListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 一次请求要求返回最大数量,默认500,取值范围为[50, 1000], 示例值:50, 默认值: `500`, 取值范围:`50` ~ `1000` AnchorTime *string `query:"anchor_time" json:"-"` // 拉取anchor_time之后的日程,为timestamp, 示例值:"1609430400" PageToken *string `query:"page_token" json:"-"` // 上次请求Response返回的分页标记,首次请求时为空, 示例值:"ListCalendarsPageToken_1632452910_1632539310" SyncToken *string `query:"sync_token" json:"-"` // 上次请求Response返回的增量同步标记,分页请求未结束时为空, 示例值:"ListCalendarsSyncToken_1632452910" StartTime *string `query:"start_time" json:"-"` // 日程开始Unix时间戳,单位为秒, 示例值:"1631777271" EndTime *string `query:"end_time" json:"-"` // 日程结束Unix时间戳,单位为秒, 示例值:"1631777271" CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" }
GetCalendarEventListReq ...
type GetCalendarEventListResp ¶
type GetCalendarEventListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记,90 天有效期 SyncToken string `json:"sync_token,omitempty"` // 下次请求需要带上的增量同步标记,90 天有效期 Items []*GetCalendarEventListRespItem `json:"items,omitempty"` // 日程列表 }
GetCalendarEventListResp ...
type GetCalendarEventListRespItem ¶
type GetCalendarEventListRespItem struct { EventID string `json:"event_id,omitempty"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) OrganizerCalendarID string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日程标题 Description string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 StartTime *GetCalendarEventListRespItemStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *GetCalendarEventListRespItemEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *GetCalendarEventListRespItemVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility string `json:"attendee_ability,omitempty"` // 参与人权限, 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `busy`:忙碌, `free`:空闲 Location *GetCalendarEventListRespItemLocation `json:"location,omitempty"` // 日程地点 Color int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*GetCalendarEventListRespItemReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。 Status string `json:"status,omitempty"` // 日程状态, 可选值有: `tentative`:未回应, `confirmed`:已确认, `cancelled`:日程已取消 IsException bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventID string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id Schemas []*GetCalendarEventListRespItemSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
GetCalendarEventListRespItem ...
type GetCalendarEventListRespItemEndTime ¶
type GetCalendarEventListRespItemEndTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
GetCalendarEventListRespItemEndTime ...
type GetCalendarEventListRespItemLocation ¶
type GetCalendarEventListRespItemLocation struct { Name string `json:"name,omitempty"` // 地点名称 Address string `json:"address,omitempty"` // 地点地址 Latitude float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
GetCalendarEventListRespItemLocation ...
type GetCalendarEventListRespItemReminder ¶
type GetCalendarEventListRespItemReminder struct {
Minutes int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效
}
GetCalendarEventListRespItemReminder ...
type GetCalendarEventListRespItemSchema ¶
type GetCalendarEventListRespItemSchema struct { UiName string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域 UiStatus string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
GetCalendarEventListRespItemSchema ...
type GetCalendarEventListRespItemStartTime ¶
type GetCalendarEventListRespItemStartTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
GetCalendarEventListRespItemStartTime ...
type GetCalendarEventListRespItemVchat ¶
type GetCalendarEventListRespItemVchat struct { VCType string `json:"vc_type,omitempty"` // 视频会议类型, 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingURL string `json:"meeting_url,omitempty"` // 视频会议URL }
GetCalendarEventListRespItemVchat ...
type GetCalendarEventReq ¶
type GetCalendarEventReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"xxxxxxxxx_0" }
GetCalendarEventReq ...
type GetCalendarEventResp ¶
type GetCalendarEventResp struct {
Event *GetCalendarEventRespEvent `json:"event,omitempty"` // 日程实体
}
GetCalendarEventResp ...
type GetCalendarEventRespEvent ¶
type GetCalendarEventRespEvent struct { EventID string `json:"event_id,omitempty"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) OrganizerCalendarID string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日程标题 Description string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 StartTime *GetCalendarEventRespEventStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *GetCalendarEventRespEventEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *GetCalendarEventRespEventVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility string `json:"attendee_ability,omitempty"` // 参与人权限, 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `busy`:忙碌, `free`:空闲 Location *GetCalendarEventRespEventLocation `json:"location,omitempty"` // 日程地点 Color int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*GetCalendarEventRespEventReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。 Status string `json:"status,omitempty"` // 日程状态, 可选值有: `tentative`:未回应, `confirmed`:已确认, `cancelled`:日程已取消 IsException bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventID string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id Schemas []*GetCalendarEventRespEventSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
GetCalendarEventRespEvent ...
type GetCalendarEventRespEventEndTime ¶
type GetCalendarEventRespEventEndTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
GetCalendarEventRespEventEndTime ...
type GetCalendarEventRespEventLocation ¶
type GetCalendarEventRespEventLocation struct { Name string `json:"name,omitempty"` // 地点名称 Address string `json:"address,omitempty"` // 地点地址 Latitude float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
GetCalendarEventRespEventLocation ...
type GetCalendarEventRespEventReminder ¶
type GetCalendarEventRespEventReminder struct {
Minutes int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效
}
GetCalendarEventRespEventReminder ...
type GetCalendarEventRespEventSchema ¶
type GetCalendarEventRespEventSchema struct { UiName string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域 UiStatus string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
GetCalendarEventRespEventSchema ...
type GetCalendarEventRespEventStartTime ¶
type GetCalendarEventRespEventStartTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
GetCalendarEventRespEventStartTime ...
type GetCalendarEventRespEventVchat ¶
type GetCalendarEventRespEventVchat struct { VCType string `json:"vc_type,omitempty"` // 视频会议类型, 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingURL string `json:"meeting_url,omitempty"` // 视频会议URL }
GetCalendarEventRespEventVchat ...
type GetCalendarExchangeBindingReq ¶
type GetCalendarExchangeBindingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ExchangeBindingID string `path:"exchange_binding_id" json:"-"` // exchange绑定唯一标识id。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"ZW1haWxfYWRtaW5fZXhhbXBsZUBvdXRsb29rLmNvbSBlbWFpbF9hY2NvdW50X2V4YW1wbGVAb3V0bG9vay5jb20=" }
GetCalendarExchangeBindingReq ...
type GetCalendarExchangeBindingResp ¶
type GetCalendarExchangeBindingResp struct { AdminAccount string `json:"admin_account,omitempty"` // admin账户, 字段权限要求: 获取用户邮箱信息 ExchangeAccount string `json:"exchange_account,omitempty"` // 用户绑定的exchange账户, 字段权限要求: 获取用户邮箱信息 UserID string `json:"user_id,omitempty"` // exchange账户绑定user唯一标识id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Status string `json:"status,omitempty"` // exchange账户同步状态, 可选值有: `doing`:日历正在同步, `cal_done`:日历同步完成, `timespan_done`:近期时间段同步完成, `done`:日程同步完成, `err`:同步错误 ExchangeBindingID string `json:"exchange_binding_id,omitempty"` // exchange绑定唯一标识id。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) }
GetCalendarExchangeBindingResp ...
type GetCalendarFreeBusyListReq ¶
type GetCalendarFreeBusyListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TimeMin string `json:"time_min,omitempty"` // 查询时段开始时间,需要url编码, 示例值:"2020-10-28T12:00:00+08:00" TimeMax string `json:"time_max,omitempty"` // 查询时段结束时间,需要url编码, 示例值:"2020-12-28T12:00:00+08:00" UserID *string `json:"user_id,omitempty"` // 用户user_id,输入时与 room_id 二选一。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_xxxxxxxxxx" RoomID *string `json:"room_id,omitempty"` // 会议室room_id,输入时与 user_id 二选一, 示例值:"omm_xxxxxxxxxx" }
GetCalendarFreeBusyListReq ...
type GetCalendarFreeBusyListResp ¶
type GetCalendarFreeBusyListResp struct {
FreebusyList []*GetCalendarFreeBusyListRespFreebusy `json:"freebusy_list,omitempty"` // 日历上请求时间区间内的忙碌时间段信息。
}
GetCalendarFreeBusyListResp ...
type GetCalendarFreeBusyListRespFreebusy ¶
type GetCalendarFreeBusyListRespFreebusy struct { StartTime string `json:"start_time,omitempty"` // 忙闲信息开始时间,RFC3339 date_time 格式 EndTime string `json:"end_time,omitempty"` // 忙闲信息结束时间,RFC3339 date_time 格式 }
GetCalendarFreeBusyListRespFreebusy ...
type GetCalendarListReq ¶
type GetCalendarListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 一次请求要求返回最大数量,默认500,取值范围为[50. 1000], 示例值:50, 默认值: `500`, 取值范围:`50` ~ `1000` PageToken *string `query:"page_token" json:"-"` // 上次请求Response返回的分页标记,首次请求时为空, 示例值:"ListCalendarsPageToken_xxx" SyncToken *string `query:"sync_token" json:"-"` // 上次请求Response返回的增量同步标记,分页请求未结束时为空, 示例值:"ListCalendarsSyncToken_xxx" }
GetCalendarListReq ...
type GetCalendarListResp ¶
type GetCalendarListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记,90 天有效期 SyncToken string `json:"sync_token,omitempty"` // 下次请求需要带上的增量同步标记,90 天有效期 CalendarList []*GetCalendarListRespCalendar `json:"calendar_list,omitempty"` // 分页加载的日历数据列表 }
GetCalendarListResp ...
type GetCalendarListRespCalendar ¶
type GetCalendarListRespCalendar struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
GetCalendarListRespCalendar ...
type GetCalendarReq ¶
type GetCalendarReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
GetCalendarReq ...
type GetCalendarResp ¶
type GetCalendarResp struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
GetCalendarResp ...
type GetChatAnnouncementReq ¶
type GetChatAnnouncementReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ChatID string `path:"chat_id" json:"-"` // 待获取公告的群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_5ad11d72b830411d72b836c20" }
GetChatAnnouncementReq ...
type GetChatAnnouncementResp ¶
type GetChatAnnouncementResp struct { Content string `json:"content,omitempty"` // 云文档序列化信息 Revision string `json:"revision,omitempty"` // 文档当前版本号 纯数字 CreateTime string `json:"create_time,omitempty"` // 文档生成的时间戳(秒) UpdateTime string `json:"update_time,omitempty"` // 文档更新的时间戳(秒) OwnerIDType IDType `json:"owner_id_type,omitempty"` // 文档所有者的 ID 类型, 如果所有者是用户,则与查询参数中的user_id_type 相同;取值为`open_id` `user_id` `union_id` 其中之一,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 如果所有者是机器人,为机器人应用的 `app_id`,详情参见 [获取应用身份访问凭证](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g), 可选值有: `user_id`:以 user_id 来识别用户, `union_id`:以 union_id 来识别用户, `open_id`:以 open_id 来识别用户, `app_id`:以 app_id 来识别机器人应用 OwnerID string `json:"owner_id,omitempty"` // 文档所有者 ID,ID 值与owner_id_type 中的ID类型对应 ModifierIDType IDType `json:"modifier_id_type,omitempty"` // 文档最新修改者 id 类型, - 如果修改者是用户,则与查询参数中的user_id_type 相同;取值为`open_id` `user_id` `union_id` 其中之一,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 如果修改者是机器人,为机器人应用的 `app_id`,详情参见 [获取应用身份访问凭证](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g), 可选值有: `user_id`:以 user_id 来识别用户, `union_id`:以 union_id 来识别用户, `open_id`:以 open_id 来识别用户, `app_id`:以 app_id 来识别应用 ModifierID string `json:"modifier_id,omitempty"` // 文档最新修改者 ID,ID 值与modifier_id_type 中的ID类型对应 }
GetChatAnnouncementResp ...
type GetChatListOfSelfReq ¶
type GetChatListOfSelfReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"dmJCRHhpd3JRbGV1VEVNRFFyTitRWDY5ZFkybmYrMEUwMUFYT0VMMWdENEtuYUhsNUxGMDIwemtvdE5ORjBNQQ==" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
GetChatListOfSelfReq ...
type GetChatListOfSelfResp ¶
type GetChatListOfSelfResp struct { Items []*GetChatListOfSelfRespItem `json:"items,omitempty"` // chat 列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetChatListOfSelfResp ...
type GetChatListOfSelfRespItem ¶
type GetChatListOfSelfRespItem struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) Avatar string `json:"avatar,omitempty"` // 群头像 URL Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 OwnerID string `json:"owner_id,omitempty"` // 群主 ID OwnerIDType IDType `json:"owner_id_type,omitempty"` // 群主 ID 类型 External bool `json:"external,omitempty"` // 是否是外部群 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
GetChatListOfSelfRespItem ...
type GetChatMemberListReq ¶
type GetChatMemberListReq struct { MemberIDType *IDType `query:"member_id_type" json:"-"` // 群成员 用户 ID 类型,详情参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"open_id", 可选值有: `user_id`:以 user_id 来识别成员, `union_id`:以 union_id 来识别成员, `open_id`:以 open_id 来识别成员 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"dmJCRHhpd3JRbGV1VEVNRFFyTitRWDY5ZFkybmYrMEUwMUFYT0VMMWdENEtuYUhsNUxGMDIwemtvdE5ORjBNQQ==" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" }
GetChatMemberListReq ...
type GetChatMemberListResp ¶
type GetChatMemberListResp struct { Items []*GetChatMemberListRespItem `json:"items,omitempty"` // 成员列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetChatMemberListResp ...
type GetChatMemberListRespItem ¶
type GetChatMemberListRespItem struct { MemberIDType IDType `json:"member_id_type,omitempty"` // 成员的用户 ID 类型,与查询参数中的 member_id_type 相同。取值为:`open_id`、`user_id`、`union_id`其中之一。 MemberID string `json:"member_id,omitempty"` // 成员的用户ID,ID值与查询参数中的 member_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 名字 }
GetChatMemberListRespItem ...
type GetChatModerationReq ¶
type GetChatModerationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值: "open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`,字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值: "dmJCRHhpd3JRbGV1VEVNRFFyTitRWDY5ZFkybmYrMEUwMUFYT0VMMWdENEtuYUhsNUxGMDIwemtvdE5ORjBNQQ==" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值: 10, 最大值:`100` ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值: "oc_a0553eda9014c201e6969b478895c230" }
GetChatModerationReq ...
type GetChatModerationResp ¶
type GetChatModerationResp struct { ModerationSetting string `json:"moderation_setting,omitempty"` // 群发言模式(all_members/only_owner/moderator_list,其中 moderator_list 表示部分用户可发言的模式) PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 Items []*GetChatModerationRespItem `json:"items,omitempty"` // 可发言用户列表 }
GetChatModerationResp ...
type GetChatModerationRespItem ¶
type GetChatModerationRespItem struct { UserIDType IDType `json:"user_id_type,omitempty"` // 可发言用户 ID 类型 UserID string `json:"user_id,omitempty"` // 可发言用户 ID }
GetChatModerationRespItem ...
type GetChatOldReq ¶
type GetChatOldReq struct {
ChatID string `query:"chat_id" json:"-"` // 群 ID
}
GetChatOldReq ...
type GetChatOldResp ¶
type GetChatOldResp struct { Avatar string `json:"avatar,omitempty"` // 群头像 Description string `json:"description,omitempty"` // 群描述 I18nNames map[string]string `json:"i18n_names,omitempty"` // 群国际化名称(设置了国际化名称才会有这个字段) ChatID string `json:"chat_id,omitempty"` // 群 ID Members []*GetChatOldRespMember `json:"members,omitempty"` // 成员列表 Name string `json:"name,omitempty"` // 群名称,类型为group时有效 Type string `json:"type,omitempty"` // 群类型,group表示群聊,p2p表示单聊 OwnerUserID string `json:"owner_user_id,omitempty"` // 群主的 user_id(机器人是群主的时候没有这个字段) OwnerOpenID string `json:"owner_open_id,omitempty"` // 群主的 open_id (机器人是群主的时候没有这个字段) OnlyOwnerEdit bool `json:"only_owner_edit,omitempty"` // 是否仅群主可编辑群信息,群信息包括头像、名称、描述、公告 OnlyOwnerAdd bool `json:"only_owner_add,omitempty"` // 是否仅群主可以添加人 AddMemberVerify bool `json:"add_member_verify,omitempty"` // 是否开启入群验证 OnlyOwnerAtAll bool `json:"only_owner_at_all,omitempty"` // 是否仅群主@all SendMessagePermission string `json:"send_message_permission,omitempty"` // 允许谁发送消息<br>all: 所有人<br> owner: 仅群主<br>selected_member: 指定成员 JoinMessageVisibility MessageVisibility `json:"join_message_visibility,omitempty"` // 成员入群通知<br>all:所有人 <br>owner:仅群主 <br>not_anyone:不通知任何人" LeaveMessageVisibility MessageVisibility `json:"leave_message_visibility,omitempty"` // 成员退群通知<br>all:所有人 <br>owner:仅群主 <br>not_anyone:不通知任何人 GroupEmailEnabled bool `json:"group_email_enabled,omitempty"` // 是否开启群邮件 SendGroupEmailPermission string `json:"send_group_email_permission,omitempty"` // 发送群邮件的权限<br>owner:仅群主 <br>group_member:群组内成员<br>tenant_member:团队成员 <br>all:所有人 }
GetChatOldResp ...
type GetChatOldRespMember ¶
type GetChatOldRespMember struct { OpenID string `json:"open_id,omitempty"` // 某成员的open_id UserID string `json:"user_id,omitempty"` // 某成员的user_id }
GetChatOldRespMember ...
type GetChatReq ¶
type GetChatReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" }
GetChatReq ...
type GetChatResp ¶
type GetChatResp struct { Avatar string `json:"avatar,omitempty"` // 群头像 URL Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 AddMemberPermission AddMemberPermission `json:"add_member_permission,omitempty"` // 群成员添加权限(all_members/only_owner) AtAllPermission AtAllPermission `json:"at_all_permission,omitempty"` // at 所有人权限(all_members/only_owner) EditPermission EditPermission `json:"edit_permission,omitempty"` // 群编辑权限(all_members/only_owner) OwnerIDType IDType `json:"owner_id_type,omitempty"` // 群主 ID 的类型(open_id/user_id/union_id),群主是机器人时,不返回该字段。 OwnerID string `json:"owner_id,omitempty"` // 群主 ID,群主是机器人时,不返回该字段。 ChatMode string `json:"chat_mode,omitempty"` // 群模式(group/topic/p2p) ChatType ChatType `json:"chat_type,omitempty"` // 群类型(private/public) ChatTag string `json:"chat_tag,omitempty"` // 优先级最高的一个群tag(inner/tenant/department/edu/meeting/customer_service) JoinMessageVisibility MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性(only_owner/all_members/not_anyone) LeaveMessageVisibility MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性(only_owner/all_members/not_anyone) MembershipApproval MembershipApproval `json:"membership_approval,omitempty"` // 加群审批(no_approval_required/approval_required) ModerationPermission ModerationPermission `json:"moderation_permission,omitempty"` // 发言权限(all_members/only_owner/moderator_list) External bool `json:"external,omitempty"` // 是否是外部群 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
GetChatResp ...
type GetContactCustomAttrListReq ¶
type GetContactCustomAttrListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/RYU5lvOM4s6zgbeeNNaWd%2BVKwAsoreeRWk0J2noGvJy" }
GetContactCustomAttrListReq ...
type GetContactCustomAttrListResp ¶
type GetContactCustomAttrListResp struct { Items []*GetContactCustomAttrListRespItem `json:"items,omitempty"` // 自定义字段定义 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetContactCustomAttrListResp ...
type GetContactCustomAttrListRespItem ¶
type GetContactCustomAttrListRespItem struct { ID string `json:"id,omitempty"` // 自定义字段id Type string `json:"type,omitempty"` // 自定义字段类型,可选值有:, `TEXT`:纯文本,用于纯文本描述人员,如备注, `HREF`:静态 URL,用于人员 Profile 跳转链接, `ENUMERATION`:枚举,用于结构化描述人员,如民族, `GENERIC_USER`:用户,用于描述人和人关系,如 HRBP, `PICTURE_ENUM`:枚举图片,以结构化的图片描述人员,如在人员 Profile 展示荣誉徽章 Options *GetContactCustomAttrListRespItemOptions `json:"options,omitempty"` // 选项定义,当type为`ENUMERATION`或者`PICTURE_ENUM`时此项有值,列举所有可选项 I18nName *GetContactCustomAttrListRespItemI18nName `json:"i18n_name,omitempty"` // 自定义字段的字段名称 }
GetContactCustomAttrListRespItem ...
type GetContactCustomAttrListRespItemI18nName ¶
type GetContactCustomAttrListRespItemI18nName struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
GetContactCustomAttrListRespItemI18nName ...
type GetContactCustomAttrListRespItemOptions ¶
type GetContactCustomAttrListRespItemOptions struct { DefaultOptionID string `json:"default_option_id,omitempty"` // 默认选项id OptionType string `json:"option_type,omitempty"` // 选项类型, 可选值有: `TEXT`:文本选项, `PICTURE`:图片选项 Options []*GetContactCustomAttrListRespItemOptionsOption `json:"options,omitempty"` // 选项列表 }
GetContactCustomAttrListRespItemOptions ...
type GetContactCustomAttrListRespItemOptionsOption ¶
type GetContactCustomAttrListRespItemOptionsOption struct { ID string `json:"id,omitempty"` // 枚举类型选项id Value string `json:"value,omitempty"` // 枚举选项值,当option_type为`TEXT`为文本值,当option_type为`PICTURE`时为图片链接 Name string `json:"name,omitempty"` // 名称,仅option_type为PICTURE时有效 }
GetContactCustomAttrListRespItemOptionsOption ...
type GetContactGroupListReq ¶
type GetContactGroupListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" Type *int64 `query:"type" json:"-"` // 用户组类型, 示例值:1, 可选值有: `1`:普通用户组, 默认值: `1` }
GetContactGroupListReq ...
type GetContactGroupListResp ¶
type GetContactGroupListResp struct { Grouplist []*GetContactGroupListRespGroup `json:"grouplist,omitempty"` // 用户组列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetContactGroupListResp ...
type GetContactGroupListRespGroup ¶
type GetContactGroupListRespGroup struct { ID string `json:"id,omitempty"` // 用户组ID Name string `json:"name,omitempty"` // 用户组名字 Description string `json:"description,omitempty"` // 用户组描述 MemberUserCount int64 `json:"member_user_count,omitempty"` // 用户组成员中用户的数量 MemberDepartmentCount int64 `json:"member_department_count,omitempty"` // 用户组成员中部门的数量 }
GetContactGroupListRespGroup ...
type GetContactGroupMemberReq ¶
type GetContactGroupMemberReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 默认值: `50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" MemberIDType *IDType `query:"member_id_type" json:"-"` // 欲获取成员ID类型。当member_type =user时候,member_id_type表示user_id_type,枚举值为open_id, union_id, user_id, 示例值:"open_id", 可选值有: `open_id`:member_type =user时候,表示用户的open_id, `union_id`:member_type =user时候,表示用户的union_id, `user_id`:member_type =user时候,表示用户的user_id, 默认值: `open_id` MemberType *string `query:"member_type" json:"-"` // 期待获取的用户组成员的类型,取值为 user, 示例值:"user", 可选值有: `user`:user, 默认值: `user` GroupID string `path:"group_id" json:"-"` // 用户组ID, 示例值:"g128187" }
GetContactGroupMemberReq ...
type GetContactGroupMemberResp ¶
type GetContactGroupMemberResp struct { Memberlist []*GetContactGroupMemberRespMember `json:"memberlist,omitempty"` // 成员列表 PageToken string `json:"page_token,omitempty"` // 下次分页获取的page_token HasMore bool `json:"has_more,omitempty"` // 是否还需要分页获取 }
GetContactGroupMemberResp ...
type GetContactGroupMemberRespMember ¶
type GetContactGroupMemberRespMember struct { MemberID string `json:"member_id,omitempty"` // 成员ID MemberType string `json:"member_type,omitempty"` // 用户组成员的类型,目前取值为 user。未来将支持department }
GetContactGroupMemberRespMember ...
type GetContactGroupReq ¶
type GetContactGroupReq struct {
GroupID string `path:"group_id" json:"-"` // 用户组ID, 示例值:"g193821"
}
GetContactGroupReq ...
type GetContactGroupResp ¶
type GetContactGroupResp struct {
Group *GetContactGroupRespGroup `json:"group,omitempty"` // 用户组详情
}
GetContactGroupResp ...
type GetContactGroupRespGroup ¶
type GetContactGroupRespGroup struct { ID string `json:"id,omitempty"` // 用户组ID Name string `json:"name,omitempty"` // 用户组名字 Description string `json:"description,omitempty"` // 用户组描述 MemberUserCount int64 `json:"member_user_count,omitempty"` // 用户组成员中用户的数量 MemberDepartmentCount int64 `json:"member_department_count,omitempty"` // 用户组成员中部门的数量 }
GetContactGroupRespGroup ...
type GetContactScopeListReq ¶
type GetContactScopeListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 返回值的部门ID的类型, 示例值:"department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 最大值:`100` }
GetContactScopeListReq ...
type GetContactScopeListResp ¶
type GetContactScopeListResp struct { DepartmentIDs []string `json:"department_ids,omitempty"` // 已授权部门列表,授权范围为全员可见时返回的是当前企业的所有一级部门列表 UserIDs []string `json:"user_ids,omitempty"` // 已授权用户列表,应用申请了获取用户user_id 权限时返回;当授权范围为全员可见时返回的是当前企业所有顶级部门用户列表 GroupIDs []string `json:"group_ids,omitempty"` // 已授权的用户组,授权范围为全员可见时返回的是当前企业所有用户组 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetContactScopeListResp ...
type GetContactUnitDepartmentListReq ¶
type GetContactUnitDepartmentListReq struct { UnitID string `query:"unit_id" json:"-"` // 单位ID, 示例值:"BU121" DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中预获取的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 默认值: `50`, 最大值:`100` }
GetContactUnitDepartmentListReq ...
type GetContactUnitDepartmentListResp ¶
type GetContactUnitDepartmentListResp struct { Departmentlist []*GetContactUnitDepartmentListRespDepartment `json:"departmentlist,omitempty"` // 单位绑定的部门列表 HasMore bool `json:"has_more,omitempty"` // 是否还有分页数据 PageToken string `json:"page_token,omitempty"` // 下次分页请求标记 }
GetContactUnitDepartmentListResp ...
type GetContactUnitDepartmentListRespDepartment ¶
type GetContactUnitDepartmentListRespDepartment struct { UnitID string `json:"unit_id,omitempty"` // 单位ID DepartmentID string `json:"department_id,omitempty"` // 部门ID }
GetContactUnitDepartmentListRespDepartment ...
type GetContactUnitListReq ¶
type GetContactUnitListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小,默认50,取值范围 1-100, 示例值:50, 默认值: `50`, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" }
GetContactUnitListReq ...
type GetContactUnitListResp ¶
type GetContactUnitListResp struct { Unitlist []*GetContactUnitListRespUnit `json:"unitlist,omitempty"` // 单位列表 HasMore bool `json:"has_more,omitempty"` // 是否还有分页数据 PageToken string `json:"page_token,omitempty"` // 分页下次调用的page_token值 }
GetContactUnitListResp ...
type GetContactUnitListRespUnit ¶
type GetContactUnitListRespUnit struct { UnitID string `json:"unit_id,omitempty"` // 单位的自定义ID Name string `json:"name,omitempty"` // 单位的名字 UnitType string `json:"unit_type,omitempty"` // 单位的类型 }
GetContactUnitListRespUnit ...
type GetContactUnitReq ¶
type GetContactUnitReq struct {
UnitID string `path:"unit_id" json:"-"` // 单位ID, 示例值:"BU121"
}
GetContactUnitReq ...
type GetContactUnitResp ¶
type GetContactUnitResp struct {
Unit *GetContactUnitRespUnit `json:"unit,omitempty"` // 单位信息
}
GetContactUnitResp ...
type GetContactUnitRespUnit ¶
type GetContactUnitRespUnit struct { UnitID string `json:"unit_id,omitempty"` // 单位的自定义ID Name string `json:"name,omitempty"` // 单位的名字 UnitType string `json:"unit_type,omitempty"` // 单位的类型 }
GetContactUnitRespUnit ...
type GetDepartmentListOldReq ¶
type GetDepartmentListOldReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` ParentDepartmentID *string `query:"parent_department_id" json:"-"` // 父部门的ID,填上获取部门下所有子部门,此处填写的 ID 必须是 department_id_type 指定的 ID。, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" FetchChild *bool `query:"fetch_child" json:"-"` // 是否递归获取子部门, 示例值:是否递归获取子部门,默认值:false PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/RD/cIFmu77WxpxPB/2oHfQLZ%2BG8JG6tK7%2BZnHiT7COhD2hMSICh/eBl7cpzU6JEC3J7COKNe4jrQ8ExwBCR" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` }
GetDepartmentListOldReq ...
type GetDepartmentListOldResp ¶
type GetDepartmentListOldResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetDepartmentListOldRespItem `json:"items,omitempty"` }
GetDepartmentListOldResp ...
type GetDepartmentListOldRespItem ¶
type GetDepartmentListOldRespItem struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 I18nName *GetDepartmentListOldRespItemI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *GetDepartmentListOldRespItemStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
GetDepartmentListOldRespItem ...
type GetDepartmentListOldRespItemI18nName ¶
type GetDepartmentListOldRespItemI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
GetDepartmentListOldRespItemI18nName ...
type GetDepartmentListOldRespItemStatus ¶
type GetDepartmentListOldRespItemStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
GetDepartmentListOldRespItemStatus ...
type GetDepartmentListReq ¶
type GetDepartmentListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` FetchChild *bool `query:"fetch_child" json:"-"` // 是否递归获取子部门, 示例值:false PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/RD/cIFmu77WxpxPB/2oHfQLZ+G8JG6tK7+ZnHiT7COhD2hMSICh/eBl7cpzU6JEC3J7COKNe4jrQ8ExwBCR" DepartmentID string `path:"department_id" json:"-"` // 部门ID,根部门的部门ID 为0, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` }
GetDepartmentListReq ...
type GetDepartmentListResp ¶
type GetDepartmentListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetDepartmentListRespItem `json:"items,omitempty"` // 部门列表 }
GetDepartmentListResp ...
type GetDepartmentListRespItem ¶
type GetDepartmentListRespItem struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 I18nName *GetDepartmentListRespItemI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 Status *GetDepartmentListRespItemStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 CreateGroupChat bool `json:"create_group_chat,omitempty"` // 是否创建部门群,默认不创建 }
GetDepartmentListRespItem ...
type GetDepartmentListRespItemI18nName ¶
type GetDepartmentListRespItemI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
GetDepartmentListRespItemI18nName ...
type GetDepartmentListRespItemStatus ¶
type GetDepartmentListRespItemStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
GetDepartmentListRespItemStatus ...
type GetDepartmentReq ¶
type GetDepartmentReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID string `path:"department_id" json:"-"` // 需要获取的部门ID, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` }
GetDepartmentReq ...
type GetDepartmentResp ¶
type GetDepartmentResp struct {
Department *GetDepartmentRespDepartment `json:"department,omitempty"` // 部门信息
}
GetDepartmentResp ...
type GetDepartmentRespDepartment ¶
type GetDepartmentRespDepartment struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 I18nName *GetDepartmentRespDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 Status *GetDepartmentRespDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 }
GetDepartmentRespDepartment ...
type GetDepartmentRespDepartmentI18nName ¶
type GetDepartmentRespDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
GetDepartmentRespDepartmentI18nName ...
type GetDepartmentRespDepartmentStatus ¶
type GetDepartmentRespDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
GetDepartmentRespDepartmentStatus ...
type GetDriveCommentListReq ¶
type GetDriveCommentListReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID IsSolved *bool `query:"is_solved" json:"-"` // 是否已解决(可选), 示例值:false PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"6916106822734578184" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnHh7U87HOFpii5u5G*****" }
GetDriveCommentListReq ...
type GetDriveCommentListResp ¶
type GetDriveCommentListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetDriveCommentListRespItem `json:"items,omitempty"` // 评论列表 }
GetDriveCommentListResp ...
type GetDriveCommentListRespItem ¶
type GetDriveCommentListRespItem struct { CommentID string `json:"comment_id,omitempty"` // 评论ID(创建新评论可不填;如填写,则视为回复已有评论) UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 IsSolved bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime int64 `json:"solved_time,omitempty"` // 解决评论时间 SolverUserID string `json:"solver_user_id,omitempty"` // 解决评论者的用户ID ReplyList *GetDriveCommentListRespItemReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
GetDriveCommentListRespItem ...
type GetDriveCommentListRespItemReplyList ¶
type GetDriveCommentListRespItemReplyList struct {
Replies []*GetDriveCommentListRespItemReplyListReply `json:"replies,omitempty"` // 回复列表
}
GetDriveCommentListRespItemReplyList ...
type GetDriveCommentListRespItemReplyListReply ¶
type GetDriveCommentListRespItemReplyListReply struct { ReplyID string `json:"reply_id,omitempty"` // 回复ID UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 Content *GetDriveCommentListRespItemReplyListReplyContent `json:"content,omitempty"` // 回复内容 }
GetDriveCommentListRespItemReplyListReply ...
type GetDriveCommentListRespItemReplyListReplyContent ¶
type GetDriveCommentListRespItemReplyListReplyContent struct {
Elements []*GetDriveCommentListRespItemReplyListReplyContentElement `json:"elements,omitempty"` // 回复的内容
}
GetDriveCommentListRespItemReplyListReplyContent ...
type GetDriveCommentListRespItemReplyListReplyContentElement ¶
type GetDriveCommentListRespItemReplyListReplyContentElement struct { Type string `json:"type,omitempty"` // 回复的内容元素, 可选值有: `text_run`:普通文本, `docs_link`:at 云文档链接, `person`:at 联系人 TextRun *GetDriveCommentListRespItemReplyListReplyContentElementTextRun `json:"text_run,omitempty"` // 文本内容 DocsLink *GetDriveCommentListRespItemReplyListReplyContentElementDocsLink `json:"docs_link,omitempty"` // 文本内容 Person *GetDriveCommentListRespItemReplyListReplyContentElementPerson `json:"person,omitempty"` // 文本内容 }
GetDriveCommentListRespItemReplyListReplyContentElement ...
type GetDriveCommentListRespItemReplyListReplyContentElementDocsLink ¶
type GetDriveCommentListRespItemReplyListReplyContentElementDocsLink struct {
URL string `json:"url,omitempty"` // 回复 at云文档
}
GetDriveCommentListRespItemReplyListReplyContentElementDocsLink ...
type GetDriveCommentListRespItemReplyListReplyContentElementPerson ¶
type GetDriveCommentListRespItemReplyListReplyContentElementPerson struct {
UserID string `json:"user_id,omitempty"` // 回复 at联系人
}
GetDriveCommentListRespItemReplyListReplyContentElementPerson ...
type GetDriveCommentListRespItemReplyListReplyContentElementTextRun ¶
type GetDriveCommentListRespItemReplyListReplyContentElementTextRun struct {
Text string `json:"text,omitempty"` // 回复 普通文本
}
GetDriveCommentListRespItemReplyListReplyContentElementTextRun ...
type GetDriveCommentReq ¶
type GetDriveCommentReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnHh7U87HOFpii5u5G*****" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6916106822734578184" }
GetDriveCommentReq ...
type GetDriveCommentResp ¶
type GetDriveCommentResp struct { CommentID string `json:"comment_id,omitempty"` // 评论ID(创建新评论可不填;如填写,则视为回复已有评论) UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 IsSolved bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime int64 `json:"solved_time,omitempty"` // 解决评论时间 SolverUserID string `json:"solver_user_id,omitempty"` // 解决评论者的用户ID ReplyList *GetDriveCommentRespReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
GetDriveCommentResp ...
type GetDriveCommentRespReplyList ¶
type GetDriveCommentRespReplyList struct {
Replies []*GetDriveCommentRespReplyListReply `json:"replies,omitempty"` // 回复列表
}
GetDriveCommentRespReplyList ...
type GetDriveCommentRespReplyListReply ¶
type GetDriveCommentRespReplyListReply struct { ReplyID string `json:"reply_id,omitempty"` // 回复ID UserID string `json:"user_id,omitempty"` // 用户ID CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 Content *GetDriveCommentRespReplyListReplyContent `json:"content,omitempty"` // 回复内容 }
GetDriveCommentRespReplyListReply ...
type GetDriveCommentRespReplyListReplyContent ¶
type GetDriveCommentRespReplyListReplyContent struct {
Elements []*GetDriveCommentRespReplyListReplyContentElement `json:"elements,omitempty"` // 回复的内容
}
GetDriveCommentRespReplyListReplyContent ...
type GetDriveCommentRespReplyListReplyContentElement ¶
type GetDriveCommentRespReplyListReplyContentElement struct { Type string `json:"type,omitempty"` // 回复的内容元素, 可选值有: `text_run`:普通文本, `docs_link`:at 云文档链接, `person`:at 联系人 TextRun *GetDriveCommentRespReplyListReplyContentElementTextRun `json:"text_run,omitempty"` // 文本内容 DocsLink *GetDriveCommentRespReplyListReplyContentElementDocsLink `json:"docs_link,omitempty"` // 文本内容 Person *GetDriveCommentRespReplyListReplyContentElementPerson `json:"person,omitempty"` // 文本内容 }
GetDriveCommentRespReplyListReplyContentElement ...
type GetDriveCommentRespReplyListReplyContentElementDocsLink ¶
type GetDriveCommentRespReplyListReplyContentElementDocsLink struct {
URL string `json:"url,omitempty"` // 回复 at云文档
}
GetDriveCommentRespReplyListReplyContentElementDocsLink ...
type GetDriveCommentRespReplyListReplyContentElementPerson ¶
type GetDriveCommentRespReplyListReplyContentElementPerson struct {
UserID string `json:"user_id,omitempty"` // 回复 at联系人
}
GetDriveCommentRespReplyListReplyContentElementPerson ...
type GetDriveCommentRespReplyListReplyContentElementTextRun ¶
type GetDriveCommentRespReplyListReplyContentElementTextRun struct {
Text string `json:"text,omitempty"` // 回复 普通文本
}
GetDriveCommentRespReplyListReplyContentElementTextRun ...
type GetDriveDocContentReq ¶
type GetDriveDocContentReq struct {
DocToken string `path:"docToken" json:"-"` // 获取方式详见 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)
}
GetDriveDocContentReq ...
type GetDriveDocContentResp ¶
type GetDriveDocContentResp struct { Content string `json:"content,omitempty"` // 详情参考[文档数据结构](https://open.feishu.cn/document/ukTMukTMukTM/ukDM2YjL5AjN24SOwYjN) Revision int64 `json:"revision,omitempty"` // 文档当前版本号 }
GetDriveDocContentResp ...
type GetDriveDocMetaReq ¶
type GetDriveDocMetaReq struct {
DocToken string `path:"docToken" json:"-"` // doc 的 token,获取方式见[准备接入文档 API](https://open.feishu.cn/document/ukTMukTMukTM/ugzNzUjL4czM14CO3MTN/guide/getting-start)
}
GetDriveDocMetaReq ...
type GetDriveDocMetaResp ¶
type GetDriveDocMetaResp struct { CreateDate string `json:"create_date,omitempty"` // 创建日期 CreateTime int64 `json:"create_time,omitempty"` // 创建时间戳 Creator string `json:"creator,omitempty"` // 创建者open_id CreateUserName string `json:"create_user_name,omitempty"` // 创建者用户名 DeleteFlag int64 `json:"delete_flag,omitempty"` // 删除标志,0表示正常访问未删除,1表示在回收站,2表示已经彻底删除 EditTime int64 `json:"edit_time,omitempty"` // 最后编辑时间戳 EditUserName string `json:"edit_user_name,omitempty"` // 最后编辑者用户名 IsExternal bool `json:"is_external,omitempty"` // 是否外部文档 IsPined bool `json:"is_pined,omitempty"` // 是否在接口调用者目录里快速访问 IsStared bool `json:"is_stared,omitempty"` // 是否在接口调用者目录里收藏 ObjType string `json:"obj_type,omitempty"` // 文档类型,固定是doc Owner string `json:"owner,omitempty"` // 当前所有者open_id OwnerUserName string `json:"owner_user_name,omitempty"` // 当前所有者用户名 ServerTime int64 `json:"server_time,omitempty"` // 处理请求时的服务器时间戳 TenantID string `json:"tenant_id,omitempty"` // 文档所在租户id Title string `json:"title,omitempty"` // 文档名称 Type int64 `json:"type,omitempty"` // 文档类型,固定是2 URL string `json:"url,omitempty"` // 文档url }
GetDriveDocMetaResp ...
type GetDriveDocRawContentReq ¶
type GetDriveDocRawContentReq struct {
DocToken string `path:"docToken" json:"-"` // 获取方式详见 [云文档接口快速入门](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)
}
GetDriveDocRawContentReq ...
type GetDriveDocRawContentResp ¶
type GetDriveDocRawContentResp struct {
Content string `json:"content,omitempty"` // 如: string
}
GetDriveDocRawContentResp ...
type GetDriveFileMetaReq ¶
type GetDriveFileMetaReq struct {
RequestDocs []*GetDriveFileMetaReqRequestDocs `json:"request_docs,omitempty"` // 请求文档,一次不超过200个
}
GetDriveFileMetaReq ...
type GetDriveFileMetaReqRequestDocs ¶
type GetDriveFileMetaReqRequestDocs struct { DocsToken string `json:"docs_token,omitempty"` // 文件的 token,获取方式见[概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) DocsType string `json:"docs_type,omitempty"` // 文件类型 <br>1) "doc": 飞书文档<br>2) "sheet": 飞书电子表格 <br>3) "bitable": 飞书多维表格<br>4) "mindnote": 飞书思维笔记 <br>5) "file": 飞书文件 }
GetDriveFileMetaReqRequestDocs ...
type GetDriveFileMetaResp ¶
type GetDriveFileMetaResp struct {
DocsMetas []*GetDriveFileMetaRespDocsMetas `json:"docs_metas,omitempty"` // 文件元数据
}
GetDriveFileMetaResp ...
type GetDriveFileMetaRespDocsMetas ¶
type GetDriveFileMetaRespDocsMetas struct { DocsToken string `json:"docs_token,omitempty"` // 文件token DocsType string `json:"docs_type,omitempty"` // 文件类型 Title string `json:"title,omitempty"` // 标题 OwnerID string `json:"owner_id,omitempty"` // 文件拥有者 CreateTime int64 `json:"create_time,omitempty"` // 创建时间(Unix时间戳) LatestModifyUser string `json:"latest_modify_user,omitempty"` // 最后编辑者 LatestModifyTime int64 `json:"latest_modify_time,omitempty"` // 最后编辑时间(Unix时间戳) }
GetDriveFileMetaRespDocsMetas ...
type GetDriveFileStatisticsReq ¶
type GetDriveFileStatisticsReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `mindnote`:思维笔记, `bitable`:多维表格, `wiki`:知识库, `file`:文件 FileToken string `path:"file_token" json:"-"` // 文件 token, 示例值:"doccnRs*******" }
GetDriveFileStatisticsReq ...
type GetDriveFileStatisticsResp ¶
type GetDriveFileStatisticsResp struct { FileToken string `json:"file_token,omitempty"` // 文件 token FileType FileType `json:"file_type,omitempty"` // 文件类型 Statistics *GetDriveFileStatisticsRespStatistics `json:"statistics,omitempty"` // 文件统计信息 }
GetDriveFileStatisticsResp ...
type GetDriveFileStatisticsRespStatistics ¶
type GetDriveFileStatisticsRespStatistics struct { Uv int64 `json:"uv,omitempty"` // 文件历史访问人数,同一用户(user_id)多次访问按一次计算。 Pv int64 `json:"pv,omitempty"` // 文件历史访问次数,同一用户(user_id)多次访问按多次计算。(注:同一用户相邻两次访问间隔在半小时内视为一次访问) LikeCount int64 `json:"like_count,omitempty"` // 文件历史点赞总数,若对应的文档类型不支持点赞,返回 -1 Timestamp int64 `json:"timestamp,omitempty"` // 时间戳(秒) }
GetDriveFileStatisticsRespStatistics ...
type GetDriveFolderChildrenReq ¶
type GetDriveFolderChildrenReq struct { Types []string `query:"types" json:"-"` // 需要查询的文件类型,默认返回所有 children;types 可多选,可选类型有 doc、sheet、file、bitable、folder 。如 url?types=folder&types=sheet FolderToken string `path:"folderToken" json:"-"` // 文件夹的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) }
GetDriveFolderChildrenReq ...
type GetDriveFolderChildrenResp ¶
type GetDriveFolderChildrenResp struct { ParentToken string `json:"parentToken,omitempty"` // 文件夹的 token Children map[string]*GetDriveFolderChildrenRespChildren `json:"children,omitempty"` // 文件夹的下的文件 }
GetDriveFolderChildrenResp ...
type GetDriveFolderChildrenRespChildren ¶
type GetDriveFolderChildrenRespChildren struct { Token string `json:"token,omitempty"` // 文件的 token Name string `json:"name,omitempty"` // 文件的标题 Type string `json:"type,omitempty"` // 文件的类型 }
GetDriveFolderChildrenRespChildren ...
type GetDriveFolderMetaReq ¶
type GetDriveFolderMetaReq struct {
FolderToken string `path:"folderToken" json:"-"` // 文件夹 token,获取方式见[概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
}
GetDriveFolderMetaReq ...
type GetDriveFolderMetaResp ¶
type GetDriveFolderMetaResp struct { ID string `json:"id,omitempty"` // 文件夹的 id Name string `json:"name,omitempty"` // 文件夹的标题 Token string `json:"token,omitempty"` // 文件夹的 token CreateUid string `json:"createUid,omitempty"` // 文件夹的创建者 id EditUid string `json:"editUid,omitempty"` // 文件夹的最后编辑者 id ParentID string `json:"parentId,omitempty"` // 文件夹的上级目录 id OwnUid string `json:"ownUid,omitempty"` // 文件夹为个人文件夹时,为文件夹的所有者 id;文件夹为共享文件夹时,为文件夹树id }
GetDriveFolderMetaResp ...
type GetDriveImportTaskReq ¶
type GetDriveImportTaskReq struct {
Ticket string `path:"ticket" json:"-"` // 导入任务ID, 示例值:"6990281865xxxxxxxx7843"
}
GetDriveImportTaskReq ...
type GetDriveImportTaskResp ¶
type GetDriveImportTaskResp struct {
Result *GetDriveImportTaskRespResult `json:"result,omitempty"` // 导入结果
}
GetDriveImportTaskResp ...
type GetDriveImportTaskRespResult ¶
type GetDriveImportTaskRespResult struct { Ticket string `json:"ticket,omitempty"` // 任务ID Type string `json:"type,omitempty"` // 导入目标云文档格式 JobStatus int64 `json:"job_status,omitempty"` // 任务状态, 可选值有: `0`:成功, `1`:初始化, `2`:处理中, `100`:导入文档已加密, `101`:内部错误, `102`:内部错误, `103`:内部错误, `104`:租户容量不足, `105`:文件夹节点太多, `106`:内部错误, `107`:导出文档过大, `108`:处理超时, `109`:内部错误, `110`:无权限, `111`:导出文档已删除, `112`:格式不支持, `113`:office格式不支持, `114`:内部错误, `115`:导入文件过大, `116`:目录无权限, `117`:目录已删除, `118`:导入文件和任务指定后缀不匹配, `119`:目录不存在, `120`:导入文件和任务指定文件类型不匹配, `121`:导入文件已过期, `122`:创建副本中禁止导出, `123`:导出文档不存在, `5000`:内部错误, `6000`:导出文档图片太多, `7000`:docx block 数量超过系统上限, `7001`:docx block 层级超过系统上线, `7002`:docx block 大小超过系统上限 JobErrorMsg string `json:"job_error_msg,omitempty"` // 任务失败原因 Token string `json:"token,omitempty"` // 导入云文档Token URL string `json:"url,omitempty"` // 导入云文档URL Extra []string `json:"extra,omitempty"` // 任务成功后的提示信息 }
GetDriveImportTaskRespResult ...
type GetDriveMemberPermissionListReq ¶
type GetDriveMemberPermissionListReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "bitable" or "file" }
GetDriveMemberPermissionListReq ...
type GetDriveMemberPermissionListResp ¶
type GetDriveMemberPermissionListResp struct {
Members []*GetDriveMemberPermissionListRespMember `json:"members,omitempty"` // 协作者列表
}
GetDriveMemberPermissionListResp ...
type GetDriveMemberPermissionListRespMember ¶
type GetDriveMemberPermissionListRespMember struct { MemberType string `json:"member_type,omitempty"` // 协作者类型 "user" or "chat" MemberOpenID string `json:"member_open_id,omitempty"` // 协作者openid MemberUserID string `json:"member_user_id,omitempty"` // 协作者userid(仅当member_type="user"时有效) Perm string `json:"perm,omitempty"` // 协作者权限 (注意: **有"edit"权限的协作者一定有"view"权限**) }
GetDriveMemberPermissionListRespMember ...
type GetDrivePublicPermissionV2Req ¶
type GetDrivePublicPermissionV2Req struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 文档类型 "doc", "sheet" or "isv" }
GetDrivePublicPermissionV2Req ...
type GetDrivePublicPermissionV2Resp ¶
type GetDrivePublicPermissionV2Resp struct { SecurityEntity string `json:"security_entity,omitempty"` // 可创建副本/打印/导出/复制设置:<br>"anyone_can_view" - 所有可访问此文档的用户<br>"anyone_can_edit" - 有编辑权限的用户 CommentEntity string `json:"comment_entity,omitempty"` // 可评论设置:<br>"anyone_can_view" - 所有可访问此文档的用户<br>"anyone_can_edit" - 有编辑权限的用户 ExternalAccess bool `json:"external_access,omitempty"` // 是否允许分享到租户外开关 InviteExternal bool `json:"invite_external,omitempty"` // 非owner是否允许邀请外部人 PermissionVersion string `json:"permission_version,omitempty"` // 权限版本号 }
GetDrivePublicPermissionV2Resp ...
type GetDriveRootFolderMetaReq ¶
type GetDriveRootFolderMetaReq struct{}
GetDriveRootFolderMetaReq ...
type GetDriveRootFolderMetaResp ¶
type GetDriveRootFolderMetaResp struct { Token string `json:"token,omitempty"` // 文件夹的 token ID string `json:"id,omitempty"` // 文件夹的 id UserID string `json:"user_id,omitempty"` // 文件夹的所有者 id }
GetDriveRootFolderMetaResp ...
type GetEHREmployeeListReq ¶
type GetEHREmployeeListReq struct { View *string `query:"view" json:"-"` // 返回数据类型, 示例值:"basic", 可选值有: `basic`:概览,只返回 id、name 等基本信息, `full`:明细,返回系统标准字段和自定义字段集合 Status []int64 `query:"status" json:"-"` // 员工状态,不传代表查询所有员工状态,实际在职 = 2&4,可同时查询多个状态的记录,如 status=2&status=4, 示例值:2 Type []int64 `query:"type" json:"-"` // 雇员类型,不传代表查询所有雇员类型, 示例值:1 StartTime *string `query:"start_time" json:"-"` // 查询开始时间(创建时间 >= 此时间), 示例值:"1608690517811" EndTime *string `query:"end_time" json:"-"` // 查询结束时间(创建时间 <= 此时间), 示例值:"1608690517811" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserIDs []string `query:"user_ids" json:"-"` // user_id、open_id 或 union_id,默认为 open_id。,如果传入的值不是 open_id,需要一并传入 user_id_type 参数。,可一次查询多个 id 的用户,例如:user_ids=ou_8ebd4f35d7101ffdeb4771d7c8ec517e&user_ids=ou_7abc4f35d7101ffdeb4771dabcde,[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:ou_8ebd4f35d7101ffdeb4771d7c8ec517e, 最大长度:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"10" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
GetEHREmployeeListReq ...
type GetEHREmployeeListResp ¶
type GetEHREmployeeListResp struct { Items []*GetEHREmployeeListRespItem `json:"items,omitempty"` // 员工列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetEHREmployeeListResp ...
type GetEHREmployeeListRespItem ¶
type GetEHREmployeeListRespItem struct { UserID string `json:"user_id,omitempty"` // 员工的用户 ID,user_id_type 为 user_id 时返回 user_id;,user_id_type 为 open_id 时返回 open_id;,user_id_type 为 union_id 时返回 uion_id;,「待入职」和「已取消入职」的员工,此字段值为 null SystemFields *GetEHREmployeeListRespItemSystemFields `json:"system_fields,omitempty"` // 系统字段 CustomFields []*GetEHREmployeeListRespItemCustomField `json:"custom_fields,omitempty"` // 自定义字段 }
GetEHREmployeeListRespItem ...
type GetEHREmployeeListRespItemCustomField ¶
type GetEHREmployeeListRespItemCustomField struct { Key string `json:"key,omitempty"` // 自定义字段key Label string `json:"label,omitempty"` // 自定义字段名称 Type string `json:"type,omitempty"` // 自定义字段类型, 可选值有: `text`:文本类型, `date`:日期类型,如 2020-01-01, `option`:枚举类型, `file`:附件类型 Value string `json:"value,omitempty"` // 根据 type 不同,结构不同,不同 type 对应的数据结构在 type 的枚举值中有描述 }
GetEHREmployeeListRespItemCustomField ...
type GetEHREmployeeListRespItemSystemFields ¶
type GetEHREmployeeListRespItemSystemFields struct { Name string `json:"name,omitempty"` // 中文姓名 EnName string `json:"en_name,omitempty"` // 英文姓名 Email string `json:"email,omitempty"` // 邮箱 Mobile string `json:"mobile,omitempty"` // 手机号码 DepartmentID string `json:"department_id,omitempty"` // 部门的飞书 open_department_id Manager *GetEHREmployeeListRespItemSystemFieldsManager `json:"manager,omitempty"` // 上级 Job *GetEHREmployeeListRespItemSystemFieldsJob `json:"job,omitempty"` // 职位 JobLevel *GetEHREmployeeListRespItemSystemFieldsJobLevel `json:"job_level,omitempty"` // 职级 WorkLocation *GetEHREmployeeListRespItemSystemFieldsWorkLocation `json:"work_location,omitempty"` // 工作地点 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `1`:男, `2`:女 Birthday string `json:"birthday,omitempty"` // 出生日期 NativeRegion *GetEHREmployeeListRespItemSystemFieldsNativeRegion `json:"native_region,omitempty"` // 籍贯 Ethnicity int64 `json:"ethnicity,omitempty"` // 民族, 可选值有: `1`:汉族, `2`:蒙古族, `3`:回族, `4`:藏族, `5`:维吾尔族, `6`:苗族, `7`:彝族, `8`:壮族, `9`:布依族, `10`:朝鲜族, `11`:满族, `12`:侗族, `13`:瑶族, `14`:白族, `15`:土家族, `16`:哈尼族, `17`:哈萨克族, `18`:傣族, `19`:黎族, `20`:傈僳族, `21`:佤族, `22`:畲族, `23`:高山族, `24`:拉祜族, `25`:水族, `26`:东乡族, `27`:纳西族, `28`:景颇族, `29`:阿昌族, `30`:柯尔克孜族, `31`:土族, `32`:达斡尔族, `33`:仫佬族, `34`:羌族, `35`:布朗族, `36`:撒拉族, `37`:毛南族, `38`:仡佬族, `39`:锡伯族, `40`:普米族, `41`:塔吉克族, `42`:怒族, `43`:乌孜别克族, `44`:俄罗斯族, `45`:鄂温克族, `46`:德昂族, `47`:保安族, `48`:裕固族, `49`:京族, `50`:塔塔尔族, `51`:独龙族, `52`:鄂伦春族, `53`:赫哲族, `54`:门巴族, `55`:珞巴族, `56`:基诺族, `57`:其他 MaritalStatus int64 `json:"marital_status,omitempty"` // 婚姻状况, 可选值有: `1`:未婚, `2`:已婚, `3`:离异, `4`:其他 PoliticalStatus int64 `json:"political_status,omitempty"` // 政治面貌, 可选值有: `1`:中共党员, `2`:中国农工民主党, `3`:中国国民党革命委员会, `4`:中国民主促进会会员, `5`:中国民主同盟成员, `6`:中国民主建国会, `7`:中国致公党党员, `8`:九三学社社员, `9`:共青团员, `10`:其它党派成员, `11`:民主人士, `12`:群众 EnteredWorkforceDate string `json:"entered_workforce_date,omitempty"` // 参加工作日期 IDType IDType `json:"id_type,omitempty"` // 证件类型, 可选值有: `1`:居民身份证, `2`:港澳居民来往内地通行证, `3`:台湾居民来往大陆通行证, `4`:护照, `5`:其他 IDNumber string `json:"id_number,omitempty"` // 证件号 HukouType int64 `json:"hukou_type,omitempty"` // 户口类型, 可选值有: `1`:本市城镇, `2`:外埠城镇, `3`:本市农村, `4`:外埠农村 HukouLocation string `json:"hukou_location,omitempty"` // 户口所在地 BankAccountNumber string `json:"bank_account_number,omitempty"` // 银行卡号 BankName string `json:"bank_name,omitempty"` // 开户行 SocialSecurityAccount string `json:"social_security_account,omitempty"` // 社保账号 ProvidentFundAccount string `json:"provident_fund_account,omitempty"` // 公积金账号 EmployeeNo string `json:"employee_no,omitempty"` // 工号 EmployeeType int64 `json:"employee_type,omitempty"` // 雇员类型, 可选值有: `1`:全职, `2`:实习, `3`:顾问, `4`:外包, `5`:劳务 Status int64 `json:"status,omitempty"` // 员工状态, 可选值有: `1`:待入职, `2`:在职, `3`:已取消入职, `4`:待离职, `5`:已离职 HireDate string `json:"hire_date,omitempty"` // 入职日期 ProbationMonths float64 `json:"probation_months,omitempty"` // 试用期(月) ConversionDate string `json:"conversion_date,omitempty"` // 转正日期 Application int64 `json:"application,omitempty"` // 转正申请, 可选值有: `1`:未申请, `2`:审批中, `3`:被驳回, `4`:已通过 ApplicationStatus int64 `json:"application_status,omitempty"` // 转正状态, 可选值有: `1`:无需转正, `2`:待转正, `3`:已转正 LastDay string `json:"last_day,omitempty"` // 离职日期 DepartureType int64 `json:"departure_type,omitempty"` // 离职类型, 可选值有: `1`:主动, `2`:被动 DepartureReason int64 `json:"departure_reason,omitempty"` // 离职原因, 可选值有: `1`:身体、家庭原因, `2`:职业发展, `3`:薪资福利不满意, `4`:工作压力大, `5`:合同到期不续签, `6`:其他, `7`:无法胜任工作, `8`:组织业务调整和岗位优化, `9`:违反公司条例, `10`:试用期未通过, `11`:其他 DepartureNotes string `json:"departure_notes,omitempty"` // 离职备注 ContractCompany *GetEHREmployeeListRespItemSystemFieldsContractCompany `json:"contract_company,omitempty"` // 合同公司 ContractType int64 `json:"contract_type,omitempty"` // 合同类型, 可选值有: `1`:固定期限劳动合同, `2`:无固定期限劳动合同, `3`:实习协议, `4`:外包协议, `5`:劳务派遣合同, `6`:返聘协议, `7`:其他 ContractStartDate string `json:"contract_start_date,omitempty"` // 合同开始日期 ContractExpirationDate string `json:"contract_expiration_date,omitempty"` // 合同到期日期 ContractSignTimes int64 `json:"contract_sign_times,omitempty"` // 劳动合同签订次数 PersonalEmail string `json:"personal_email,omitempty"` // 个人邮箱 FamilyAddress string `json:"family_address,omitempty"` // 家庭地址 PrimaryEmergencyContact *EHREmergencyContact `json:"primary_emergency_contact,omitempty"` // 主要紧急联系人 EmergencyContact []*EHREmergencyContact `json:"emergency_contact,omitempty"` // 紧急联系人 HighestLevelOfEdu *EHREducation `json:"highest_level_of_edu,omitempty"` // 最高学历 Education []*EHREducation `json:"education,omitempty"` // 教育经历 FormerWorkExp *EHRWorkExperience `json:"former_work_exp,omitempty"` // 前工作经历 WorkExp []*EHRWorkExperience `json:"work_exp,omitempty"` // 工作经历 IDPhotoPoSide []*EHRAttachment `json:"id_photo_po_side,omitempty"` // 身份证照片(人像面) IDPhotoEmSide []*EHRAttachment `json:"id_photo_em_side,omitempty"` // 身份证照片(国徽面) IDPhoto []*EHRAttachment `json:"id_photo,omitempty"` // 证件照 DiplomaPhoto []*EHRAttachment `json:"diploma_photo,omitempty"` // 学位证书 GraduationCert []*EHRAttachment `json:"graduation_cert,omitempty"` // 毕业证书 CertOfMerit []*EHRAttachment `json:"cert_of_merit,omitempty"` // 奖励证明 OffboardingFile []*EHRAttachment `json:"offboarding_file,omitempty"` // 离职证明 CancelOnboardingReason int64 `json:"cancel_onboarding_reason,omitempty"` // 取消入职原因, 可选值有: `1`:个人原因, `2`:原单位留任, `3`:接受其他 Offer, `4`:其他 CancelOnboardingNotes string `json:"cancel_onboarding_notes,omitempty"` // 取消入职备注 EmployeeFormStatus int64 `json:"employee_form_status,omitempty"` // 入职登记表状态, 可选值有: `1`:未发送, `2`:待提交, `3`:已提交 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 }
GetEHREmployeeListRespItemSystemFields ...
type GetEHREmployeeListRespItemSystemFieldsContractCompany ¶
type GetEHREmployeeListRespItemSystemFieldsContractCompany struct { ID int64 `json:"id,omitempty"` // 公司 ID Name string `json:"name,omitempty"` // 公司名称 }
GetEHREmployeeListRespItemSystemFieldsContractCompany ...
type GetEHREmployeeListRespItemSystemFieldsJob ¶
type GetEHREmployeeListRespItemSystemFieldsJob struct { ID int64 `json:"id,omitempty"` // 职位 ID Name string `json:"name,omitempty"` // 职位名称 }
GetEHREmployeeListRespItemSystemFieldsJob ...
type GetEHREmployeeListRespItemSystemFieldsJobLevel ¶
type GetEHREmployeeListRespItemSystemFieldsJobLevel struct { ID int64 `json:"id,omitempty"` // 职级 ID Name string `json:"name,omitempty"` // 职级名称 }
GetEHREmployeeListRespItemSystemFieldsJobLevel ...
type GetEHREmployeeListRespItemSystemFieldsManager ¶
type GetEHREmployeeListRespItemSystemFieldsManager struct { UserID string `json:"user_id,omitempty"` // 上级的用户 ID(user_id) Name string `json:"name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetEHREmployeeListRespItemSystemFieldsManager ...
type GetEHREmployeeListRespItemSystemFieldsNativeRegion ¶
type GetEHREmployeeListRespItemSystemFieldsNativeRegion struct { IsoCode string `json:"iso_code,omitempty"` // ISO 编码 Name string `json:"name,omitempty"` // 名称 }
GetEHREmployeeListRespItemSystemFieldsNativeRegion ...
type GetEHREmployeeListRespItemSystemFieldsWorkLocation ¶
type GetEHREmployeeListRespItemSystemFieldsWorkLocation struct { ID int64 `json:"id,omitempty"` // 工作地点 ID Name string `json:"name,omitempty"` // 工作地点名称 }
GetEHREmployeeListRespItemSystemFieldsWorkLocation ...
type GetEcosystemBindAwemeUserReq ¶
type GetEcosystemBindAwemeUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID *string `query:"user_id" json:"-"` // 飞书用户id,由user_id_type决定类型, 示例值:"ou_7d8a6e6df7621556ce0d21922b676706ccs" }
GetEcosystemBindAwemeUserReq ...
type GetEcosystemBindAwemeUserResp ¶
type GetEcosystemBindAwemeUserResp struct {
AwemeUser *GetEcosystemBindAwemeUserRespAwemeUser `json:"aweme_user,omitempty"` // 用户绑定信息
}
GetEcosystemBindAwemeUserResp ...
type GetEcosystemBindAwemeUserRespAwemeUser ¶
type GetEcosystemBindAwemeUserRespAwemeUser struct { AwemeUserID string `json:"aweme_user_id,omitempty"` // 抖音用户id UserID string `json:"user_id,omitempty"` // 绑定的飞书用户id IsBinded bool `json:"is_binded,omitempty"` // 飞书-抖音账号是否绑定 }
GetEcosystemBindAwemeUserRespAwemeUser ...
type GetEmployeeTypeEnumListReq ¶
type GetEmployeeTypeEnumListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"3" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
GetEmployeeTypeEnumListReq ...
type GetEmployeeTypeEnumListResp ¶
type GetEmployeeTypeEnumListResp struct { Items []*GetEmployeeTypeEnumListRespItem `json:"items,omitempty"` // 枚举数据 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetEmployeeTypeEnumListResp ...
type GetEmployeeTypeEnumListRespItem ¶
type GetEmployeeTypeEnumListRespItem struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *GetEmployeeTypeEnumListRespItemI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
GetEmployeeTypeEnumListRespItem ...
type GetEmployeeTypeEnumListRespItemI18nContent ¶
type GetEmployeeTypeEnumListRespItemI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
GetEmployeeTypeEnumListRespItemI18nContent ...
type GetFaceVerifyAuthResultReq ¶
type GetFaceVerifyAuthResultReq struct { ReqOrderNo string `query:"req_order_no" json:"-"` // 人脸识别单次唯一标识,由`tt.startFaceVerify`接口返回 OpenID *string `query:"open_id" json:"-"` // 用户应用标识, 与employee_id二选其一 EmployeeID *string `query:"employee_id" json:"-"` // 用户租户标识, 与open_id二选其一 }
GetFaceVerifyAuthResultReq ...
type GetFaceVerifyAuthResultResp ¶
type GetFaceVerifyAuthResultResp struct { AuthState int64 `json:"auth_state,omitempty"` // 认证结果, 0: 认证中, 1: 认证成功, -1: 认证失败 AuthTimpstamp int64 `json:"auth_timpstamp,omitempty"` // 认证时间,unix 时间戳 }
GetFaceVerifyAuthResultResp ...
type GetHelpdeskAgentEmailResp ¶
type GetHelpdeskAgentEmailResp struct {
Agents string `json:"agents,omitempty"` // agent emails
}
GetHelpdeskAgentEmailResp ...
type GetHelpdeskAgentScheduleListReq ¶
type GetHelpdeskAgentScheduleListReq struct {
Status []int64 `query:"status" json:"-"` // 筛选条件, 1 - online客服, 2 - offline(手动)客服, 3 - off duty(下班)客服, 4 - 移除客服
}
GetHelpdeskAgentScheduleListReq ...
type GetHelpdeskAgentScheduleListResp ¶
type GetHelpdeskAgentScheduleListResp struct {
AgentSchedules []*GetHelpdeskAgentScheduleListRespAgentSchedule `json:"agent_schedules,omitempty"` // 客服列表
}
GetHelpdeskAgentScheduleListResp ...
type GetHelpdeskAgentScheduleListRespAgentSchedule ¶
type GetHelpdeskAgentScheduleListRespAgentSchedule struct { Status int64 `json:"status,omitempty"` // 客服状态, 1 - online客服, 2 - offline(手动)客服, 3 - off duty(下班)自动处于非服务时间段 Agent *GetHelpdeskAgentScheduleListRespAgentScheduleAgent `json:"agent,omitempty"` // 客服信息 Schedule *GetHelpdeskAgentScheduleListRespAgentScheduleSchedule `json:"schedule,omitempty"` // 工作日程列表 AgentSkills []*GetHelpdeskAgentScheduleListRespAgentScheduleAgentSkill `json:"agent_skills,omitempty"` // 客服技能 }
GetHelpdeskAgentScheduleListRespAgentSchedule ...
type GetHelpdeskAgentScheduleListRespAgentScheduleAgent ¶
type GetHelpdeskAgentScheduleListRespAgentScheduleAgent struct { ID string `json:"id,omitempty"` // 客服 id AvatarURL string `json:"avatar_url,omitempty"` // avatar url Name string `json:"name,omitempty"` // 客服名字 Email string `json:"email,omitempty"` // email Department string `json:"department,omitempty"` // 部门 CompanyName string `json:"company_name,omitempty"` // 公司名 }
GetHelpdeskAgentScheduleListRespAgentScheduleAgent ...
type GetHelpdeskAgentScheduleListRespAgentScheduleAgentSkill ¶
type GetHelpdeskAgentScheduleListRespAgentScheduleAgentSkill struct { ID string `json:"id,omitempty"` // 客服技能 id Name string `json:"name,omitempty"` // 客服技能名 IsDefault bool `json:"is_default,omitempty"` // 是默认技能 }
GetHelpdeskAgentScheduleListRespAgentScheduleAgentSkill ...
type GetHelpdeskAgentScheduleListRespAgentScheduleSchedule ¶
type GetHelpdeskAgentScheduleListRespAgentScheduleSchedule struct { StartTime string `json:"start_time,omitempty"` // 开始时间, format 00:00 - 23:59 EndTime string `json:"end_time,omitempty"` // 结束时间, format 00:00 - 23:59 Weekday int64 `json:"weekday,omitempty"` // 星期几, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, 6 - Saturday, 7 - Sunday, 9 - Everday, 10 - Weekday, 11 - Weekend }
GetHelpdeskAgentScheduleListRespAgentScheduleSchedule ...
type GetHelpdeskAgentScheduleReq ¶
type GetHelpdeskAgentScheduleReq struct {
AgentID string `path:"agent_id" json:"-"` // 客服 id, 示例值:" 客服 id"
}
GetHelpdeskAgentScheduleReq ...
type GetHelpdeskAgentScheduleResp ¶
type GetHelpdeskAgentScheduleResp struct {
AgentSchedule *GetHelpdeskAgentScheduleRespAgentSchedule `json:"agent_schedule,omitempty"` // 客服日程
}
GetHelpdeskAgentScheduleResp ...
type GetHelpdeskAgentScheduleRespAgentSchedule ¶
type GetHelpdeskAgentScheduleRespAgentSchedule struct { Status int64 `json:"status,omitempty"` // 客服状态, 1 - online客服, 2 - offline(手动)客服, 3 - off duty(下班)自动处于非服务时间段 Agent *GetHelpdeskAgentScheduleRespAgentScheduleAgent `json:"agent,omitempty"` // 客服信息 Schedule *GetHelpdeskAgentScheduleRespAgentScheduleSchedule `json:"schedule,omitempty"` // 工作日程列表 AgentSkills []*GetHelpdeskAgentScheduleRespAgentScheduleAgentSkill `json:"agent_skills,omitempty"` // 客服技能 }
GetHelpdeskAgentScheduleRespAgentSchedule ...
type GetHelpdeskAgentScheduleRespAgentScheduleAgent ¶
type GetHelpdeskAgentScheduleRespAgentScheduleAgent struct { ID string `json:"id,omitempty"` // 客服 id AvatarURL string `json:"avatar_url,omitempty"` // avatar url Name string `json:"name,omitempty"` // 客服名字 Email string `json:"email,omitempty"` // email Department string `json:"department,omitempty"` // 部门 CompanyName string `json:"company_name,omitempty"` // 公司名 }
GetHelpdeskAgentScheduleRespAgentScheduleAgent ...
type GetHelpdeskAgentScheduleRespAgentScheduleAgentSkill ¶
type GetHelpdeskAgentScheduleRespAgentScheduleAgentSkill struct { ID string `json:"id,omitempty"` // 客服技能 id Name string `json:"name,omitempty"` // 客服技能名 IsDefault bool `json:"is_default,omitempty"` // 是默认技能 }
GetHelpdeskAgentScheduleRespAgentScheduleAgentSkill ...
type GetHelpdeskAgentScheduleRespAgentScheduleSchedule ¶
type GetHelpdeskAgentScheduleRespAgentScheduleSchedule struct { StartTime string `json:"start_time,omitempty"` // 开始时间, format 00:00 - 23:59 EndTime string `json:"end_time,omitempty"` // 结束时间, format 00:00 - 23:59 Weekday int64 `json:"weekday,omitempty"` // 星期几, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, 6 - Saturday, 7 - Sunday, 9 - Everday, 10 - Weekday, 11 - Weekend }
GetHelpdeskAgentScheduleRespAgentScheduleSchedule ...
type GetHelpdeskAgentSkillListReq ¶
type GetHelpdeskAgentSkillListReq struct{}
GetHelpdeskAgentSkillListReq ...
type GetHelpdeskAgentSkillListResp ¶
type GetHelpdeskAgentSkillListResp struct {
AgentSkills []*GetHelpdeskAgentSkillListRespAgentSkill `json:"agent_skills,omitempty"` // 客服技能列表
}
GetHelpdeskAgentSkillListResp ...
type GetHelpdeskAgentSkillListRespAgentSkill ¶
type GetHelpdeskAgentSkillListRespAgentSkill struct { ID string `json:"id,omitempty"` // 技能id Name string `json:"name,omitempty"` // 技能名 AgentIDs []string `json:"agent_ids,omitempty"` // 具有此技能的客服ids IsDefault bool `json:"is_default,omitempty"` // 默认技能 }
GetHelpdeskAgentSkillListRespAgentSkill ...
type GetHelpdeskAgentSkillReq ¶
type GetHelpdeskAgentSkillReq struct {
AgentSkillID string `path:"agent_skill_id" json:"-"` // agent skill id, 示例值:"6941215891786825756"
}
GetHelpdeskAgentSkillReq ...
type GetHelpdeskAgentSkillResp ¶
type GetHelpdeskAgentSkillResp struct {
AgentSkill *GetHelpdeskAgentSkillRespAgentSkill `json:"agent_skill,omitempty"` // 技能
}
GetHelpdeskAgentSkillResp ...
type GetHelpdeskAgentSkillRespAgentSkill ¶
type GetHelpdeskAgentSkillRespAgentSkill struct { ID string `json:"id,omitempty"` // 技能id Name string `json:"name,omitempty"` // 技能名 Rules []*GetHelpdeskAgentSkillRespAgentSkillRule `json:"rules,omitempty"` // 技能rules AgentIDs []string `json:"agent_ids,omitempty"` // 具有此技能的客服ids IsDefault bool `json:"is_default,omitempty"` // 默认技能 Agents []*GetHelpdeskAgentSkillRespAgentSkillAgent `json:"agents,omitempty"` // 客服 info }
GetHelpdeskAgentSkillRespAgentSkill ...
type GetHelpdeskAgentSkillRespAgentSkillAgent ¶
type GetHelpdeskAgentSkillRespAgentSkillAgent struct { ID string `json:"id,omitempty"` // user id AvatarURL string `json:"avatar_url,omitempty"` // user avatar url Name string `json:"name,omitempty"` // user name }
GetHelpdeskAgentSkillRespAgentSkillAgent ...
type GetHelpdeskAgentSkillRespAgentSkillRule ¶
type GetHelpdeskAgentSkillRespAgentSkillRule struct { ID string `json:"id,omitempty"` // rule id, 看[获取客服技能rules](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/list-agent-skill-rules) 用于获取rules options SelectedOperator int64 `json:"selected_operator,omitempty"` // 运算符compare, 看[客服技能运算符options](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options) OperatorOptions []int64 `json:"operator_options,omitempty"` // rule操作数value,[客服技能及运算符](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options) Operand string `json:"operand,omitempty"` // rule操作数value Category int64 `json:"category,omitempty"` // rule type,1-知识库,2-工单信息,3-用户飞书信息 DisplayName string `json:"display_name,omitempty"` // rule 名 }
GetHelpdeskAgentSkillRespAgentSkillRule ...
type GetHelpdeskAgentSkillRuleListReq ¶
type GetHelpdeskAgentSkillRuleListReq struct{}
GetHelpdeskAgentSkillRuleListReq ...
type GetHelpdeskAgentSkillRuleListResp ¶
type GetHelpdeskAgentSkillRuleListResp struct {
Rules []*GetHelpdeskAgentSkillRuleListRespRule `json:"rules,omitempty"` // rules列表
}
GetHelpdeskAgentSkillRuleListResp ...
type GetHelpdeskAgentSkillRuleListRespRule ¶
type GetHelpdeskAgentSkillRuleListRespRule struct { ID string `json:"id,omitempty"` // rule id, 看[获取客服技能rules](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/list-agent-skill-rules) 用于获取rules options OperatorOptions []int64 `json:"operator_options,omitempty"` // rule操作数value,[客服技能及运算符](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options) Operand string `json:"operand,omitempty"` // rule操作数value Category int64 `json:"category,omitempty"` // rule type,1-知识库,2-工单信息,3-用户飞书信息 DisplayName string `json:"display_name,omitempty"` // rule 名 }
GetHelpdeskAgentSkillRuleListRespRule ...
type GetHelpdeskCategoryListReq ¶
type GetHelpdeskCategoryListReq struct { Lang *string `query:"lang" json:"-"` // 知识库分类语言, 示例值:"zh_cn" OrderBy *int64 `query:"order_by" json:"-"` // 排序键。1: 根据知识库分类更新时间排序, 示例值:1 Asc *bool `query:"asc" json:"-"` // 顺序。true: 正序;false:反序, 示例值:true }
GetHelpdeskCategoryListReq ...
type GetHelpdeskCategoryListResp ¶
type GetHelpdeskCategoryListResp struct {
Categories []*HelpdeskCategory `json:"categories,omitempty"` // 知识库分类列表
}
GetHelpdeskCategoryListResp ...
type GetHelpdeskCategoryReq ¶
type GetHelpdeskCategoryReq struct {
ID string `path:"id" json:"-"` // 知识库分类ID, 示例值:"6948728206392295444"
}
GetHelpdeskCategoryReq ...
type GetHelpdeskCategoryResp ¶
type GetHelpdeskCategoryResp struct { CategoryID string `json:"category_id,omitempty"` // 知识库分类ID ID string `json:"id,omitempty"` // 知识库分类ID,(旧版,请使用category_id) Name string `json:"name,omitempty"` // 名称 HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Language string `json:"language,omitempty"` // 语言 }
GetHelpdeskCategoryResp ...
type GetHelpdeskFAQImageReq ¶
type GetHelpdeskFAQImageReq struct { ID string `path:"id" json:"-"` // 知识库ID, 示例值:"12345" ImageKey string `path:"image_key" json:"-"` // 图像key, 示例值:"img_b07ffac0-19c1-48a3-afca-599f8ea825fj" }
GetHelpdeskFAQImageReq ...
type GetHelpdeskFAQImageResp ¶
GetHelpdeskFAQImageResp ...
type GetHelpdeskFAQListReq ¶
type GetHelpdeskFAQListReq struct { CategoryID *string `query:"category_id" json:"-"` // 知识库分类ID, 示例值:"6856395522433908739" Status *string `query:"status" json:"-"` // 搜索条件: 知识库状态 1:在线 0:删除,可恢复 2:删除,不可恢复 , 示例值:"1" Search *string `query:"search" json:"-"` // 搜索条件: 关键词,匹配问题标题,问题关键字,用户姓名 , 示例值:"点餐" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"6856395634652479491" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
GetHelpdeskFAQListReq ...
type GetHelpdeskFAQListResp ¶
type GetHelpdeskFAQListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token PageSize int64 `json:"page_size,omitempty"` // 实际返回的FAQ数量 Total int64 `json:"total,omitempty"` // 总数 Items []*GetHelpdeskFAQListRespItem `json:"items,omitempty"` // 知识库列表 }
GetHelpdeskFAQListResp ...
type GetHelpdeskFAQListRespItem ¶
type GetHelpdeskFAQListRespItem struct { FAQID string `json:"faq_id,omitempty"` // 知识库ID ID string `json:"id,omitempty"` // 知识库旧版ID,请使用faq_id HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Question string `json:"question,omitempty"` // 问题 Answer string `json:"answer,omitempty"` // 答案 AnswerRichtext string `json:"answer_richtext,omitempty"` // 富文本答案 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 修改时间 Categories []*HelpdeskCategory `json:"categories,omitempty"` // 分类 Tags []string `json:"tags,omitempty"` // 相似问列表 ExpireTime int64 `json:"expire_time,omitempty"` // 失效时间 UpdateUser *GetHelpdeskFAQListRespItemUpdateUser `json:"update_user,omitempty"` // 更新用户 CreateUser *GetHelpdeskFAQListRespItemCreateUser `json:"create_user,omitempty"` // 创建用户 }
GetHelpdeskFAQListRespItem ...
type GetHelpdeskFAQListRespItemCreateUser ¶
type GetHelpdeskFAQListRespItemCreateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
GetHelpdeskFAQListRespItemCreateUser ...
type GetHelpdeskFAQListRespItemUpdateUser ¶
type GetHelpdeskFAQListRespItemUpdateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
GetHelpdeskFAQListRespItemUpdateUser ...
type GetHelpdeskFAQReq ¶
type GetHelpdeskFAQReq struct {
ID string `path:"id" json:"-"` // 知识库ID, 示例值:"6856395634652479491"
}
GetHelpdeskFAQReq ...
type GetHelpdeskFAQResp ¶
type GetHelpdeskFAQResp struct {
FAQ *GetHelpdeskFAQRespFAQ `json:"faq,omitempty"` // 知识库详情
}
GetHelpdeskFAQResp ...
type GetHelpdeskFAQRespFAQ ¶
type GetHelpdeskFAQRespFAQ struct { FAQID string `json:"faq_id,omitempty"` // 知识库ID ID string `json:"id,omitempty"` // 知识库旧版ID,请使用faq_id HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Question string `json:"question,omitempty"` // 问题 Answer string `json:"answer,omitempty"` // 答案 AnswerRichtext string `json:"answer_richtext,omitempty"` // 富文本答案 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 修改时间 Categories []*HelpdeskCategory `json:"categories,omitempty"` // 分类 Tags []string `json:"tags,omitempty"` // 相似问列表 ExpireTime int64 `json:"expire_time,omitempty"` // 失效时间 UpdateUser *GetHelpdeskFAQRespFAQUpdateUser `json:"update_user,omitempty"` // 更新用户 CreateUser *GetHelpdeskFAQRespFAQCreateUser `json:"create_user,omitempty"` // 创建用户 }
GetHelpdeskFAQRespFAQ ...
type GetHelpdeskFAQRespFAQCreateUser ¶
type GetHelpdeskFAQRespFAQCreateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
GetHelpdeskFAQRespFAQCreateUser ...
type GetHelpdeskFAQRespFAQUpdateUser ¶
type GetHelpdeskFAQRespFAQUpdateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 }
GetHelpdeskFAQRespFAQUpdateUser ...
type GetHelpdeskNotificationReq ¶
type GetHelpdeskNotificationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID NotificationID string `path:"notification_id" json:"-"` // 唯一ID, 示例值:"1624326025000" }
GetHelpdeskNotificationReq ...
type GetHelpdeskNotificationResp ¶
type GetHelpdeskNotificationResp struct { Notification *GetHelpdeskNotificationRespNotification `json:"notification,omitempty"` // push任务详情 ApprovalAppLink string `json:"approval_app_link,omitempty"` // 审批链接 }
GetHelpdeskNotificationResp ...
type GetHelpdeskNotificationRespNotification ¶
type GetHelpdeskNotificationRespNotification struct { ID string `json:"id,omitempty"` // 非必填,创建成功后返回 JobName string `json:"job_name,omitempty"` // 必填,任务名称 Status int64 `json:"status,omitempty"` // 非必填,创建成功后返回 CreateUser *GetHelpdeskNotificationRespNotificationCreateUser `json:"create_user,omitempty"` // 非必填,创建人 CreatedAt string `json:"created_at,omitempty"` // 非必填,创建时间(毫秒时间戳) UpdateUser *GetHelpdeskNotificationRespNotificationUpdateUser `json:"update_user,omitempty"` // 非必填,更新用户 UpdatedAt string `json:"updated_at,omitempty"` // 非必填,更新时间(毫秒时间戳) TargetUserCount int64 `json:"target_user_count,omitempty"` // 非必填,目标推送用户总数 SentUserCount int64 `json:"sent_user_count,omitempty"` // 非必填,已推送用户总数 ReadUserCount int64 `json:"read_user_count,omitempty"` // 非必填,已读用户总数 SendAt string `json:"send_at,omitempty"` // 非必填,推送任务触发时间(毫秒时间戳) PushContent string `json:"push_content,omitempty"` // 必填,推送内容,详见:https://open.feishu.cn/tool/cardbuilder?from=howtoguide PushType int64 `json:"push_type,omitempty"` // 必填,,0(定时推送:push_scope不能等于3) 1(新人入职推送:push_scope必须等于1或者3;new_staff_scope_type不能为空) PushScopeType int64 `json:"push_scope_type,omitempty"` // 必填,,推送范围(服务台私信) 0:组织内全部成员(user_list和department_list必须为空) 1:不推送任何成员(user_list和department_list必须为空,chat_list不可为空) 2:推送到部分成员(user_list或department_list不能为空) 3:入职新人 以上四种状态,chat_list都相对独立,只有在推送范围为1时,必须需要设置chat_list NewStaffScopeType int64 `json:"new_staff_scope_type,omitempty"` // 非必填,,新人入职范围类型(push_type为1时生效) 0:组织内所有新人 1:组织内特定的部门(new_staff_scope_department_list 字段不能为空) NewStaffScopeDepartmentList []*GetHelpdeskNotificationRespNotificationNewStaffScopeDepartment `json:"new_staff_scope_department_list,omitempty"` // 非必填,新人入职生效部门列表 UserList []*GetHelpdeskNotificationRespNotificationUser `json:"user_list,omitempty"` // 非必填,push推送到成员列表 DepartmentList []*GetHelpdeskNotificationRespNotificationDepartment `json:"department_list,omitempty"` // 非必填,push推送到的部门信息列表 ChatList []*GetHelpdeskNotificationRespNotificationChat `json:"chat_list,omitempty"` // 非必填,push推送到的会话列表(群) Ext string `json:"ext,omitempty"` // 非必填,预留扩展字段 }
GetHelpdeskNotificationRespNotification ...
type GetHelpdeskNotificationRespNotificationChat ¶
type GetHelpdeskNotificationRespNotificationChat struct { ChatID string `json:"chat_id,omitempty"` // 非必填,会话ID Name string `json:"name,omitempty"` // 非必填,会话名称 }
GetHelpdeskNotificationRespNotificationChat ...
type GetHelpdeskNotificationRespNotificationCreateUser ¶
type GetHelpdeskNotificationRespNotificationCreateUser struct { UserID string `json:"user_id,omitempty"` // 非必填,用户id AvatarURL string `json:"avatar_url,omitempty"` // 非必填,头像地址 Name string `json:"name,omitempty"` // 非必填,用户名称 }
GetHelpdeskNotificationRespNotificationCreateUser ...
type GetHelpdeskNotificationRespNotificationDepartment ¶
type GetHelpdeskNotificationRespNotificationDepartment struct { DepartmentID string `json:"department_id,omitempty"` // 部门ID Name string `json:"name,omitempty"` // 非必填,部门名称 }
GetHelpdeskNotificationRespNotificationDepartment ...
type GetHelpdeskNotificationRespNotificationNewStaffScopeDepartment ¶
type GetHelpdeskNotificationRespNotificationNewStaffScopeDepartment struct { DepartmentID string `json:"department_id,omitempty"` // 部门ID Name string `json:"name,omitempty"` // 非必填,部门名称 }
GetHelpdeskNotificationRespNotificationNewStaffScopeDepartment ...
type GetHelpdeskNotificationRespNotificationUpdateUser ¶
type GetHelpdeskNotificationRespNotificationUpdateUser struct { UserID string `json:"user_id,omitempty"` // 非必填,用户id AvatarURL string `json:"avatar_url,omitempty"` // 非必填,头像地址 Name string `json:"name,omitempty"` // 非必填,用户名称 }
GetHelpdeskNotificationRespNotificationUpdateUser ...
type GetHelpdeskNotificationRespNotificationUser ¶
type GetHelpdeskNotificationRespNotificationUser struct { UserID string `json:"user_id,omitempty"` // 非必填,用户id AvatarURL string `json:"avatar_url,omitempty"` // 非必填,头像地址 Name string `json:"name,omitempty"` // 非必填,用户名称 }
GetHelpdeskNotificationRespNotificationUser ...
type GetHelpdeskTicketCustomizedFieldListReq ¶
type GetHelpdeskTicketCustomizedFieldListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"6948728206392295444" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10;默认为20, 最大值:`100` Visible *bool `json:"visible,omitempty"` // 是否可见, 示例值:true }
GetHelpdeskTicketCustomizedFieldListReq ...
type GetHelpdeskTicketCustomizedFieldListResp ¶
type GetHelpdeskTicketCustomizedFieldListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 NextPageToken string `json:"next_page_token,omitempty"` // 下一分页标识 Items []*GetHelpdeskTicketCustomizedFieldListRespItem `json:"items,omitempty"` // 工单自定义字段列表 }
GetHelpdeskTicketCustomizedFieldListResp ...
type GetHelpdeskTicketCustomizedFieldListRespItem ¶
type GetHelpdeskTicketCustomizedFieldListRespItem struct { TicketCustomizedFieldID string `json:"ticket_customized_field_id,omitempty"` // 工单自定义字段ID HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID KeyName string `json:"key_name,omitempty"` // 键名 DisplayName string `json:"display_name,omitempty"` // 名称 Position string `json:"position,omitempty"` // 字段在列表后台管理列表中的位置 FieldType string `json:"field_type,omitempty"` // 类型 Description string `json:"description,omitempty"` // 描述 Visible bool `json:"visible,omitempty"` // 是否可见 Editable bool `json:"editable,omitempty"` // 是否可以修改 Required bool `json:"required,omitempty"` // 是否必填 CreatedAt string `json:"created_at,omitempty"` // 创建时间 UpdatedAt string `json:"updated_at,omitempty"` // 更新时间 CreatedBy *GetHelpdeskTicketCustomizedFieldListRespItemCreatedBy `json:"created_by,omitempty"` // 创建用户 UpdatedBy *GetHelpdeskTicketCustomizedFieldListRespItemUpdatedBy `json:"updated_by,omitempty"` // 更新用户 DropdownOptions *HelpdeskDropdownOption `json:"dropdown_options,omitempty"` // 下拉列表选项 DropdownAllowMultiple bool `json:"dropdown_allow_multiple,omitempty"` // 是否支持多选,仅在字段类型是dropdown的时候有效 }
GetHelpdeskTicketCustomizedFieldListRespItem ...
type GetHelpdeskTicketCustomizedFieldListRespItemCreatedBy ¶
type GetHelpdeskTicketCustomizedFieldListRespItemCreatedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 }
GetHelpdeskTicketCustomizedFieldListRespItemCreatedBy ...
type GetHelpdeskTicketCustomizedFieldListRespItemUpdatedBy ¶
type GetHelpdeskTicketCustomizedFieldListRespItemUpdatedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 }
GetHelpdeskTicketCustomizedFieldListRespItemUpdatedBy ...
type GetHelpdeskTicketCustomizedFieldReq ¶
type GetHelpdeskTicketCustomizedFieldReq struct {
TicketCustomizedFieldID string `path:"ticket_customized_field_id" json:"-"` // 工单自定义字段ID, 示例值:"6948728206392295444"
}
GetHelpdeskTicketCustomizedFieldReq ...
type GetHelpdeskTicketCustomizedFieldResp ¶
type GetHelpdeskTicketCustomizedFieldResp struct { TicketCustomizedFieldID string `json:"ticket_customized_field_id,omitempty"` // 工单自定义字段ID HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID KeyName string `json:"key_name,omitempty"` // 键名 DisplayName string `json:"display_name,omitempty"` // 名称 Position string `json:"position,omitempty"` // 字段在列表后台管理列表中的位置 FieldType string `json:"field_type,omitempty"` // 类型 Description string `json:"description,omitempty"` // 描述 Visible bool `json:"visible,omitempty"` // 是否可见 Editable bool `json:"editable,omitempty"` // 是否可以修改 Required bool `json:"required,omitempty"` // 是否必填 CreatedAt string `json:"created_at,omitempty"` // 创建时间 UpdatedAt string `json:"updated_at,omitempty"` // 更新时间 CreatedBy *GetHelpdeskTicketCustomizedFieldRespCreatedBy `json:"created_by,omitempty"` // 创建用户 UpdatedBy *GetHelpdeskTicketCustomizedFieldRespUpdatedBy `json:"updated_by,omitempty"` // 更新用户 DropdownAllowMultiple bool `json:"dropdown_allow_multiple,omitempty"` // 是否支持多选,仅在字段类型是dropdown的时候有效 }
GetHelpdeskTicketCustomizedFieldResp ...
type GetHelpdeskTicketCustomizedFieldRespCreatedBy ¶
type GetHelpdeskTicketCustomizedFieldRespCreatedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 }
GetHelpdeskTicketCustomizedFieldRespCreatedBy ...
type GetHelpdeskTicketCustomizedFieldRespUpdatedBy ¶
type GetHelpdeskTicketCustomizedFieldRespUpdatedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 DropdownOptions *HelpdeskDropdownOption `json:"dropdown_options,omitempty"` // 下拉列表选项 }
GetHelpdeskTicketCustomizedFieldRespUpdatedBy ...
type GetHelpdeskTicketListReq ¶
type GetHelpdeskTicketListReq struct { TicketID *string `query:"ticket_id" json:"-"` // 搜索条件:工单ID, 示例值:"123456" AgentID *string `query:"agent_id" json:"-"` // 搜索条件: 客服id, 示例值:"ou_b5de90429xxx" ClosedByID *string `query:"closed_by_id" json:"-"` // 搜索条件: 关单客服id, 示例值:"ou_b5de90429xxx" Type *int64 `query:"type" json:"-"` // 搜索条件: 工单类型 1:bot 2:人工, 示例值:1 Channel *int64 `query:"channel" json:"-"` // 搜索条件: 工单渠道, 示例值:0 Solved *int64 `query:"solved" json:"-"` // 搜索条件: 工单是否解决 1:没解决 2:已解决, 示例值:1 Score *int64 `query:"score" json:"-"` // 搜索条件: 工单评分, 示例值:1 StatusList []int64 `query:"status_list" json:"-"` // 搜索条件: 工单状态列表, 示例值:1 GuestName *string `query:"guest_name" json:"-"` // 搜索条件: 用户名称, 示例值:"abc" GuestID *string `query:"guest_id" json:"-"` // 搜索条件: 用户id, 示例值:"ou_b5de90429xxx" Tags []string `query:"tags" json:"-"` // 搜索条件: 用户标签列表, 示例值:备注 Page *int64 `query:"page" json:"-"` // 页数, 从1开始, 默认为1, 示例值:1 PageSize *int64 `query:"page_size" json:"-"` // 当前页大小,最大为200, 默认为20。分页查询最多累计返回一万条数据,超过一万条请更改查询条件,推荐通过时间查询。, 示例值:20 CreateTimeStart *int64 `query:"create_time_start" json:"-"` // 搜索条件: 工单创建起始时间 ms (也需要填上create_time_end),相当于>=create_time_start, 示例值:1616920429000 CreateTimeEnd *int64 `query:"create_time_end" json:"-"` // 搜索条件: 工单创建结束时间 ms (也需要填上create_time_start),相当于<=create_time_end, 示例值:1616920429000 UpdateTimeStart *int64 `query:"update_time_start" json:"-"` // 搜索条件: 工单修改起始时间 ms (也需要填上update_time_end), 示例值:1616920429000 UpdateTimeEnd *int64 `query:"update_time_end" json:"-"` // 搜索条件: 工单修改结束时间 ms(也需要填上update_time_start), 示例值:1616920429000 }
GetHelpdeskTicketListReq ...
type GetHelpdeskTicketListResp ¶
type GetHelpdeskTicketListResp struct { Total int64 `json:"total,omitempty"` // 工单总数 (单次请求最大为10000条) Tickets []*GetHelpdeskTicketListRespTicket `json:"tickets,omitempty"` // 工单 }
GetHelpdeskTicketListResp ...
type GetHelpdeskTicketListRespTicket ¶
type GetHelpdeskTicketListRespTicket struct { TicketID string `json:"ticket_id,omitempty"` // 工单ID,[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list),[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created) HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Guest *GetHelpdeskTicketListRespTicketGuest `json:"guest,omitempty"` // 工单创建用户 Comments *GetHelpdeskTicketListRespTicketComments `json:"comments,omitempty"` // 备注 TicketType int64 `json:"ticket_type,omitempty"` // 工单阶段:1. 机器人 2. 人工 Status int64 `json:"status,omitempty"` // 工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭 Score int64 `json:"score,omitempty"` // 工单评分,1:不满意,2:一般,3:满意 CreatedAt int64 `json:"created_at,omitempty"` // 工单创建时间 UpdatedAt int64 `json:"updated_at,omitempty"` // 工单更新时间,没有值时为-1 ClosedAt int64 `json:"closed_at,omitempty"` // 工单结束时间 DissatisfactionReason []string `json:"dissatisfaction_reason,omitempty"` // 不满意原因 Agents []*GetHelpdeskTicketListRespTicketAgent `json:"agents,omitempty"` // 工单客服 Channel int64 `json:"channel,omitempty"` // 工单渠道,描述:,9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道 Solve int64 `json:"solve,omitempty"` // 工单是否解决 1:没解决 2:已解决 ClosedBy *GetHelpdeskTicketListRespTicketClosedBy `json:"closed_by,omitempty"` // 关单用户ID Collaborators []*GetHelpdeskTicketListRespTicketCollaborator `json:"collaborators,omitempty"` // 工单协作者 CustomizedFields []*GetHelpdeskTicketListRespTicketCustomizedField `json:"customized_fields,omitempty"` // 自定义字段列表,没有值时不设置 ,下拉菜单的value对应工单字段里面的children.display_name,[获取全部工单自定义字段](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_customized_field/list-ticket-customized-fields) AgentServiceDuration float64 `json:"agent_service_duration,omitempty"` // 客服服务时长,客服最后一次回复时间距离客服进入时间间隔,单位分钟 AgentFirstResponseDuration int64 `json:"agent_first_response_duration,omitempty"` // 客服首次回复时间距离客服进入时间的间隔(秒) BotServiceDuration int64 `json:"bot_service_duration,omitempty"` // 机器人服务时间:客服进入时间距离工单创建时间的间隔,单位秒 AgentResolutionTime int64 `json:"agent_resolution_time,omitempty"` // 客服解决时长,关单时间距离客服进入时间的间隔,单位秒 ActualProcessingTime int64 `json:"actual_processing_time,omitempty"` // 工单实际处理时间:从客服进入到关单,单位秒 AgentEntryTime int64 `json:"agent_entry_time,omitempty"` // 客服进入时间,单位毫秒 AgentFirstResponseTime int64 `json:"agent_first_response_time,omitempty"` // 客服首次回复时间,单位毫秒 AgentLastResponseTime int64 `json:"agent_last_response_time,omitempty"` // 客服最后回复时间,单位毫秒 }
GetHelpdeskTicketListRespTicket ...
type GetHelpdeskTicketListRespTicketAgent ¶
type GetHelpdeskTicketListRespTicketAgent struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketListRespTicketAgent ...
type GetHelpdeskTicketListRespTicketClosedBy ¶
type GetHelpdeskTicketListRespTicketClosedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketListRespTicketClosedBy ...
type GetHelpdeskTicketListRespTicketCollaborator ¶
type GetHelpdeskTicketListRespTicketCollaborator struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketListRespTicketCollaborator ...
type GetHelpdeskTicketListRespTicketComments ¶
type GetHelpdeskTicketListRespTicketComments struct { Content string `json:"content,omitempty"` // 备注 CreatedAt int64 `json:"created_at,omitempty"` // 备注时间,单位毫秒 ID int64 `json:"id,omitempty"` // 备注ID UserAvatarURL string `json:"user_avatar_url,omitempty"` // 备注人头像 UserName string `json:"user_name,omitempty"` // 备注人姓名 UserID int64 `json:"user_id,omitempty"` // 备注人ID }
GetHelpdeskTicketListRespTicketComments ...
type GetHelpdeskTicketListRespTicketCustomizedField ¶
type GetHelpdeskTicketListRespTicketCustomizedField struct { ID string `json:"id,omitempty"` // 自定义字段ID Value string `json:"value,omitempty"` // 自定义字段值 KeyName string `json:"key_name,omitempty"` // 键名 DisplayName string `json:"display_name,omitempty"` // 展示名称 Position int64 `json:"position,omitempty"` // 展示位置 Required bool `json:"required,omitempty"` // 是否必填 Editable bool `json:"editable,omitempty"` // 是否可修改 }
GetHelpdeskTicketListRespTicketCustomizedField ...
type GetHelpdeskTicketListRespTicketGuest ¶
type GetHelpdeskTicketListRespTicketGuest struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketListRespTicketGuest ...
type GetHelpdeskTicketMessageListReq ¶
type GetHelpdeskTicketMessageListReq struct { TimeStart *int64 `query:"time_start" json:"-"` // 起始时间, 示例值:1617960686000 TimeEnd *int64 `query:"time_end" json:"-"` // 结束时间, 示例值:1617960687000 Page *int64 `query:"page" json:"-"` // 页数ID, 示例值:1 PageSize *int64 `query:"page_size" json:"-"` // 消息数量,最大200,默认20, 示例值:10 TicketID string `path:"ticket_id" json:"-"` // 工单ID, 示例值:"6948728206392295444" }
GetHelpdeskTicketMessageListReq ...
type GetHelpdeskTicketMessageListResp ¶
type GetHelpdeskTicketMessageListResp struct { Messages []*GetHelpdeskTicketMessageListRespMessage `json:"messages,omitempty"` // 工单消息列表 Total int64 `json:"total,omitempty"` // 消息总数 }
GetHelpdeskTicketMessageListResp ...
type GetHelpdeskTicketMessageListRespMessage ¶
type GetHelpdeskTicketMessageListRespMessage struct { ID string `json:"id,omitempty"` // 工单消息ID MessageID string `json:"message_id,omitempty"` // chat消息ID MessageType MsgType `json:"message_type,omitempty"` // 消息类型;text:纯文本;post:富文本 CreatedAt int64 `json:"created_at,omitempty"` // 创建时间 Content string `json:"content,omitempty"` // 内容 UserName string `json:"user_name,omitempty"` // 用户名 AvatarURL string `json:"avatar_url,omitempty"` // 用户图片url UserID string `json:"user_id,omitempty"` // 用户open ID }
GetHelpdeskTicketMessageListRespMessage ...
type GetHelpdeskTicketReq ¶
type GetHelpdeskTicketReq struct {
TicketID string `path:"ticket_id" json:"-"` // ticket id, 示例值:"123456"
}
GetHelpdeskTicketReq ...
type GetHelpdeskTicketResp ¶
type GetHelpdeskTicketResp struct {
Ticket *GetHelpdeskTicketRespTicket `json:"ticket,omitempty"` // 工单详情
}
GetHelpdeskTicketResp ...
type GetHelpdeskTicketRespTicket ¶
type GetHelpdeskTicketRespTicket struct { TicketID string `json:"ticket_id,omitempty"` // 工单ID,[可以从工单列表里面取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list),[也可以订阅工单创建事件获取](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/events/created) HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Guest *GetHelpdeskTicketRespTicketGuest `json:"guest,omitempty"` // 工单创建用户 Comments *GetHelpdeskTicketRespTicketComments `json:"comments,omitempty"` // 备注 TicketType int64 `json:"ticket_type,omitempty"` // 工单阶段:1. 机器人 2. 人工 Status int64 `json:"status,omitempty"` // 工单状态,1:已创建 2: 处理中 3: 排队中 4:待定 5:待用户响应 50: 被机器人关闭 51: 被客服关闭 52: 用户自己关闭 Score int64 `json:"score,omitempty"` // 工单评分,1:不满意,2:一般,3:满意 CreatedAt int64 `json:"created_at,omitempty"` // 工单创建时间 UpdatedAt int64 `json:"updated_at,omitempty"` // 工单更新时间,没有值时为-1 ClosedAt int64 `json:"closed_at,omitempty"` // 工单结束时间 DissatisfactionReason []string `json:"dissatisfaction_reason,omitempty"` // 不满意原因 Agents []*GetHelpdeskTicketRespTicketAgent `json:"agents,omitempty"` // 工单客服 Channel int64 `json:"channel,omitempty"` // 工单渠道,描述:,9:Open API 2:二维码 14:分享 13:搜索 其他数字:其他渠道 Solve int64 `json:"solve,omitempty"` // 工单是否解决 1:没解决 2:已解决 ClosedBy *GetHelpdeskTicketRespTicketClosedBy `json:"closed_by,omitempty"` // 关单用户ID Collaborators []*GetHelpdeskTicketRespTicketCollaborator `json:"collaborators,omitempty"` // 工单协作者 CustomizedFields []*GetHelpdeskTicketRespTicketCustomizedField `json:"customized_fields,omitempty"` // 自定义字段列表,没有值时不设置 ,下拉菜单的value对应工单字段里面的children.display_name,[获取全部工单自定义字段](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_customized_field/list-ticket-customized-fields) AgentServiceDuration float64 `json:"agent_service_duration,omitempty"` // 客服服务时长,客服最后一次回复时间距离客服进入时间间隔,单位分钟 AgentFirstResponseDuration int64 `json:"agent_first_response_duration,omitempty"` // 客服首次回复时间距离客服进入时间的间隔(秒) BotServiceDuration int64 `json:"bot_service_duration,omitempty"` // 机器人服务时间:客服进入时间距离工单创建时间的间隔,单位秒 AgentResolutionTime int64 `json:"agent_resolution_time,omitempty"` // 客服解决时长,关单时间距离客服进入时间的间隔,单位秒 ActualProcessingTime int64 `json:"actual_processing_time,omitempty"` // 工单实际处理时间:从客服进入到关单,单位秒 AgentEntryTime int64 `json:"agent_entry_time,omitempty"` // 客服进入时间,单位毫秒 AgentFirstResponseTime int64 `json:"agent_first_response_time,omitempty"` // 客服首次回复时间,单位毫秒 AgentLastResponseTime int64 `json:"agent_last_response_time,omitempty"` // 客服最后回复时间,单位毫秒 }
GetHelpdeskTicketRespTicket ...
type GetHelpdeskTicketRespTicketAgent ¶
type GetHelpdeskTicketRespTicketAgent struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketRespTicketAgent ...
type GetHelpdeskTicketRespTicketClosedBy ¶
type GetHelpdeskTicketRespTicketClosedBy struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketRespTicketClosedBy ...
type GetHelpdeskTicketRespTicketCollaborator ¶
type GetHelpdeskTicketRespTicketCollaborator struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketRespTicketCollaborator ...
type GetHelpdeskTicketRespTicketComments ¶
type GetHelpdeskTicketRespTicketComments struct { Content string `json:"content,omitempty"` // 备注 CreatedAt int64 `json:"created_at,omitempty"` // 备注时间,单位毫秒 ID int64 `json:"id,omitempty"` // 备注ID UserAvatarURL string `json:"user_avatar_url,omitempty"` // 备注人头像 UserName string `json:"user_name,omitempty"` // 备注人姓名 UserID int64 `json:"user_id,omitempty"` // 备注人ID }
GetHelpdeskTicketRespTicketComments ...
type GetHelpdeskTicketRespTicketCustomizedField ¶
type GetHelpdeskTicketRespTicketCustomizedField struct { ID string `json:"id,omitempty"` // 自定义字段ID Value string `json:"value,omitempty"` // 自定义字段值 KeyName string `json:"key_name,omitempty"` // 键名 DisplayName string `json:"display_name,omitempty"` // 展示名称 Position int64 `json:"position,omitempty"` // 展示位置 Required bool `json:"required,omitempty"` // 是否必填 Editable bool `json:"editable,omitempty"` // 是否可修改 }
GetHelpdeskTicketRespTicketCustomizedField ...
type GetHelpdeskTicketRespTicketGuest ¶
type GetHelpdeskTicketRespTicketGuest struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Email string `json:"email,omitempty"` // 用户邮箱 Department string `json:"department,omitempty"` // 所在部门名称 City string `json:"city,omitempty"` // 城市 Country string `json:"country,omitempty"` // 国家代号(CountryCode),参考:http://www.mamicode.com/info-detail-2186501.html }
GetHelpdeskTicketRespTicketGuest ...
type GetHireApplicationInterviewListReq ¶
type GetHireApplicationInterviewListReq struct { PageSize int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xx" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ApplicationID string `path:"application_id" json:"-"` // 投递ID, 示例值:"6949805467799537964" }
GetHireApplicationInterviewListReq ...
type GetHireApplicationInterviewListResp ¶
type GetHireApplicationInterviewListResp struct { PageToken string `json:"page_token,omitempty"` // 分页标志 HasMore bool `json:"has_more,omitempty"` // 是否有更多 Items []*GetHireApplicationInterviewListRespItem `json:"items,omitempty"` // 面试列表 }
GetHireApplicationInterviewListResp ...
type GetHireApplicationInterviewListRespItem ¶
type GetHireApplicationInterviewListRespItem struct { ID string `json:"id,omitempty"` // 面试id BeginTime int64 `json:"begin_time,omitempty"` // 面试开始时间(ms) EndTime int64 `json:"end_time,omitempty"` // 面试结束时间(ms) Round int64 `json:"round,omitempty"` // 面试轮次(从0开始计数) StageID string `json:"stage_id,omitempty"` // 面试关联的投递阶段 InterviewRecordList []*GetHireApplicationInterviewListRespItemInterviewRecord `json:"interview_record_list,omitempty"` // 面试官记录列表 }
GetHireApplicationInterviewListRespItem ...
type GetHireApplicationInterviewListRespItemInterviewRecord ¶
type GetHireApplicationInterviewListRespItemInterviewRecord struct { ID string `json:"id,omitempty"` // 面试记录id UserID string `json:"user_id,omitempty"` // 面试官用户id Content string `json:"content,omitempty"` // 面试评价 MinJobLevelID string `json:"min_job_level_id,omitempty"` // 建议定级下限的职级id MaxJobLevelID string `json:"max_job_level_id,omitempty"` // 建议定级上限的职级id CommitStatus int64 `json:"commit_status,omitempty"` // 提交状态, 可选值有: `1`:已提交, `2`:未提交 Conclusion int64 `json:"conclusion,omitempty"` // 面试结论, 可选值有: `1`:通过, `2`:未通过, `3`:未开始, `4`:未提交, `5`:未到场 InterviewScore *GetHireApplicationInterviewListRespItemInterviewRecordInterviewScore `json:"interview_score,omitempty"` // 面试评分 }
GetHireApplicationInterviewListRespItemInterviewRecord ...
type GetHireApplicationInterviewListRespItemInterviewRecordInterviewScore ¶
type GetHireApplicationInterviewListRespItemInterviewRecordInterviewScore struct { ID string `json:"id,omitempty"` // 面试评分id Level int64 `json:"level,omitempty"` // 分数级别 ZhName string `json:"zh_name,omitempty"` // 中文名称 ZhDescription string `json:"zh_description,omitempty"` // 中文描述 EnName string `json:"en_name,omitempty"` // 英文名称 EnDescription string `json:"en_description,omitempty"` // 英文描述 }
GetHireApplicationInterviewListRespItemInterviewRecordInterviewScore ...
type GetHireApplicationListReq ¶
type GetHireApplicationListReq struct { ProcessID *string `query:"process_id" json:"-"` // 按流程过滤,招聘流程 ID,枚举值通过接口「获取招聘流程信息」接口获取, 示例值:"6960663240925956554" StageID *string `query:"stage_id" json:"-"` // 按招聘阶段过滤,招聘阶段 ID,枚举值通过「获取招聘流程信息」接口获取, 示例值:"614218419274131" TalentID *string `query:"talent_id" json:"-"` // 按人才过滤, 示例值:"6891560630172518670" ActiveStatus *string `query:"active_status" json:"-"` // 按活跃状态筛选 1=活跃投递, 2=非活跃投递, 3=全部,, 示例值:"1" PageToken *string `query:"page_token" json:"-"` // 查询游标, 由上一页结果返回, 第一页不传, 示例值:"1" PageSize *int64 `query:"page_size" json:"-"` // 每页限制, 每页最大不超过100, 示例值:100 UpdateStartTime *string `query:"update_start_time" json:"-"` // 最早更新时间,毫秒级时间戳, 示例值:"1618500278663" UpdateEndTime *string `query:"update_end_time" json:"-"` // 最晚更新时间,毫秒级时间戳, 示例值:"1618500278663" }
GetHireApplicationListReq ...
type GetHireApplicationListResp ¶
type GetHireApplicationListResp struct { Items []string `json:"items,omitempty"` // 投递数据列表 PageToken string `json:"page_token,omitempty"` // 游标, 翻下一页数据时使用 HasMore bool `json:"has_more,omitempty"` // 是否还有下一页数据 }
GetHireApplicationListResp ...
type GetHireApplicationReq ¶
type GetHireApplicationReq struct {
ApplicationID string `path:"application_id" json:"-"` // 投递 ID, 示例值:"6949805467799537964"
}
GetHireApplicationReq ...
type GetHireApplicationResp ¶
type GetHireApplicationResp struct {
Application *GetHireApplicationRespApplication `json:"application,omitempty"` // 投递数据
}
GetHireApplicationResp ...
type GetHireApplicationRespApplication ¶
type GetHireApplicationRespApplication struct { ID string `json:"id,omitempty"` // 投递id JobID string `json:"job_id,omitempty"` // 投递的职位 ID TalentID string `json:"talent_id,omitempty"` // 候选人 ID ResumeResourceID string `json:"resume_resource_id,omitempty"` // 简历来源 ID Stage *GetHireApplicationRespApplicationStage `json:"stage,omitempty"` // 投递处于的阶段 ActiveStatus int64 `json:"active_status,omitempty"` // 活跃状态, 可选值有: `1`:活跃, `2`:非活跃, `3`:全部 DeliveryType int64 `json:"delivery_type,omitempty"` // 投递方式, 可选值有: `1`:HR寻访, `2`:候选人主动投递 ResumeSourceInfo *GetHireApplicationRespApplicationResumeSourceInfo `json:"resume_source_info,omitempty"` // 投递来源信息 TalentAttachmentResumeID string `json:"talent_attachment_resume_id,omitempty"` // 简历附件 ID CreateTime string `json:"create_time,omitempty"` // 创建时间 ModifyTime string `json:"modify_time,omitempty"` // 修改时间 StageTimeList []*GetHireApplicationRespApplicationStageTime `json:"stage_time_list,omitempty"` // 阶段变更时间列表 TerminationType int64 `json:"termination_type,omitempty"` // 终止原因的类型, 可选值有: `1`:我们拒绝了候选人, `22`:候选人拒绝了我们, `27`:其他 TerminationReasonList []string `json:"termination_reason_list,omitempty"` // 终止的具体原因的id列表 TerminationReasonNote string `json:"termination_reason_note,omitempty"` // 终止备注 }
GetHireApplicationRespApplication ...
type GetHireApplicationRespApplicationResumeSourceInfo ¶
type GetHireApplicationRespApplicationResumeSourceInfo struct { ID string `json:"id,omitempty"` // 投递来源 ID Name *GetHireApplicationRespApplicationResumeSourceInfoName `json:"name,omitempty"` // 投递来源名称 ResumeSourceType int64 `json:"resume_source_type,omitempty"` // 投递来源类型, 可选值有: `10000`:内推, `10001`:猎头, `10002`:内部来源, `10003`:第三方招聘网站, `10004`:社交媒体, `10005`:线下来源, `10006`:其他, `10007`:外部推荐 }
GetHireApplicationRespApplicationResumeSourceInfo ...
type GetHireApplicationRespApplicationResumeSourceInfoName ¶
type GetHireApplicationRespApplicationResumeSourceInfoName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireApplicationRespApplicationResumeSourceInfoName ...
type GetHireApplicationRespApplicationStage ¶
type GetHireApplicationRespApplicationStage struct { ID string `json:"id,omitempty"` // 阶段 ID ZhName string `json:"zh_name,omitempty"` // 阶段中文名字 EnName string `json:"en_name,omitempty"` // 英文名 Type int64 `json:"type,omitempty"` // 阶段类型, 可选值有: `1`:筛选型, `2`:评估型, `3`:笔试型, `4`:面试型, `5`:Offer型, `6`:待入职, `7`:已入职, `8`:其它类型, `255`:系统默认 }
GetHireApplicationRespApplicationStage ...
type GetHireApplicationRespApplicationStageTime ¶
type GetHireApplicationRespApplicationStageTime struct { StageID string `json:"stage_id,omitempty"` // 阶段 ID EnterTime string `json:"enter_time,omitempty"` // 最近一次进入该阶段的时间 ExitTime string `json:"exit_time,omitempty"` // 最后一次离开时间,如当前在该阶段,则为空 }
GetHireApplicationRespApplicationStageTime ...
type GetHireAttachmentPreviewReq ¶
type GetHireAttachmentPreviewReq struct {
AttachmentID string `path:"attachment_id" json:"-"` // 附件id, 示例值:"11111"
}
GetHireAttachmentPreviewReq ...
type GetHireAttachmentPreviewResp ¶
type GetHireAttachmentPreviewResp struct {
URL string `json:"url,omitempty"` // 预览链接
}
GetHireAttachmentPreviewResp ...
type GetHireAttachmentReq ¶
type GetHireAttachmentReq struct {
AttachmentID string `path:"attachment_id" json:"-"` // 附件id, 示例值:"6435242341238"
}
GetHireAttachmentReq ...
type GetHireAttachmentResp ¶
type GetHireAttachmentResp struct {
Attachment *GetHireAttachmentRespAttachment `json:"attachment,omitempty"` // 附件信息
}
GetHireAttachmentResp ...
type GetHireAttachmentRespAttachment ¶
type GetHireAttachmentRespAttachment struct { ID string `json:"id,omitempty"` // 附件id URL string `json:"url,omitempty"` // 附件的url Name string `json:"name,omitempty"` // 附件文件名 Mime string `json:"mime,omitempty"` // 媒体类型/MIME CreateTime int64 `json:"create_time,omitempty"` // 附件创建时间(单位ms) }
GetHireAttachmentRespAttachment ...
type GetHireEmployeeByApplicationReq ¶
type GetHireEmployeeByApplicationReq struct {
ApplicationID string `query:"application_id" json:"-"` // 投递ID, 示例值:"123"
}
GetHireEmployeeByApplicationReq ...
type GetHireEmployeeByApplicationResp ¶
type GetHireEmployeeByApplicationResp struct {
Employee *GetHireEmployeeByApplicationRespEmployee `json:"employee,omitempty"` // 员工信息
}
GetHireEmployeeByApplicationResp ...
type GetHireEmployeeByApplicationRespEmployee ¶
type GetHireEmployeeByApplicationRespEmployee struct { ID string `json:"id,omitempty"` // 员工ID ApplicationID string `json:"application_id,omitempty"` // 投递ID OnboardStatus int64 `json:"onboard_status,omitempty"` // 入职状态, 可选值有: `1`:已入职, `2`:已离职 ConversionStatus int64 `json:"conversion_status,omitempty"` // 转正状态, 可选值有: `1`:未转正, `2`:已转正 OnboardTime int64 `json:"onboard_time,omitempty"` // 实际入职时间 ExpectedConversionTime int64 `json:"expected_conversion_time,omitempty"` // 预期转正时间 ActualConversionTime int64 `json:"actual_conversion_time,omitempty"` // 实际转正时间 OverboardTime int64 `json:"overboard_time,omitempty"` // 离职时间 OverboardNote string `json:"overboard_note,omitempty"` // 离职原因 }
GetHireEmployeeByApplicationRespEmployee ...
type GetHireEmployeeReq ¶
type GetHireEmployeeReq struct {
EmployeeID string `path:"employee_id" json:"-"` // 员工ID, 示例值:"123"
}
GetHireEmployeeReq ...
type GetHireEmployeeResp ¶
type GetHireEmployeeResp struct {
Employee *GetHireEmployeeRespEmployee `json:"employee,omitempty"` // 员工信息
}
GetHireEmployeeResp ...
type GetHireEmployeeRespEmployee ¶
type GetHireEmployeeRespEmployee struct { ID string `json:"id,omitempty"` // 员工ID ApplicationID string `json:"application_id,omitempty"` // 投递ID OnboardStatus int64 `json:"onboard_status,omitempty"` // 入职状态, 可选值有: `1`:已入职, `2`:已离职 ConversionStatus int64 `json:"conversion_status,omitempty"` // 转正状态, 可选值有: `1`:未转正, `2`:已转正 OnboardTime int64 `json:"onboard_time,omitempty"` // 实际入职时间 ExpectedConversionTime int64 `json:"expected_conversion_time,omitempty"` // 预期转正时间 ActualConversionTime int64 `json:"actual_conversion_time,omitempty"` // 实际转正时间 OverboardTime int64 `json:"overboard_time,omitempty"` // 离职时间 OverboardNote string `json:"overboard_note,omitempty"` // 离职原因 }
GetHireEmployeeRespEmployee ...
type GetHireJobManagerReq ¶
type GetHireJobManagerReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID JobID string `path:"job_id" json:"-"` // 职位ID, 示例值:"1618209327096" ManagerID string `path:"manager_id" json:"-"` // 人员ID,目前传职位ID, 示例值:"1618209327096" }
GetHireJobManagerReq ...
type GetHireJobManagerResp ¶
type GetHireJobManagerResp struct {
Info *GetHireJobManagerRespInfo `json:"info,omitempty"` // 职位负责人
}
GetHireJobManagerResp ...
type GetHireJobManagerRespInfo ¶
type GetHireJobManagerRespInfo struct { ID string `json:"id,omitempty"` // 职位ID RecruiterID string `json:"recruiter_id,omitempty"` // 招聘负责人ID HiringManagerIDList []string `json:"hiring_manager_id_list,omitempty"` // 用人经理ID列表 AssistantIDList []string `json:"assistant_id_list,omitempty"` // 协助人ID列表 }
GetHireJobManagerRespInfo ...
type GetHireJobProcessListReq ¶
type GetHireJobProcessListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 不能超过 100, 示例值:10 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"1" }
GetHireJobProcessListReq ...
type GetHireJobProcessListResp ¶
type GetHireJobProcessListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetHireJobProcessListRespItem `json:"items,omitempty"` // 列表 }
GetHireJobProcessListResp ...
type GetHireJobProcessListRespItem ¶
type GetHireJobProcessListRespItem struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Type int64 `json:"type,omitempty"` // 类型 1=社招流程, 2=校招流程,, 可选值有: `1`:社招流程, `2`:校招流程 StageList []*GetHireJobProcessListRespItemStage `json:"stage_list,omitempty"` // 阶段列表, 内部按用户设置顺序排列 }
GetHireJobProcessListRespItem ...
type GetHireJobProcessListRespItemStage ¶
type GetHireJobProcessListRespItemStage struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Type int64 `json:"type,omitempty"` // 1=筛选型, 2=评估型, 3=笔试型, 4=面试型, 5=Offer型, 6=待入职, 7=已入职, 8=其它类型, 255=系统默认,后端模型中并没有该字段,仅用于前端显示,, 可选值有: `1`:筛选型, `2`:评估型, `3`:笔试型, `4`:面试型, `5`:Offer型, `6`:待入职, `7`:已入职, `8`:其它类型, `255`:系统默认 }
GetHireJobProcessListRespItemStage ...
type GetHireJobReq ¶
type GetHireJobReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID JobID int64 `path:"job_id" json:"-"` // 职位 ID,请求Path中, 示例值:6001 }
GetHireJobReq ...
type GetHireJobResp ¶
type GetHireJobResp struct {
Job *GetHireJobRespJob `json:"job,omitempty"` // 职位数据
}
GetHireJobResp ...
type GetHireJobRespJob ¶
type GetHireJobRespJob struct { ID string `json:"id,omitempty"` // 职位 ID Title string `json:"title,omitempty"` // 职位名称 Description string `json:"description,omitempty"` // 职位描述 Requirement string `json:"requirement,omitempty"` // 职位要求 RecruitmentType *GetHireJobRespJobRecruitmentType `json:"recruitment_type,omitempty"` // 雇佣类型 Department *GetHireJobRespJobDepartment `json:"department,omitempty"` // 部门 City *GetHireJobRespJobCity `json:"city,omitempty"` // 工作地点 MinJobLevel *GetHireJobRespJobMinJobLevel `json:"min_job_level,omitempty"` // 最低职级 MaxJobLevel *GetHireJobRespJobMaxJobLevel `json:"max_job_level,omitempty"` // 最高职级 HighlightList []*GetHireJobRespJobHighlight `json:"highlight_list,omitempty"` // 职位亮点 JobCategory *GetHireJobRespJobJobCategory `json:"job_category,omitempty"` // 职位序列 JobType *GetHireJobRespJobJobType `json:"job_type,omitempty"` // 职位类别 ActiveStatus int64 `json:"active_status,omitempty"` // 启用状态, 可选值有: `1`:启用, `2`:未启用 CreateUserID string `json:"create_user_id,omitempty"` // 创建人ID,若为空则为系统或其他对接系统创建 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 更新时间 ProcessType int64 `json:"process_type,omitempty"` // 职位流程类型, 可选值有: `1`:社招流程, `2`:校招流程 ProcessID string `json:"process_id,omitempty"` // 职位流程 ID ProcessName string `json:"process_name,omitempty"` // 职位流程中文名称 ProcessEnName string `json:"process_en_name,omitempty"` // 职位流程英文名称 CustomizedDataList []*GetHireJobRespJobCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段列表 JobFunction *GetHireJobRespJobJobFunction `json:"job_function,omitempty"` // 职能分类 Subject *GetHireJobRespJobSubject `json:"subject,omitempty"` // 职位项目 }
GetHireJobRespJob ...
type GetHireJobRespJobCity ¶
type GetHireJobRespJobCity struct { CityCode string `json:"city_code,omitempty"` // 工作地点城市代码 ZhName string `json:"zh_name,omitempty"` // 工作地点中文名称 EnName string `json:"en_name,omitempty"` // 工作地点英文名称 }
GetHireJobRespJobCity ...
type GetHireJobRespJobCustomizedData ¶
type GetHireJobRespJobCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireJobRespJobCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireJobRespJobCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireJobRespJobCustomizedData ...
type GetHireJobRespJobCustomizedDataName ¶
type GetHireJobRespJobCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireJobRespJobCustomizedDataName ...
type GetHireJobRespJobCustomizedDataValue ¶
type GetHireJobRespJobCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireJobRespJobCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireJobRespJobCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireJobRespJobCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是毫秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireJobRespJobCustomizedDataValue ...
type GetHireJobRespJobCustomizedDataValueOption ¶
type GetHireJobRespJobCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireJobRespJobCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireJobRespJobCustomizedDataValueOption ...
type GetHireJobRespJobCustomizedDataValueOptionName ¶
type GetHireJobRespJobCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireJobRespJobCustomizedDataValueOptionName ...
type GetHireJobRespJobCustomizedDataValueTimeRange ¶
type GetHireJobRespJobCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间 }
GetHireJobRespJobCustomizedDataValueTimeRange ...
type GetHireJobRespJobDepartment ¶
type GetHireJobRespJobDepartment struct { ID string `json:"id,omitempty"` // 部门 ID ZhName string `json:"zh_name,omitempty"` // 部门中文名称 EnName string `json:"en_name,omitempty"` // 部门英文名称 }
GetHireJobRespJobDepartment ...
type GetHireJobRespJobHighlight ¶
type GetHireJobRespJobHighlight struct { ID string `json:"id,omitempty"` // 职位亮点 ID ZhName string `json:"zh_name,omitempty"` // 职位亮点中文名称 EnName string `json:"en_name,omitempty"` // 职位亮点英文名称 }
GetHireJobRespJobHighlight ...
type GetHireJobRespJobJobCategory ¶
type GetHireJobRespJobJobCategory struct { ID string `json:"id,omitempty"` // 职位序列 ID ZhName string `json:"zh_name,omitempty"` // 职位序列中文名称 EnName string `json:"en_name,omitempty"` // 职位序列英文名称 ActiveStatus int64 `json:"active_status,omitempty"` // 职位序列启用状态, 可选值有: `1`:启用, `2`:未启用 }
GetHireJobRespJobJobCategory ...
type GetHireJobRespJobJobFunction ¶
type GetHireJobRespJobJobFunction struct { ID string `json:"id,omitempty"` // ID Name *GetHireJobRespJobJobFunctionName `json:"name,omitempty"` // 名称 }
GetHireJobRespJobJobFunction ...
type GetHireJobRespJobJobFunctionName ¶
type GetHireJobRespJobJobFunctionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireJobRespJobJobFunctionName ...
type GetHireJobRespJobJobType ¶
type GetHireJobRespJobJobType struct { ID string `json:"id,omitempty"` // 职位类别 ID ZhName string `json:"zh_name,omitempty"` // 职位类别中文名称 EnName string `json:"en_name,omitempty"` // 职位类别英文名称 }
GetHireJobRespJobJobType ...
type GetHireJobRespJobMaxJobLevel ¶
type GetHireJobRespJobMaxJobLevel struct { ID string `json:"id,omitempty"` // 职级 ID ZhName string `json:"zh_name,omitempty"` // 职级中文名称 EnName string `json:"en_name,omitempty"` // 职级英文名称 ActiveStatus int64 `json:"active_status,omitempty"` // 职级启用状态, 可选值有: `1`:启用, `2`:未启用 }
GetHireJobRespJobMaxJobLevel ...
type GetHireJobRespJobMinJobLevel ¶
type GetHireJobRespJobMinJobLevel struct { ID string `json:"id,omitempty"` // 职级 ID ZhName string `json:"zh_name,omitempty"` // 职级中文名称 EnName string `json:"en_name,omitempty"` // 职级英文名称 ActiveStatus int64 `json:"active_status,omitempty"` // 职级启用状态, 可选值有: `1`:启用, `2`:未启用 }
GetHireJobRespJobMinJobLevel ...
type GetHireJobRespJobRecruitmentType ¶
type GetHireJobRespJobRecruitmentType struct { ID string `json:"id,omitempty"` // 雇佣类型 ID ZhName string `json:"zh_name,omitempty"` // 雇佣类型中文名称 EnName string `json:"en_name,omitempty"` // 雇佣类型英文名称 ActiveStatus int64 `json:"active_status,omitempty"` // 雇佣类型启用状态, 可选值有: `1`:启用, `2`:未启用 }
GetHireJobRespJobRecruitmentType ...
type GetHireJobRespJobSubject ¶
type GetHireJobRespJobSubject struct { ID string `json:"id,omitempty"` // ID Name *GetHireJobRespJobSubjectName `json:"name,omitempty"` // 名称 }
GetHireJobRespJobSubject ...
type GetHireJobRespJobSubjectName ¶
type GetHireJobRespJobSubjectName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireJobRespJobSubjectName ...
type GetHireNoteListReq ¶
type GetHireNoteListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 每页限制, 每页最大不超过100, 示例值:10 PageToken *string `query:"page_token" json:"-"` // 查询游标, 由上一页结果返回, 第一页不传, 示例值:"1" TalentID string `query:"talent_id" json:"-"` // 人才ID, 示例值:"6916472453069883661" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetHireNoteListReq ...
type GetHireNoteListResp ¶
type GetHireNoteListResp struct { Items []*GetHireNoteListRespItem `json:"items,omitempty"` // 备注数据列表 HasMore bool `json:"has_more,omitempty"` // 是否还有下一页数据 PageToken string `json:"page_token,omitempty"` // 游标, 翻下一页数据时使用 }
GetHireNoteListResp ...
type GetHireNoteListRespItem ¶
type GetHireNoteListRespItem struct { ID string `json:"id,omitempty"` // 备注ID TalentID string `json:"talent_id,omitempty"` // 人才ID ApplicationID string `json:"application_id,omitempty"` // 投递ID IsPrivate bool `json:"is_private,omitempty"` // 是否私密 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 ModifyTime int64 `json:"modify_time,omitempty"` // 更新时间 CreatorID string `json:"creator_id,omitempty"` // 创建人ID Content string `json:"content,omitempty"` // 内容 }
GetHireNoteListRespItem ...
type GetHireNoteReq ¶
type GetHireNoteReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID NoteID string `path:"note_id" json:"-"` // 备注ID, 示例值:"6949805467799537964" }
GetHireNoteReq ...
type GetHireNoteResp ¶
type GetHireNoteResp struct {
Note *GetHireNoteRespNote `json:"note,omitempty"` // 备注数据
}
GetHireNoteResp ...
type GetHireNoteRespNote ¶
type GetHireNoteRespNote struct { ID string `json:"id,omitempty"` // 备注ID TalentID string `json:"talent_id,omitempty"` // 人才ID ApplicationID string `json:"application_id,omitempty"` // 投递ID IsPrivate bool `json:"is_private,omitempty"` // 是否私密 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 ModifyTime int64 `json:"modify_time,omitempty"` // 更新时间 CreatorID string `json:"creator_id,omitempty"` // 创建人ID Content string `json:"content,omitempty"` // 内容 }
GetHireNoteRespNote ...
type GetHireOfferByApplicationReq ¶
type GetHireOfferByApplicationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ApplicationID string `path:"application_id" json:"-"` // 投递ID, 示例值:"6949805467799537964" }
GetHireOfferByApplicationReq ...
type GetHireOfferByApplicationResp ¶
type GetHireOfferByApplicationResp struct {
Offer *GetHireOfferByApplicationRespOffer `json:"offer,omitempty"` // Offer数据
}
GetHireOfferByApplicationResp ...
type GetHireOfferByApplicationRespOffer ¶
type GetHireOfferByApplicationRespOffer struct { ID string `json:"id,omitempty"` // Offer id ApplicationID string `json:"application_id,omitempty"` // 投递id BasicInfo *GetHireOfferByApplicationRespOfferBasicInfo `json:"basic_info,omitempty"` // 基础信息 SalaryPlan *GetHireOfferByApplicationRespOfferSalaryPlan `json:"salary_plan,omitempty"` // 薪酬计划 SchemaID string `json:"schema_id,omitempty"` // 当前offer使用的schema OfferStatus int64 `json:"offer_status,omitempty"` // Offer状态, 可选值有: `0`:所有, `1`:未申请, `2`:审批中, `3`:审批已撤回, `4`:审批通过, `5`:审批不通过, `6`:Offer 已发出, `7`:候选人已接受, `8`:候选人已拒绝, `9`:Offer 已失效 }
GetHireOfferByApplicationRespOffer ...
type GetHireOfferByApplicationRespOfferBasicInfo ¶
type GetHireOfferByApplicationRespOfferBasicInfo struct { OfferType int64 `json:"offer_type,omitempty"` // Offer类型 1=Social, 2=Campus, 3=Intern, 4=InternTransfer, 可选值有: `1`:Social, `2`:Campus, `3`:Intern, `4`:InternTransfer Remark string `json:"remark,omitempty"` // 备注 ExpireTime int64 `json:"expire_time,omitempty"` // Offer过期时间 OwnerUserID string `json:"owner_user_id,omitempty"` // offer 负责人 ID LeaderUserID string `json:"leader_user_id,omitempty"` // 直属上级 ID OnboardDate string `json:"onboard_date,omitempty"` // 入职日期 DepartmentID string `json:"department_id,omitempty"` // 入职部门 ProbationMonth int64 `json:"probation_month,omitempty"` // 试用期, 比如试用期6个月 ContractYear int64 `json:"contract_year,omitempty"` // 合同期, 比如3年 RecruitmentType *GetHireOfferByApplicationRespOfferBasicInfoRecruitmentType `json:"recruitment_type,omitempty"` // 雇员类型 Sequence *GetHireOfferByApplicationRespOfferBasicInfoSequence `json:"sequence,omitempty"` // 序列 Level *GetHireOfferByApplicationRespOfferBasicInfoLevel `json:"level,omitempty"` // 级别 OnboardAddress *GetHireOfferByApplicationRespOfferBasicInfoOnboardAddress `json:"onboard_address,omitempty"` // 入职地点 WorkAddress *GetHireOfferByApplicationRespOfferBasicInfoWorkAddress `json:"work_address,omitempty"` // 工作地点 CustomizeInfoList []*GetHireOfferByApplicationRespOfferBasicInfoCustomizeInfo `json:"customize_info_list,omitempty"` // 自定义字段的value信息 }
GetHireOfferByApplicationRespOfferBasicInfo ...
type GetHireOfferByApplicationRespOfferBasicInfoCustomizeInfo ¶
type GetHireOfferByApplicationRespOfferBasicInfoCustomizeInfo struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段ID CustomizeValue string `json:"customize_value,omitempty"` // 自定义字段Value }
GetHireOfferByApplicationRespOfferBasicInfoCustomizeInfo ...
type GetHireOfferByApplicationRespOfferBasicInfoLevel ¶
type GetHireOfferByApplicationRespOfferBasicInfoLevel struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 }
GetHireOfferByApplicationRespOfferBasicInfoLevel ...
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddress ¶
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddress struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 District *GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressDistrict `json:"district,omitempty"` // 区域信息 City *GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCity `json:"city,omitempty"` // 城市信息 State *GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressState `json:"state,omitempty"` // 省信息 Country *GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCountry `json:"country,omitempty"` // 国家信息 }
GetHireOfferByApplicationRespOfferBasicInfoOnboardAddress ...
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCity ¶
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCity struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCity ...
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCountry ¶
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCountry struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressCountry ...
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressDistrict ¶
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressDistrict struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS, }
GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressDistrict ...
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressState ¶
type GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressState struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoOnboardAddressState ...
type GetHireOfferByApplicationRespOfferBasicInfoRecruitmentType ¶
type GetHireOfferByApplicationRespOfferBasicInfoRecruitmentType struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 }
GetHireOfferByApplicationRespOfferBasicInfoRecruitmentType ...
type GetHireOfferByApplicationRespOfferBasicInfoSequence ¶
type GetHireOfferByApplicationRespOfferBasicInfoSequence struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 }
GetHireOfferByApplicationRespOfferBasicInfoSequence ...
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddress ¶
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddress struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 District *GetHireOfferByApplicationRespOfferBasicInfoWorkAddressDistrict `json:"district,omitempty"` // 区域信息 City *GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCity `json:"city,omitempty"` // 城市信息 State *GetHireOfferByApplicationRespOfferBasicInfoWorkAddressState `json:"state,omitempty"` // 省信息 Country *GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCountry `json:"country,omitempty"` // 国家信息 }
GetHireOfferByApplicationRespOfferBasicInfoWorkAddress ...
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCity ¶
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCity struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCity ...
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCountry ¶
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCountry struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoWorkAddressCountry ...
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressDistrict ¶
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressDistrict struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS, }
GetHireOfferByApplicationRespOfferBasicInfoWorkAddressDistrict ...
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressState ¶
type GetHireOfferByApplicationRespOfferBasicInfoWorkAddressState struct { ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Code string `json:"code,omitempty"` // 编码 LocationType int64 `json:"location_type,omitempty"` // 地址类型 1=COUNTRY, 2=STATE, 3=CITY, 4=DISTRICT, 5=ADDRESS,, 可选值有: `1`:COUNTRY, `2`:STATE, `3`:CITY, `4`:DISTRICT, `5`:ADDRESS }
GetHireOfferByApplicationRespOfferBasicInfoWorkAddressState ...
type GetHireOfferByApplicationRespOfferSalaryPlan ¶
type GetHireOfferByApplicationRespOfferSalaryPlan struct { Currency string `json:"currency,omitempty"` // 币种 BasicSalary string `json:"basic_salary,omitempty"` // 基本薪资, 注意是json ProbationSalaryPercentage string `json:"probation_salary_percentage,omitempty"` // 试用期百分比 AwardSalaryMultiple string `json:"award_salary_multiple,omitempty"` // 年终奖月数 QuarterlyBonus string `json:"quarterly_bonus,omitempty"` // 季度奖金额 HalfYearBonus string `json:"half_year_bonus,omitempty"` // 半年奖金额 TotalAnnualCash string `json:"total_annual_cash,omitempty"` // 年度现金总额(数量,非公式) CustomizeInfoList []*GetHireOfferByApplicationRespOfferSalaryPlanCustomizeInfo `json:"customize_info_list,omitempty"` // 自定义字段的value信息 }
GetHireOfferByApplicationRespOfferSalaryPlan ...
type GetHireOfferByApplicationRespOfferSalaryPlanCustomizeInfo ¶
type GetHireOfferByApplicationRespOfferSalaryPlanCustomizeInfo struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段ID CustomizeValue string `json:"customize_value,omitempty"` // 自定义字段Value }
GetHireOfferByApplicationRespOfferSalaryPlanCustomizeInfo ...
type GetHireOfferSchemaReq ¶
type GetHireOfferSchemaReq struct {
OfferSchemaID string `path:"offer_schema_id" json:"-"` // offer申请表的ID *必需属性, 示例值:"1231231231231"
}
GetHireOfferSchemaReq ...
type GetHireOfferSchemaResp ¶
type GetHireOfferSchemaResp struct { ID string `json:"id,omitempty"` // offer申请表ID Scenario int64 `json:"scenario,omitempty"` // offer申请表使用场景, 可选值有: `1`:Offer审批表 Version int64 `json:"version,omitempty"` // 申请表版本 ObjectList []*GetHireOfferSchemaRespObject `json:"object_list,omitempty"` // 字段对象信息 }
GetHireOfferSchemaResp ...
type GetHireOfferSchemaRespObject ¶
type GetHireOfferSchemaRespObject struct { ID string `json:"id,omitempty"` // 字段ID Name *GetHireOfferSchemaRespObjectName `json:"name,omitempty"` // 字段名称 Type string `json:"type,omitempty"` // 字段类型, text=单行文本, long_text=多行文本, select=单选, multi_select=多选, date_select=日期, number=数字 IsCustomized bool `json:"is_customized,omitempty"` // 字段是否为自定义 OptionList []*GetHireOfferSchemaRespObjectOption `json:"option_list,omitempty"` // 单选/多选可选择字段的选项值 }
GetHireOfferSchemaRespObject ...
type GetHireOfferSchemaRespObjectName ¶
type GetHireOfferSchemaRespObjectName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文名 EnUs string `json:"en_us,omitempty"` // 英文名 }
GetHireOfferSchemaRespObjectName ...
type GetHireOfferSchemaRespObjectOption ¶
type GetHireOfferSchemaRespObjectOption struct { Name *GetHireOfferSchemaRespObjectOptionName `json:"name,omitempty"` // 名字 Index int64 `json:"index,omitempty"` // 选项序号 ActiveStatus int64 `json:"active_status,omitempty"` // 选项当前是否启用, 可选值有: `1`:进行中, `2`:已终止 }
GetHireOfferSchemaRespObjectOption ...
type GetHireOfferSchemaRespObjectOptionName ¶
type GetHireOfferSchemaRespObjectOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文名 EnUs string `json:"en_us,omitempty"` // 英文名 }
GetHireOfferSchemaRespObjectOptionName ...
type GetHireReferralByApplicationReq ¶
type GetHireReferralByApplicationReq struct { ApplicationID string `query:"application_id" json:"-"` // 投递的id, 示例值:"6134134355464633" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetHireReferralByApplicationReq ...
type GetHireReferralByApplicationResp ¶
type GetHireReferralByApplicationResp struct {
Referral *GetHireReferralByApplicationRespReferral `json:"referral,omitempty"` // 内推信息
}
GetHireReferralByApplicationResp ...
type GetHireReferralByApplicationRespReferral ¶
type GetHireReferralByApplicationRespReferral struct { ApplicationID string `json:"application_id,omitempty"` // 投递id CreateTime int64 `json:"create_time,omitempty"` // 创建时间(ms) ID string `json:"id,omitempty"` // 内推的id ReferralUserID string `json:"referral_user_id,omitempty"` // 内推人的id }
GetHireReferralByApplicationRespReferral ...
type GetHireResumeSourceReq ¶
type GetHireResumeSourceReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"1" }
GetHireResumeSourceReq ...
type GetHireResumeSourceResp ¶
type GetHireResumeSourceResp struct { Items []*GetHireResumeSourceRespItem `json:"items,omitempty"` // 数据 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetHireResumeSourceResp ...
type GetHireResumeSourceRespItem ¶
type GetHireResumeSourceRespItem struct { ID string `json:"id,omitempty"` // 来源 ID ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 ActiveStatus int64 `json:"active_status,omitempty"` // 启用状态, 可选值有: `1`:已启用, `2`:已禁用 ResumeSourceType int64 `json:"resume_source_type,omitempty"` // 来源类型, 可选值有: `10000`:内推, `10001`:猎头, `10002`:内部来源, `10003`:第三方招聘网站, `10004`:社交媒体, `10005`:线下来源, `10006`:其他, `10007`:外部推荐 }
GetHireResumeSourceRespItem ...
type GetHireTalentReq ¶
type GetHireTalentReq struct {
TalentID string `path:"talent_id" json:"-"` // 人才ID, 示例值:"6891560630172518670"
}
GetHireTalentReq ...
type GetHireTalentResp ¶
type GetHireTalentResp struct {
Talent *GetHireTalentRespTalent `json:"talent,omitempty"` // 人才信息
}
GetHireTalentResp ...
type GetHireTalentRespTalent ¶
type GetHireTalentRespTalent struct { ID string `json:"id,omitempty"` // 人才ID IsInAgencyPeriod bool `json:"is_in_agency_period,omitempty"` // 是否在猎头保护期, 可选值有: `false`:未在猎头保护期, `true`:在猎头保护期 BasicInfo *GetHireTalentRespTalentBasicInfo `json:"basic_info,omitempty"` // 基础信息 EducationList []*GetHireTalentRespTalentEducation `json:"education_list,omitempty"` // 教育经历 CareerList []*GetHireTalentRespTalentCareer `json:"career_list,omitempty"` // 工作经历 ProjectList []*GetHireTalentRespTalentProject `json:"project_list,omitempty"` // 项目经历 WorksList []*GetHireTalentRespTalentWorks `json:"works_list,omitempty"` // 作品 AwardList []*GetHireTalentRespTalentAward `json:"award_list,omitempty"` // 获奖 LanguageList []*GetHireTalentRespTalentLanguage `json:"language_list,omitempty"` // 语言能力 SnsList []*GetHireTalentRespTalentSns `json:"sns_list,omitempty"` // 社交账号 ResumeSourceList []*GetHireTalentRespTalentResumeSource `json:"resume_source_list,omitempty"` // 简历来源 InterviewRegistrationList []*GetHireTalentRespTalentInterviewRegistration `json:"interview_registration_list,omitempty"` // 面试登记表 ResumeAttachmentIDList []string `json:"resume_attachment_id_list,omitempty"` // 简历附件id列表(按照简历创建时间降序) CustomizedDataList []*GetHireTalentRespTalentCustomizedData `json:"customized_data_list,omitempty"` // 自定义模块 TopDegree int64 `json:"top_degree,omitempty"` // 最高学历, 可选值有: `1`:小学, `2`:初中, `3`:专职, `4`:高中, `5`:大专, `6`:本科, `7`:硕士, `8`:博士, `9`:其他 }
GetHireTalentRespTalent ...
type GetHireTalentRespTalentAward ¶
type GetHireTalentRespTalentAward struct { ID string `json:"id,omitempty"` // ID Title string `json:"title,omitempty"` // 获奖名称 AwardTime string `json:"award_time,omitempty"` // 获奖时间 Desc string `json:"desc,omitempty"` // 描述 CustomizedDataList []*GetHireTalentRespTalentAwardCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentAward ...
type GetHireTalentRespTalentAwardCustomizedData ¶
type GetHireTalentRespTalentAwardCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentAwardCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentAwardCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentAwardCustomizedData ...
type GetHireTalentRespTalentAwardCustomizedDataName ¶
type GetHireTalentRespTalentAwardCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentAwardCustomizedDataName ...
type GetHireTalentRespTalentAwardCustomizedDataValue ¶
type GetHireTalentRespTalentAwardCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentAwardCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentAwardCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentAwardCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentAwardCustomizedDataValue ...
type GetHireTalentRespTalentAwardCustomizedDataValueOption ¶
type GetHireTalentRespTalentAwardCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentAwardCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentAwardCustomizedDataValueOption ...
type GetHireTalentRespTalentAwardCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentAwardCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentAwardCustomizedDataValueOptionName ...
type GetHireTalentRespTalentAwardCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentAwardCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentAwardCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentBasicInfo ¶
type GetHireTalentRespTalentBasicInfo struct { Name string `json:"name,omitempty"` // 名字 Mobile string `json:"mobile,omitempty"` // 手机 MobileCountryCode string `json:"mobile_country_code,omitempty"` // 手机国家代码 Email string `json:"email,omitempty"` // 邮箱 ExperienceYears int64 `json:"experience_years,omitempty"` // 工作年限 Age int64 `json:"age,omitempty"` // 年龄 Nationality *GetHireTalentRespTalentBasicInfoNationality `json:"nationality,omitempty"` // 国籍 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `1`:男, `2`:女, `3`:其他 CurrentCity *GetHireTalentRespTalentBasicInfoCurrentCity `json:"current_city,omitempty"` // 所在地点 HometownCity *GetHireTalentRespTalentBasicInfoHometownCity `json:"hometown_city,omitempty"` // 家乡 PreferredCityList []*GetHireTalentRespTalentBasicInfoPreferredCity `json:"preferred_city_list,omitempty"` // 意向地点 IdentificationType int64 `json:"identification_type,omitempty"` // 证件类型, 可选值有: `1`:中国 - 居民身份证, `2`:护照, `3`:中国 - 港澳居民居住证, `4`:中国 - 台湾居民来往大陆通行证, `5`:其他, `6`:中国 - 港澳居民来往内地通行证, `9`:中国 - 台湾居民居住证 IdentificationNumber string `json:"identification_number,omitempty"` // 证件号 Birthday int64 `json:"birthday,omitempty"` // 生日 CreatorID string `json:"creator_id,omitempty"` // 创建人 MaritalStatus int64 `json:"marital_status,omitempty"` // 婚姻状况, 可选值有: `1`:已婚, `2`:未婚 CurrentHomeAddress string `json:"current_home_address,omitempty"` // 家庭住址 CustomizedDataList []*GetHireTalentRespTalentBasicInfoCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 ModifyTime string `json:"modify_time,omitempty"` // 修改时间 }
GetHireTalentRespTalentBasicInfo ...
type GetHireTalentRespTalentBasicInfoCurrentCity ¶
type GetHireTalentRespTalentBasicInfoCurrentCity struct { CityCode string `json:"city_code,omitempty"` // 城市码 ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetHireTalentRespTalentBasicInfoCurrentCity ...
type GetHireTalentRespTalentBasicInfoCustomizedData ¶
type GetHireTalentRespTalentBasicInfoCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentBasicInfoCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentBasicInfoCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentBasicInfoCustomizedData ...
type GetHireTalentRespTalentBasicInfoCustomizedDataName ¶
type GetHireTalentRespTalentBasicInfoCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentBasicInfoCustomizedDataName ...
type GetHireTalentRespTalentBasicInfoCustomizedDataValue ¶
type GetHireTalentRespTalentBasicInfoCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentBasicInfoCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentBasicInfoCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentBasicInfoCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentBasicInfoCustomizedDataValue ...
type GetHireTalentRespTalentBasicInfoCustomizedDataValueOption ¶
type GetHireTalentRespTalentBasicInfoCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentBasicInfoCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentBasicInfoCustomizedDataValueOption ...
type GetHireTalentRespTalentBasicInfoCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentBasicInfoCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentBasicInfoCustomizedDataValueOptionName ...
type GetHireTalentRespTalentBasicInfoCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentBasicInfoCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentBasicInfoCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentBasicInfoHometownCity ¶
type GetHireTalentRespTalentBasicInfoHometownCity struct { CityCode string `json:"city_code,omitempty"` // 城市码 ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetHireTalentRespTalentBasicInfoHometownCity ...
type GetHireTalentRespTalentBasicInfoNationality ¶
type GetHireTalentRespTalentBasicInfoNationality struct { NationalityCode string `json:"nationality_code,omitempty"` // 国家编码 ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetHireTalentRespTalentBasicInfoNationality ...
type GetHireTalentRespTalentBasicInfoPreferredCity ¶
type GetHireTalentRespTalentBasicInfoPreferredCity struct { CityCode string `json:"city_code,omitempty"` // 城市码 ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetHireTalentRespTalentBasicInfoPreferredCity ...
type GetHireTalentRespTalentCareer ¶
type GetHireTalentRespTalentCareer struct { ID string `json:"id,omitempty"` // ID Company string `json:"company,omitempty"` // 公司名称 Title string `json:"title,omitempty"` // 职位名称 Desc string `json:"desc,omitempty"` // 描述 StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间 CareerType int64 `json:"career_type,omitempty"` // 经历类型, 可选值有: `1`:实习经历, `2`:工作经历 TagList []int64 `json:"tag_list,omitempty"` // 工作经历标签, 可选值有: `5`:百度 阿里 腾讯, `6`:头条, 美团, 滴滴, `7`:其它大厂 CustomizedDataList []*GetHireTalentRespTalentCareerCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentCareer ...
type GetHireTalentRespTalentCareerCustomizedData ¶
type GetHireTalentRespTalentCareerCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentCareerCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentCareerCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentCareerCustomizedData ...
type GetHireTalentRespTalentCareerCustomizedDataName ¶
type GetHireTalentRespTalentCareerCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentCareerCustomizedDataName ...
type GetHireTalentRespTalentCareerCustomizedDataValue ¶
type GetHireTalentRespTalentCareerCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentCareerCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentCareerCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentCareerCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentCareerCustomizedDataValue ...
type GetHireTalentRespTalentCareerCustomizedDataValueOption ¶
type GetHireTalentRespTalentCareerCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentCareerCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentCareerCustomizedDataValueOption ...
type GetHireTalentRespTalentCareerCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentCareerCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentCareerCustomizedDataValueOptionName ...
type GetHireTalentRespTalentCareerCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentCareerCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentCareerCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentCustomizedData ¶
type GetHireTalentRespTalentCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 模块 ID Name *GetHireTalentRespTalentCustomizedDataName `json:"name,omitempty"` // 模块名称 ObjectType int64 `json:"object_type,omitempty"` // 类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Children *GetHireTalentRespTalentCustomizedDataChildren `json:"children,omitempty"` // 模块下的字段 }
GetHireTalentRespTalentCustomizedData ...
type GetHireTalentRespTalentCustomizedDataChildren ¶
type GetHireTalentRespTalentCustomizedDataChildren struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentCustomizedDataChildrenName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentCustomizedDataChildrenValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentCustomizedDataChildren ...
type GetHireTalentRespTalentCustomizedDataChildrenName ¶
type GetHireTalentRespTalentCustomizedDataChildrenName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentCustomizedDataChildrenName ...
type GetHireTalentRespTalentCustomizedDataChildrenValue ¶
type GetHireTalentRespTalentCustomizedDataChildrenValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentCustomizedDataChildrenValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentCustomizedDataChildrenValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentCustomizedDataChildrenValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentCustomizedDataChildrenValue ...
type GetHireTalentRespTalentCustomizedDataChildrenValueOption ¶
type GetHireTalentRespTalentCustomizedDataChildrenValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentCustomizedDataChildrenValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentCustomizedDataChildrenValueOption ...
type GetHireTalentRespTalentCustomizedDataChildrenValueOptionName ¶
type GetHireTalentRespTalentCustomizedDataChildrenValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentCustomizedDataChildrenValueOptionName ...
type GetHireTalentRespTalentCustomizedDataChildrenValueTimeRange ¶
type GetHireTalentRespTalentCustomizedDataChildrenValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentCustomizedDataChildrenValueTimeRange ...
type GetHireTalentRespTalentCustomizedDataName ¶
type GetHireTalentRespTalentCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentCustomizedDataName ...
type GetHireTalentRespTalentEducation ¶
type GetHireTalentRespTalentEducation struct { ID string `json:"id,omitempty"` // ID Degree int64 `json:"degree,omitempty"` // 学位, 可选值有: `1`:小学, `2`:初中, `3`:专职, `4`:高中, `5`:大专, `6`:本科, `7`:硕士, `8`:博士, `9`:其他 School string `json:"school,omitempty"` // 学校 FieldOfStudy string `json:"field_of_study,omitempty"` // 专业 StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间 EducationType int64 `json:"education_type,omitempty"` // 学历类型, 可选值有: `1`:海外及港台, `2`:统招全日制, `3`:非全日制, `4`:自考, `5`:其他 AcademicRanking int64 `json:"academic_ranking,omitempty"` // 成绩排名, 可选值有: `5`:前 5 %, `10`:前 10 %, `20`:前 20 %, `30`:前 30 %, `50`:前 50 %, `-1`:其他 TagList []int64 `json:"tag_list,omitempty"` // 教育经历标签, 可选值有: `1`:985学校, `2`:211学校, `3`:一本, `4`:国外院校QS200 CustomizedDataList []*GetHireTalentRespTalentEducationCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentEducation ...
type GetHireTalentRespTalentEducationCustomizedData ¶
type GetHireTalentRespTalentEducationCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentEducationCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentEducationCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentEducationCustomizedData ...
type GetHireTalentRespTalentEducationCustomizedDataName ¶
type GetHireTalentRespTalentEducationCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentEducationCustomizedDataName ...
type GetHireTalentRespTalentEducationCustomizedDataValue ¶
type GetHireTalentRespTalentEducationCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentEducationCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentEducationCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentEducationCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentEducationCustomizedDataValue ...
type GetHireTalentRespTalentEducationCustomizedDataValueOption ¶
type GetHireTalentRespTalentEducationCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentEducationCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentEducationCustomizedDataValueOption ...
type GetHireTalentRespTalentEducationCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentEducationCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentEducationCustomizedDataValueOptionName ...
type GetHireTalentRespTalentEducationCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentEducationCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentEducationCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentInterviewRegistration ¶
type GetHireTalentRespTalentInterviewRegistration struct { ID string `json:"id,omitempty"` // ID RegistrationTime int64 `json:"registration_time,omitempty"` // 创建时间 }
GetHireTalentRespTalentInterviewRegistration ...
type GetHireTalentRespTalentLanguage ¶
type GetHireTalentRespTalentLanguage struct { ID string `json:"id,omitempty"` // ID Language int64 `json:"language,omitempty"` // 语言, 可选值有: `1`:英语, `2`:法语, `3`:日语, `4`:韩语, `5`:德语, `6`:俄语, `7`:西班牙语, `8`:葡萄牙语, `9`:阿拉伯语, `10`:印地语, `11`:印度斯坦语, `12`:孟加拉语, `13`:豪萨语, `14`:旁遮普语, `15`:波斯语, `16`:斯瓦西里语, `17`:泰卢固语, `18`:土耳其语, `19`:意大利语, `20`:爪哇语, `21`:泰米尔语, `22`:马拉地语, `23`:越南语, `24`:普通话, `25`:粤语 Proficiency int64 `json:"proficiency,omitempty"` // 精通程度, 可选值有: `1`:入门, `2`:日常会话, `3`:商务会话, `4`:无障碍沟通, `5`:母语 CustomizedDataList []*GetHireTalentRespTalentLanguageCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentLanguage ...
type GetHireTalentRespTalentLanguageCustomizedData ¶
type GetHireTalentRespTalentLanguageCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentLanguageCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentLanguageCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentLanguageCustomizedData ...
type GetHireTalentRespTalentLanguageCustomizedDataName ¶
type GetHireTalentRespTalentLanguageCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentLanguageCustomizedDataName ...
type GetHireTalentRespTalentLanguageCustomizedDataValue ¶
type GetHireTalentRespTalentLanguageCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentLanguageCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentLanguageCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentLanguageCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentLanguageCustomizedDataValue ...
type GetHireTalentRespTalentLanguageCustomizedDataValueOption ¶
type GetHireTalentRespTalentLanguageCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentLanguageCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentLanguageCustomizedDataValueOption ...
type GetHireTalentRespTalentLanguageCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentLanguageCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentLanguageCustomizedDataValueOptionName ...
type GetHireTalentRespTalentLanguageCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentLanguageCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentLanguageCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentProject ¶
type GetHireTalentRespTalentProject struct { ID string `json:"id,omitempty"` // ID Name string `json:"name,omitempty"` // 项目名称 Role string `json:"role,omitempty"` // 项目角色 Link string `json:"link,omitempty"` // 项目链接 Desc string `json:"desc,omitempty"` // 描述 StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间 CustomizedDataList []*GetHireTalentRespTalentProjectCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentProject ...
type GetHireTalentRespTalentProjectCustomizedData ¶
type GetHireTalentRespTalentProjectCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentProjectCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentProjectCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentProjectCustomizedData ...
type GetHireTalentRespTalentProjectCustomizedDataName ¶
type GetHireTalentRespTalentProjectCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentProjectCustomizedDataName ...
type GetHireTalentRespTalentProjectCustomizedDataValue ¶
type GetHireTalentRespTalentProjectCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentProjectCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentProjectCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentProjectCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentProjectCustomizedDataValue ...
type GetHireTalentRespTalentProjectCustomizedDataValueOption ¶
type GetHireTalentRespTalentProjectCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentProjectCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentProjectCustomizedDataValueOption ...
type GetHireTalentRespTalentProjectCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentProjectCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentProjectCustomizedDataValueOptionName ...
type GetHireTalentRespTalentProjectCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentProjectCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentProjectCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentResumeSource ¶
type GetHireTalentRespTalentResumeSource struct { ID string `json:"id,omitempty"` // ID ZhName string `json:"zh_name,omitempty"` // 中文名 EnName string `json:"en_name,omitempty"` // 英文名 }
GetHireTalentRespTalentResumeSource ...
type GetHireTalentRespTalentSns ¶
type GetHireTalentRespTalentSns struct { ID string `json:"id,omitempty"` // ID SnsType int64 `json:"sns_type,omitempty"` // SNS名称, 可选值有: `1`:领英, `2`:脉脉, `3`:微信, `4`:微博, `5`:Github, `6`:知乎, `7`:脸书, `8`:推特, `9`:Whatsapp, `10`:个人网站, `11`:QQ Link string `json:"link,omitempty"` // URL/ID CustomizedDataList []*GetHireTalentRespTalentSnsCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentSns ...
type GetHireTalentRespTalentSnsCustomizedData ¶
type GetHireTalentRespTalentSnsCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentSnsCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentSnsCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentSnsCustomizedData ...
type GetHireTalentRespTalentSnsCustomizedDataName ¶
type GetHireTalentRespTalentSnsCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentSnsCustomizedDataName ...
type GetHireTalentRespTalentSnsCustomizedDataValue ¶
type GetHireTalentRespTalentSnsCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentSnsCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentSnsCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentSnsCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentSnsCustomizedDataValue ...
type GetHireTalentRespTalentSnsCustomizedDataValueOption ¶
type GetHireTalentRespTalentSnsCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentSnsCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentSnsCustomizedDataValueOption ...
type GetHireTalentRespTalentSnsCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentSnsCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentSnsCustomizedDataValueOptionName ...
type GetHireTalentRespTalentSnsCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentSnsCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentSnsCustomizedDataValueTimeRange ...
type GetHireTalentRespTalentWorks ¶
type GetHireTalentRespTalentWorks struct { ID string `json:"id,omitempty"` // ID Link string `json:"link,omitempty"` // 作品链接 Desc string `json:"desc,omitempty"` // 描述 Name string `json:"name,omitempty"` // 作品附件名称,若需获取作品附件预览信息可调用「获取附件预览信息」接口 CustomizedDataList []*GetHireTalentRespTalentWorksCustomizedData `json:"customized_data_list,omitempty"` // 自定义字段 }
GetHireTalentRespTalentWorks ...
type GetHireTalentRespTalentWorksCustomizedData ¶
type GetHireTalentRespTalentWorksCustomizedData struct { ObjectID string `json:"object_id,omitempty"` // 自定义字段 ID Name *GetHireTalentRespTalentWorksCustomizedDataName `json:"name,omitempty"` // 字段名称 ObjectType int64 `json:"object_type,omitempty"` // 字段类型, 可选值有: `1`:单行文本, `2`:多行文本, `3`:单选, `4`:多选, `5`:日期, `6`:月份选择, `7`:年份选择, `8`:时间段, `9`:数字, `10`:默认字段, `11`:模块 Value *GetHireTalentRespTalentWorksCustomizedDataValue `json:"value,omitempty"` // 自定义字段值 }
GetHireTalentRespTalentWorksCustomizedData ...
type GetHireTalentRespTalentWorksCustomizedDataName ¶
type GetHireTalentRespTalentWorksCustomizedDataName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentWorksCustomizedDataName ...
type GetHireTalentRespTalentWorksCustomizedDataValue ¶
type GetHireTalentRespTalentWorksCustomizedDataValue struct { Content string `json:"content,omitempty"` // 当字段类型为单行文本、多行文本、模块、默认字段时,从此字段取值 Option *GetHireTalentRespTalentWorksCustomizedDataValueOption `json:"option,omitempty"` // 当字段类型为单选时,从此字段取值 OptionList []*GetHireTalentRespTalentWorksCustomizedDataValueOption `json:"option_list,omitempty"` // 当字段类型为多选时,从此字段取值 TimeRange *GetHireTalentRespTalentWorksCustomizedDataValueTimeRange `json:"time_range,omitempty"` // 当字段类型为时间段时,从此字段取值 Time string `json:"time,omitempty"` // 当字段类型为日期选择、月份选择、年份选择时,从此字段取值,该字段是秒级时间戳 Number string `json:"number,omitempty"` // 当字段类型为数字时,从此字段取值 }
GetHireTalentRespTalentWorksCustomizedDataValue ...
type GetHireTalentRespTalentWorksCustomizedDataValueOption ¶
type GetHireTalentRespTalentWorksCustomizedDataValueOption struct { Key string `json:"key,omitempty"` // 选项 ID Name *GetHireTalentRespTalentWorksCustomizedDataValueOptionName `json:"name,omitempty"` // 选项名称 }
GetHireTalentRespTalentWorksCustomizedDataValueOption ...
type GetHireTalentRespTalentWorksCustomizedDataValueOptionName ¶
type GetHireTalentRespTalentWorksCustomizedDataValueOptionName struct { ZhCn string `json:"zh_cn,omitempty"` // 中文 EnUs string `json:"en_us,omitempty"` // 英文 }
GetHireTalentRespTalentWorksCustomizedDataValueOptionName ...
type GetHireTalentRespTalentWorksCustomizedDataValueTimeRange ¶
type GetHireTalentRespTalentWorksCustomizedDataValueTimeRange struct { StartTime string `json:"start_time,omitempty"` // 开始时间 EndTime string `json:"end_time,omitempty"` // 结束时间,当值为至今时,返回「-」 }
GetHireTalentRespTalentWorksCustomizedDataValueTimeRange ...
type GetJssdkTicketResp ¶
type GetJssdkTicketResp struct { ExpireIn int64 `json:"expire_in,omitempty"` // `jsapi_ticket 的有效时间` Ticket string `json:"ticket,omitempty"` // `jsapi_ticket` }
GetJssdkTicketResp ...
type GetMailGroupListReq ¶
type GetMailGroupListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`200` }
GetMailGroupListReq ...
type GetMailGroupListResp ¶
type GetMailGroupListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetMailGroupListRespItem `json:"items,omitempty"` // 邮件组列表 }
GetMailGroupListResp ...
type GetMailGroupListRespItem ¶
type GetMailGroupListRespItem struct { MailGroupID string `json:"mailgroup_id,omitempty"` // 邮件组ID Email string `json:"email,omitempty"` // 邮件组地址 Name string `json:"name,omitempty"` // 邮件组名称 Description string `json:"description,omitempty"` // 邮件组描述 DirectMembersCount string `json:"direct_members_count,omitempty"` // 邮件组成员数量 IncludeExternalMember bool `json:"include_external_member,omitempty"` // 是否包含外部成员 IncludeAllCompanyMember bool `json:"include_all_company_member,omitempty"` // 是否是全员邮件组 WhoCanSendMail string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
GetMailGroupListRespItem ...
type GetMailGroupMemberListReq ¶
type GetMailGroupMemberListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`200` MailGroupID string `path:"mailgroup_id" json:"-"` // The unique ID or email address of a mail group, 示例值:"xxxxxxxxxxxxxxx or test_mail_group@xxx.xx" }
GetMailGroupMemberListReq ...
type GetMailGroupMemberListResp ¶
type GetMailGroupMemberListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetMailGroupMemberListRespItem `json:"items,omitempty"` // 邮件组成员列表 }
GetMailGroupMemberListResp ...
type GetMailGroupMemberListRespItem ¶
type GetMailGroupMemberListRespItem struct { MemberID string `json:"member_id,omitempty"` // 邮件组内成员唯一标识 Email string `json:"email,omitempty"` // 成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门, `COMPANY`:全员, `EXTERNAL_USER`:外部用户, `MAIL_GROUP`:邮件组, `OTHER_MEMBER`:内部成员 }
GetMailGroupMemberListRespItem ...
type GetMailGroupMemberReq ¶
type GetMailGroupMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" MemberID string `path:"member_id" json:"-"` // 邮件组内成员唯一标识, 示例值:"xxxxxxxxxxxxxxx" }
GetMailGroupMemberReq ...
type GetMailGroupMemberResp ¶
type GetMailGroupMemberResp struct { MemberID string `json:"member_id,omitempty"` // 邮件组内成员唯一标识 Email string `json:"email,omitempty"` // 成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门, `COMPANY`:全员, `EXTERNAL_USER`:外部用户, `MAIL_GROUP`:邮件组, `OTHER_MEMBER`:内部成员 }
GetMailGroupMemberResp ...
type GetMailGroupPermissionMemberListReq ¶
type GetMailGroupPermissionMemberListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`200` MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" }
GetMailGroupPermissionMemberListReq ...
type GetMailGroupPermissionMemberListResp ¶
type GetMailGroupPermissionMemberListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetMailGroupPermissionMemberListRespItem `json:"items,omitempty"` // 邮件组权限成员列表 }
GetMailGroupPermissionMemberListResp ...
type GetMailGroupPermissionMemberListRespItem ¶
type GetMailGroupPermissionMemberListRespItem struct { PermissionMemberID string `json:"permission_member_id,omitempty"` // 权限组内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门 }
GetMailGroupPermissionMemberListRespItem ...
type GetMailGroupPermissionMemberReq ¶
type GetMailGroupPermissionMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" PermissionMemberID string `path:"permission_member_id" json:"-"` // 权限组内成员唯一标识, 示例值:"xxxxxxxxxxxxxxx" }
GetMailGroupPermissionMemberReq ...
type GetMailGroupPermissionMemberResp ¶
type GetMailGroupPermissionMemberResp struct { PermissionMemberID string `json:"permission_member_id,omitempty"` // 权限组内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) DepartmentID string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户, `DEPARTMENT`:部门 }
GetMailGroupPermissionMemberResp ...
type GetMailGroupReq ¶
type GetMailGroupReq struct {
MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx"
}
GetMailGroupReq ...
type GetMailGroupResp ¶
type GetMailGroupResp struct { MailGroupID string `json:"mailgroup_id,omitempty"` // 邮件组ID Email string `json:"email,omitempty"` // 邮件组地址 Name string `json:"name,omitempty"` // 邮件组名称 Description string `json:"description,omitempty"` // 邮件组描述 DirectMembersCount string `json:"direct_members_count,omitempty"` // 邮件组成员数量 IncludeExternalMember bool `json:"include_external_member,omitempty"` // 是否包含外部成员 IncludeAllCompanyMember bool `json:"include_all_company_member,omitempty"` // 是否是全员邮件组 WhoCanSendMail string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
GetMailGroupResp ...
type GetMailUserAliasListReq ¶
type GetMailUserAliasListReq struct {
UserID string `path:"user_id" json:"-"` // 用户邮箱地址, 示例值:"xxx@xx.xxx"
}
GetMailUserAliasListReq ...
type GetMailUserAliasListResp ¶
type GetMailUserAliasListResp struct {
Items []*GetMailUserAliasListRespItem `json:"items,omitempty"` // 用户邮箱别名
}
GetMailUserAliasListResp ...
type GetMailUserAliasListRespItem ¶
type GetMailUserAliasListRespItem struct { PrimaryEmail string `json:"primary_email,omitempty"` // 主邮箱地址 EmailAlias string `json:"email_alias,omitempty"` // 邮箱别名 }
GetMailUserAliasListRespItem ...
type GetMeetingRoomBuildingListReq ¶
type GetMeetingRoomBuildingListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 请求期望返回的建筑物数量,不足则返回全部,该值默认为 10,最大为 100 PageToken *string `query:"page_token" json:"-"` // 用于标记当前请求的分页标记,将返回以当前分页标记开始,往后 page_size 个元素 OrderBy *string `query:"order_by" json:"-"` // 提供用于对名称进行升序/降序排序的方式查询,可选项有:"name-asc,name-desc",传入其他字符串不做处理,默认无序 Fields *string `query:"fields" json:"-"` // 用于指定返回的字段名,每个字段名之间用逗号 "," 分隔,如:“id,name”,"*" 表示返回全部字段,可选字段有:"id,name,description,floors",默认返回所有字段 }
GetMeetingRoomBuildingListReq ...
type GetMeetingRoomBuildingListResp ¶
type GetMeetingRoomBuildingListResp struct { PageToken string `json:"page_token,omitempty"` // 分页标记,存在下一页时返回 HasMore bool `json:"has_more,omitempty"` // 存在下一页时,该值为 true,否则为 false Buildings []*GetMeetingRoomBuildingListRespBuilding `json:"buildings,omitempty"` // 建筑列表 }
GetMeetingRoomBuildingListResp ...
type GetMeetingRoomBuildingListRespBuilding ¶
type GetMeetingRoomBuildingListRespBuilding struct { BuildingID string `json:"building_id,omitempty"` // 建筑物 ID Description string `json:"description,omitempty"` // 建筑物的相关描述 Floors []string `json:"floors,omitempty"` // 属于当前建筑物的所有楼层列表 Name string `json:"name,omitempty"` // 建筑物名称 CountryID string `json:"country_id,omitempty"` // 所属国家 ID DistrictID string `json:"district_id,omitempty"` // 所属城市 ID }
GetMeetingRoomBuildingListRespBuilding ...
type GetMeetingRoomCountryListReq ¶
type GetMeetingRoomCountryListReq struct{}
GetMeetingRoomCountryListReq ...
type GetMeetingRoomCountryListResp ¶
type GetMeetingRoomCountryListResp struct {
Countries *GetMeetingRoomCountryListRespCountries `json:"countries,omitempty"` // 国家地区列表
}
GetMeetingRoomCountryListResp ...
type GetMeetingRoomCountryListRespCountries ¶
type GetMeetingRoomCountryListRespCountries struct { CountryID string `json:"country_id,omitempty"` // 国家地区ID Name string `json:"name,omitempty"` // 国家地区名称 }
GetMeetingRoomCountryListRespCountries ...
type GetMeetingRoomCustomizationReq ¶
type GetMeetingRoomCustomizationReq struct {
RoomIDs []string `json:"room_ids,omitempty"` // 要获取的会议室ID列表
}
GetMeetingRoomCustomizationReq ...
type GetMeetingRoomCustomizationResp ¶
type GetMeetingRoomCustomizationResp struct { ErrorRoomIDs *GetMeetingRoomCustomizationRespErrorRoomIDs `json:"error_room_ids,omitempty"` // 返回错误的入参 RoomIDToCustomization *GetMeetingRoomCustomizationRespRoomIDToCustomization `json:"room_id_to_customization,omitempty"` // 会议室ID-个性化配置的映射 }
GetMeetingRoomCustomizationResp ...
type GetMeetingRoomCustomizationRespErrorRoomIDBuildingID ¶
type GetMeetingRoomCustomizationRespErrorRoomIDBuildingID struct { RoomID string `json:"room_id,omitempty"` // 会议室id ErrorMsg string `json:"error_msg,omitempty"` // 错误信息 }
GetMeetingRoomCustomizationRespErrorRoomIDBuildingID ...
type GetMeetingRoomCustomizationRespErrorRoomIDs ¶
type GetMeetingRoomCustomizationRespErrorRoomIDs struct {
BuildingID *GetMeetingRoomCustomizationRespErrorRoomIDBuildingID `json:"building_id,omitempty"` // 建筑id
}
GetMeetingRoomCustomizationRespErrorRoomIDs ...
type GetMeetingRoomCustomizationRespRoomIDToCustomization ¶
type GetMeetingRoomCustomizationRespRoomIDToCustomization struct {
RoomID *GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomID `json:"room_id,omitempty"` // 会议室ID
}
GetMeetingRoomCustomizationRespRoomIDToCustomization ...
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomID ¶
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomID struct { ContactIDs []int64 `json:"contact_ids,omitempty"` // 准备会议室个性化的相关配置的人员ID列表 CustomizationData *GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationData `json:"customization_data,omitempty"` // 个性化配置数据 PreparationTime int64 `json:"preparation_time,omitempty"` // 准备时间 }
GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomID ...
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationData ¶
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationData struct { Conditions *GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataConditions `json:"conditions,omitempty"` // 问卷的显示条件,当条件满足时,该问卷才会出现让用户进行选择 CustomizationType int64 `json:"customization_type,omitempty"` // 问卷的类型,1表示单选,2表示多选,3表示填空 IndexKey string `json:"index_key,omitempty"` // 每个问卷的独立id InputContent string `json:"input_content,omitempty"` // 当type类型为填空时,该参数需要填入 IsRequired bool `json:"is_required,omitempty"` // 当type类型为填空时,该参数需要填入 Label string `json:"label,omitempty"` // 每个问卷的问题 Options *GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataOptions `json:"options,omitempty"` // 每个问卷的选项 PlaceHolder string `json:"place_holder,omitempty"` // 填空题在未填写时的填充文案 }
GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationData ...
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataConditions ¶
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataConditions struct { CustomKey string `json:"custom_key,omitempty"` // 该custom_key对应的index_key选中后,问卷才会显示 OptionKeys []string `json:"option_keys,omitempty"` // 所有的option都被选中后,问卷才会显示 }
GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataConditions ...
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataOptions ¶
type GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataOptions struct { IsOthers bool `json:"is_others,omitempty"` // 是否是其他选项 IsSelected bool `json:"is_selected,omitempty"` // 该选项是否勾选 OptionImageURL string `json:"option_image_url,omitempty"` // 选项的图片 OptionKey string `json:"option_key,omitempty"` // 每个选项的唯一id OptionLabel string `json:"option_label,omitempty"` // 每个问卷的选项 OthersContent string `json:"others_content,omitempty"` // 其他选项的输入内容 }
GetMeetingRoomCustomizationRespRoomIDToCustomizationRoomIDCustomizationDataOptions ...
type GetMeetingRoomDistrictListReq ¶
type GetMeetingRoomDistrictListReq struct {
CountryID int64 `query:"country_id" json:"-"` // 国家地区ID
}
GetMeetingRoomDistrictListReq ...
type GetMeetingRoomDistrictListResp ¶
type GetMeetingRoomDistrictListResp struct {
Districts []*GetMeetingRoomDistrictListRespDistrict `json:"districts,omitempty"` // 城市列表
}
GetMeetingRoomDistrictListResp ...
type GetMeetingRoomDistrictListRespDistrict ¶
type GetMeetingRoomDistrictListRespDistrict struct { DistrictID string `json:"district_id,omitempty"` // 城市ID Name string `json:"name,omitempty"` // 城市名称 }
GetMeetingRoomDistrictListRespDistrict ...
type GetMeetingRoomRoomListReq ¶
type GetMeetingRoomRoomListReq struct { BuildingID string `query:"building_id" json:"-"` // 被查询的建筑物 ID PageSize *int64 `query:"page_size" json:"-"` // 请求期望返回的会议室数量,不足则返回全部,该值默认为 100,最大为 1000 PageToken *string `query:"page_token" json:"-"` // 用于标记当前请求的分页标记,将返回以当前分页标记开始,往后 page_size 个元素 OrderBy *string `query:"order_by" json:"-"` // 提供用于对名称/楼层进行升序/降序排序的方式查询,可选项有:"name-asc,name-desc,floor_name-asc,floor_name-desc",传入其他字符串不做处理,默认无序 Fields *string `query:"fields" json:"-"` // 用于指定返回的字段名,每个字段名之间用逗号 "," 分隔,如:“id,name”,"*" 表示返回全部字段,可选字段有:"id,name,description,capacity,building_id,building_name,floor_name,is_disabled,display_id",默认返回所有字段 }
GetMeetingRoomRoomListReq ...
type GetMeetingRoomRoomListResp ¶
type GetMeetingRoomRoomListResp struct { PageToken string `json:"page_token,omitempty"` // 分页标记,存在下一页时返回 HasMore bool `json:"has_more,omitempty"` // 存在下一页时,该值为 true,否则为 false Rooms []*GetMeetingRoomRoomListRespRoom `json:"rooms,omitempty"` // 会议室列表 }
GetMeetingRoomRoomListResp ...
type GetMeetingRoomRoomListRespRoom ¶
type GetMeetingRoomRoomListRespRoom struct { RoomID string `json:"room_id,omitempty"` // 会议室 ID BuildingID string `json:"building_id,omitempty"` // 会议室所属建筑物 ID BuildingName string `json:"building_name,omitempty"` // 会议室所属建筑物名称 Capacity int64 `json:"capacity,omitempty"` // 会议室能容纳的人数 Description string `json:"description,omitempty"` // 会议室的相关描述 DisplayID string `json:"display_id,omitempty"` // 会议室的展示 ID FloorName string `json:"floor_name,omitempty"` // 会议室所在楼层名称 IsDisabled bool `json:"is_disabled,omitempty"` // 会议室是否不可用,若会议室不可用,则该值为 true,否则为 false Name string `json:"name,omitempty"` // 会议室名称 }
GetMeetingRoomRoomListRespRoom ...
type GetMessageFileReq ¶
type GetMessageFileReq struct { Type string `query:"type" json:"-"` // 资源类型,可选"image, file“; image对应消息中的 图片,富文本消息中的图片。 file对应消息中的 文件、音频、视频、(表情包除外), 示例值:"image" MessageID string `path:"message_id" json:"-"` // 待查询资源对应的消息ID, 示例值:"om_dc13264520392913993dd051dba21dcf" FileKey string `path:"file_key" json:"-"` // 待查询资源的key, 示例值:"file_456a92d6-c6ea-4de4-ac3f-7afcf44ac78g" }
GetMessageFileReq ...
type GetMessageFileResp ¶
GetMessageFileResp ...
type GetMessageListReq ¶
type GetMessageListReq struct { ContainerIDType ContainerIDType `query:"container_id_type" json:"-"` // 容器类型 ,目前可选值仅有"chat", 示例值:"chat" ContainerID string `query:"container_id" json:"-"` // 容器的id,即chat的id, 示例值:"oc_234jsi43d3ssi993d43545f" StartTime *string `query:"start_time" json:"-"` // 历史信息的起始时间(秒级时间戳), 示例值:"1609296809" EndTime *string `query:"end_time" json:"-"` // 历史信息的结束时间(秒级时间戳), 示例值:"1608594809" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"GxmvlNRvP0NdQZpa7yIqf_Lv_QuBwTQ8tXkX7w-irAghVD_TvuYd1aoJ1LQph86O-XImC4X9j9FhUPhXQDvtrQ==" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` }
GetMessageListReq ...
type GetMessageListResp ¶
type GetMessageListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetMessageListRespItem `json:"items,omitempty"` // message[] }
GetMessageListResp ...
type GetMessageListRespItem ¶
type GetMessageListRespItem struct { MessageID string `json:"message_id,omitempty"` // 消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) RootID string `json:"root_id,omitempty"` // 根消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) ParentID string `json:"parent_id,omitempty"` // 父消息的id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) MsgType MsgType `json:"msg_type,omitempty"` // 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) CreateTime string `json:"create_time,omitempty"` // 消息生成的时间戳(毫秒) UpdateTime string `json:"update_time,omitempty"` // 消息更新的时间戳(毫秒) Deleted bool `json:"deleted,omitempty"` // 消息是否被撤回 Updated bool `json:"updated,omitempty"` // 消息是否被更新 ChatID string `json:"chat_id,omitempty"` // 所属的群 Sender *Sender `json:"sender,omitempty"` // 发送者,可以是用户或应用 Body *MessageBody `json:"body,omitempty"` // 消息内容 Mentions []*Mention `json:"mentions,omitempty"` // 被@的用户或机器人的id列表 UpperMessageID string `json:"upper_message_id,omitempty"` // 合并转发消息中,上一层级的消息id message_id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) }
GetMessageListRespItem ...
type GetMessageReactionListReq ¶
type GetMessageReactionListReq struct { ReactionType string `query:"reaction_type" json:"-"` // 待查询消息reaction的类型[emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce), 示例值:"LAUGH" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"YhljsPiGfUgnVAg9urvRFd-BvSqRL20wMZNAWfa9xXkud6UKCybPuUgQ1vM26dj6" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MessageID string `path:"message_id" json:"-"` // 待获取reaction的消息ID, 示例值:"om_8964d1b4*********2b31383276113" }
GetMessageReactionListReq ...
type GetMessageReactionListResp ¶
type GetMessageReactionListResp struct { Items []*GetMessageReactionListRespItem `json:"items,omitempty"` // 查询指定reaction_type返回的reaction列表 HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
GetMessageReactionListResp ...
type GetMessageReactionListRespItem ¶
type GetMessageReactionListRespItem struct { ReactionID string `json:"reaction_id,omitempty"` // reaction资源ID Operator *GetMessageReactionListRespItemOperator `json:"operator,omitempty"` // 添加reaction的操作人 ActionTime string `json:"action_time,omitempty"` // reaction动作的的unix timestamp(单位:ms) ReactionType *GetMessageReactionListRespItemReactionType `json:"reaction_type,omitempty"` // reaction资源类型 }
GetMessageReactionListRespItem ...
type GetMessageReactionListRespItemOperator ¶
type GetMessageReactionListRespItemOperator struct { OperatorID string `json:"operator_id,omitempty"` // 操作人ID OperatorType string `json:"operator_type,omitempty"` // 操作人身份,用户或应用, 可选值有: `app`:"app", `user`:"user" }
GetMessageReactionListRespItemOperator ...
type GetMessageReactionListRespItemReactionType ¶
type GetMessageReactionListRespItemReactionType struct {
EmojiType string `json:"emoji_type,omitempty"` // emoji类型 [emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)
}
GetMessageReactionListRespItemReactionType ...
type GetMessageReadUserListReq ¶
type GetMessageReadUserListReq struct { UserIDType IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageSize *int64 `query:"page_size" json:"-"` // 此次调用中使用的分页的大小, 示例值:20, 取值范围:`1` ~ `100` PageToken *string `query:"page_token" json:"-"` // 下一页分页的token, 示例值:"GxmvlNRvP0NdQZpa7yIqf_Lv_QuBwTQ8tXkX7w-irAghVD_TvuYd1aoJ1LQph86O-XImC4X9j9FhUPhXQDvtrQ==" MessageID string `path:"message_id" json:"-"` // 待查询的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf" }
GetMessageReadUserListReq ...
type GetMessageReadUserListResp ¶
type GetMessageReadUserListResp struct { Items []*GetMessageReadUserListRespItem `json:"items,omitempty"` // - HasMore bool `json:"has_more,omitempty"` // 是否还有下一页 PageToken string `json:"page_token,omitempty"` // 下一页分页的token }
GetMessageReadUserListResp ...
type GetMessageReadUserListRespItem ¶
type GetMessageReadUserListRespItem struct { UserIDType IDType `json:"user_id_type,omitempty"` // 用户id类型 UserID string `json:"user_id,omitempty"` // 用户id Timestamp string `json:"timestamp,omitempty"` // 阅读时间 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
GetMessageReadUserListRespItem ...
type GetMessageReq ¶
type GetMessageReq struct {
MessageID string `path:"message_id" json:"-"` // 待获取消息内容的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf"
}
GetMessageReq ...
type GetMessageResp ¶
type GetMessageResp struct {
Items []*GetMessageRespItem `json:"items,omitempty"` // -
}
GetMessageResp ...
type GetMessageRespItem ¶
type GetMessageRespItem struct { MessageID string `json:"message_id,omitempty"` // 消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) RootID string `json:"root_id,omitempty"` // 根消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) ParentID string `json:"parent_id,omitempty"` // 父消息的id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) MsgType MsgType `json:"msg_type,omitempty"` // 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) CreateTime string `json:"create_time,omitempty"` // 消息生成的时间戳(毫秒) UpdateTime string `json:"update_time,omitempty"` // 消息更新的时间戳(毫秒) Deleted bool `json:"deleted,omitempty"` // 消息是否被撤回 Updated bool `json:"updated,omitempty"` // 消息是否被更新 ChatID string `json:"chat_id,omitempty"` // 所属的群 Sender *Sender `json:"sender,omitempty"` // 发送者,可以是用户或应用 Body *MessageBody `json:"body,omitempty"` // 消息内容 Mentions []*Mention `json:"mentions,omitempty"` // 被@的用户或机器人的id列表 UpperMessageID string `json:"upper_message_id,omitempty"` // 合并转发消息中,上一层级的消息id message_id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) }
GetMessageRespItem ...
type GetOKRPeriodListReq ¶
type GetOKRPeriodListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标志page_token, 示例值:"xaasdasdax" PageSize *int64 `query:"page_size" json:"-"` // 分页大小,默认10, 示例值:10, 默认值: `10` }
GetOKRPeriodListReq ...
type GetOKRPeriodListResp ¶
type GetOKRPeriodListResp struct { PageToken string `json:"page_token,omitempty"` // 分页标志 HasMore bool `json:"has_more,omitempty"` // 是否有更多 Items []*GetOKRPeriodListRespItem `json:"items,omitempty"` // 数据项 }
GetOKRPeriodListResp ...
type GetOKRPeriodListRespItem ¶
type GetOKRPeriodListRespItem struct { ID string `json:"id,omitempty"` // id ZhName string `json:"zh_name,omitempty"` // 中文名称 EnName string `json:"en_name,omitempty"` // 英文名称 Status int64 `json:"status,omitempty"` // 启用状态, 可选值有: `0`:正常状态, `1`:暂不处理, `2`:标记失效, `3`:隐藏周期 }
GetOKRPeriodListRespItem ...
type GetParentDepartmentReq ¶
type GetParentDepartmentReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门 DepartmentID string `query:"department_id" json:"-"` // 部门ID, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/RD/cIFmu77WxpxPB/2oHfQLZ%2BG8JG6tK7%2BZnHiT7COhD2hMSICh/eBl7cpzU6JEC3J7COKNe4jrQ8ExwBCR" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` }
GetParentDepartmentReq ...
type GetParentDepartmentResp ¶
type GetParentDepartmentResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetParentDepartmentRespItem `json:"items,omitempty"` }
GetParentDepartmentResp ...
type GetParentDepartmentRespItem ¶
type GetParentDepartmentRespItem struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 I18nName *GetParentDepartmentRespItemI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *GetParentDepartmentRespItemStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
GetParentDepartmentRespItem ...
type GetParentDepartmentRespItemI18nName ¶
type GetParentDepartmentRespItemI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
GetParentDepartmentRespItemI18nName ...
type GetParentDepartmentRespItemStatus ¶
type GetParentDepartmentRespItemStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
GetParentDepartmentRespItemStatus ...
type GetPublicMailboxListReq ¶
type GetPublicMailboxListReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`200` }
GetPublicMailboxListReq ...
type GetPublicMailboxListResp ¶
type GetPublicMailboxListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetPublicMailboxListRespItem `json:"items,omitempty"` // 公共邮箱列表 }
GetPublicMailboxListResp ...
type GetPublicMailboxListRespItem ¶
type GetPublicMailboxListRespItem struct { PublicMailboxID string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识 Email string `json:"email,omitempty"` // 公共邮箱地址 Name string `json:"name,omitempty"` // 公共邮箱名称 }
GetPublicMailboxListRespItem ...
type GetPublicMailboxMemberListReq ¶
type GetPublicMailboxMemberListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`200` PublicMailboxID string `path:"public_mailbox_id" json:"-"` // The unique ID or email address of a public mailbox, 示例值:"xxxxxxxxxxxxxxx or test_public_mailbox@xxx.xx" }
GetPublicMailboxMemberListReq ...
type GetPublicMailboxMemberListResp ¶
type GetPublicMailboxMemberListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetPublicMailboxMemberListRespItem `json:"items,omitempty"` // 公共邮箱成员列表 }
GetPublicMailboxMemberListResp ...
type GetPublicMailboxMemberListRespItem ¶
type GetPublicMailboxMemberListRespItem struct { MemberID string `json:"member_id,omitempty"` // 公共邮箱内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户 }
GetPublicMailboxMemberListRespItem ...
type GetPublicMailboxMemberReq ¶
type GetPublicMailboxMemberReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx" MemberID string `path:"member_id" json:"-"` // 公共邮箱内成员唯一标识, 示例值:"xxxxxxxxxxxxxxx" }
GetPublicMailboxMemberReq ...
type GetPublicMailboxMemberResp ¶
type GetPublicMailboxMemberResp struct { MemberID string `json:"member_id,omitempty"` // 公共邮箱内成员唯一标识 UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识(当成员类型是USER时有值) Type MailUserType `json:"type,omitempty"` // 成员类型, 可选值有: `USER`:内部用户 }
GetPublicMailboxMemberResp ...
type GetPublicMailboxReq ¶
type GetPublicMailboxReq struct {
PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx"
}
GetPublicMailboxReq ...
type GetPublicMailboxResp ¶
type GetPublicMailboxResp struct { PublicMailboxID string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识 Email string `json:"email,omitempty"` // 公共邮箱地址 Name string `json:"name,omitempty"` // 公共邮箱名称 }
GetPublicMailboxResp ...
type GetSearchDataSourceItemReq ¶
type GetSearchDataSourceItemReq struct { DataSourceID string `path:"data_source_id" json:"-"` // 数据源的id, 示例值:"service_ticket" ItemID string `path:"item_id" json:"-"` // 数据记录的唯一标识, 示例值:"01010111" }
GetSearchDataSourceItemReq ...
type GetSearchDataSourceItemResp ¶
type GetSearchDataSourceItemResp struct {
Item *GetSearchDataSourceItemRespItem `json:"item,omitempty"` // 数据项实例
}
GetSearchDataSourceItemResp ...
type GetSearchDataSourceItemRespItem ¶
type GetSearchDataSourceItemRespItem struct { ID string `json:"id,omitempty"` // item 在 datasource 中的唯一标识 ACL *GetSearchDataSourceItemRespItemACL `json:"acl,omitempty"` // item 的访问权限控制 Metadata *GetSearchDataSourceItemRespItemMetadata `json:"metadata,omitempty"` // item 的元信息 StructuredData string `json:"structured_data,omitempty"` // 结构化数据(以 json 字符串传递),这些字段是搜索结果的展示字段(title字段无须在此另外指定);目前支持的key为:, summary:搜索结果的摘要;, icon_url:搜索结果的icon地址;, footer:搜索结果的脚注 Content *GetSearchDataSourceItemRespItemContent `json:"content,omitempty"` // 非结构化数据,如文档文本,飞书搜索会用来做召回 }
GetSearchDataSourceItemRespItem ...
type GetSearchDataSourceItemRespItemACL ¶
type GetSearchDataSourceItemRespItemACL struct { Access string `json:"access,omitempty"` // 权限类型,优先级:Deny > Allow。默认为全员不可见,即 deny。, 可选值有: `allow`:允许访问, `deny`:禁止访问 Value string `json:"value,omitempty"` // 设置的权限值,例如 userID 、groupID,依赖 type 描述。,**注**:在 type 为 user 且 access 为 allow 时,可填 "everyone" 来表示该数据项对全员可见。 Type string `json:"type,omitempty"` // 权限值类型, 可选值有: `user`:访问权限控制中指定用户可以访问或拒绝访问该条数据, `group`:访问权限控制中指定用户组可以访问或拒绝访问该条数据 }
GetSearchDataSourceItemRespItemACL ...
type GetSearchDataSourceItemRespItemContent ¶
type GetSearchDataSourceItemRespItemContent struct { Format string `json:"format,omitempty"` // 内容的格式, 可选值有: `html`:html格式, `plaintext`:纯文本格式 ContentData string `json:"content_data,omitempty"` // 全文数据 }
GetSearchDataSourceItemRespItemContent ...
type GetSearchDataSourceItemRespItemMetadata ¶
type GetSearchDataSourceItemRespItemMetadata struct { Title string `json:"title,omitempty"` // 该条数据记录对应的标题 SourceURL string `json:"source_url,omitempty"` // 该条数据记录对应的跳转url CreateTime int64 `json:"create_time,omitempty"` // 数据项的创建时间。Unix 时间,单位为秒 UpdateTime int64 `json:"update_time,omitempty"` // 数据项的更新时间。Unix 时间,单位为秒 }
GetSearchDataSourceItemRespItemMetadata ...
type GetSearchDataSourceListReq ¶
type GetSearchDataSourceListReq struct { View *int64 `query:"view" json:"-"` // 回包数据格式,0-全量数据;1-摘要数据。,**注**:摘要数据仅包含"id","name","state"。, 示例值:0, 可选值有: `0`:全量数据, `1`:摘要数据 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"PxZFma9OIRhdBlT/dOYNiu2Ro8F2WAhcby7OhOijfljZ" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` }
GetSearchDataSourceListReq ...
type GetSearchDataSourceListResp ¶
type GetSearchDataSourceListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetSearchDataSourceListRespItem `json:"items,omitempty"` // 数据源中的数据记录 }
GetSearchDataSourceListResp ...
type GetSearchDataSourceListRespItem ¶
type GetSearchDataSourceListRespItem struct { ID string `json:"id,omitempty"` // 数据源的唯一标识 Name string `json:"name,omitempty"` // data_source的展示名称 State int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 可选值有: `0`:未上线, `1`:已上线 Description string `json:"description,omitempty"` // 对于数据源的描述 CreateTime string `json:"create_time,omitempty"` // 创建时间,使用Unix时间戳,单位为“秒” UpdateTime string `json:"update_time,omitempty"` // 更新时间,使用Unix时间戳,单位为“秒” IsExceedQuota bool `json:"is_exceed_quota,omitempty"` // 是否超限 }
GetSearchDataSourceListRespItem ...
type GetSearchDataSourceReq ¶
type GetSearchDataSourceReq struct {
DataSourceID string `path:"data_source_id" json:"-"` // 数据源的唯一标识, 示例值:"service_ticket"
}
GetSearchDataSourceReq ...
type GetSearchDataSourceResp ¶
type GetSearchDataSourceResp struct {
DataSource *GetSearchDataSourceRespDataSource `json:"data_source,omitempty"` // 数据源实例
}
GetSearchDataSourceResp ...
type GetSearchDataSourceRespDataSource ¶
type GetSearchDataSourceRespDataSource struct { ID string `json:"id,omitempty"` // 数据源的唯一标识 Name string `json:"name,omitempty"` // data_source的展示名称 State int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 可选值有: `0`:未上线, `1`:已上线 Description string `json:"description,omitempty"` // 对于数据源的描述 CreateTime string `json:"create_time,omitempty"` // 创建时间,使用Unix时间戳,单位为“秒” UpdateTime string `json:"update_time,omitempty"` // 更新时间,使用Unix时间戳,单位为“秒” IsExceedQuota bool `json:"is_exceed_quota,omitempty"` // 是否超限 }
GetSearchDataSourceRespDataSource ...
type GetSheetConditionFormatReq ¶
type GetSheetConditionFormatReq struct { SheetIDs []string `query:"sheet_ids" join_sep:"," json:"-"` // 工作表ID,可以通过[获取表格元数据](https://open.feishu.cn/document/ukTMukTMukTM/uETMzUjLxEzM14SMxMTN)接口获取,多个ID用逗号分隔,如xxxID1,xxxID2 SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
GetSheetConditionFormatReq ...
type GetSheetConditionFormatResp ¶
type GetSheetConditionFormatResp struct {
SheetConditionFormats []*GetSheetConditionFormatRespSheetConditionFormat `json:"sheet_condition_formats,omitempty"` // 表格的条件格式信息
}
GetSheetConditionFormatResp ...
type GetSheetConditionFormatRespSheetConditionFormat ¶
type GetSheetConditionFormatRespSheetConditionFormat struct { SheetID string `json:"sheet_id,omitempty"` // sheet的id ConditionFormat *GetSheetConditionFormatRespSheetConditionFormatConditionFormat `json:"condition_format,omitempty"` // 一个条件格式的详细信息 }
GetSheetConditionFormatRespSheetConditionFormat ...
type GetSheetConditionFormatRespSheetConditionFormatConditionFormat ¶
type GetSheetConditionFormatRespSheetConditionFormatConditionFormat struct { CfID string `json:"cf_id,omitempty"` // 条件格式的id Ranges []string `json:"ranges,omitempty"` // 条件格式应用的范围,支持:sheetId(整表);sheetId!1:2(整行);sheetId!A:B(整列);sheetId!A1:B2(普通范围);sheetId!A1:C(应用至最后一行)。应用范围不能超过表格的行总数和列总数 RuleType string `json:"rule_type,omitempty"` // 条件格式规则类型,目前只有7种:***containsBlanks(为空)、notContainsBlanks(不为空)、duplicateValues(重复值)、uniqueValues(唯一值)、cellIs(限定值范围)、containsText(包含内容)、timePeriod(日期)*** Attrs []*SheetRuleAttr `json:"attrs,omitempty"` // rule_type对应的具体属性信息,详见 [条件格式指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/conditionformat/condition-format-guide) Style *GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyle `json:"style,omitempty"` // 条件格式样式,只支持以下样式 }
GetSheetConditionFormatRespSheetConditionFormatConditionFormat ...
type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyle ¶
type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyle struct { Font *GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyleFont `json:"font,omitempty"` // 字体样式 TextDecoration int64 `json:"text_decoration,omitempty"` // 文本装饰 ,0 默认,1 下划线,2 删除线 ,3 下划线和删除线 ForeColor string `json:"fore_color,omitempty"` // 字体颜色 BackColor string `json:"back_color,omitempty"` // 背景颜色 }
GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyle ...
type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyleFont ¶
type GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyleFont struct { Bold bool `json:"bold,omitempty"` // 加粗 Italic bool `json:"italic,omitempty"` // 斜体 }
GetSheetConditionFormatRespSheetConditionFormatConditionFormatStyleFont ...
type GetSheetDataValidationDropdownReq ¶
type GetSheetDataValidationDropdownReq struct { Range string `query:"range" json:"-"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) DataValidationType string `query:"dataValidationType" json:"-"` // 下拉列表填"list" SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
GetSheetDataValidationDropdownReq ...
type GetSheetDataValidationDropdownResp ¶
type GetSheetDataValidationDropdownResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet的token SheetID string `json:"sheetId,omitempty"` // 工作表 sheet 的 id Revision int64 `json:"revision,omitempty"` // 版本号 DataValidations []*GetSheetDataValidationDropdownRespDataValidation `json:"dataValidations,omitempty"` // 下拉列表数组, 不存在时为空 }
GetSheetDataValidationDropdownResp ...
type GetSheetDataValidationDropdownRespDataValidation ¶
type GetSheetDataValidationDropdownRespDataValidation struct { DataValidationID int64 `json:"dataValidationId,omitempty"` // 唯一标示id DataValidationType string `json:"dataValidationType,omitempty"` // 下拉列表为"list" ConditionValues []string `json:"conditionValues,omitempty"` // 下拉列表选项值 Options *GetSheetDataValidationDropdownRespDataValidationOptions `json:"options,omitempty"` // 可选属性 }
GetSheetDataValidationDropdownRespDataValidation ...
type GetSheetDataValidationDropdownRespDataValidationOptions ¶
type GetSheetDataValidationDropdownRespDataValidationOptions struct { MultipleValues *bool `json:"multipleValues,omitempty"` // 单选填false, 多选填true HighlightValidData *bool `json:"highlightValidData,omitempty"` // 是否设置颜色和胶囊样式 ColorValueMap map[string]string `json:"colorValueMap,omitempty"` // 当highlightValidData为true时,colorValueMap的key与conditionValues中的值一一对应,value为对应的颜色参数。 }
GetSheetDataValidationDropdownRespDataValidationOptions ...
type GetSheetFilterReq ¶
type GetSheetFilterReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA\*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b\**12" }
GetSheetFilterReq ...
type GetSheetFilterResp ¶
type GetSheetFilterResp struct {
SheetFilterInfo *GetSheetFilterRespSheetFilterInfo `json:"sheet_filter_info,omitempty"` // 筛选信息
}
GetSheetFilterResp ...
type GetSheetFilterRespSheetFilterInfo ¶
type GetSheetFilterRespSheetFilterInfo struct { Range string `json:"range,omitempty"` // 筛选应用范围 FilteredOutRows []int64 `json:"filtered_out_rows,omitempty"` // 筛选出来隐藏的行 FilterInfos []*GetSheetFilterRespSheetFilterInfoFilterInfo `json:"filter_infos,omitempty"` // sheet的筛选条件 }
GetSheetFilterRespSheetFilterInfo ...
type GetSheetFilterRespSheetFilterInfoFilterInfo ¶
type GetSheetFilterRespSheetFilterInfoFilterInfo struct { Col string `json:"col,omitempty"` // 设置了筛选条件的列 Conditions []*GetSheetFilterRespSheetFilterInfoFilterInfoCondition `json:"conditions,omitempty"` // 筛选条件 }
GetSheetFilterRespSheetFilterInfoFilterInfo ...
type GetSheetFilterRespSheetFilterInfoFilterInfoCondition ¶
type GetSheetFilterRespSheetFilterInfoFilterInfoCondition struct { FilterType string `json:"filter_type,omitempty"` // 筛选类型 CompareType string `json:"compare_type,omitempty"` // 比较类型 Expected []string `json:"expected,omitempty"` // 筛选参数 }
GetSheetFilterRespSheetFilterInfoFilterInfoCondition ...
type GetSheetFilterViewConditionReq ¶
type GetSheetFilterViewConditionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" ConditionID string `path:"condition_id" json:"-"` // 需要查询筛选条件的列字母号, 示例值:"E" }
GetSheetFilterViewConditionReq ...
type GetSheetFilterViewConditionResp ¶
type GetSheetFilterViewConditionResp struct {
Condition *GetSheetFilterViewConditionRespCondition `json:"condition,omitempty"` // 筛选的条件
}
GetSheetFilterViewConditionResp ...
type GetSheetFilterViewConditionRespCondition ¶
type GetSheetFilterViewConditionRespCondition struct { ConditionID string `json:"condition_id,omitempty"` // 设置筛选条件的列,使用字母号 FilterType string `json:"filter_type,omitempty"` // 筛选类型 CompareType string `json:"compare_type,omitempty"` // 比较类型 Expected []string `json:"expected,omitempty"` // 筛选参数 }
GetSheetFilterViewConditionRespCondition ...
type GetSheetFilterViewReq ¶
type GetSheetFilterViewReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" }
GetSheetFilterViewReq ...
type GetSheetFilterViewResp ¶
type GetSheetFilterViewResp struct {
FilterView *GetSheetFilterViewRespFilterView `json:"filter_view,omitempty"` // 筛选视图信息,包括 id、name、range
}
GetSheetFilterViewResp ...
type GetSheetFilterViewRespFilterView ¶
type GetSheetFilterViewRespFilterView struct { FilterViewID string `json:"filter_view_id,omitempty"` // 筛选视图 id FilterViewName string `json:"filter_view_name,omitempty"` // 筛选视图名字 Range string `json:"range,omitempty"` // 筛选视图的筛选范围 }
GetSheetFilterViewRespFilterView ...
type GetSheetFloatImageReq ¶
type GetSheetFloatImageReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FloatImageID string `path:"float_image_id" json:"-"` // 浮动图片 id, 示例值:"ye06SS14ph" }
GetSheetFloatImageReq ...
type GetSheetFloatImageResp ¶
type GetSheetFloatImageResp struct {
FloatImage *GetSheetFloatImageRespFloatImage `json:"float_image,omitempty"` // 浮动图片信息
}
GetSheetFloatImageResp ...
type GetSheetFloatImageRespFloatImage ¶
type GetSheetFloatImageRespFloatImage struct { FloatImageID string `json:"float_image_id,omitempty"` // 浮动图片 id FloatImageToken string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作 Range string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格 Width float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px Height float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px OffsetX float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度 OffsetY float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 }
GetSheetFloatImageRespFloatImage ...
type GetSheetMetaReq ¶
type GetSheetMetaReq struct { ExtFields *string `query:"extFields" json:"-"` // 额外返回的字段,extFields=protectedRange时返回保护行列信息 UserIDType *IDType `query:"user_id_type" json:"-"` // 返回的用户id类型,可选open_id,union_id SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token;获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
GetSheetMetaReq ...
type GetSheetMetaResp ¶
type GetSheetMetaResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token Properties *GetSheetMetaRespProperties `json:"properties,omitempty"` // spreadsheet 的属性 Sheets []*GetSheetMetaRespSheet `json:"sheets,omitempty"` // spreadsheet 下的sheet列表 }
GetSheetMetaResp ...
type GetSheetMetaRespProperties ¶
type GetSheetMetaRespProperties struct { Title string `json:"title,omitempty"` // spreadsheet 的标题 OwnerUser int64 `json:"ownerUser,omitempty"` // 所有者的 id OwnerUserID string `json:"ownerUserID,omitempty"` // 所有者的 id,取决于user_id_type的值,仅user_id_type不为空是返回该值 SheetCount int64 `json:"sheetCount,omitempty"` // spreadsheet 下的 sheet 数 Revision int64 `json:"revision,omitempty"` // 该 sheet 的版本 }
GetSheetMetaRespProperties ...
type GetSheetMetaRespSheet ¶
type GetSheetMetaRespSheet struct { SheetID string `json:"sheetId,omitempty"` // sheet 的 id Title string `json:"title,omitempty"` // sheet 的标题 Index int64 `json:"index,omitempty"` // sheet 的位置 RowCount int64 `json:"rowCount,omitempty"` // sheet 的最大行数 ColumnCount int64 `json:"columnCount,omitempty"` // sheet 的最大列数 FrozenRowCount int64 `json:"frozenRowCount,omitempty"` // 该 sheet 的冻结行数,小于等于 sheet 的最大行数,0表示未设置冻结 FrozenColCount int64 `json:"frozenColCount,omitempty"` // 该 sheet 的冻结列数,小于等于 sheet 的最大列数,0表示未设置冻结 Merges []*GetSheetMetaRespSheetMerge `json:"merges,omitempty"` // 该 sheet 中合并单元格的范围 ProtectedRange *GetSheetMetaRespSheetProtectedRange `json:"protectedRange,omitempty"` // 该 sheet 中保护范围 BlockInfo *GetSheetMetaRespSheetBlockInfo `json:"blockInfo,omitempty"` // 若含有该字段,则此工作表不为表格 }
GetSheetMetaRespSheet ...
type GetSheetMetaRespSheetBlockInfo ¶
type GetSheetMetaRespSheetBlockInfo struct { BlockToken string `json:"blockToken,omitempty"` // block的token BlockType string `json:"blockType,omitempty"` // block的类型 }
GetSheetMetaRespSheetBlockInfo ...
type GetSheetMetaRespSheetMerge ¶
type GetSheetMetaRespSheetMerge struct { StartRowIndex int64 `json:"startRowIndex,omitempty"` // 合并单元格范围的开始行下标,index 从 0 开始 StartColumnIndex int64 `json:"startColumnIndex,omitempty"` // 合并单元格范围的开始列下标,index 从 0 开始 RowCount int64 `json:"rowCount,omitempty"` // 合并单元格范围的行数量 ColumnCount int64 `json:"columnCount,omitempty"` // 合并单元格范围的列数量 }
GetSheetMetaRespSheetMerge ...
type GetSheetMetaRespSheetProtectedRange ¶
type GetSheetMetaRespSheetProtectedRange struct { Dimension *GetSheetMetaRespSheetProtectedRangeDimension `json:"dimension,omitempty"` // 保护行列的信息,如果为保护工作表,则该字段为空 ProtectID string `json:"protectId,omitempty"` // 保护范围ID LockInfo string `json:"lockInfo,omitempty"` // 保护说明 SheetID string `json:"sheetId,omitempty"` // 保护工作表 ID }
GetSheetMetaRespSheetProtectedRange ...
type GetSheetMetaRespSheetProtectedRangeDimension ¶
type GetSheetMetaRespSheetProtectedRangeDimension struct { StartIndex int64 `json:"startIndex,omitempty"` // 保护行列的起始位置,位置从1开始 EndIndex int64 `json:"endIndex,omitempty"` // 保护行列的结束位置,位置从1开始 MajorDimension string `json:"majorDimension,omitempty"` // 若为ROWS,则为保护行;为COLUMNS,则为保护列 SheetID string `json:"sheetId,omitempty"` // 保护范围所在工作表 ID }
GetSheetMetaRespSheetProtectedRangeDimension ...
type GetSheetProtectedDimensionReq ¶
type GetSheetProtectedDimensionReq struct { ProtectIDs []string `query:"protectIds" join_sep:"," json:"-"` // 保护范围ID,可以通过[获取表格元数据](https://open.feishu.cn/document/ukTMukTMukTM/uETMzUjLxEzM14SMxMTN)接口获取,多个ID用逗号分隔,如xxxID1,xxxID2 MemberType *string `query:"memberType" json:"-"` // 返回的用户类型,可选userId,openId,unionId,默认使用userId SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
GetSheetProtectedDimensionReq ...
type GetSheetProtectedDimensionResp ¶
type GetSheetProtectedDimensionResp struct {
ProtectedRange *GetSheetProtectedDimensionRespProtectedRange `json:"protectedRange,omitempty"` // 保护范围
}
GetSheetProtectedDimensionResp ...
type GetSheetProtectedDimensionRespProtectedRange ¶
type GetSheetProtectedDimensionRespProtectedRange struct { ProtectID string `json:"protectId,omitempty"` // 保护范围ID Dimension *GetSheetProtectedDimensionRespProtectedRangeDimension `json:"dimension,omitempty"` // 保护范围,如果为空,则为保护子表 SheetID string `json:"sheetId,omitempty"` // sheet的id LockInfo string `json:"lockInfo,omitempty"` // 保护说明 Editors *GetSheetProtectedDimensionRespProtectedRangeEditors `json:"editors,omitempty"` // 用户信息 }
GetSheetProtectedDimensionRespProtectedRange ...
type GetSheetProtectedDimensionRespProtectedRangeDimension ¶
type GetSheetProtectedDimensionRespProtectedRangeDimension struct { SheetID string `json:"sheetId,omitempty"` // sheet 的 id StartIndex int64 `json:"startIndex,omitempty"` // 保护行列起始下标,下标从1开始 EndIndex int64 `json:"endIndex,omitempty"` // 保护行列终止下标,下标从1开始 MajorDimension string `json:"majorDimension,omitempty"` // 保护范围的维度,COLUMNS为保护列,ROWS为保护行 }
GetSheetProtectedDimensionRespProtectedRangeDimension ...
type GetSheetProtectedDimensionRespProtectedRangeEditors ¶
type GetSheetProtectedDimensionRespProtectedRangeEditors struct {
Users []*GetSheetProtectedDimensionRespProtectedRangeEditorsUser `json:"users,omitempty"` // 用户信息列表
}
GetSheetProtectedDimensionRespProtectedRangeEditors ...
type GetSheetProtectedDimensionRespProtectedRangeEditorsUser ¶
type GetSheetProtectedDimensionRespProtectedRangeEditorsUser struct { MemberType string `json:"memberType,omitempty"` // 用户类型 MemberID string `json:"memberId,omitempty"` // 用户ID }
GetSheetProtectedDimensionRespProtectedRangeEditorsUser ...
type GetSheetValueReq ¶
type GetSheetValueReq struct { ValueRenderOption *string `query:"valueRenderOption" json:"-"` // valueRenderOption=ToString 可返回纯文本的值(数值类型除外);valueRenderOption=FormattedValue 计算并格式化单元格;valueRenderOption=Formula单元格中含有公式时返回公式本身;valueRenderOption=UnformattedValue计算但不对单元格进行格式化。 DateTimeRenderOption *string `query:"dateTimeRenderOption" json:"-"` // dateTimeRenderOption=FormattedString 计算并对时间日期按照其格式进行格式化,但不会对数字进行格式化,返回格式化后的字符串。详见[电子表格常见问题](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/guide/sheets-faq) UserIDType *IDType `query:"user_id_type" json:"-"` // 返回的用户id类型,可选open_id,union_id SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,详见电子表格[概述](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Range string `path:"range" json:"-"` // 查询范围,包含 sheetId 与单元格范围两部分,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
GetSheetValueReq ...
type GetSheetValueResp ¶
type GetSheetValueResp struct { Revision int64 `json:"revision,omitempty"` // sheet 的版本号 SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token,详见电子表格[概述](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRange *GetSheetValueRespValueRange `json:"valueRange,omitempty"` // 值与范围 }
GetSheetValueResp ...
type GetSheetValueRespValueRange ¶
type GetSheetValueRespValueRange struct { MajorDimension string `json:"majorDimension,omitempty"` // 插入维度 Range string `json:"range,omitempty"` // 返回数据的范围,为空时表示查询范围没有数据 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 Values [][]SheetContent `json:"values,omitempty"` // 查询得到的值 }
GetSheetValueRespValueRange ...
type GetTaskCollaboratorListReq ¶
type GetTaskCollaboratorListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"「上次返回的page_token」" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"0d38e26e-190a-49e9-93a2-35067763ed1f" }
GetTaskCollaboratorListReq ...
type GetTaskCollaboratorListResp ¶
type GetTaskCollaboratorListResp struct { Items []*GetTaskCollaboratorListRespItem `json:"items,omitempty"` // 返回的协作者列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetTaskCollaboratorListResp ...
type GetTaskCollaboratorListRespItem ¶
type GetTaskCollaboratorListRespItem struct {
ID string `json:"id,omitempty"` // 任务协作者的 ID
}
GetTaskCollaboratorListRespItem ...
type GetTaskCommentReq ¶
type GetTaskCommentReq struct { TaskID string `path:"task_id" json:"-"` // 任务ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6937231762296684564" }
GetTaskCommentReq ...
type GetTaskCommentResp ¶
type GetTaskCommentResp struct {
Comment *GetTaskCommentRespComment `json:"comment,omitempty"` // 返回新的任务评论详情
}
GetTaskCommentResp ...
type GetTaskCommentRespComment ¶
type GetTaskCommentRespComment struct { Content string `json:"content,omitempty"` // 评论内容 ParentID string `json:"parent_id,omitempty"` // 评论的父ID,创建评论时若不为空则为某条评论的回复,若不为空则不是回复 ID string `json:"id,omitempty"` // 评论ID,由飞书服务器发号 }
GetTaskCommentRespComment ...
type GetTaskFollowerListReq ¶
type GetTaskFollowerListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"「上次返回的page_token」" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"0d38e26e-190a-49e9-93a2-35067763ed1f" }
GetTaskFollowerListReq ...
type GetTaskFollowerListResp ¶
type GetTaskFollowerListResp struct { Items []*GetTaskFollowerListRespItem `json:"items,omitempty"` // 返回的关注者列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetTaskFollowerListResp ...
type GetTaskFollowerListRespItem ¶
type GetTaskFollowerListRespItem struct {
ID string `json:"id,omitempty"` // 任务关注者 ID
}
GetTaskFollowerListRespItem ...
type GetTaskListReq ¶
type GetTaskListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"MTYzMTg3ODUxNQ==" UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID }
GetTaskListReq ...
type GetTaskListResp ¶
type GetTaskListResp struct { Items []*GetTaskListRespItem `json:"items,omitempty"` // 任务列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetTaskListResp ...
type GetTaskListRespItem ¶
type GetTaskListRespItem struct { ID string `json:"id,omitempty"` // 任务 ID,由飞书任务服务器发号 Summary string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务 Description string `json:"description,omitempty"` // 任务备注 CompleteTime string `json:"complete_time,omitempty"` // 任务的完成时间戳(单位为秒),如果完成时间为 0,则表示任务尚未完成 CreatorID string `json:"creator_id,omitempty"` // 任务的创建者 ID。在创建任务时无需填充该字段 Extra string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定 CreateTime string `json:"create_time,omitempty"` // 任务的创建时间戳(单位为秒) UpdateTime string `json:"update_time,omitempty"` // 任务的更新时间戳(单位为秒) Due *GetTaskListRespItemDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *GetTaskListRespItemOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息 Custom string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递 Source int64 `json:"source,omitempty"` // 任务创建的来源, 可选值有: `0`:未知类型, `1`:来源任务中心创建, `2`:来源消息转任务, `3`:来源云文档, `4`:来源文档单品, `5`:来源PANO, `6`:来源tenant_access_token创建的任务, `7`:来源user_access_token创建的任务, `8`:来源新版云文档 }
GetTaskListRespItem ...
type GetTaskListRespItemDue ¶
type GetTaskListRespItemDue struct { Time string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒) Timezone string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai IsAllDay bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点) }
GetTaskListRespItemDue ...
type GetTaskListRespItemOrigin ¶
type GetTaskListRespItemOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn Href *GetTaskListRespItemOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
GetTaskListRespItemOrigin ...
type GetTaskListRespItemOriginHref ¶
type GetTaskListRespItemOriginHref struct { URL string `json:"url,omitempty"` // 具体链接地址 Title string `json:"title,omitempty"` // 链接对应的标题 }
GetTaskListRespItemOriginHref ...
type GetTaskReminderListReq ¶
type GetTaskReminderListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:50, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"「填写上次返回的page_token」" TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"0d38e26e-190a-49e9-93a2-35067763ed1f" }
GetTaskReminderListReq ...
type GetTaskReminderListResp ¶
type GetTaskReminderListResp struct { Items []*GetTaskReminderListRespItem `json:"items,omitempty"` // 返回提醒时间设置列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetTaskReminderListResp ...
type GetTaskReminderListRespItem ¶
type GetTaskReminderListRespItem struct { ID string `json:"id,omitempty"` // 提醒时间设置的 ID(在删除时候需要使用这个) RelativeFireMinute int64 `json:"relative_fire_minute,omitempty"` // 相对于截止时间的提醒时间(如提前 30 分钟,截止时间后 30 分钟,则为 -30) }
GetTaskReminderListRespItem ...
type GetTaskReq ¶
type GetTaskReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" }
GetTaskReq ...
type GetTaskResp ¶
type GetTaskResp struct {
Task *GetTaskRespTask `json:"task,omitempty"` // 返回任务资源详情
}
GetTaskResp ...
type GetTaskRespTask ¶
type GetTaskRespTask struct { ID string `json:"id,omitempty"` // 任务 ID,由飞书任务服务器发号 Summary string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务 Description string `json:"description,omitempty"` // 任务备注 CompleteTime string `json:"complete_time,omitempty"` // 任务的完成时间戳(单位为秒),如果完成时间为 0,则表示任务尚未完成 CreatorID string `json:"creator_id,omitempty"` // 任务的创建者 ID。在创建任务时无需填充该字段 Extra string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定 CreateTime string `json:"create_time,omitempty"` // 任务的创建时间戳(单位为秒) UpdateTime string `json:"update_time,omitempty"` // 任务的更新时间戳(单位为秒) Due *GetTaskRespTaskDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *GetTaskRespTaskOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息 Custom string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递 Source int64 `json:"source,omitempty"` // 任务创建的来源, 可选值有: `0`:未知类型, `1`:来源任务中心创建, `2`:来源消息转任务, `3`:来源云文档, `4`:来源文档单品, `5`:来源PANO, `6`:来源tenant_access_token创建的任务, `7`:来源user_access_token创建的任务, `8`:来源新版云文档 }
GetTaskRespTask ...
type GetTaskRespTaskDue ¶
type GetTaskRespTaskDue struct { Time string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒) Timezone string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai IsAllDay bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点) }
GetTaskRespTaskDue ...
type GetTaskRespTaskOrigin ¶
type GetTaskRespTaskOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn Href *GetTaskRespTaskOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
GetTaskRespTaskOrigin ...
type GetTaskRespTaskOriginHref ¶
type GetTaskRespTaskOriginHref struct { URL string `json:"url,omitempty"` // 具体链接地址 Title string `json:"title,omitempty"` // 链接对应的标题 }
GetTaskRespTaskOriginHref ...
type GetTenantResp ¶
type GetTenantResp struct {
Tenant *GetTenantRespTenant `json:"tenant,omitempty"` // 企业信息
}
GetTenantResp ...
type GetTenantRespTenant ¶
type GetTenantRespTenant struct { Name string `json:"name,omitempty"` // 企业名称 DisplayID string `json:"display_id,omitempty"` // 企业编号,平台内唯一 TenantTag int64 `json:"tenant_tag,omitempty"` // 个人版/团队版标志, 可选值有: `0`:团队版, `2`:个人版 TenantKey string `json:"tenant_key,omitempty"` // 企业标识 Avatar *GetTenantRespTenantAvatar `json:"avatar,omitempty"` // 企业头像 }
GetTenantRespTenant ...
type GetTenantRespTenantAvatar ¶
type GetTenantRespTenantAvatar struct { AvatarOrigin string `json:"avatar_origin,omitempty"` // 企业头像 Avatar72 string `json:"avatar_72,omitempty"` // 企业头像 72x72 Avatar240 string `json:"avatar_240,omitempty"` // 企业头像 240x240 Avatar640 string `json:"avatar_640,omitempty"` // 企业头像 640x640 }
GetTenantRespTenantAvatar ...
type GetUserInfoResp ¶
type GetUserInfoResp struct { Name string `json:"name,omitempty"` // 用户姓名 EnName string `json:"en_name,omitempty"` // 用户英文名称 AvatarURL string `json:"avatar_url,omitempty"` // 用户头像 AvatarThumb string `json:"avatar_thumb,omitempty"` // 用户头像 72x72 AvatarMiddle string `json:"avatar_middle,omitempty"` // 用户头像 240x240 AvatarBig string `json:"avatar_big,omitempty"` // 用户头像 640x640 OpenID string `json:"open_id,omitempty"` // 用户在应用内的唯一标识 UnionID string `json:"union_id,omitempty"` // 用户对ISV的唯一标识,对于同一个ISV,用户在其名下所有应用的union_id相同 Email string `json:"email,omitempty"` // 用户邮箱, 字段权限要求: 获取用户邮箱信息 UserID string `json:"user_id,omitempty"` // 用户 user_id, 字段权限要求: 获取用户 user ID Mobile string `json:"mobile,omitempty"` // 用户手机号, 字段权限要求: 获取用户手机号 TenantKey string `json:"tenant_key,omitempty"` // 当前企业标识 }
GetUserInfoResp ...
type GetUserListOldReq ¶
type GetUserListOldReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_type", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID *string `query:"department_id" json:"-"` // 填写该字段表示获取部门下所有用户,选填。, 示例值:"od-xxxxxxxxxxxxx" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS%2BJKiSIkdexPw=" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
GetUserListOldReq ...
type GetUserListOldResp ¶
type GetUserListOldResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetUserListOldRespItem `json:"items,omitempty"` // - }
GetUserListOldResp ...
type GetUserListOldRespItem ¶
type GetUserListOldRespItem struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,获取用户基本信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,获取用户基本信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,获取用户性别,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 Avatar *GetUserListOldRespItemAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,获取用户基本信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 Status *GetUserListOldRespItemStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,获取用户组织架构信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,获取用户组织架构信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 Orders []*GetUserListOldRespItemOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,获取用户组织架构信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 CustomAttrs []*GetUserListOldRespItemCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,获取用户雇佣信息,以应用身份读取通讯录,读取通讯录,以应用身份访问通讯录 }
GetUserListOldRespItem ...
type GetUserListOldRespItemAvatar ¶
type GetUserListOldRespItemAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
GetUserListOldRespItemAvatar ...
type GetUserListOldRespItemCustomAttr ¶
type GetUserListOldRespItemCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *GetUserListOldRespItemCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
GetUserListOldRespItemCustomAttr ...
type GetUserListOldRespItemCustomAttrValue ¶
type GetUserListOldRespItemCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *GetUserListOldRespItemCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
GetUserListOldRespItemCustomAttrValue ...
type GetUserListOldRespItemCustomAttrValueGenericUser ¶
type GetUserListOldRespItemCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
GetUserListOldRespItemCustomAttrValueGenericUser ...
type GetUserListOldRespItemOrder ¶
type GetUserListOldRespItemOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
GetUserListOldRespItemOrder ...
type GetUserListOldRespItemStatus ¶
type GetUserListOldRespItemStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 }
GetUserListOldRespItemStatus ...
type GetUserListReq ¶
type GetUserListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID string `query:"department_id" json:"-"` // 填写该字段表示获取该部门下用户,必填。根部门的部门ID为0。, 示例值:"od-xxxxxxxxxxxxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=" }
GetUserListReq ...
type GetUserListResp ¶
type GetUserListResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*GetUserListRespItem `json:"items,omitempty"` // 用户信息列表 }
GetUserListResp ...
type GetUserListRespItem ¶
type GetUserListRespItem struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 AvatarKey string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key Avatar *GetUserListRespItemAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *GetUserListRespItemStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*GetUserListRespItemOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*GetUserListRespItemCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
GetUserListRespItem ...
type GetUserListRespItemAvatar ¶
type GetUserListRespItemAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
GetUserListRespItemAvatar ...
type GetUserListRespItemCustomAttr ¶
type GetUserListRespItemCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *GetUserListRespItemCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
GetUserListRespItemCustomAttr ...
type GetUserListRespItemCustomAttrValue ¶
type GetUserListRespItemCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *GetUserListRespItemCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
GetUserListRespItemCustomAttrValue ...
type GetUserListRespItemCustomAttrValueGenericUser ¶
type GetUserListRespItemCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
GetUserListRespItemCustomAttrValueGenericUser ...
type GetUserListRespItemOrder ¶
type GetUserListRespItemOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
GetUserListRespItemOrder ...
type GetUserListRespItemStatus ¶
type GetUserListRespItemStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
GetUserListRespItemStatus ...
type GetUserOKRListReq ¶
type GetUserOKRListReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID Offset string `query:"offset" json:"-"` // 请求列表的偏移,offset>=0,请求Query中, 示例值:"0" Limit string `query:"limit" json:"-"` // 请求列表的长度,0<limit<=10,请求Query中, 示例值:"0" Lang *string `query:"lang" json:"-"` // 请求OKR的语言版本(比如@的人名),lang=en_us/zh_cn,请求 Query中, 示例值:"zh_cn", 默认值: `zh_cn` PeriodIDs []string `query:"period_ids" json:"-"` // period_id列表,最多10个, 示例值:["6951461264858777132"], 最大长度:`10` UserID string `path:"user_id" json:"-"` // 目标用户id, 示例值:"ou-asdasdasdasdasd" }
GetUserOKRListReq ...
type GetUserOKRListResp ¶
type GetUserOKRListResp struct { Total int64 `json:"total,omitempty"` // OKR周期总数 OKRList []*GetUserOKRListRespOKR `json:"okr_list,omitempty"` // OKR 列表 }
GetUserOKRListResp ...
type GetUserOKRListRespOKR ¶
type GetUserOKRListRespOKR struct { ID string `json:"id,omitempty"` // id Permission int64 `json:"permission,omitempty"` // OKR的访问权限, 可选值有: `0`:此时OKR只返回id, `1`:返回OKR的其他具体字段 PeriodID string `json:"period_id,omitempty"` // period_id Name string `json:"name,omitempty"` // 名称 ObjectiveList []*GetUserOKRListRespOKRObjective `json:"objective_list,omitempty"` // Objective列表 }
GetUserOKRListRespOKR ...
type GetUserOKRListRespOKRObjective ¶
type GetUserOKRListRespOKRObjective struct { ID string `json:"id,omitempty"` // Objective ID Permission int64 `json:"permission,omitempty"` // 权限, 可选值有: `0`:此时OKR只返回id, `1`:返回OKR的其他具体字段 Content string `json:"content,omitempty"` // Objective 内容 ProgressReport string `json:"progress_report,omitempty"` // Objective 进度记录内容 Score int64 `json:"score,omitempty"` // Objective 分数(0 - 100) Weight float64 `json:"weight,omitempty"` // Objective的权重(0 - 100) ProgressRate *GetUserOKRListRespOKRObjectiveProgressRate `json:"progress_rate,omitempty"` // Objective进度 KrList []*GetUserOKRListRespOKRObjectiveKr `json:"kr_list,omitempty"` // Objective KeyResult 列表 AlignedObjectiveList []*GetUserOKRListRespOKRObjectiveAlignedObjective `json:"aligned_objective_list,omitempty"` // 对齐到该Objective的Objective列表 AligningObjectiveList []*GetUserOKRListRespOKRObjectiveAligningObjective `json:"aligning_objective_list,omitempty"` // 该Objective对齐到的Objective列表 }
GetUserOKRListRespOKRObjective ...
type GetUserOKRListRespOKRObjectiveAlignedObjective ¶
type GetUserOKRListRespOKRObjectiveAlignedObjective struct { ID string `json:"id,omitempty"` // Objective的ID OKRID string `json:"okr_id,omitempty"` // OKR的ID Owner *GetUserOKRListRespOKRObjectiveAlignedObjectiveOwner `json:"owner,omitempty"` // 该Objective的Owner }
GetUserOKRListRespOKRObjectiveAlignedObjective ...
type GetUserOKRListRespOKRObjectiveAlignedObjectiveOwner ¶
type GetUserOKRListRespOKRObjectiveAlignedObjectiveOwner struct { OpenID string `json:"open_id,omitempty"` // 用户的 open_id UserID string `json:"user_id,omitempty"` // 用户的 user_id }
GetUserOKRListRespOKRObjectiveAlignedObjectiveOwner ...
type GetUserOKRListRespOKRObjectiveAligningObjective ¶
type GetUserOKRListRespOKRObjectiveAligningObjective struct { ID string `json:"id,omitempty"` // Objective的ID OKRID string `json:"okr_id,omitempty"` // OKR的ID Owner *GetUserOKRListRespOKRObjectiveAligningObjectiveOwner `json:"owner,omitempty"` // 该Objective的Owner }
GetUserOKRListRespOKRObjectiveAligningObjective ...
type GetUserOKRListRespOKRObjectiveAligningObjectiveOwner ¶
type GetUserOKRListRespOKRObjectiveAligningObjectiveOwner struct { OpenID string `json:"open_id,omitempty"` // 用户的 open_id UserID string `json:"user_id,omitempty"` // 用户的 user_id }
GetUserOKRListRespOKRObjectiveAligningObjectiveOwner ...
type GetUserOKRListRespOKRObjectiveKr ¶
type GetUserOKRListRespOKRObjectiveKr struct { ID string `json:"id,omitempty"` // Key Result ID Content string `json:"content,omitempty"` // KeyResult 内容 Score int64 `json:"score,omitempty"` // KeyResult打分(0 - 100) Weight int64 `json:"weight,omitempty"` // KeyResult权重(0 - 100)(废弃) KrWeight float64 `json:"kr_weight,omitempty"` // KeyResult的权重(0 - 100) ProgressRate *GetUserOKRListRespOKRObjectiveKrProgressRate `json:"progress_rate,omitempty"` // KR进度 }
GetUserOKRListRespOKRObjectiveKr ...
type GetUserOKRListRespOKRObjectiveKrProgressRate ¶
type GetUserOKRListRespOKRObjectiveKrProgressRate struct { Percent int64 `json:"percent,omitempty"` // Objective 进度百分比 >= 0 Status string `json:"status,omitempty"` // Objective 进度状态, 可选值有: `-1`:未更新, `0`:正常, `1`:有风险, `2`:已延期 }
GetUserOKRListRespOKRObjectiveKrProgressRate ...
type GetUserOKRListRespOKRObjectiveProgressRate ¶
type GetUserOKRListRespOKRObjectiveProgressRate struct { Percent int64 `json:"percent,omitempty"` // Objective 进度百分比 >= 0 Status string `json:"status,omitempty"` // Objective 进度状态, 可选值有: `-1`:未更新, `0`:正常, `1`:有风险, `2`:已延期 }
GetUserOKRListRespOKRObjectiveProgressRate ...
type GetUserReq ¶
type GetUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` UserID string `path:"user_id" json:"-"` // 用户ID,需要与查询参数中的user_id_type类型保持一致。, 示例值:"7be5fg9a" }
GetUserReq ...
type GetUserResp ¶
type GetUserResp struct {
User *GetUserRespUser `json:"user,omitempty"` // 用户信息
}
GetUserResp ...
type GetUserRespUser ¶
type GetUserRespUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 Avatar *GetUserRespUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *GetUserRespUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*GetUserRespUserOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*GetUserRespUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 }
GetUserRespUser ...
type GetUserRespUserAvatar ¶
type GetUserRespUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
GetUserRespUserAvatar ...
type GetUserRespUserCustomAttr ¶
type GetUserRespUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *GetUserRespUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
GetUserRespUserCustomAttr ...
type GetUserRespUserCustomAttrValue ¶
type GetUserRespUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *GetUserRespUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
GetUserRespUserCustomAttrValue ...
type GetUserRespUserCustomAttrValueGenericUser ¶
type GetUserRespUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
GetUserRespUserCustomAttrValueGenericUser ...
type GetUserRespUserOrder ¶
type GetUserRespUserOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
GetUserRespUserOrder ...
type GetUserRespUserStatus ¶
type GetUserRespUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
GetUserRespUserStatus ...
type GetVCDailyReportReq ¶
type GetVCDailyReportReq struct { StartTime string `query:"start_time" json:"-"` // 开始时间(unix时间,单位sec), 示例值:"1608888867" EndTime string `query:"end_time" json:"-"` // 结束时间(unix时间,单位sec), 示例值:"1608888966" }
GetVCDailyReportReq ...
type GetVCDailyReportResp ¶
type GetVCDailyReportResp struct {
MeetingReport *GetVCDailyReportRespMeetingReport `json:"meeting_report,omitempty"` // 会议报告
}
GetVCDailyReportResp ...
type GetVCDailyReportRespMeetingReport ¶
type GetVCDailyReportRespMeetingReport struct { TotalMeetingCount string `json:"total_meeting_count,omitempty"` // 总会议数量 TotalMeetingDuration string `json:"total_meeting_duration,omitempty"` // 总会议时长(单位sec) TotalParticipantCount string `json:"total_participant_count,omitempty"` // 总参会人数 DailyReport *GetVCDailyReportRespMeetingReportDailyReport `json:"daily_report,omitempty"` // 每日会议报告列表 }
GetVCDailyReportRespMeetingReport ...
type GetVCDailyReportRespMeetingReportDailyReport ¶
type GetVCDailyReportRespMeetingReportDailyReport struct { Date string `json:"date,omitempty"` // 日期(unix时间,单位sec) MeetingCount string `json:"meeting_count,omitempty"` // 会议数量 MeetingDuration string `json:"meeting_duration,omitempty"` // 会议时长(单位sec) ParticipantCount string `json:"participant_count,omitempty"` // 参会人数 }
GetVCDailyReportRespMeetingReportDailyReport ...
type GetVCMeetingRecordingReq ¶
type GetVCMeetingRecordingReq struct {
MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028"
}
GetVCMeetingRecordingReq ...
type GetVCMeetingRecordingResp ¶
type GetVCMeetingRecordingResp struct {
Recording *GetVCMeetingRecordingRespRecording `json:"recording,omitempty"` // 录制文件数据
}
GetVCMeetingRecordingResp ...
type GetVCMeetingRecordingRespRecording ¶
type GetVCMeetingRecordingRespRecording struct { URL string `json:"url,omitempty"` // 录制文件URL Duration string `json:"duration,omitempty"` // 录制总时长(单位msec) }
GetVCMeetingRecordingRespRecording ...
type GetVCMeetingReq ¶
type GetVCMeetingReq struct { WithParticipants *bool `query:"with_participants" json:"-"` // 是否需要参会人列表, 示例值:false WithMeetingAbility *bool `query:"with_meeting_ability" json:"-"` // 是否需要会中使用能力统计(仅限tenant_access_token), 示例值:false UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028" }
GetVCMeetingReq ...
type GetVCMeetingResp ¶
type GetVCMeetingResp struct {
Meeting *GetVCMeetingRespMeeting `json:"meeting,omitempty"` // 会议数据
}
GetVCMeetingResp ...
type GetVCMeetingRespMeeting ¶
type GetVCMeetingRespMeeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) CreateTime string `json:"create_time,omitempty"` // 会议创建时间(unix时间,单位sec) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *GetVCMeetingRespMeetingHostUser `json:"host_user,omitempty"` // 主持人 Status int64 `json:"status,omitempty"` // 会议状态, 可选值有: `1`:会议呼叫中, `2`:会议进行中, `3`:会议已结束 ParticipantCount string `json:"participant_count,omitempty"` // 参会人数 Participants []*GetVCMeetingRespMeetingParticipant `json:"participants,omitempty"` // 参会人列表 Ability *GetVCMeetingRespMeetingAbility `json:"ability,omitempty"` // 会中使用的能力 }
GetVCMeetingRespMeeting ...
type GetVCMeetingRespMeetingAbility ¶
type GetVCMeetingRespMeetingAbility struct { UseVideo bool `json:"use_video,omitempty"` // 是否使用视频 UseAudio bool `json:"use_audio,omitempty"` // 是否使用音频 UseFollowScreen bool `json:"use_follow_screen,omitempty"` // 是否使用妙享(magic share) UseRecording bool `json:"use_recording,omitempty"` // 是否使用录制 UsePstn bool `json:"use_pstn,omitempty"` // 是否使用PSTN }
GetVCMeetingRespMeetingAbility ...
type GetVCMeetingRespMeetingHostUser ¶
type GetVCMeetingRespMeetingHostUser struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
GetVCMeetingRespMeetingHostUser ...
type GetVCMeetingRespMeetingParticipant ¶
type GetVCMeetingRespMeetingParticipant struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 IsHost bool `json:"is_host,omitempty"` // 是否为主持人 IsCohost bool `json:"is_cohost,omitempty"` // 是否为联席主持人 IsExternal bool `json:"is_external,omitempty"` // 是否为外部参会人 Status int64 `json:"status,omitempty"` // 参会人状态, 可选值有: `1`:呼叫中, `2`:在会中, `3`:正在响铃, `4`:不在会中或已经离开会议 }
GetVCMeetingRespMeetingParticipant ...
type GetVCReserveActiveMeetingReq ¶
type GetVCReserveActiveMeetingReq struct { WithParticipants *bool `query:"with_participants" json:"-"` // 是否需要参会人列表,默认为false, 示例值:false UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ReserveID string `path:"reserve_id" json:"-"` // 预约ID(预约的唯一标识), 示例值:"6911188411932033028" }
GetVCReserveActiveMeetingReq ...
type GetVCReserveActiveMeetingResp ¶
type GetVCReserveActiveMeetingResp struct {
Meeting *GetVCReserveActiveMeetingRespMeeting `json:"meeting,omitempty"` // 会议数据
}
GetVCReserveActiveMeetingResp ...
type GetVCReserveActiveMeetingRespMeeting ¶
type GetVCReserveActiveMeetingRespMeeting struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) MeetingNo string `json:"meeting_no,omitempty"` // 会议号 CreateTime string `json:"create_time,omitempty"` // 会议创建时间(unix时间,单位sec) StartTime string `json:"start_time,omitempty"` // 会议开始时间(unix时间,单位sec) EndTime string `json:"end_time,omitempty"` // 会议结束时间(unix时间,单位sec) HostUser *GetVCReserveActiveMeetingRespMeetingHostUser `json:"host_user,omitempty"` // 主持人 Status int64 `json:"status,omitempty"` // 会议状态, 可选值有: `1`:会议呼叫中, `2`:会议进行中, `3`:会议已结束 ParticipantCount string `json:"participant_count,omitempty"` // 参会人数 ParticipantCountAccumulated string `json:"participant_count_accumulated,omitempty"` // 累计参会人数 Participants []*GetVCReserveActiveMeetingRespMeetingParticipant `json:"participants,omitempty"` // 参会人列表 Ability *GetVCReserveActiveMeetingRespMeetingAbility `json:"ability,omitempty"` // 会中使用的能力 }
GetVCReserveActiveMeetingRespMeeting ...
type GetVCReserveActiveMeetingRespMeetingAbility ¶
type GetVCReserveActiveMeetingRespMeetingAbility struct { UseVideo bool `json:"use_video,omitempty"` // 是否使用视频 UseAudio bool `json:"use_audio,omitempty"` // 是否使用音频 UseFollowScreen bool `json:"use_follow_screen,omitempty"` // 是否使用妙享(magic share) UseRecording bool `json:"use_recording,omitempty"` // 是否使用录制 UsePstn bool `json:"use_pstn,omitempty"` // 是否使用PSTN }
GetVCReserveActiveMeetingRespMeetingAbility ...
type GetVCReserveActiveMeetingRespMeetingHostUser ¶
type GetVCReserveActiveMeetingRespMeetingHostUser struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
GetVCReserveActiveMeetingRespMeetingHostUser ...
type GetVCReserveActiveMeetingRespMeetingParticipant ¶
type GetVCReserveActiveMeetingRespMeetingParticipant struct { ID string `json:"id,omitempty"` // 用户ID FirstJoinTime string `json:"first_join_time,omitempty"` // 首次入会时间,秒级Unix时间戳 FinalLeaveTime string `json:"final_leave_time,omitempty"` // 最终离会时间,秒级Unix时间戳 InMeetingDuration string `json:"in_meeting_duration,omitempty"` // 累计在会中时间,时间单位:秒 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 IsHost bool `json:"is_host,omitempty"` // 是否为主持人 IsCohost bool `json:"is_cohost,omitempty"` // 是否为联席主持人 IsExternal bool `json:"is_external,omitempty"` // 是否为外部参会人 Status int64 `json:"status,omitempty"` // 参会人状态, 可选值有: `1`:呼叫中, `2`:在会中, `3`:正在响铃, `4`:不在会中或已经离开会议 }
GetVCReserveActiveMeetingRespMeetingParticipant ...
type GetVCReserveReq ¶
type GetVCReserveReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ReserveID string `path:"reserve_id" json:"-"` // 预约ID(预约的唯一标识), 示例值:"6911188411932033028" }
GetVCReserveReq ...
type GetVCReserveResp ¶
type GetVCReserveResp struct {
Reserve *GetVCReserveRespReserve `json:"reserve,omitempty"` // 预约数据
}
GetVCReserveResp ...
type GetVCReserveRespReserve ¶
type GetVCReserveRespReserve struct { ID string `json:"id,omitempty"` // 预约ID(预约的唯一标识) MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) AppLink string `json:"app_link,omitempty"` // APPLink用于唤起飞书APP入会。"{?}"为占位符,用于配置入会参数,使用时需替换具体值:0表示关闭,1表示打开。preview为入会前的设置页,mic为麦克风,speaker为扬声器,camera为摄像头 LiveLink string `json:"live_link,omitempty"` // 直播链接 EndTime string `json:"end_time,omitempty"` // 预约到期时间(unix时间,单位sec) ExpireStatus int64 `json:"expire_status,omitempty"` // 过期状态, 可选值有: `1`:未过期, `2`:已过期 ReserveUserID string `json:"reserve_user_id,omitempty"` // 预约人ID MeetingSettings *GetVCReserveRespReserveMeetingSettings `json:"meeting_settings,omitempty"` // 会议设置 }
GetVCReserveRespReserve ...
type GetVCReserveRespReserveMeetingSettings ¶
type GetVCReserveRespReserveMeetingSettings struct { Topic string `json:"topic,omitempty"` // 会议主题 ActionPermissions []*GetVCReserveRespReserveMeetingSettingsActionPermission `json:"action_permissions,omitempty"` // 会议权限配置列表,如果存在相同的权限配置项则它们之间为"逻辑或"的关系(即 有一个为true则拥有该权限) MeetingInitialType int64 `json:"meeting_initial_type,omitempty"` // 会议初始类型, 可选值有: `1`:多人会议, `2`:1v1呼叫 CallSetting *GetVCReserveRespReserveMeetingSettingsCallSetting `json:"call_setting,omitempty"` // 1v1呼叫相关参数 }
GetVCReserveRespReserveMeetingSettings ...
type GetVCReserveRespReserveMeetingSettingsActionPermission ¶
type GetVCReserveRespReserveMeetingSettingsActionPermission struct { Permission int64 `json:"permission,omitempty"` // 权限项, 可选值有: `1`:是否能成为主持人, `2`:是否能邀请参会人, `3`:是否能加入会议 PermissionCheckers []*GetVCReserveRespReserveMeetingSettingsActionPermissionPermissionChecker `json:"permission_checkers,omitempty"` // 权限检查器列表,权限检查器之间为"逻辑或"的关系(即 有一个为true则拥有该权限) }
GetVCReserveRespReserveMeetingSettingsActionPermission ...
type GetVCReserveRespReserveMeetingSettingsActionPermissionPermissionChecker ¶
type GetVCReserveRespReserveMeetingSettingsActionPermissionPermissionChecker struct { CheckField int64 `json:"check_field,omitempty"` // 检查字段类型, 可选值有: `1`:用户ID, `2`:用户类型, `3`:租户ID CheckMode int64 `json:"check_mode,omitempty"` // 检查方式, 可选值有: `1`:在check_list中为有权限(白名单), `2`:不在check_list中为有权限(黑名单) CheckList []string `json:"check_list,omitempty"` // 检查字段列表 }
GetVCReserveRespReserveMeetingSettingsActionPermissionPermissionChecker ...
type GetVCReserveRespReserveMeetingSettingsCallSetting ¶
type GetVCReserveRespReserveMeetingSettingsCallSetting struct {
Callee *GetVCReserveRespReserveMeetingSettingsCallSettingCallee `json:"callee,omitempty"` // 被呼叫的用户
}
GetVCReserveRespReserveMeetingSettingsCallSetting ...
type GetVCReserveRespReserveMeetingSettingsCallSettingCallee ¶
type GetVCReserveRespReserveMeetingSettingsCallSettingCallee struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型,当前仅支持用户类型6(pstn用户), 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 PstnSipInfo *GetVCReserveRespReserveMeetingSettingsCallSettingCalleePstnSipInfo `json:"pstn_sip_info,omitempty"` // pstn/sip信息 }
GetVCReserveRespReserveMeetingSettingsCallSettingCallee ...
type GetVCReserveRespReserveMeetingSettingsCallSettingCalleePstnSipInfo ¶
type GetVCReserveRespReserveMeetingSettingsCallSettingCalleePstnSipInfo struct { Nickname string `json:"nickname,omitempty"` // 给pstn/sip用户设置的临时昵称 MainAddress string `json:"main_address,omitempty"` // pstn/sip主机号,格式为:[国际冠字]-[电话区号][电话号码],当前仅支持国内手机及固定电话号码 }
GetVCReserveRespReserveMeetingSettingsCallSettingCalleePstnSipInfo ...
type GetVCRoomConfigReq ¶
type GetVCRoomConfigReq struct { Scope int64 `query:"scope" json:"-"` // 查询节点范围, 示例值:5, 可选值有: `1`:租户, `2`:国家/地区, `3`:城市, `4`:建筑, `5`:楼层, `6`:会议室 CountryID *string `query:"country_id" json:"-"` // 国家/地区ID scope为2,3时需要此参数, 示例值:"086" DistrictID *string `query:"district_id" json:"-"` // 城市ID scope为3时需要此参数, 示例值:"001" BuildingID *string `query:"building_id" json:"-"` // 建筑ID scope为4,5时需要此参数, 示例值:"22" FloorName *string `query:"floor_name" json:"-"` // 楼层 scope为5时需要此参数, 示例值:"4" RoomID *string `query:"room_id" json:"-"` // 会议室ID scope为6时需要此参数, 示例值:"6383786266263" }
GetVCRoomConfigReq ...
type GetVCRoomConfigResp ¶
type GetVCRoomConfigResp struct { RoomBackground string `json:"room_background,omitempty"` // 飞书会议室背景图 DisplayBackground string `json:"display_background,omitempty"` // 飞书签到板背景图 DigitalSignage *GetVCRoomConfigRespDigitalSignage `json:"digital_signage,omitempty"` // 飞书会议室数字标牌 }
GetVCRoomConfigResp ...
type GetVCRoomConfigRespDigitalSignage ¶
type GetVCRoomConfigRespDigitalSignage struct { Enable bool `json:"enable,omitempty"` // 是否开启数字标牌功能 Mute bool `json:"mute,omitempty"` // 是否静音播放 StartDisplay int64 `json:"start_display,omitempty"` // 日程会议开始前n分钟结束播放 StopDisplay int64 `json:"stop_display,omitempty"` // 会议结束后n分钟开始播放 Materials []*GetVCRoomConfigRespDigitalSignageMaterial `json:"materials,omitempty"` // 素材列表 }
GetVCRoomConfigRespDigitalSignage ...
type GetVCRoomConfigRespDigitalSignageMaterial ¶
type GetVCRoomConfigRespDigitalSignageMaterial struct { ID string `json:"id,omitempty"` // 素材ID Name string `json:"name,omitempty"` // 素材名称 MaterialType int64 `json:"material_type,omitempty"` // 素材类型, 可选值有: `1`:图片, `2`:视频, `3`:GIF URL string `json:"url,omitempty"` // 素材url Duration int64 `json:"duration,omitempty"` // 播放时长(单位sec) Cover string `json:"cover,omitempty"` // 素材封面url Md5 string `json:"md5,omitempty"` // 素材文件md5 }
GetVCRoomConfigRespDigitalSignageMaterial ...
type GetVCTopUserReportReq ¶
type GetVCTopUserReportReq struct { StartTime string `query:"start_time" json:"-"` // 开始时间(unix时间,单位sec), 示例值:"1608888867" EndTime string `query:"end_time" json:"-"` // 结束时间(unix时间,单位sec), 示例值:"1608889966" Limit int64 `query:"limit" json:"-"` // 取前多少位, 示例值:10 OrderBy int64 `query:"order_by" json:"-"` // 排序依据(降序), 示例值:1, 可选值有: `1`:会议数量, `2`:会议时长 }
GetVCTopUserReportReq ...
type GetVCTopUserReportResp ¶
type GetVCTopUserReportResp struct {
TopUserReport *GetVCTopUserReportRespTopUserReport `json:"top_user_report,omitempty"` // top用户列表
}
GetVCTopUserReportResp ...
type GetVCTopUserReportRespTopUserReport ¶
type GetVCTopUserReportRespTopUserReport struct { ID string `json:"id,omitempty"` // 用户ID Name string `json:"name,omitempty"` // 用户名 UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 MeetingCount string `json:"meeting_count,omitempty"` // 会议数量 MeetingDuration string `json:"meeting_duration,omitempty"` // 会议时长(单位sec) }
GetVCTopUserReportRespTopUserReport ...
type GetWikiNodeListReq ¶
type GetWikiNodeListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"6946843325487456878" ParentNodeToken *string `query:"parent_node_token" json:"-"` // 父节点token, 示例值:"wikcnKQ1k3pcuo5uSK4t8VN6kVf" SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"6946843325487906839" }
GetWikiNodeListReq ...
type GetWikiNodeListResp ¶
type GetWikiNodeListResp struct { Items []*GetWikiNodeListRespItem `json:"items,omitempty"` // 数据列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetWikiNodeListResp ...
type GetWikiNodeListRespItem ¶
type GetWikiNodeListRespItem struct { SpaceID string `json:"space_id,omitempty"` // 知识库id NodeToken string `json:"node_token,omitempty"` // 节点token ObjToken string `json:"obj_token,omitempty"` // 文档token,可以根据obj_type判断是属于doc、sheet还是mindnote的token(对于快捷方式,该字段是对应的实体的obj_token) ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken string `json:"parent_node_token,omitempty"` // 节点的父亲token NodeType string `json:"node_type,omitempty"` // 节点类型, 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值 OriginSpaceID string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的spaceid HasChild bool `json:"has_child,omitempty"` // 是否有子节点 Title string `json:"title,omitempty"` // 文档标题 ObjCreateTime string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime string `json:"node_create_time,omitempty"` // 节点创建时间 }
GetWikiNodeListRespItem ...
type GetWikiNodeReq ¶
type GetWikiNodeReq struct {
Token string `query:"token" json:"-"` // 文档的wiki token, 示例值:"wikcnKQ1k3pcuo5uSK4t8VN6kVf"
}
GetWikiNodeReq ...
type GetWikiNodeResp ¶
type GetWikiNodeResp struct {
Node *GetWikiNodeRespNode `json:"node,omitempty"` // 节点信息
}
GetWikiNodeResp ...
type GetWikiNodeRespNode ¶
type GetWikiNodeRespNode struct { SpaceID string `json:"space_id,omitempty"` // 知识库id NodeToken string `json:"node_token,omitempty"` // 节点token ObjToken string `json:"obj_token,omitempty"` // 文档token,可以根据obj_type判断是属于doc、sheet还是mindnote的token(对于快捷方式,该字段是对应的实体的obj_token) ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken string `json:"parent_node_token,omitempty"` // 节点的父亲token NodeType string `json:"node_type,omitempty"` // 节点类型, 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值 OriginSpaceID string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的spaceid HasChild bool `json:"has_child,omitempty"` // 是否有子节点 Title string `json:"title,omitempty"` // 文档标题 ObjCreateTime string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime string `json:"node_create_time,omitempty"` // 节点创建时间 }
GetWikiNodeRespNode ...
type GetWikiSpaceListReq ¶
type GetWikiSpaceListReq struct { PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"1565676577122621" }
GetWikiSpaceListReq ...
type GetWikiSpaceListResp ¶
type GetWikiSpaceListResp struct { Items []*GetWikiSpaceListRespItem `json:"items,omitempty"` // 数据列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
GetWikiSpaceListResp ...
type GetWikiSpaceListRespItem ¶
type GetWikiSpaceListRespItem struct { Name string `json:"name,omitempty"` // 知识空间名称 Description string `json:"description,omitempty"` // 知识空间描述 SpaceID string `json:"space_id,omitempty"` // 知识空间id }
GetWikiSpaceListRespItem ...
type GetWikiSpaceReq ¶
type GetWikiSpaceReq struct {
SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"6870403571079249922"
}
GetWikiSpaceReq ...
type GetWikiSpaceResp ¶
type GetWikiSpaceResp struct {
Space *GetWikiSpaceRespSpace `json:"space,omitempty"` // 知识空间
}
GetWikiSpaceResp ...
type GetWikiSpaceRespSpace ¶
type GetWikiSpaceRespSpace struct { Name string `json:"name,omitempty"` // 知识空间名称 Description string `json:"description,omitempty"` // 知识空间描述 SpaceID string `json:"space_id,omitempty"` // 知识空间id }
GetWikiSpaceRespSpace ...
type GetWikiTaskReq ¶
type GetWikiTaskReq struct { TaskType string `query:"task_type" json:"-"` // 任务类型, 示例值:"move", 可选值有: `move`:MoveDocsToWiki任务 TaskID string `path:"task_id" json:"-"` // 任务id, 示例值:"7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7" }
GetWikiTaskReq ...
type GetWikiTaskResp ¶
type GetWikiTaskResp struct {
Task *GetWikiTaskRespTask `json:"task,omitempty"` // 任务结果
}
GetWikiTaskResp ...
type GetWikiTaskRespTask ¶
type GetWikiTaskRespTask struct { TaskID string `json:"task_id,omitempty"` // 任务id MoveResult *GetWikiTaskRespTaskMoveResult `json:"move_result,omitempty"` // MoveDocsToWiki任务结果 }
GetWikiTaskRespTask ...
type GetWikiTaskRespTaskMoveResult ¶
type GetWikiTaskRespTaskMoveResult struct { Node *GetWikiTaskRespTaskMoveResultNode `json:"node,omitempty"` // 移动完成的节点信息 Status int64 `json:"status,omitempty"` // 节点移动状态码 StatusMsg string `json:"status_msg,omitempty"` // 节点移动状态信息 }
GetWikiTaskRespTaskMoveResult ...
type GetWikiTaskRespTaskMoveResultNode ¶
type GetWikiTaskRespTaskMoveResultNode struct { SpaceID string `json:"space_id,omitempty"` // 知识库id NodeToken string `json:"node_token,omitempty"` // 节点token ObjToken string `json:"obj_token,omitempty"` // 文档token,可以根据obj_type判断是属于doc、sheet还是mindnote的token(对于快捷方式,该字段是对应的实体的obj_token) ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken string `json:"parent_node_token,omitempty"` // 节点的父亲token NodeType string `json:"node_type,omitempty"` // 节点类型, 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值 OriginSpaceID string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的spaceid HasChild bool `json:"has_child,omitempty"` // 是否有子节点 Title string `json:"title,omitempty"` // 文档标题 ObjCreateTime string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime string `json:"node_create_time,omitempty"` // 节点创建时间 }
GetWikiTaskRespTaskMoveResultNode ...
type HelpdeskCategory ¶
type HelpdeskCategory struct { CategoryID string `json:"category_id,omitempty"` // 知识库分类ID ID string `json:"id,omitempty"` // 知识库分类ID,(旧版,请使用category_id) Name string `json:"name,omitempty"` // 名称 ParentID string `json:"parent_id,omitempty"` // 父知识库分类ID HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Language string `json:"language,omitempty"` // 语言 Children []*HelpdeskCategory `json:"children,omitempty"` // 子分类详情 }
HelpdeskCategory 知识库分类
type HelpdeskCustomizedField ¶
type HelpdeskCustomizedField struct { ID string `json:"id"` // id ,示例值:"123" Value string `json:"value"` // value ,示例值:"value" KeyName string `json:"key_name"` // key name ,示例值:"key" }
HelpdeskCustomizedField helpdesk custom field
type HelpdeskDropdownOption ¶
type HelpdeskDropdownOption struct { Tag string `json:"tag,omitempty"` // 选项ID DisplayName string `json:"display_name,omitempty"` // 展示名称 Children []*HelpdeskDropdownOption `json:"children,omitempty"` // 同上:选项列表,只适用于多层下拉列表(最多可以设置三级下拉列表) }
HelpdeskDropdownOption 下拉列表选项
type HelpdeskService ¶
type HelpdeskService struct {
// contains filtered or unexported fields
}
func (*HelpdeskService) AnswerHelpdeskTicketUserQuery ¶
func (r *HelpdeskService) AnswerHelpdeskTicketUserQuery(ctx context.Context, request *AnswerHelpdeskTicketUserQueryReq, options ...MethodOptionFunc) (*AnswerHelpdeskTicketUserQueryResp, *Response, error)
AnswerHelpdeskTicketUserQuery 该接口用于回复用户提问结果至工单,需要工单仍处于进行中且未接入人工状态。仅支持自建应用。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/answer_user_query
func (*HelpdeskService) CancelApproveHelpdeskNotification ¶
func (r *HelpdeskService) CancelApproveHelpdeskNotification(ctx context.Context, request *CancelApproveHelpdeskNotificationReq, options ...MethodOptionFunc) (*CancelApproveHelpdeskNotificationResp, *Response, error)
CancelApproveHelpdeskNotification 提交审核后,如果需要取消审核,则调用此接口
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/cancel_approve
func (*HelpdeskService) CancelSendHelpdeskNotification ¶
func (r *HelpdeskService) CancelSendHelpdeskNotification(ctx context.Context, request *CancelSendHelpdeskNotificationReq, options ...MethodOptionFunc) (*CancelSendHelpdeskNotificationResp, *Response, error)
CancelSendHelpdeskNotification 取消推送接口,审核通过后待调度可以调用,发送过程中可以调用(会撤回已发送的消息),发送完成后可以需要推送(会撤回所有已发送的消息)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/cancel_send
func (*HelpdeskService) CreateHelpdeskAgentSchedule ¶
func (r *HelpdeskService) CreateHelpdeskAgentSchedule(ctx context.Context, request *CreateHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*CreateHelpdeskAgentScheduleResp, *Response, error)
CreateHelpdeskAgentSchedule 该接口用于创建客服
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_schedule/create
func (*HelpdeskService) CreateHelpdeskAgentSkill ¶
func (r *HelpdeskService) CreateHelpdeskAgentSkill(ctx context.Context, request *CreateHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*CreateHelpdeskAgentSkillResp, *Response, error)
CreateHelpdeskAgentSkill 该接口用于创建客服技能
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill/create
func (*HelpdeskService) CreateHelpdeskCategory ¶
func (r *HelpdeskService) CreateHelpdeskCategory(ctx context.Context, request *CreateHelpdeskCategoryReq, options ...MethodOptionFunc) (*CreateHelpdeskCategoryResp, *Response, error)
CreateHelpdeskCategory 该接口用于创建知识库分类。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/category/create
func (*HelpdeskService) CreateHelpdeskFAQ ¶
func (r *HelpdeskService) CreateHelpdeskFAQ(ctx context.Context, request *CreateHelpdeskFAQReq, options ...MethodOptionFunc) (*CreateHelpdeskFAQResp, *Response, error)
CreateHelpdeskFAQ 该接口用于创建知识库。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/create
func (*HelpdeskService) CreateHelpdeskNotification ¶
func (r *HelpdeskService) CreateHelpdeskNotification(ctx context.Context, request *CreateHelpdeskNotificationReq, options ...MethodOptionFunc) (*CreateHelpdeskNotificationResp, *Response, error)
CreateHelpdeskNotification 调用接口创建推送,创建成功后为草稿状态
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/create
func (*HelpdeskService) CreateHelpdeskTicketCustomizedField ¶
func (r *HelpdeskService) CreateHelpdeskTicketCustomizedField(ctx context.Context, request *CreateHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*CreateHelpdeskTicketCustomizedFieldResp, *Response, error)
CreateHelpdeskTicketCustomizedField
该接口用于创建自定义字段
func (*HelpdeskService) DeleteHelpdeskAgentSchedule ¶
func (r *HelpdeskService) DeleteHelpdeskAgentSchedule(ctx context.Context, request *DeleteHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*DeleteHelpdeskAgentScheduleResp, *Response, error)
DeleteHelpdeskAgentSchedule 该接口用于删除客服
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent-schedules/delete
func (*HelpdeskService) DeleteHelpdeskAgentSkill ¶
func (r *HelpdeskService) DeleteHelpdeskAgentSkill(ctx context.Context, request *DeleteHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*DeleteHelpdeskAgentSkillResp, *Response, error)
DeleteHelpdeskAgentSkill 该接口用于删除客服技能
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill/delete
func (*HelpdeskService) DeleteHelpdeskCategory ¶
func (r *HelpdeskService) DeleteHelpdeskCategory(ctx context.Context, request *DeleteHelpdeskCategoryReq, options ...MethodOptionFunc) (*DeleteHelpdeskCategoryResp, *Response, error)
DeleteHelpdeskCategory 该接口用于删除知识库分类详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/category/delete
func (*HelpdeskService) DeleteHelpdeskFAQ ¶
func (r *HelpdeskService) DeleteHelpdeskFAQ(ctx context.Context, request *DeleteHelpdeskFAQReq, options ...MethodOptionFunc) (*DeleteHelpdeskFAQResp, *Response, error)
DeleteHelpdeskFAQ 该接口用于删除知识库。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/delete
func (*HelpdeskService) DeleteHelpdeskTicketCustomizedField ¶
func (r *HelpdeskService) DeleteHelpdeskTicketCustomizedField(ctx context.Context, request *DeleteHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*DeleteHelpdeskTicketCustomizedFieldResp, *Response, error)
DeleteHelpdeskTicketCustomizedField 该接口用于删除工单自定义字段。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket_customized_field/delete
func (*HelpdeskService) DownloadHelpdeskTicketImage ¶
func (r *HelpdeskService) DownloadHelpdeskTicketImage(ctx context.Context, request *DownloadHelpdeskTicketImageReq, options ...MethodOptionFunc) (*DownloadHelpdeskTicketImageResp, *Response, error)
DownloadHelpdeskTicketImage 该接口用于获取服务台工单消息图象。仅支持自建应用。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/ticket_image
func (*HelpdeskService) ExecuteSendHelpdeskNotification ¶
func (r *HelpdeskService) ExecuteSendHelpdeskNotification(ctx context.Context, request *ExecuteSendHelpdeskNotificationReq, options ...MethodOptionFunc) (*ExecuteSendHelpdeskNotificationResp, *Response, error)
ExecuteSendHelpdeskNotification 审核通过后调用此接口设置推送时间,等待调度系统调度,发送消息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/execute_send
func (*HelpdeskService) GetHelpdeskAgentEmail ¶
func (r *HelpdeskService) GetHelpdeskAgentEmail(ctx context.Context, request *GetHelpdeskAgentEmailReq, options ...MethodOptionFunc) (*GetHelpdeskAgentEmailResp, *Response, error)
GetHelpdeskAgentEmail 该接口用于获取客服邮箱地址
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent/agent_email
func (*HelpdeskService) GetHelpdeskAgentSchedule ¶
func (r *HelpdeskService) GetHelpdeskAgentSchedule(ctx context.Context, request *GetHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*GetHelpdeskAgentScheduleResp, *Response, error)
GetHelpdeskAgentSchedule 该接口用于获取客服信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent-schedules/get
func (*HelpdeskService) GetHelpdeskAgentScheduleList ¶
func (r *HelpdeskService) GetHelpdeskAgentScheduleList(ctx context.Context, request *GetHelpdeskAgentScheduleListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentScheduleListResp, *Response, error)
GetHelpdeskAgentScheduleList 该接口用于获取所有客服信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_schedule/list
func (*HelpdeskService) GetHelpdeskAgentSkill ¶
func (r *HelpdeskService) GetHelpdeskAgentSkill(ctx context.Context, request *GetHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillResp, *Response, error)
GetHelpdeskAgentSkill 该接口用于获取客服技能
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill/get
func (*HelpdeskService) GetHelpdeskAgentSkillList ¶
func (r *HelpdeskService) GetHelpdeskAgentSkillList(ctx context.Context, request *GetHelpdeskAgentSkillListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillListResp, *Response, error)
GetHelpdeskAgentSkillList 获取全部客服技能
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill/list
func (*HelpdeskService) GetHelpdeskAgentSkillRuleList ¶
func (r *HelpdeskService) GetHelpdeskAgentSkillRuleList(ctx context.Context, request *GetHelpdeskAgentSkillRuleListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillRuleListResp, *Response, error)
GetHelpdeskAgentSkillRuleList 该接口用于获取全部客服技能。仅支持自建应用。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill_rule/list
func (*HelpdeskService) GetHelpdeskCategory ¶
func (r *HelpdeskService) GetHelpdeskCategory(ctx context.Context, request *GetHelpdeskCategoryReq, options ...MethodOptionFunc) (*GetHelpdeskCategoryResp, *Response, error)
GetHelpdeskCategory 该接口用于获取知识库分类。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/category/get
func (*HelpdeskService) GetHelpdeskCategoryList ¶
func (r *HelpdeskService) GetHelpdeskCategoryList(ctx context.Context, request *GetHelpdeskCategoryListReq, options ...MethodOptionFunc) (*GetHelpdeskCategoryListResp, *Response, error)
GetHelpdeskCategoryList
该接口用于获取服务台知识库所有分类。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/category/list-categories
func (*HelpdeskService) GetHelpdeskFAQ ¶
func (r *HelpdeskService) GetHelpdeskFAQ(ctx context.Context, request *GetHelpdeskFAQReq, options ...MethodOptionFunc) (*GetHelpdeskFAQResp, *Response, error)
GetHelpdeskFAQ 该接口用于获取服务台知识库详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/get
func (*HelpdeskService) GetHelpdeskFAQImage ¶
func (r *HelpdeskService) GetHelpdeskFAQImage(ctx context.Context, request *GetHelpdeskFAQImageReq, options ...MethodOptionFunc) (*GetHelpdeskFAQImageResp, *Response, error)
GetHelpdeskFAQImage 该接口用于获取知识库图像。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/faq_image
func (*HelpdeskService) GetHelpdeskFAQList ¶
func (r *HelpdeskService) GetHelpdeskFAQList(ctx context.Context, request *GetHelpdeskFAQListReq, options ...MethodOptionFunc) (*GetHelpdeskFAQListResp, *Response, error)
GetHelpdeskFAQList 该接口用于获取服务台知识库详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/list
func (*HelpdeskService) GetHelpdeskNotification ¶
func (r *HelpdeskService) GetHelpdeskNotification(ctx context.Context, request *GetHelpdeskNotificationReq, options ...MethodOptionFunc) (*GetHelpdeskNotificationResp, *Response, error)
GetHelpdeskNotification 查询推送详情
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/get
func (*HelpdeskService) GetHelpdeskTicket ¶
func (r *HelpdeskService) GetHelpdeskTicket(ctx context.Context, request *GetHelpdeskTicketReq, options ...MethodOptionFunc) (*GetHelpdeskTicketResp, *Response, error)
GetHelpdeskTicket 该接口用于获取单个服务台工单详情。仅支持自建应用。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/get
func (*HelpdeskService) GetHelpdeskTicketCustomizedField ¶
func (r *HelpdeskService) GetHelpdeskTicketCustomizedField(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*GetHelpdeskTicketCustomizedFieldResp, *Response, error)
GetHelpdeskTicketCustomizedField
该接口用于获取工单自定义字段详情。
func (*HelpdeskService) GetHelpdeskTicketCustomizedFieldList ¶
func (r *HelpdeskService) GetHelpdeskTicketCustomizedFieldList(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketCustomizedFieldListResp, *Response, error)
GetHelpdeskTicketCustomizedFieldList
该接口用于获取全部工单自定义字段。
func (*HelpdeskService) GetHelpdeskTicketList ¶
func (r *HelpdeskService) GetHelpdeskTicketList(ctx context.Context, request *GetHelpdeskTicketListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketListResp, *Response, error)
GetHelpdeskTicketList 该接口用于获取全部工单详情。仅支持自建应用。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/list
func (*HelpdeskService) GetHelpdeskTicketMessageList ¶
func (r *HelpdeskService) GetHelpdeskTicketMessageList(ctx context.Context, request *GetHelpdeskTicketMessageListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketMessageListResp, *Response, error)
GetHelpdeskTicketMessageList 该接口用于获取服务台工单消息详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket-message/list
func (*HelpdeskService) PreviewHelpdeskNotification ¶
func (r *HelpdeskService) PreviewHelpdeskNotification(ctx context.Context, request *PreviewHelpdeskNotificationReq, options ...MethodOptionFunc) (*PreviewHelpdeskNotificationResp, *Response, error)
PreviewHelpdeskNotification 在正式执行推送之前是可以调用此接口预览设置的推送内容
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/preview
func (*HelpdeskService) SearchHelpdeskFAQ ¶
func (r *HelpdeskService) SearchHelpdeskFAQ(ctx context.Context, request *SearchHelpdeskFAQReq, options ...MethodOptionFunc) (*SearchHelpdeskFAQResp, *Response, error)
SearchHelpdeskFAQ 该接口用于搜索服务台知识库。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/search
func (*HelpdeskService) SendHelpdeskMessage ¶
func (r *HelpdeskService) SendHelpdeskMessage(ctx context.Context, request *SendHelpdeskMessageReq, options ...MethodOptionFunc) (*SendHelpdeskMessageResp, *Response, error)
SendHelpdeskMessage 通过服务台机器人给指定用户的服务台专属群或私聊发送消息,支持文本、富文本、卡片、图片。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/bot-message/create
func (*HelpdeskService) SendHelpdeskTicketMessage ¶
func (r *HelpdeskService) SendHelpdeskTicketMessage(ctx context.Context, request *SendHelpdeskTicketMessageReq, options ...MethodOptionFunc) (*SendHelpdeskTicketMessageResp, *Response, error)
SendHelpdeskTicketMessage 该接口用于工单发送消息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket-message/create
func (*HelpdeskService) StartHelpdeskService ¶
func (r *HelpdeskService) StartHelpdeskService(ctx context.Context, request *StartHelpdeskServiceReq, options ...MethodOptionFunc) (*StartHelpdeskServiceResp, *Response, error)
StartHelpdeskService 该接口用于创建服务台对话。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/start_service
func (*HelpdeskService) SubmitApproveHelpdeskNotification ¶
func (r *HelpdeskService) SubmitApproveHelpdeskNotification(ctx context.Context, request *SubmitApproveHelpdeskNotificationReq, options ...MethodOptionFunc) (*SubmitApproveHelpdeskNotificationResp, *Response, error)
SubmitApproveHelpdeskNotification 正常情况下调用创建推送接口后,就可以调用提交审核接口,如果创建人是服务台owner则会自动审核通过,否则会通知服务台owner审核此推送信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/submit_approve
func (*HelpdeskService) SubscribeHelpdeskEvent ¶
func (r *HelpdeskService) SubscribeHelpdeskEvent(ctx context.Context, request *SubscribeHelpdeskEventReq, options ...MethodOptionFunc) (*SubscribeHelpdeskEventResp, *Response, error)
SubscribeHelpdeskEvent 用于订阅服务台事件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/event/subscribe
func (*HelpdeskService) UnsubscribeHelpdeskEvent ¶
func (r *HelpdeskService) UnsubscribeHelpdeskEvent(ctx context.Context, request *UnsubscribeHelpdeskEventReq, options ...MethodOptionFunc) (*UnsubscribeHelpdeskEventResp, *Response, error)
UnsubscribeHelpdeskEvent 用于取消订阅服务台事件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/event/unsubscribe
func (*HelpdeskService) UpdateHelpdeskAgent ¶
func (r *HelpdeskService) UpdateHelpdeskAgent(ctx context.Context, request *UpdateHelpdeskAgentReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentResp, *Response, error)
UpdateHelpdeskAgent 更新客服状态等信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent/patch
func (*HelpdeskService) UpdateHelpdeskAgentSchedule ¶
func (r *HelpdeskService) UpdateHelpdeskAgentSchedule(ctx context.Context, request *UpdateHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentScheduleResp, *Response, error)
UpdateHelpdeskAgentSchedule 该接口用于更新客服
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent-schedules/patch
func (*HelpdeskService) UpdateHelpdeskAgentSkill ¶
func (r *HelpdeskService) UpdateHelpdeskAgentSkill(ctx context.Context, request *UpdateHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentSkillResp, *Response, error)
UpdateHelpdeskAgentSkill 该接口用于更新客服技能
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/agent_skill/patch
func (*HelpdeskService) UpdateHelpdeskCategory ¶
func (r *HelpdeskService) UpdateHelpdeskCategory(ctx context.Context, request *UpdateHelpdeskCategoryReq, options ...MethodOptionFunc) (*UpdateHelpdeskCategoryResp, *Response, error)
UpdateHelpdeskCategory 该接口用于更新知识库分类详情。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/category/patch
func (*HelpdeskService) UpdateHelpdeskFAQ ¶
func (r *HelpdeskService) UpdateHelpdeskFAQ(ctx context.Context, request *UpdateHelpdeskFAQReq, options ...MethodOptionFunc) (*UpdateHelpdeskFAQResp, *Response, error)
UpdateHelpdeskFAQ 该接口用于修改知识库。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/faq/patch
func (*HelpdeskService) UpdateHelpdeskNotification ¶
func (r *HelpdeskService) UpdateHelpdeskNotification(ctx context.Context, request *UpdateHelpdeskNotificationReq, options ...MethodOptionFunc) (*UpdateHelpdeskNotificationResp, *Response, error)
UpdateHelpdeskNotification 更新推送信息,只有在草稿状态下才可以调用此接口进行更新
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/notification/patch
func (*HelpdeskService) UpdateHelpdeskTicket ¶
func (r *HelpdeskService) UpdateHelpdeskTicket(ctx context.Context, request *UpdateHelpdeskTicketReq, options ...MethodOptionFunc) (*UpdateHelpdeskTicketResp, *Response, error)
UpdateHelpdeskTicket 该接口用于更新服务台工单详情。只会更新数据,不会触发相关操作。如修改工单状态到关单,不会关闭聊天页面。仅支持自建应用。要更新的工单字段必须至少输入一项。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/update
func (*HelpdeskService) UpdateHelpdeskTicketCustomizedField ¶
func (r *HelpdeskService) UpdateHelpdeskTicketCustomizedField(ctx context.Context, request *UpdateHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*UpdateHelpdeskTicketCustomizedFieldResp, *Response, error)
UpdateHelpdeskTicketCustomizedField
该接口用于更新自定义字段。
type HireService ¶
type HireService struct {
// contains filtered or unexported fields
}
func (*HireService) CreateHireApplication ¶
func (r *HireService) CreateHireApplication(ctx context.Context, request *CreateHireApplicationReq, options ...MethodOptionFunc) (*CreateHireApplicationResp, *Response, error)
CreateHireApplication 根据人才 ID 和职位 ID 创建投递
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/create
func (*HireService) CreateHireNote ¶
func (r *HireService) CreateHireNote(ctx context.Context, request *CreateHireNoteReq, options ...MethodOptionFunc) (*CreateHireNoteResp, *Response, error)
CreateHireNote 创建备注信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/note/create
func (*HireService) GetHireApplication ¶
func (r *HireService) GetHireApplication(ctx context.Context, request *GetHireApplicationReq, options ...MethodOptionFunc) (*GetHireApplicationResp, *Response, error)
GetHireApplication 根据投递 ID 获取单个投递信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/get
func (*HireService) GetHireApplicationInterviewList ¶
func (r *HireService) GetHireApplicationInterviewList(ctx context.Context, request *GetHireApplicationInterviewListReq, options ...MethodOptionFunc) (*GetHireApplicationInterviewListResp, *Response, error)
GetHireApplicationInterviewList 根据投递 ID 获取面试记录列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application-interview/list
func (*HireService) GetHireApplicationList ¶
func (r *HireService) GetHireApplicationList(ctx context.Context, request *GetHireApplicationListReq, options ...MethodOptionFunc) (*GetHireApplicationListResp, *Response, error)
GetHireApplicationList 根据限定条件获取投递列表信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/list
func (*HireService) GetHireAttachment ¶
func (r *HireService) GetHireAttachment(ctx context.Context, request *GetHireAttachmentReq, options ...MethodOptionFunc) (*GetHireAttachmentResp, *Response, error)
GetHireAttachment 获取招聘系统中附件的元信息,比如文件名、创建时间、文件url等
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/attachment/get
func (*HireService) GetHireAttachmentPreview ¶
func (r *HireService) GetHireAttachmentPreview(ctx context.Context, request *GetHireAttachmentPreviewReq, options ...MethodOptionFunc) (*GetHireAttachmentPreviewResp, *Response, error)
GetHireAttachmentPreview 根据附件 ID 获取附件预览信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/attachment/preview
func (*HireService) GetHireEmployee ¶
func (r *HireService) GetHireEmployee(ctx context.Context, request *GetHireEmployeeReq, options ...MethodOptionFunc) (*GetHireEmployeeResp, *Response, error)
GetHireEmployee 通过员工 ID 获取入职信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/employee/get
func (*HireService) GetHireEmployeeByApplication ¶
func (r *HireService) GetHireEmployeeByApplication(ctx context.Context, request *GetHireEmployeeByApplicationReq, options ...MethodOptionFunc) (*GetHireEmployeeByApplicationResp, *Response, error)
GetHireEmployeeByApplication 通过投递 ID 获取入职信息
func (*HireService) GetHireJob ¶
func (r *HireService) GetHireJob(ctx context.Context, request *GetHireJobReq, options ...MethodOptionFunc) (*GetHireJobResp, *Response, error)
GetHireJob 根据职位 ID 获取职位信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/get
func (*HireService) GetHireJobManager ¶
func (r *HireService) GetHireJobManager(ctx context.Context, request *GetHireJobManagerReq, options ...MethodOptionFunc) (*GetHireJobManagerResp, *Response, error)
GetHireJobManager 根据职位 ID 获取职位上的招聘人员信息,如招聘负责人、用人经理
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job-manager/get
func (*HireService) GetHireJobProcessList ¶
func (r *HireService) GetHireJobProcessList(ctx context.Context, request *GetHireJobProcessListReq, options ...MethodOptionFunc) (*GetHireJobProcessListResp, *Response, error)
GetHireJobProcessList 获取全部招聘流程信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job_process/list
func (*HireService) GetHireNote ¶
func (r *HireService) GetHireNote(ctx context.Context, request *GetHireNoteReq, options ...MethodOptionFunc) (*GetHireNoteResp, *Response, error)
GetHireNote 根据备注 ID 获取备注信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/note/get
func (*HireService) GetHireNoteList ¶
func (r *HireService) GetHireNoteList(ctx context.Context, request *GetHireNoteListReq, options ...MethodOptionFunc) (*GetHireNoteListResp, *Response, error)
GetHireNoteList 获取备注列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/note/list
func (*HireService) GetHireOfferByApplication ¶
func (r *HireService) GetHireOfferByApplication(ctx context.Context, request *GetHireOfferByApplicationReq, options ...MethodOptionFunc) (*GetHireOfferByApplicationResp, *Response, error)
GetHireOfferByApplication 根据投递 ID 获取 Offer 信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/offer
func (*HireService) GetHireOfferSchema ¶
func (r *HireService) GetHireOfferSchema(ctx context.Context, request *GetHireOfferSchemaReq, options ...MethodOptionFunc) (*GetHireOfferSchemaResp, *Response, error)
GetHireOfferSchema 根据 Offer 申请表 ID,获取 Offer 申请表的详细信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer_schema/get
func (*HireService) GetHireReferralByApplication ¶
func (r *HireService) GetHireReferralByApplication(ctx context.Context, request *GetHireReferralByApplicationReq, options ...MethodOptionFunc) (*GetHireReferralByApplicationResp, *Response, error)
GetHireReferralByApplication 根据投递 ID 获取内推信息
func (*HireService) GetHireResumeSource ¶
func (r *HireService) GetHireResumeSource(ctx context.Context, request *GetHireResumeSourceReq, options ...MethodOptionFunc) (*GetHireResumeSourceResp, *Response, error)
GetHireResumeSource 获取简历来源列表
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/resume_source/list
func (*HireService) GetHireTalent ¶
func (r *HireService) GetHireTalent(ctx context.Context, request *GetHireTalentReq, options ...MethodOptionFunc) (*GetHireTalentResp, *Response, error)
GetHireTalent 根据人才 ID 获取人才信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/get
func (*HireService) MakeHireTransferOnboardByApplication ¶
func (r *HireService) MakeHireTransferOnboardByApplication(ctx context.Context, request *MakeHireTransferOnboardByApplicationReq, options ...MethodOptionFunc) (*MakeHireTransferOnboardByApplicationResp, *Response, error)
MakeHireTransferOnboardByApplication 根据投递 ID 操作候选人入职并创建员工,投递须处于「待入职」阶段
func (*HireService) TerminateHireApplication ¶
func (r *HireService) TerminateHireApplication(ctx context.Context, request *TerminateHireApplicationReq, options ...MethodOptionFunc) (*TerminateHireApplicationResp, *Response, error)
TerminateHireApplication 根据投递 ID 修改投递状态为「已终止」
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/terminate
func (*HireService) UpdateHireEmployee ¶
func (r *HireService) UpdateHireEmployee(ctx context.Context, request *UpdateHireEmployeeReq, options ...MethodOptionFunc) (*UpdateHireEmployeeResp, *Response, error)
UpdateHireEmployee 根据员工 ID 更新员工转正、离职状态
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/employee/patch
func (*HireService) UpdateHireNote ¶
func (r *HireService) UpdateHireNote(ctx context.Context, request *UpdateHireNoteReq, options ...MethodOptionFunc) (*UpdateHireNoteResp, *Response, error)
UpdateHireNote 根据备注 ID 更新备注信息
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/note/patch
type HttpClient ¶
HttpClient http client iface
type HumanAuthService ¶
type HumanAuthService struct {
// contains filtered or unexported fields
}
func (*HumanAuthService) CreateIdentity ¶
func (r *HumanAuthService) CreateIdentity(ctx context.Context, request *CreateIdentityReq, options ...MethodOptionFunc) (*CreateIdentityResp, *Response, error)
CreateIdentity 该接口用于录入实名认证的身份信息,在唤起有源活体认证前,需要使用该接口进行实名认证。
实名认证接口会有计费管理,接入前请联系飞书开放平台工作人员,邮箱:openplatform@bytedance.com。
func (*HumanAuthService) CropFaceVerifyImage ¶
func (r *HumanAuthService) CropFaceVerifyImage(ctx context.Context, request *CropFaceVerifyImageReq, options ...MethodOptionFunc) (*CropFaceVerifyImageResp, *Response, error)
CropFaceVerifyImage
无源人脸比对接入需申请白名单,接入前请联系飞书开放平台工作人员,邮箱:openplatform@bytedance.com。 无源人脸比对流程,开发者后台通过调用此接口对基准图片做规范校验及处理。
func (*HumanAuthService) GetFaceVerifyAuthResult ¶
func (r *HumanAuthService) GetFaceVerifyAuthResult(ctx context.Context, request *GetFaceVerifyAuthResultReq, options ...MethodOptionFunc) (*GetFaceVerifyAuthResultResp, *Response, error)
GetFaceVerifyAuthResult
无源人脸比对接入需申请白名单,接入前请联系飞书开放平台工作人员,邮箱:openplatform@bytedance.com。 无源人脸比对流程,开发者后台通过调用此接口请求飞书后台,对本次活体比对结果做校验。
func (*HumanAuthService) UploadFaceVerifyImage ¶
func (r *HumanAuthService) UploadFaceVerifyImage(ctx context.Context, request *UploadFaceVerifyImageReq, options ...MethodOptionFunc) (*UploadFaceVerifyImageResp, *Response, error)
UploadFaceVerifyImage
无源人脸比对接入需申请白名单,接入前请联系飞书开放平台工作人员,邮箱:openplatform@bytedance.com。 无源人脸比对流程,开发者后台通过调用此接口将基准图片上传到飞书后台,做检测时的对比使用。
type I18nNames ¶
type I18nNames struct { ZhCn string `json:"zh_cn,omitempty"` // 中文名, 示例值: "群聊" EnUs string `json:"en_us,omitempty"` // 英文名, 示例值: "group chat" JaJp string `json:"ja_jp,omitempty"` // 日文名, 示例值: "グループチャット" }
I18nNames i18n name
type IDType ¶
type IDType string
IDType ID类型
const ( IDTypeUserID IDType = "user_id" // 以 user_id 来识别成员 IDTypeUnionID IDType = "union_id" // 以 union_id 来识别成员 IDTypeOpenID IDType = "open_id" // 以 open_id 来识别成员 IDTypeAppID IDType = "app_id" // 以 app_id 来识别成员 IDTypeChatID IDType = "chat_id" // 以 chat_id 来识别成员 IDTypeEmail IDType = "email" // 以 email 来识别成员 )
IDTypeUserID ...
type ImageType ¶
type ImageType string
ImageType 图片类型
type ImportSheetReq ¶
type ImportSheetReq struct { File []byte `json:"file,omitempty"` // 需要导入的文件数据,转换成字节数组的形式,支持"xlsx","csv"格式,最大不超过20M Name string `json:"name,omitempty"` // 文件名,带上文件拓展名,如"hello.csv"、"hello.xlsx"。导入后sheet的标题将去除文件拓展名,如"hello.xlsx"导入后标题为"hello"。 FolderToken *string `json:"folderToken,omitempty"` // 导入的文件夹token,默认导入到根目录下 }
ImportSheetReq ...
type ImportSheetResp ¶
type ImportSheetResp struct {
Ticket string `json:"ticket,omitempty"` // 与导入文件一一对应的凭证,用于查询文件导入的进度,详见[查询导入结果的接口](https://open.feishu.cn/document/ukTMukTMukTM/uETO2YjLxkjN24SM5YjN)
}
ImportSheetResp ...
type InitAttendanceRemedyApprovalReq ¶
type InitAttendanceRemedyApprovalReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体中的 user_id 的员工工号类型,必选字段,可用值:【employee_id(员工employeeId),employee_no(员工工号)】,示例值:"employee_id" UserID string `json:"user_id,omitempty"` // 用户 ID RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,可用值【0(第 1 次上下班),1(第 2 次上下班),2(第 3 次上下班)】,自由班次时填 0 WorkType int64 `json:"work_type,omitempty"` // 上班/下班,1:上班,2:下班,自由班次时填 0 RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间,时间格式为 yyyy-MM-dd HH:mm Reason string `json:"reason,omitempty"` // 补卡原因 }
InitAttendanceRemedyApprovalReq ...
type InitAttendanceRemedyApprovalResp ¶
type InitAttendanceRemedyApprovalResp struct {
UserRemedy *InitAttendanceRemedyApprovalRespUserRemedy `json:"user_remedy,omitempty"`
}
InitAttendanceRemedyApprovalResp ...
type InitAttendanceRemedyApprovalRespUserRemedy ¶
type InitAttendanceRemedyApprovalRespUserRemedy struct { UserID string `json:"user_id,omitempty"` // 用户 ID ApprovalID string `json:"approval_id,omitempty"` // 审批实例 ID,可用于通知审批状态更新 RemedyDate int64 `json:"remedy_date,omitempty"` // 补卡日期 PunchNo int64 `json:"punch_no,omitempty"` // 第几次上下班,可用值【0(第 1 次上下班),1(第2次上下班),2(第3次上下班)】,自由班次时填 0 WorkType int64 `json:"work_type,omitempty"` // 上班/下班,1:上班,2:下班 RemedyTime string `json:"remedy_time,omitempty"` // 补卡时间,时间格式为 yyyy-MM-dd HH:mm Reason string `json:"reason,omitempty"` // 补卡原因 }
InitAttendanceRemedyApprovalRespUserRemedy ...
type InsertSheetDimensionRangeReq ¶
type InsertSheetDimensionRangeReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Dimension *InsertSheetDimensionRangeReqDimension `json:"dimension,omitempty"` // 需要插入行列的维度信息 InheritStyle *string `json:"inheritStyle,omitempty"` // BEFORE 或 AFTER,不填为不继承 style }
InsertSheetDimensionRangeReq ...
type InsertSheetDimensionRangeReqDimension ¶
type InsertSheetDimensionRangeReqDimension struct { SheetID string `json:"sheetId,omitempty"` // sheet 的 Id MajorDimension *string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS StartIndex int64 `json:"startIndex"` // 开始的位置 EndIndex int64 `json:"endIndex,omitempty"` // 结束的位置 }
InsertSheetDimensionRangeReqDimension ...
type InsertSheetDimensionRangeResp ¶
type InsertSheetDimensionRangeResp struct{}
InsertSheetDimensionRangeResp ...
type InviteVCMeetingReq ¶
type InviteVCMeetingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028" Invitees []*InviteVCMeetingReqInvitee `json:"invitees,omitempty"` // 被邀请的用户列表 }
InviteVCMeetingReq ...
type InviteVCMeetingReqInvitee ¶
type InviteVCMeetingReqInvitee struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType *int64 `json:"user_type,omitempty"` // 用户类型, 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
InviteVCMeetingReqInvitee ...
type InviteVCMeetingResp ¶
type InviteVCMeetingResp struct {
InviteResults []*InviteVCMeetingRespInviteResult `json:"invite_results,omitempty"` // 邀请结果
}
InviteVCMeetingResp ...
type InviteVCMeetingRespInviteResult ¶
type InviteVCMeetingRespInviteResult struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 Status int64 `json:"status,omitempty"` // 邀请结果, 可选值有: `1`:邀请成功, `2`:邀请失败 }
InviteVCMeetingRespInviteResult ...
type IsApplicationUserAdminReq ¶
type IsApplicationUserAdminReq struct { OpenID *string `query:"open_id" json:"-"` // 用户 open_id,open_id 和 employee_id 两个参数必须包含其一,若同时传入取 open_id EmployeeID *string `query:"employee_id" json:"-"` // 用户 employee_id(同通讯录 v3 版本中的 user_id),open_id 和 employee_id 两个参数必须包含其一,若同时传入取 open_id }
IsApplicationUserAdminReq ...
type IsApplicationUserAdminResp ¶
type IsApplicationUserAdminResp struct {
IsAppAdmin bool `json:"is_app_admin,omitempty"` // 用户是否为管理员,true 为是,false 为否
}
IsApplicationUserAdminResp ...
type IsInChatReq ¶
type IsInChatReq struct {
ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230"
}
IsInChatReq ...
type IsInChatResp ¶
type IsInChatResp struct {
IsInChat bool `json:"is_in_chat,omitempty"` // 用户或者机器人是否在群中
}
IsInChatResp ...
type JoinChatReq ¶
type JoinChatReq struct {
ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230"
}
JoinChatReq ...
type JssdkService ¶
type JssdkService struct {
// contains filtered or unexported fields
}
func (*JssdkService) GenerateJssdkSignature ¶
func (r *JssdkService) GenerateJssdkSignature(ctx context.Context, request *GenerateJssdkSignatureReq) (string, error)
GenerateJssdkSignature ...
func (*JssdkService) GetJssdkTicket ¶
func (r *JssdkService) GetJssdkTicket(ctx context.Context, request *GetJssdkTicketReq, options ...MethodOptionFunc) (*GetJssdkTicketResp, *Response, error)
GetJssdkTicket
通过在你的网页中引入**飞书网页组件**,可在你的网页中直接使用飞书的功能。 - 网页组件只适用于自建应用,暂不支持商店应用。 - 网页组件适用于普通web网页,不建议在小程序webview中调用此组件 ## 准备工作 - 在开发者后台[创建一个企业自建应用](https://open.feishu.cn/document/home/introduction-to-custom-app-development/self-built-application-development-process)。 - 引入组件库。在网页 html 中引入如下代码: ```html <script src="https://lf1-cdn-tos.bytescm.com/goofy/locl/lark/external_js_sdk/h5-js-sdk-1.0.11.js"></script> ``` 若要使用成员卡片组件,SDK需要在`<body>`加载后引入。 ## 鉴权流程 ### 1. 获取 access_token - 不同的 token 代表了组件使用者的身份。user_access_token代表以用户身份鉴权,app_access_token代表以应用身份授权。 - 成员名片组件仅支持以用户身份(user_access_token)鉴权 - 云文档组件可以同时支持以用户身份(user_access_token)和应用身份(app_access_token)授权。但是以应用身份授权云文档时,访问量受 80 次/分钟限制,且组件不支持 “编辑”、“评论”、“点赞” 等功能。 - 开发者需要通过以下两种方式之一获取 token,再通过接口生成 ticket。 - 方法一:获取用户身份。通过 [第三方网站免登](https://open.feishu.cn/document/ukTMukTMukTM/uETOwYjLxkDM24SM5AjN)获得 `user_access_token` - 方法二:获取应用身份。通过[服务端API](https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/app_access_token_internal)获得 `app_access_token`。 ### 2. 获取 jsapi_ticket 为了降低泄漏风险,这一步应当在你的服务端进行。
doc: https://open.feishu.cn/document/uYjL24iN/uUDO3YjL1gzN24SN4cjN
type KickoutVCMeetingReq ¶
type KickoutVCMeetingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MeetingID string `path:"meeting_id" json:"-"` // 会议ID, 示例值:"6911188411932033028" KickoutUsers []*KickoutVCMeetingReqKickoutUser `json:"kickout_users,omitempty"` // 需踢出的用户列表 }
KickoutVCMeetingReq ...
type KickoutVCMeetingReqKickoutUser ¶
type KickoutVCMeetingReqKickoutUser struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType *int64 `json:"user_type,omitempty"` // 用户类型, 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
KickoutVCMeetingReqKickoutUser ...
type KickoutVCMeetingResp ¶
type KickoutVCMeetingResp struct {
KickoutResults []*KickoutVCMeetingRespKickoutResult `json:"kickout_results,omitempty"` // 踢出结果
}
KickoutVCMeetingResp ...
type KickoutVCMeetingRespKickoutResult ¶
type KickoutVCMeetingRespKickoutResult struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 Result int64 `json:"result,omitempty"` // 邀请结果, 可选值有: `1`:邀请成功, `2`:邀请失败 }
KickoutVCMeetingRespKickoutResult ...
type Lark ¶
type Lark struct { // service Auth *AuthService Contact *ContactService Message *MessageService Chat *ChatService Bot *BotService Calendar *CalendarService Drive *DriveService Bitable *BitableService MeetingRoom *MeetingRoomService Jssdk *JssdkService VC *VCService Application *ApplicationService Mail *MailService Approval *ApprovalService Helpdesk *HelpdeskService Admin *AdminService HumanAuth *HumanAuthService AI *AIService Attendance *AttendanceService File *FileService OKR *OKRService EHR *EHRService Tenant *TenantService Search *SearchService Hire *HireService Task *TaskService ACS *ACSService Ecosystem *EcosystemService EventCallback *EventCallbackService AppLink *AppLinkService // contains filtered or unexported fields }
Lark client struct
func (*Lark) RawRequest ¶
func (r *Lark) RawRequest(ctx context.Context, req *RawRequestReq, resp interface{}) (response *Response, err error)
RawRequest Send a http request of lark
for example, you can see BotService.GetBotInfo
type ListVCMeetingByNoReq ¶
type ListVCMeetingByNoReq struct { MeetingNo string `query:"meeting_no" json:"-"` // 9位会议号, 示例值:"123456789" StartTime string `query:"start_time" json:"-"` // 查询开始时间(unix时间,单位sec), 示例值:"1608888867" EndTime string `query:"end_time" json:"-"` // 查询结束时间(unix时间,单位sec), 示例值:"1608888867" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"5" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`10` }
ListVCMeetingByNoReq ...
type ListVCMeetingByNoResp ¶
type ListVCMeetingByNoResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token MeetingBriefs []*ListVCMeetingByNoRespMeetingBrief `json:"meeting_briefs,omitempty"` // 会议简要信息列表 }
ListVCMeetingByNoResp ...
type ListVCMeetingByNoRespMeetingBrief ¶
type ListVCMeetingByNoRespMeetingBrief struct { ID string `json:"id,omitempty"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生) Topic string `json:"topic,omitempty"` // 会议主题 URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) MeetingNo string `json:"meeting_no,omitempty"` // 会议号 }
ListVCMeetingByNoRespMeetingBrief ...
type LogLevel ¶
type LogLevel int
LogLevel ...
type MailService ¶
type MailService struct {
// contains filtered or unexported fields
}
func (*MailService) ClearPublicMailboxMember ¶
func (r *MailService) ClearPublicMailboxMember(ctx context.Context, request *ClearPublicMailboxMemberReq, options ...MethodOptionFunc) (*ClearPublicMailboxMemberResp, *Response, error)
ClearPublicMailboxMember 删除公共邮箱所有成员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/clear
func (*MailService) CreateMailGroup ¶
func (r *MailService) CreateMailGroup(ctx context.Context, request *CreateMailGroupReq, options ...MethodOptionFunc) (*CreateMailGroupResp, *Response, error)
CreateMailGroup 创建一个邮件组
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/create
func (*MailService) CreateMailGroupMember ¶
func (r *MailService) CreateMailGroupMember(ctx context.Context, request *CreateMailGroupMemberReq, options ...MethodOptionFunc) (*CreateMailGroupMemberResp, *Response, error)
CreateMailGroupMember 向邮件组添加单个成员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/create
func (*MailService) CreateMailGroupPermissionMember ¶
func (r *MailService) CreateMailGroupPermissionMember(ctx context.Context, request *CreateMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*CreateMailGroupPermissionMemberResp, *Response, error)
CreateMailGroupPermissionMember 向邮件组添加单个自定义权限成员,添加后该成员可发送邮件到该邮件组
func (*MailService) CreateMailUserAlias ¶
func (r *MailService) CreateMailUserAlias(ctx context.Context, request *CreateMailUserAliasReq, options ...MethodOptionFunc) (*CreateMailUserAliasResp, *Response, error)
CreateMailUserAlias 创建用户邮箱别名
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user-alias/create
func (*MailService) CreatePublicMailbox ¶
func (r *MailService) CreatePublicMailbox(ctx context.Context, request *CreatePublicMailboxReq, options ...MethodOptionFunc) (*CreatePublicMailboxResp, *Response, error)
CreatePublicMailbox 创建一个公共邮箱
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/create
func (*MailService) CreatePublicMailboxMember ¶
func (r *MailService) CreatePublicMailboxMember(ctx context.Context, request *CreatePublicMailboxMemberReq, options ...MethodOptionFunc) (*CreatePublicMailboxMemberResp, *Response, error)
CreatePublicMailboxMember 向公共邮箱添加单个成员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/create
func (*MailService) DeleteMailGroup ¶
func (r *MailService) DeleteMailGroup(ctx context.Context, request *DeleteMailGroupReq, options ...MethodOptionFunc) (*DeleteMailGroupResp, *Response, error)
DeleteMailGroup 删除一个邮件组
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/delete
func (*MailService) DeleteMailGroupMember ¶
func (r *MailService) DeleteMailGroupMember(ctx context.Context, request *DeleteMailGroupMemberReq, options ...MethodOptionFunc) (*DeleteMailGroupMemberResp, *Response, error)
DeleteMailGroupMember 删除邮件组单个成员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/delete
func (*MailService) DeleteMailGroupPermissionMember ¶
func (r *MailService) DeleteMailGroupPermissionMember(ctx context.Context, request *DeleteMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*DeleteMailGroupPermissionMemberResp, *Response, error)
DeleteMailGroupPermissionMember 从自定义成员中删除单个成员,删除后该成员无法发送邮件到该邮件组
func (*MailService) DeleteMailUserAlias ¶
func (r *MailService) DeleteMailUserAlias(ctx context.Context, request *DeleteMailUserAliasReq, options ...MethodOptionFunc) (*DeleteMailUserAliasResp, *Response, error)
DeleteMailUserAlias 删除用户邮箱别名
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user-alias/delete
func (*MailService) DeletePublicMailbox ¶
func (r *MailService) DeletePublicMailbox(ctx context.Context, request *DeletePublicMailboxReq, options ...MethodOptionFunc) (*DeletePublicMailboxResp, *Response, error)
DeletePublicMailbox 该接口会永久删除公共邮箱地址。可用于释放邮箱回收站的公共邮箱地址,一旦删除,该邮箱地址将无法恢复。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/delete
func (*MailService) DeletePublicMailboxMember ¶
func (r *MailService) DeletePublicMailboxMember(ctx context.Context, request *DeletePublicMailboxMemberReq, options ...MethodOptionFunc) (*DeletePublicMailboxMemberResp, *Response, error)
DeletePublicMailboxMember 删除公共邮箱单个成员
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/delete
func (*MailService) GetMailGroup ¶
func (r *MailService) GetMailGroup(ctx context.Context, request *GetMailGroupReq, options ...MethodOptionFunc) (*GetMailGroupResp, *Response, error)
GetMailGroup 获取特定邮件组信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/get
func (*MailService) GetMailGroupList ¶
func (r *MailService) GetMailGroupList(ctx context.Context, request *GetMailGroupListReq, options ...MethodOptionFunc) (*GetMailGroupListResp, *Response, error)
GetMailGroupList 分页批量获取邮件组
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/list
func (*MailService) GetMailGroupMember ¶
func (r *MailService) GetMailGroupMember(ctx context.Context, request *GetMailGroupMemberReq, options ...MethodOptionFunc) (*GetMailGroupMemberResp, *Response, error)
GetMailGroupMember 获取邮件组单个成员信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/get
func (*MailService) GetMailGroupMemberList ¶
func (r *MailService) GetMailGroupMemberList(ctx context.Context, request *GetMailGroupMemberListReq, options ...MethodOptionFunc) (*GetMailGroupMemberListResp, *Response, error)
GetMailGroupMemberList 分页批量获取邮件组成员列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-member/list
func (*MailService) GetMailGroupPermissionMember ¶
func (r *MailService) GetMailGroupPermissionMember(ctx context.Context, request *GetMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*GetMailGroupPermissionMemberResp, *Response, error)
GetMailGroupPermissionMember 获取邮件组单个权限成员信息
func (*MailService) GetMailGroupPermissionMemberList ¶
func (r *MailService) GetMailGroupPermissionMemberList(ctx context.Context, request *GetMailGroupPermissionMemberListReq, options ...MethodOptionFunc) (*GetMailGroupPermissionMemberListResp, *Response, error)
GetMailGroupPermissionMemberList 分页批量获取邮件组权限成员列表
func (*MailService) GetMailUserAliasList ¶
func (r *MailService) GetMailUserAliasList(ctx context.Context, request *GetMailUserAliasListReq, options ...MethodOptionFunc) (*GetMailUserAliasListResp, *Response, error)
GetMailUserAliasList 获取用户邮箱所有别名
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/user-alias/list
func (*MailService) GetPublicMailbox ¶
func (r *MailService) GetPublicMailbox(ctx context.Context, request *GetPublicMailboxReq, options ...MethodOptionFunc) (*GetPublicMailboxResp, *Response, error)
GetPublicMailbox 获取公共邮箱信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/get
func (*MailService) GetPublicMailboxList ¶
func (r *MailService) GetPublicMailboxList(ctx context.Context, request *GetPublicMailboxListReq, options ...MethodOptionFunc) (*GetPublicMailboxListResp, *Response, error)
GetPublicMailboxList 分页批量获取公共邮箱列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/list
func (*MailService) GetPublicMailboxMember ¶
func (r *MailService) GetPublicMailboxMember(ctx context.Context, request *GetPublicMailboxMemberReq, options ...MethodOptionFunc) (*GetPublicMailboxMemberResp, *Response, error)
GetPublicMailboxMember 获取公共邮箱单个成员信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/get
func (*MailService) GetPublicMailboxMemberList ¶
func (r *MailService) GetPublicMailboxMemberList(ctx context.Context, request *GetPublicMailboxMemberListReq, options ...MethodOptionFunc) (*GetPublicMailboxMemberListResp, *Response, error)
GetPublicMailboxMemberList 分页批量获取公共邮箱成员列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox-member/list
func (*MailService) UpdateMailGroup ¶
func (r *MailService) UpdateMailGroup(ctx context.Context, request *UpdateMailGroupReq, options ...MethodOptionFunc) (*UpdateMailGroupResp, *Response, error)
UpdateMailGroup 更新邮件组所有信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/update
func (*MailService) UpdateMailGroupPatch ¶
func (r *MailService) UpdateMailGroupPatch(ctx context.Context, request *UpdateMailGroupPatchReq, options ...MethodOptionFunc) (*UpdateMailGroupPatchResp, *Response, error)
UpdateMailGroupPatch 更新邮件组部分字段,没有填写的字段不会被更新
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup/patch
func (*MailService) UpdatePublicMailbox ¶
func (r *MailService) UpdatePublicMailbox(ctx context.Context, request *UpdatePublicMailboxReq, options ...MethodOptionFunc) (*UpdatePublicMailboxResp, *Response, error)
UpdatePublicMailbox 更新公共邮箱所有信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/update
func (*MailService) UpdatePublicMailboxPatch ¶
func (r *MailService) UpdatePublicMailboxPatch(ctx context.Context, request *UpdatePublicMailboxPatchReq, options ...MethodOptionFunc) (*UpdatePublicMailboxPatchResp, *Response, error)
UpdatePublicMailboxPatch 更新公共邮箱部分字段,没有填写的字段不会被更新
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/public_mailbox/patch
type MailUserType ¶
type MailUserType string
MailUserType ...
const ( MailUserTypeUser MailUserType = "USER" // 内部用户 MailUserTypeDepartment MailUserType = "DEPARTMENT" // 部门 MailUserTypeCompany MailUserType = "COMPANY" // 全员 MailUserTypeExternalUser MailUserType = "EXTERNAL_USER" // 外部用户 MailUserTypeMailGroup MailUserType = "MAIL_GROUP" // 邮件组 MailUserTypeOtherMember MailUserType = "OTHER_MEMBER" // 内部成员 )
MailUserTypeUser ...
type MakeHireTransferOnboardByApplicationReq ¶
type MakeHireTransferOnboardByApplicationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ApplicationID string `path:"application_id" json:"-"` // 投递ID, 示例值:"12312312312" ActualOnboardTime *int64 `json:"actual_onboard_time,omitempty"` // 实际入职时间, 示例值:1616428800000 ExpectedConversionTime *int64 `json:"expected_conversion_time,omitempty"` // 预期转正时间, 示例值:1616428800000 JobRequirementID *string `json:"job_requirement_id,omitempty"` // 招聘需求 ID, 示例值:"6960663240925956402" OperatorID *string `json:"operator_id,omitempty"` // 操作人 UserID, 示例值:"ou-xxx" OnboardCityCode *string `json:"onboard_city_code,omitempty"` // 候选人办公地点 ID ,枚举可通过接口「获取地址列表」获取,将用于候选人内推奖规则判断, 示例值:"CT_2" Department *string `json:"department,omitempty"` // 候选人入职部门 ID ,枚举可通过接口「获取部门信息列表」获取,将用于候选人内推奖规则判断, 示例值:"6966123381141866028" Leader *string `json:"leader,omitempty"` // 候选人直属上级 UserID ,将用于候选人内推奖规则判断, 示例值:"ou-xxx" Sequence *string `json:"sequence,omitempty"` // 候选人序列 ID ,枚举可通过接口「获取职务分类列表」获取,将用于候选人内推奖规则判断, 示例值:"7006234385490345986" Level *string `json:"level,omitempty"` // 候选人职级 ID ,枚举可通过接口「获取职级列表」获取,将用于候选人内推奖规则判断, 示例值:"6937934036379650311" }
MakeHireTransferOnboardByApplicationReq ...
type MakeHireTransferOnboardByApplicationResp ¶
type MakeHireTransferOnboardByApplicationResp struct {
Employee *MakeHireTransferOnboardByApplicationRespEmployee `json:"employee,omitempty"` // employee
}
MakeHireTransferOnboardByApplicationResp ...
type MakeHireTransferOnboardByApplicationRespEmployee ¶
type MakeHireTransferOnboardByApplicationRespEmployee struct { ID string `json:"id,omitempty"` // 员工ID ApplicationID string `json:"application_id,omitempty"` // 投递ID OnboardStatus int64 `json:"onboard_status,omitempty"` // 入职状态, 可选值有: `1`:已入职, `2`:已离职 ConversionStatus int64 `json:"conversion_status,omitempty"` // 转正状态, 可选值有: `1`:未转正, `2`:已转正 OnboardTime int64 `json:"onboard_time,omitempty"` // 实际入职时间 ExpectedConversionTime int64 `json:"expected_conversion_time,omitempty"` // 预期转正时间 ActualConversionTime int64 `json:"actual_conversion_time,omitempty"` // 实际转正时间 OverboardTime int64 `json:"overboard_time,omitempty"` // 离职时间 OverboardNote string `json:"overboard_note,omitempty"` // 离职原因 OnboardCityCode string `json:"onboard_city_code,omitempty"` // 办公地点 Department string `json:"department,omitempty"` // 入职部门 Leader string `json:"leader,omitempty"` // 直属上级 Sequence string `json:"sequence,omitempty"` // 序列 Level string `json:"level,omitempty"` // 职级 }
MakeHireTransferOnboardByApplicationRespEmployee ...
type MeetingRoomService ¶
type MeetingRoomService struct {
// contains filtered or unexported fields
}
func (*MeetingRoomService) BatchGetMeetingRoomBuilding ¶
func (r *MeetingRoomService) BatchGetMeetingRoomBuilding(ctx context.Context, request *BatchGetMeetingRoomBuildingReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomBuildingResp, *Response, error)
BatchGetMeetingRoomBuilding 该接口用于获取指定建筑物的详细信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ukzNyUjL5cjM14SO3ITN
func (*MeetingRoomService) BatchGetMeetingRoomBuildingID ¶
func (r *MeetingRoomService) BatchGetMeetingRoomBuildingID(ctx context.Context, request *BatchGetMeetingRoomBuildingIDReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomBuildingIDResp, *Response, error)
BatchGetMeetingRoomBuildingID 该接口用于根据租户自定义建筑 ID 查询建筑 ID。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQzMxYjL0MTM24CNzEjN
func (*MeetingRoomService) BatchGetMeetingRoomFreebusy ¶
func (r *MeetingRoomService) BatchGetMeetingRoomFreebusy(ctx context.Context, request *BatchGetMeetingRoomFreebusyReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomFreebusyResp, *Response, error)
BatchGetMeetingRoomFreebusy 该接口用于获取指定会议室的忙闲日程实例列表。非重复日程只有唯一实例;重复日程可能存在多个实例,依据重复规则和时间范围扩展。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIDOyUjLygjM14iM4ITN
func (*MeetingRoomService) BatchGetMeetingRoomRoom ¶
func (r *MeetingRoomService) BatchGetMeetingRoomRoom(ctx context.Context, request *BatchGetMeetingRoomRoomReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomRoomResp, *Response, error)
BatchGetMeetingRoomRoom 该接口用于获取指定会议室的详细信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uEDOyUjLxgjM14SM4ITN
func (*MeetingRoomService) BatchGetMeetingRoomRoomID ¶
func (r *MeetingRoomService) BatchGetMeetingRoomRoomID(ctx context.Context, request *BatchGetMeetingRoomRoomIDReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomRoomIDResp, *Response, error)
BatchGetMeetingRoomRoomID 该接口用于根据租户自定义会议室ID查询会议室ID。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYzMxYjL2MTM24iNzEjN
func (*MeetingRoomService) BatchGetMeetingRoomSummary ¶
func (r *MeetingRoomService) BatchGetMeetingRoomSummary(ctx context.Context, request *BatchGetMeetingRoomSummaryReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomSummaryResp, *Response, error)
BatchGetMeetingRoomSummary 通过日程的Uid和Original time,查询会议室日程主题。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uIjM5UjLyITO14iMykTN/
func (*MeetingRoomService) CreateMeetingRoomBuilding ¶
func (r *MeetingRoomService) CreateMeetingRoomBuilding(ctx context.Context, request *CreateMeetingRoomBuildingReq, options ...MethodOptionFunc) (*CreateMeetingRoomBuildingResp, *Response, error)
CreateMeetingRoomBuilding 该接口对应管理后台的添加建筑,添加楼层的功能,可用于创建建筑物和建筑物的楼层信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uATNwYjLwUDM24CM1AjN
func (*MeetingRoomService) CreateMeetingRoomRoom ¶
func (r *MeetingRoomService) CreateMeetingRoomRoom(ctx context.Context, request *CreateMeetingRoomRoomReq, options ...MethodOptionFunc) (*CreateMeetingRoomRoomResp, *Response, error)
CreateMeetingRoomRoom 该接口用于创建会议室。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITNwYjLyUDM24iM1AjN
func (*MeetingRoomService) DeleteMeetingRoomBuilding ¶
func (r *MeetingRoomService) DeleteMeetingRoomBuilding(ctx context.Context, request *DeleteMeetingRoomBuildingReq, options ...MethodOptionFunc) (*DeleteMeetingRoomBuildingResp, *Response, error)
DeleteMeetingRoomBuilding 该接口用于删除建筑物(办公大楼)。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMzMxYjLzMTM24yMzEjN
func (*MeetingRoomService) DeleteMeetingRoomRoom ¶
func (r *MeetingRoomService) DeleteMeetingRoomRoom(ctx context.Context, request *DeleteMeetingRoomRoomReq, options ...MethodOptionFunc) (*DeleteMeetingRoomRoomResp, *Response, error)
DeleteMeetingRoomRoom 该接口用于删除会议室。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUzMxYjL1MTM24SNzEjN
func (*MeetingRoomService) GetMeetingRoomBuildingList ¶
func (r *MeetingRoomService) GetMeetingRoomBuildingList(ctx context.Context, request *GetMeetingRoomBuildingListReq, options ...MethodOptionFunc) (*GetMeetingRoomBuildingListResp, *Response, error)
GetMeetingRoomBuildingList 该接口用于获取本企业下的建筑物(办公大楼)。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ugzNyUjL4cjM14CO3ITN
func (*MeetingRoomService) GetMeetingRoomCountryList ¶
func (r *MeetingRoomService) GetMeetingRoomCountryList(ctx context.Context, request *GetMeetingRoomCountryListReq, options ...MethodOptionFunc) (*GetMeetingRoomCountryListResp, *Response, error)
GetMeetingRoomCountryList 新建建筑时需要标明所处国家/地区,该接口用于获得系统预先提供的可供选择的国家 /地区列表。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uQTNwYjL0UDM24CN1AjN
func (*MeetingRoomService) GetMeetingRoomCustomization ¶
func (r *MeetingRoomService) GetMeetingRoomCustomization(ctx context.Context, request *GetMeetingRoomCustomizationReq, options ...MethodOptionFunc) (*GetMeetingRoomCustomizationResp, *Response, error)
GetMeetingRoomCustomization
该接口用于获取会议室个性化配置。
func (*MeetingRoomService) GetMeetingRoomDistrictList ¶
func (r *MeetingRoomService) GetMeetingRoomDistrictList(ctx context.Context, request *GetMeetingRoomDistrictListReq, options ...MethodOptionFunc) (*GetMeetingRoomDistrictListResp, *Response, error)
GetMeetingRoomDistrictList 新建建筑时需要选择所处国家/地区,该接口用于获得系统预先提供的可供选择的城市列表。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUTNwYjL1UDM24SN1AjN
func (*MeetingRoomService) GetMeetingRoomRoomList ¶
func (r *MeetingRoomService) GetMeetingRoomRoomList(ctx context.Context, request *GetMeetingRoomRoomListReq, options ...MethodOptionFunc) (*GetMeetingRoomRoomListResp, *Response, error)
GetMeetingRoomRoomList 该接口用于获取指定建筑下的会议室。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uADOyUjLwgjM14CM4ITN
func (*MeetingRoomService) ReplyMeetingRoomInstance ¶
func (r *MeetingRoomService) ReplyMeetingRoomInstance(ctx context.Context, request *ReplyMeetingRoomInstanceReq, options ...MethodOptionFunc) (*ReplyMeetingRoomInstanceResp, *Response, error)
ReplyMeetingRoomInstance 该接口用于回复会议室日程实例,包括未签到释放和提前结束释放。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uYzN4UjL2cDO14iN3gTN
func (*MeetingRoomService) UpdateMeetingRoomBuilding ¶
func (r *MeetingRoomService) UpdateMeetingRoomBuilding(ctx context.Context, request *UpdateMeetingRoomBuildingReq, options ...MethodOptionFunc) (*UpdateMeetingRoomBuildingResp, *Response, error)
UpdateMeetingRoomBuilding 该接口用于编辑建筑信息,添加楼层,删除楼层,编辑楼层信息。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uETNwYjLxUDM24SM1AjN
func (*MeetingRoomService) UpdateMeetingRoomRoom ¶
func (r *MeetingRoomService) UpdateMeetingRoomRoom(ctx context.Context, request *UpdateMeetingRoomRoomReq, options ...MethodOptionFunc) (*UpdateMeetingRoomRoomResp, *Response, error)
UpdateMeetingRoomRoom 该接口用于更新会议室。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMTNwYjLzUDM24yM1AjN
type MembershipApproval ¶
type MembershipApproval string
MembershipApproval 加群审批
const ( MembershipApprovalNoApprovalRequired MembershipApproval = "no_approval_required" MembershipApprovalApprovalRequired MembershipApproval = "approval_required" )
MembershipApprovalNoApprovalRequired ...
func MembershipApprovalPtr ¶
func MembershipApprovalPtr(v MembershipApproval) *MembershipApproval
MembershipApprovalPtr ...
type Mention ¶
type Mention struct { Key string `json:"key,omitempty"` // mention key ID string `json:"id,omitempty"` // 用户open id IDType IDType `json:"id_type,omitempty"` // id 可以是open_id,user_id或者union_id Name string `json:"name,omitempty"` // 被at用户的姓名 }
Mention mention user
type MergeSheetCellReq ¶
type MergeSheetCellReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) MergeType string `json:"mergeType,omitempty"` // 可选三个类型,"MERGE_ALL" 将所选区域直接合并、"MERGE_ROWS" 将所选区域按行合并、"MERGE_COLUMNS" 将所选区域按列合并响应 }
MergeSheetCellReq ...
type MergeSheetCellResp ¶
type MergeSheetCellResp struct {
SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token
}
MergeSheetCellResp ...
type MessageBody ¶
type MessageBody struct {
Content string `json:"content,omitempty"` // 消息jsonContent
}
MessageBody message body
type MessageContent ¶
type MessageContent struct { Text *MessageContentText // 文本消息 Image *MessageContentImage // 图片消息 File *MessageContentFile // 文件消息 Audio *MessageContentAudio // 音频消息 Media *MessageContentMedia // 视频消息 Sticker *MessageContentSticker // 表情包消息 RedBag *MessageContentRedBag // 红包消息 System *MessageContentSystem // 系统消息 Location *MessageContentLocation // 位置消息 VideoChat *MessageContentVideoChat // 视频通话消息 }
MessageContent ...
func UnwrapMessageContent ¶
func UnwrapMessageContent(msgType MsgType, content string) (*MessageContent, error)
UnwrapMessageContent 接收消息解析
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/events/message_content
type MessageContentAudio ¶
音频消息
type MessageContentCard ¶
type MessageContentCard struct { Header *MessageContentCardHeader `json:"header,omitempty"` // 用于配置卡片标题内容。 Config *MessageContentCardConfig `json:"config,omitempty"` // 配置卡片属性 Modules []MessageContentCardModule `json:"elements,omitempty"` // 用于定义卡片正文内容 }
MessageContentCard ...
type MessageContentCardConfig ¶
type MessageContentCardConfig struct { EnableForward bool `json:"enable_forward"` // 是否允许卡片被转发,默认 true,转发后,卡片上的“回传交互”组件将自动置为禁用态。用户不能在转发后的卡片操作提交数据 UpdateMulti bool `json:"update_multi,omitempty"` // 更新卡片的内容是否对所有收到这张卡片的人员可见。 默认为false,即仅操作用户可见卡片的更新内容。 }
MessageContentCardConfig 配置卡片属性
https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN
type MessageContentCardElement ¶
type MessageContentCardElement interface {
IsMessageContentCardElement()
}
MessageContentCardElement ...
type MessageContentCardElementButton ¶
type MessageContentCardElementButton struct { Text *MessageContentCardObjectText `json:"text,omitempty"` // 按钮中的文本 URL string `json:"url,omitempty"` // 跳转链接,和multi_url互斥 MultiURL *MessageContentCardObjectURL `json:"multi_url,omitempty"` // 多端跳转链接 Type string `json:"type,omitempty"` // 配置按钮样式,默认为"default", "default"/"primary"/"danger" Value interface{} `json:"value,omitempty"` // 点击后返回业务方, 仅支持key-value形式的json结构,且key为String类型。 Confirm *MessageContentCardObjectConfirm `json:"confirm,omitempty"` // 二次确认的弹框 }
MessageContentCardElementButton button
button 属于交互元素的一种,可用于内容块的extra字段和交互块的actions字段。
https://open.feishu.cn/document/ukTMukTMukTM/uEzNwUjLxcDM14SM3ATN
func (MessageContentCardElementButton) IsMessageContentCardElement ¶
func (r MessageContentCardElementButton) IsMessageContentCardElement()
IsMessageContentCardElement ...
func (MessageContentCardElementButton) MarshalJSON ¶
func (r MessageContentCardElementButton) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardElementDatePicker ¶
type MessageContentCardElementDatePicker struct { Tag MessageContentCardElementTag `json:"tag,omitempty"` // 如下三种取值 :date_picker, picker_time, picker_datetime InitialDate string `json:"initial_date,omitempty"` // 格式"YYYY-MM-DD" 日期模式的初始值 InitialTime string `json:"initial_time,omitempty"` // 格式"HH:mm" 时间模式的初始值 InitialDatetime string `json:"initial_datetime,omitempty"` // 格式"YYYY-MM-DD HH:mm" 日期模式的初始值 Placeholder *MessageContentCardObjectText `json:"placeholder,omitempty"` // 占位符,无初始值时必填 Value interface{} `json:"value,omitempty"` // 用户选定后返回业务方的数据 Confirm *MessageContentCardObjectConfirm `json:"confirm,omitempty"` // 二次确认的弹框 }
作为datePicker元素被使用,提供时间选择的功能。支持三种模式的时间选择:(1)日期(2)时间(3)日期时间 datePicker属于交互元素的一种,可用于内容块的extra字段和交互块的actions字段。
func (MessageContentCardElementDatePicker) IsMessageContentCardElement ¶
func (r MessageContentCardElementDatePicker) IsMessageContentCardElement()
IsMessageContentCardElement ...
type MessageContentCardElementImage ¶
type MessageContentCardElementImage struct { ImgKey string `json:"img_key,omitempty"` // 图片资源 Alt *MessageContentCardObjectText `json:"alt,omitempty"` // 图片hover说明 Preview bool `json:"preview,omitempty"` // 点击后是否放大图片,缺省为true。在配置 card_link 后可设置为false,使用户点击卡片上的图片也能响应card_link链接跳转 }
MessageContentCardElementImage 图片模块
图片模块用于展示整张图片。建议需要着重展示的图片使用此模块,用户点击图片后可以查看大图。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUjNwUjL1YDM14SN2ATN
func (MessageContentCardElementImage) IsMessageContentCardElement ¶
func (r MessageContentCardElementImage) IsMessageContentCardElement()
IsMessageContentCardElement ...
func (MessageContentCardElementImage) MarshalJSON ¶
func (r MessageContentCardElementImage) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardElementOverflow ¶
type MessageContentCardElementOverflow struct { Options []*MessageContentCardObjectOption `json:"options,omitempty"` // 待选选项 Value interface{} `json:"value,omitempty"` // 用户选定后返回业务方的数据 Confirm *MessageContentCardObjectConfirm `json:"confirm,omitempty"` // 二次确认的弹框 }
MessageContentCardElementOverflow overflow
作为overflow元素被使用,提供折叠的按钮型菜单 overflow属于交互元素的一种,可用于内容块的extra字段和交互块的actions字段。
通过options字段配置选项,可用于多个按扭的折叠隐藏功能。
func (MessageContentCardElementOverflow) IsMessageContentCardElement ¶
func (r MessageContentCardElementOverflow) IsMessageContentCardElement()
IsMessageContentCardElement ...
func (MessageContentCardElementOverflow) MarshalJSON ¶
func (r MessageContentCardElementOverflow) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardElementSelectMenu ¶
type MessageContentCardElementSelectMenu struct { Tag MessageContentCardElementTag `json:"tag,omitempty"` // select_static, select_person Placeholder *MessageContentCardObjectText `json:"placeholder,omitempty"` // 占位符,无默认选项时必须有 InitialOption string `json:"initial_option,omitempty"` // 默认选项的value字段值 Options []*MessageContentCardObjectOption `json:"options,omitempty"` // 待选选项 Value map[string]interface{} `json:"value,omitempty"` // 用户选定后返回业务方的数据 Confirm *MessageContentCardObjectConfirm `json:"confirm,omitempty"` // 二次确认的弹框 }
MessageContentCardElementSelectMenu selectMenu
作为selectMenu元素被使用,提供选项菜单的功能 selectMenu属于交互元素的一种,可用于内容块的extra字段和交互块的actions字段。
选项模式("tag":"select_static"):通过options字段配置选项,支持对多个选项进行展示供用户选择。 选人模式("tag":"select_person"):通过options字段配置待选人员,无则使用当前群组作为待选人员。
https://open.feishu.cn/document/ukTMukTMukTM/uIzNwUjLycDM14iM3ATN
func (MessageContentCardElementSelectMenu) IsMessageContentCardElement ¶
func (r MessageContentCardElementSelectMenu) IsMessageContentCardElement()
IsMessageContentCardElement ...
type MessageContentCardElementTag ¶
type MessageContentCardElementTag string
MessageContentCardElementTag ...
const ( MessageContentCardElementTagImage MessageContentCardElementTag = "img" MessageContentCardElementTagButton MessageContentCardElementTag = "button" MessageContentCardElementTagOverflow MessageContentCardElementTag = "overflow" MessageContentCardElementTagSelectStatic MessageContentCardElementTag = "select_static" MessageContentCardElementTagSelectPerson MessageContentCardElementTag = "select_person" MessageContentCardElementTagPickerDate MessageContentCardElementTag = "date_picker" MessageContentCardElementTagPickerTime MessageContentCardElementTag = "picker_time" MessageContentCardElementTagPickerDatetime MessageContentCardElementTag = "picker_datetime" )
MessageContentCardElementTagImage ...
type MessageContentCardHeader ¶
type MessageContentCardHeader struct { Template MessageContentCardHeaderTemplate `json:"template,omitempty"` // 控制标题背景颜色,取值参考注意事项 Title *MessageContentCardObjectText `json:"title,omitempty"` // 卡片标题 }
MessageContentCardHeader 卡片标题
https://open.feishu.cn/document/ukTMukTMukTM/ukTNwUjL5UDM14SO1ATN
type MessageContentCardHeaderTemplate ¶
type MessageContentCardHeaderTemplate string
MessageContentCardHeaderTemplate 控制标题背景颜色,取值参考注意事项
const ( MessageContentCardHeaderTemplateBlue MessageContentCardHeaderTemplate = "blue" MessageContentCardHeaderTemplateWathet MessageContentCardHeaderTemplate = "wathet" MessageContentCardHeaderTemplateTurquoise MessageContentCardHeaderTemplate = "turquoise" MessageContentCardHeaderTemplateGreen MessageContentCardHeaderTemplate = "green" MessageContentCardHeaderTemplateYellow MessageContentCardHeaderTemplate = "yellow" MessageContentCardHeaderTemplateOrange MessageContentCardHeaderTemplate = "orange" MessageContentCardHeaderTemplateRed MessageContentCardHeaderTemplate = "red" MessageContentCardHeaderTemplateCarmine MessageContentCardHeaderTemplate = "carmine" MessageContentCardHeaderTemplateViolet MessageContentCardHeaderTemplate = "violet" MessageContentCardHeaderTemplatePurple MessageContentCardHeaderTemplate = "purple" MessageContentCardHeaderTemplateIndigo MessageContentCardHeaderTemplate = "indigo" MessageContentCardHeaderTemplateGrey MessageContentCardHeaderTemplate = "grey" )
MessageContentCardHeaderTemplateBlue ...
type MessageContentCardModule ¶
type MessageContentCardModule interface {
IsMessageContentCardModule()
}
MessageContentCardModule 卡片正文内容
消息卡片的正文内容由模块组成,你可以“像搭积木一样自由堆砌卡片”,即堆砌模块的方式构造卡片内容。 卡片提供 5 类模块,你可以在 elements(或i18n_elements) 结构中自由堆砌生成需要的卡片内容,最多可堆叠50个模块。
type MessageContentCardModuleAction ¶
type MessageContentCardModuleAction struct { Actions []MessageContentCardElement `json:"actions,omitempty"` // 放置交互元素 Layout string `json:"layout,omitempty"` // 交互元素布局,窄版样式默认纵向排列,使用 bisected 为二等分布局,每行两列交互元素,使用 trisection 为三等分布局,每行三列交互元素,使用 flow 为流式布局元素会按自身大小横向排列并在空间不够的时候折行 }
MessageContentCardModuleAction 交互模块
卡片提供 4 种交互控件(button,selectMenu,overflow,datePicker),你可以通过 actions 字段添加交互元素,实现交互功能。 卡片交互 有效期为30天 ,超过有效期的卡片不支持交互。
https://open.feishu.cn/document/ukTMukTMukTM/uYjNwUjL2YDM14iN2ATN
func (MessageContentCardModuleAction) IsMessageContentCardModule ¶
func (r MessageContentCardModuleAction) IsMessageContentCardModule()
IsMessageContentCardModule ...
func (MessageContentCardModuleAction) MarshalJSON ¶
func (r MessageContentCardModuleAction) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardModuleDIV ¶
type MessageContentCardModuleDIV struct { Text *MessageContentCardObjectText `json:"text,omitempty"` // 单个文本展示,和field至少要有一个 Fields []*MessageContentCardObjectField `json:"fields,omitempty"` // 多个文本展示,和text至少要有一个 Extra MessageContentCardElement `json:"extra,omitempty"` // 附加的元素展示在文本内容右侧。 可附加的元素包括image、button、selectMenu、overflow、datePicker }
MessageContentCardModuleDIV 内容模块
内容模块以文本内容为主体,同时可以选择组合图片、按钮等交互组件,实现内容混排的效果。 模块标签为 div , 可以单独通过 text 或 field 来展示文本内容,也可以配合一个 image 元素或一个 button, overflow, selectMenu, datePicker 等互动元素增加内容的丰富性。
https://open.feishu.cn/document/ukTMukTMukTM/uMjNwUjLzYDM14yM2ATN
func (MessageContentCardModuleDIV) IsMessageContentCardModule ¶
func (r MessageContentCardModuleDIV) IsMessageContentCardModule()
IsMessageContentCardModule ...
func (MessageContentCardModuleDIV) MarshalJSON ¶
func (r MessageContentCardModuleDIV) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardModuleHR ¶
type MessageContentCardModuleHR struct{}
MessageContentCardModuleHR 分割线模块
模块之间的分割线 建议在内容需要明显进行分割时,使用分割线模块
https://open.feishu.cn/document/ukTMukTMukTM/uQjNwUjL0YDM14CN2ATN
func (MessageContentCardModuleHR) IsMessageContentCardModule ¶
func (r MessageContentCardModuleHR) IsMessageContentCardModule()
IsMessageContentCardModule ...
func (MessageContentCardModuleHR) MarshalJSON ¶
func (r MessageContentCardModuleHR) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardModuleImage ¶
type MessageContentCardModuleImage struct { ImgKey string `json:"img_key,omitempty"` // 图片资源,获取方法: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create Alt *MessageContentCardObjectText `json:"alt,omitempty"` // hover图片时弹出的Tips文案,content取值为空时则不展示 Title *MessageContentCardObjectText `json:"title,omitempty"` // 图片标题 CustomWidth int64 `json:"custom_width,omitempty"` // 自定义图片的最大展示宽度。 默认展示宽度撑满卡片的通栏图片,可在278px~580px范围内指定最大展示宽度。在飞书4.0以上版本生效 CompactWidth bool `json:"compact_width,omitempty"` // 是否展示为紧凑型的图片。 默认为false,若配置为true,则展示最大宽度为278px的紧凑型图片 Mode string `json:"mode,omitempty"` // 图片显示模式。 crop_center:居中裁剪模式,对长图会限高,并居中裁剪后展示,fit_horizontal:平铺模式,完整展示上传的图片 Preview bool `json:"preview,omitempty"` // 点击后是否放大图片,缺省为true。在配置 card_link 后可设置为false,使用户点击卡片上的图片也能响应card_link链接跳转 }
MessageContentCardModuleImage 图片模块
https://open.feishu.cn/document/ukTMukTMukTM/uUjNwUjL1YDM14SN2ATN
func (MessageContentCardModuleImage) IsMessageContentCardModule ¶
func (r MessageContentCardModuleImage) IsMessageContentCardModule()
IsMessageContentCardModule ...
func (MessageContentCardModuleImage) MarshalJSON ¶
func (r MessageContentCardModuleImage) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardModuleNote ¶
type MessageContentCardModuleNote struct {
Elements []MessageContentCardElement `json:"elements,omitempty"` // text对象或image元素
}
MessageContentCardModuleNote 备注模块
备注模块用于展示次要信息。 建议使用备注模块来展示用于辅助说明或备注的次要信息,支持小尺寸的图片和文本。
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucjNwUjL3YDM14yN2ATN
func (MessageContentCardModuleNote) IsMessageContentCardModule ¶
func (r MessageContentCardModuleNote) IsMessageContentCardModule()
IsMessageContentCardModule ...
func (MessageContentCardModuleNote) MarshalJSON ¶
func (r MessageContentCardModuleNote) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentCardModuleTag ¶
type MessageContentCardModuleTag string
MessageContentCardModuleTag ...
const ( MessageContentCardModuleTagDIV MessageContentCardModuleTag = "div" MessageContentCardModuleTagHR MessageContentCardModuleTag = "hr" MessageContentCardModuleTagImage MessageContentCardModuleTag = "img" MessageContentCardModuleTagAction MessageContentCardModuleTag = "action" MessageContentCardModuleTagNote MessageContentCardModuleTag = "note" )
MessageContentCardModuleTagDIV ...
type MessageContentCardObjectConfirm ¶
type MessageContentCardObjectConfirm struct { Title *MessageContentCardObjectText `json:"title,omitempty"` // 弹框标题 Text *MessageContentCardObjectText `json:"text,omitempty"` // 弹框内容 }
用于交互元素的二次确认 弹框默认提供确定和取消的按钮,无需开发者手动配置。
type MessageContentCardObjectField ¶
type MessageContentCardObjectField struct { IsShort bool `json:"is_short"` // 是否并排布局 Text *MessageContentCardObjectText `json:"text"` // 国际化文本内容 }
MessageContentCardObjectField field
field对象可用于内容模块的field字段,通过"is_short"字段控制是否并排布局
https://open.feishu.cn/document/ukTMukTMukTM/uYzNwUjL2cDM14iN3ATN
type MessageContentCardObjectOption ¶
type MessageContentCardObjectOption struct { Text *MessageContentCardObjectText `json:"text,omitempty"` // text对象 选项显示内容,非待选人员时必填 Value string `json:"value,omitempty"` // 选项选中后返回业务方的数据 URL string `json:"url,omitempty"` // *仅支持overflow,跳转指定链接,和multi_url字段互斥 MultiURL *MessageContentCardObjectURL `json:"multi_url,omitempty"` // *仅支持overflow,跳转对应链接,和url字段互斥 }
作为selectMenu的选项对象 作为overflow的选项对象
type MessageContentCardObjectText ¶
type MessageContentCardObjectText struct { Tag MessageContentCardObjectTextType `json:"tag"` // plain_text / lark_md Content string `json:"content"` // 文本内容 Lines int `json:"lines,omitempty"` // 内容显示行数 }
作为text对象被使用,支持"plain_text"和"lark_md"两种模式
func (MessageContentCardObjectText) IsMessageContentCardElement ¶
func (r MessageContentCardObjectText) IsMessageContentCardElement()
IsMessageContentCardElement ...
type MessageContentCardObjectTextType ¶
type MessageContentCardObjectTextType string
MessageContentCardObjectTextType ...
const ( MessageContentCardTextTypePlainText MessageContentCardObjectTextType = "plain_text" MessageContentCardTextTypeLarkMd MessageContentCardObjectTextType = "lark_md" )
MessageContentCardTextTypePlainText ...
type MessageContentCardObjectURL ¶
type MessageContentCardObjectURL struct { URL string `json:"url,omitempty"` // 默认跳转链接,参考注意事项 AndroidURL string `json:"android_url,omitempty"` IOSURL string `json:"ios_url,omitempty"` PCURL string `json:"pc_url,omitempty"` }
url对象用作多端差异跳转链接
可用于button的multi_url字段,支持按键点击的多端跳转。 可用于lark_md类型text对象的href字段,支持超链接点击的多端跳转。
type MessageContentFile ¶
type MessageContentFile struct { FileKey string `json:"file_key"` FileName string `json:"file_name"` }
文件消息
type MessageContentImage ¶
type MessageContentImage struct {
ImageKey string `json:"image_key"`
}
图片消息
type MessageContentLocation ¶
type MessageContentLocation struct { Name string `json:"name"` Longitude string `json:"longitude"` Latitude string `json:"latitude"` }
位置消息
type MessageContentMedia ¶
type MessageContentMedia struct { FileKey string `json:"file_key"` ImageKey string `json:"image_key"` FileName string `json:"file_name"` Duration int `json:"duration"` }
视频消息
type MessageContentPost ¶
type MessageContentPost struct { Title string `json:"title,omitempty"` Content [][]MessageContentPostItem `json:"content,omitempty"` }
MessageContentPost ...
type MessageContentPostAll ¶
type MessageContentPostAll struct { ZhCn *MessageContentPost `json:"zh_cn,omitempty"` JaJp *MessageContentPost `json:"ja_jp,omitempty"` EnUs *MessageContentPost `json:"en_us,omitempty"` }
MessageContentPostAll ...
type MessageContentPostAt ¶
type MessageContentPostAt struct { UserID string `json:"user_id"` // open_id UserName string `json:"user_name"` // 用户姓名 // contains filtered or unexported fields }
MessageContentPostAt ...
func (MessageContentPostAt) IsMessageContentPostItem ¶
func (r MessageContentPostAt) IsMessageContentPostItem() bool
IsMessageContentPostItem ...
func (MessageContentPostAt) MarshalJSON ¶
func (r MessageContentPostAt) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentPostImage ¶
type MessageContentPostImage struct { ImageKey string `json:"image_key"` // 图片的唯一标识 Height int `json:"height"` // 图片的高 Width int `json:"width"` // 图片的宽 // contains filtered or unexported fields }
MessageContentPostImage ...
func (MessageContentPostImage) IsMessageContentPostItem ¶
func (r MessageContentPostImage) IsMessageContentPostItem() bool
IsMessageContentPostItem ...
func (MessageContentPostImage) MarshalJSON ¶
func (r MessageContentPostImage) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentPostItem ¶
type MessageContentPostItem interface { // json.Marshaler IsMessageContentPostItem() bool }
MessageContentPostItem ...
type MessageContentPostLink ¶
type MessageContentPostLink struct { Text string `json:"text"` // 文本内容 UnEscape bool `json:"un_escape"` // Href string `json:"href"` // 默认的链接地址 // contains filtered or unexported fields }
MessageContentPostLink ...
func (MessageContentPostLink) IsMessageContentPostItem ¶
func (r MessageContentPostLink) IsMessageContentPostItem() bool
IsMessageContentPostItem ...
func (MessageContentPostLink) MarshalJSON ¶
func (r MessageContentPostLink) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentPostText ¶
type MessageContentPostText struct { Text string `json:"text"` // 文本内容 UnEscape bool `json:"un_escape"` // 表示是不是 unescape 解码,默认为 false ,不用可以不填 // contains filtered or unexported fields }
MessageContentPostText ...
func (MessageContentPostText) IsMessageContentPostItem ¶
func (r MessageContentPostText) IsMessageContentPostItem() bool
IsMessageContentPostItem ...
func (MessageContentPostText) MarshalJSON ¶
func (r MessageContentPostText) MarshalJSON() ([]byte, error)
MarshalJSON ...
type MessageContentSticker ¶
type MessageContentSticker struct {
FileKey string `json:"file_key"`
}
表情包消息
type MessageContentSystem ¶
type MessageContentSystem struct { Template string `json:"template"` FromUser []string `json:"from_user"` ToChatters []string `json:"to_chatters"` }
系统消息消息
type MessageContentVideoChat ¶
type MessageContentVideoChat struct { Topic string `json:"topic"` StartTime string `json:"start_time"` // 时间戳毫秒级 }
视频通话消息
type MessageReplyAPI ¶
type MessageReplyAPI struct {
// contains filtered or unexported fields
}
MessageReplyAPI ...
func (*MessageReplyAPI) SendAudio ¶
func (r *MessageReplyAPI) SendAudio(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
SendAudio ...
func (*MessageReplyAPI) SendCard ¶
func (r *MessageReplyAPI) SendCard(ctx context.Context, card string) (*ReplyRawMessageResp, *Response, error)
SendCard ...
func (*MessageReplyAPI) SendFile ¶
func (r *MessageReplyAPI) SendFile(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
SendFile ...
func (*MessageReplyAPI) SendImage ¶
func (r *MessageReplyAPI) SendImage(ctx context.Context, imageKey string) (*ReplyRawMessageResp, *Response, error)
SendImage ...
func (*MessageReplyAPI) SendMedia ¶
func (r *MessageReplyAPI) SendMedia(ctx context.Context, imageKey, fileKey string) (*ReplyRawMessageResp, *Response, error)
SendMedia ...
func (*MessageReplyAPI) SendPost ¶
func (r *MessageReplyAPI) SendPost(ctx context.Context, card string) (*ReplyRawMessageResp, *Response, error)
SendPost ...
func (*MessageReplyAPI) SendShareChat ¶
func (r *MessageReplyAPI) SendShareChat(ctx context.Context, chatID string) (*ReplyRawMessageResp, *Response, error)
SendShareChat ...
func (*MessageReplyAPI) SendShareUser ¶
func (r *MessageReplyAPI) SendShareUser(ctx context.Context, userID string) (*ReplyRawMessageResp, *Response, error)
SendShareUser ...
func (*MessageReplyAPI) SendSticker ¶
func (r *MessageReplyAPI) SendSticker(ctx context.Context, fileKey string) (*ReplyRawMessageResp, *Response, error)
SendSticker ...
func (*MessageReplyAPI) SendText ¶
func (r *MessageReplyAPI) SendText(ctx context.Context, text string) (*ReplyRawMessageResp, *Response, error)
SendText ...
type MessageSendAPI ¶
type MessageSendAPI struct {
// contains filtered or unexported fields
}
MessageSendAPI ...
func (*MessageSendAPI) SendAudio ¶
func (r *MessageSendAPI) SendAudio(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
SendAudio ...
func (*MessageSendAPI) SendCard ¶
func (r *MessageSendAPI) SendCard(ctx context.Context, card string) (*SendRawMessageResp, *Response, error)
SendCard ...
func (*MessageSendAPI) SendFile ¶
func (r *MessageSendAPI) SendFile(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
SendFile ...
func (*MessageSendAPI) SendImage ¶
func (r *MessageSendAPI) SendImage(ctx context.Context, imageKey string) (*SendRawMessageResp, *Response, error)
SendImage ...
func (*MessageSendAPI) SendMedia ¶
func (r *MessageSendAPI) SendMedia(ctx context.Context, imageKey, fileKey string) (*SendRawMessageResp, *Response, error)
SendMedia ...
func (*MessageSendAPI) SendPost ¶
func (r *MessageSendAPI) SendPost(ctx context.Context, post string) (*SendRawMessageResp, *Response, error)
SendPost ...
func (*MessageSendAPI) SendShareChat ¶
func (r *MessageSendAPI) SendShareChat(ctx context.Context, chatID string) (*SendRawMessageResp, *Response, error)
SendShareChat ...
func (*MessageSendAPI) SendShareUser ¶
func (r *MessageSendAPI) SendShareUser(ctx context.Context, userID string) (*SendRawMessageResp, *Response, error)
SendShareUser ...
func (*MessageSendAPI) SendSticker ¶
func (r *MessageSendAPI) SendSticker(ctx context.Context, fileKey string) (*SendRawMessageResp, *Response, error)
SendSticker ...
func (*MessageSendAPI) SendText ¶
func (r *MessageSendAPI) SendText(ctx context.Context, text string) (*SendRawMessageResp, *Response, error)
SendText ...
func (*MessageSendAPI) ToAppID ¶
func (r *MessageSendAPI) ToAppID(id string) *MessageSendAPI
ToAppID ...
func (*MessageSendAPI) ToChatID ¶
func (r *MessageSendAPI) ToChatID(id string) *MessageSendAPI
ToChatID ...
func (*MessageSendAPI) ToEmail ¶
func (r *MessageSendAPI) ToEmail(id string) *MessageSendAPI
ToEmail ...
func (*MessageSendAPI) ToOpenID ¶
func (r *MessageSendAPI) ToOpenID(id string) *MessageSendAPI
ToOpenID ...
func (*MessageSendAPI) ToUnionID ¶
func (r *MessageSendAPI) ToUnionID(id string) *MessageSendAPI
ToUnionID ...
func (*MessageSendAPI) ToUserID ¶
func (r *MessageSendAPI) ToUserID(id string) *MessageSendAPI
ToUserID ...
type MessageService ¶
type MessageService struct {
// contains filtered or unexported fields
}
func (*MessageService) BatchDeleteMessage ¶
func (r *MessageService) BatchDeleteMessage(ctx context.Context, request *BatchDeleteMessageReq, options ...MethodOptionFunc) (*BatchDeleteMessageResp, *Response, error)
BatchDeleteMessage 批量撤回消息
注意事项: - 只能撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口产生的消息,单条消息的撤回请使用[撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete)接口 - 路径参数**batch_message_id**为[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口返回值中的**message_id**字段,用于标识一次批量发送消息请求,格式为:**bm-xxx** - 一次调用涉及大量消息,所以为异步接口,会有一定延迟。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/delete
func (*MessageService) BatchSendOldRawMessage ¶
func (r *MessageService) BatchSendOldRawMessage(ctx context.Context, request *BatchSendOldRawMessageReq, options ...MethodOptionFunc) (*BatchSendOldRawMessageResp, *Response, error)
BatchSendOldRawMessage
给多个用户或者多个部门发送消息。 **注意事项:** - 调用该接口需要注意 - 应用需要启用机器人能力 - 必须拥有**获取与发送单聊、群组消息**权限,或者**以应用的身份发消息**权限(历史版本) - 应用需要拥有批量发送消息权限 - 给用户发送需要拥有 **给多个用户批量发消息** 权限 - 给部门发送需要拥有 **给一个或多个部门的成员批量发消息** 权限 - 应用需要拥有对所发送用户或部门的可见性 - 通过该接口发送的消息 **不支持更新以及回复等操作** - 只能发送给用户,无法发送给群组 - 异步接口,会有一定延迟,每个应用待发送的消息按顺序处理,请合理安排批量发送范围和顺序 - 单个应用每天通过该接口发送的总消息条数不超过50万
doc: https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM
func (*MessageService) CreateMessageReaction ¶
func (r *MessageService) CreateMessageReaction(ctx context.Context, request *CreateMessageReactionReq, options ...MethodOptionFunc) (*CreateMessageReactionResp, *Response, error)
CreateMessageReaction 给指定消息添加指定类型的表情回复(reaction即表情回复,本说明文档统一用“reaction”代称)。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 待添加reaction的消息要真实存在,不能被撤回 - 给消息添加reaction,需要reaction的发送方(机器人或者用户)在消息所在的会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/create
func (*MessageService) DeleteEphemeralMessage ¶
func (r *MessageService) DeleteEphemeralMessage(ctx context.Context, request *DeleteEphemeralMessageReq, options ...MethodOptionFunc) (*DeleteEphemeralMessageResp, *Response, error)
DeleteEphemeralMessage
在群会话中删除指定用户可见的临时消息卡片<br> 临时卡片消息可以通过该接口进行显式删除,临时卡片消息删除后将不会在该设备上留下任何痕迹。 **权限说明** :需要启用机器人能力;需要机器人在会话群里
doc: https://open.feishu.cn/document/ukTMukTMukTM/uITOyYjLykjM24iM5IjN
func (*MessageService) DeleteMessage ¶
func (r *MessageService) DeleteMessage(ctx context.Context, request *DeleteMessageReq, options ...MethodOptionFunc) (*DeleteMessageResp, *Response, error)
DeleteMessage 机器人撤回机器人自己发送的消息或群主撤回群内消息。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) ,撤回消息时机器人仍需要在会话内 - 机器人可以撤回单聊和群组内,自己发送 且 发送时间不超过1天(24小时)的消息 - 若机器人要撤回群内他人发送的消息,则机器人必须是该群的群主 或者 得到群主的授权,且消息发送时间不超过1天(24小时) - 无法撤回通过「批量发送消息接口」发送的消息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete
func (*MessageService) DeleteMessageReaction ¶
func (r *MessageService) DeleteMessageReaction(ctx context.Context, request *DeleteMessageReactionReq, options ...MethodOptionFunc) (*DeleteMessageReactionResp, *Response, error)
DeleteMessageReaction 删除指定消息的表情回复(reaction即表情回复,本说明文档统一用“reaction”代称)。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能删除真实存在的reaction,并且删除reaction请求的操作者必须是reaction的原始添加者
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/delete
func (*MessageService) GetBatchSentMessageProgress ¶
func (r *MessageService) GetBatchSentMessageProgress(ctx context.Context, request *GetBatchSentMessageProgressReq, options ...MethodOptionFunc) (*GetBatchSentMessageProgressResp, *Response, error)
GetBatchSentMessageProgress 查询批量消息整体进度
注意事项: * 该接口是[查询批量消息推送和阅读人数](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/read_user)接口的加强版 * 该接口返回的数据为查询时刻的快照数据
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/get_progress
func (*MessageService) GetBatchSentMessageReadUser ¶
func (r *MessageService) GetBatchSentMessageReadUser(ctx context.Context, request *GetBatchSentMessageReadUserReq, options ...MethodOptionFunc) (*GetBatchSentMessageReadUserResp, *Response, error)
GetBatchSentMessageReadUser 查询批量消息推送和阅读人数
注意事项: - 只能查询通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口产生的消息 - 该接口返回的数据为查询时刻的快照数据。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/read_user
func (*MessageService) GetMessage ¶
func (r *MessageService) GetMessage(ctx context.Context, request *GetMessageReq, options ...MethodOptionFunc) (*GetMessageResp, *Response, error)
GetMessage 通过 message_id 查询消息内容
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 机器人必须在群组中
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/get
func (*MessageService) GetMessageFile ¶
func (r *MessageService) GetMessageFile(ctx context.Context, request *GetMessageFileReq, options ...MethodOptionFunc) (*GetMessageFileResp, *Response, error)
GetMessageFile 获取消息中的资源文件,包括音频,视频,图片和文件,**暂不支持表情包资源下载**。当前仅支持 100M 以内的资源文件的下载。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 机器人和消息需要在同一会话中 - 请求的 file_key 和 message_id 需要匹配 - 暂不支持获取合并转发消息中的子消息的资源文件 - 获取群组消息时,应用必须拥有 获取群组中所有的消息 权限
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-resource/get
func (*MessageService) GetMessageList ¶
func (r *MessageService) GetMessageList(ctx context.Context, request *GetMessageListReq, options ...MethodOptionFunc) (*GetMessageListResp, *Response, error)
GetMessageList 获取会话(包括单聊、群组)的历史消息(聊天记录)。
接口级别权限默认只能获取单聊消息,如果需要获取群组消息,应用还必须拥有 ***获取群组中所有的消息*** 权限 - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 获取消息时,机器人必须在群组中
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/list
func (*MessageService) GetMessageReactionList ¶
func (r *MessageService) GetMessageReactionList(ctx context.Context, request *GetMessageReactionListReq, options ...MethodOptionFunc) (*GetMessageReactionListResp, *Response, error)
GetMessageReactionList 获取指定消息的特定类型表情回复列表(reaction即表情回复,本说明文档统一用“reaction”代称)。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 待获取reaction信息的消息要真实存在,不能被撤回 - 获取消息的reaction,需要request的授权主体(机器人或者用户)在消息所在的会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/list
func (*MessageService) GetMessageReadUserList ¶
func (r *MessageService) GetMessageReadUserList(ctx context.Context, request *GetMessageReadUserListReq, options ...MethodOptionFunc) (*GetMessageReadUserListResp, *Response, error)
GetMessageReadUserList 查询消息的已读信息。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能查询机器人自己发送,且发送时间不超过7天的消息 - 查询消息已读信息时机器人仍需要在会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/read_users
func (*MessageService) Reply ¶
func (r *MessageService) Reply(messageID string) *MessageReplyAPI
Reply ...
func (*MessageService) ReplyRawMessage ¶
func (r *MessageService) ReplyRawMessage(ctx context.Context, request *ReplyRawMessageReq, options ...MethodOptionFunc) (*ReplyRawMessageResp, *Response, error)
ReplyRawMessage 回复指定消息,支持文本、富文本、卡片、群名片、个人名片、图片、视频、文件等多种消息类型。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 回复私聊消息,需要机器人对用户有可用性 - 回复群组消息,需要机器人在群中
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/reply
func (*MessageService) SendEphemeralMessage ¶
func (r *MessageService) SendEphemeralMessage(ctx context.Context, request *SendEphemeralMessageReq, options ...MethodOptionFunc) (*SendEphemeralMessageResp, *Response, error)
SendEphemeralMessage
用于机器人在群会话中发送仅指定用户可见的消息卡片。<br> ## 使用场景 临时消息卡片多用于群聊中用户与机器人交互的中间态。例如在群聊中用户需要使用待办事项类bot创建一条提醒,bot 发送了可设置提醒日期和提醒内容的一张可交互的消息卡片,此卡片在没有设置为临时卡片的情况下为群内全员可见,即群内可看见该用户与 bot 交互的过程。而设置为临时卡片后,交互过程仅该用户可见,群内其他成员只会看到最终设置完成的提醒卡片。 <br><br>通过临时消息卡片,可以减少消息对群聊中不相关用户的打扰,有效降低群消息的噪声。 需要启用机器人能力;需要机器人在会话群里。 - 仅触发临时卡片的用户自己可见。 - 不支持转发。 - 只能在群聊使用。 - 仅在用户处于在线状态的飞书客户端上可见。 - 临时消息卡片的[呈现能力](https://open.feishu.cn/document/ukTMukTMukTM/uEjNwUjLxYDM14SM2ATN)、[交互能力](https://open.feishu.cn/document/ukTMukTMukTM/uYjNwUjL2YDM14iN2ATN)与消息卡片一致。
doc: https://open.feishu.cn/document/ukTMukTMukTM/uETOyYjLxkjM24SM5IjN
func (*MessageService) SendRawMessage ¶
func (r *MessageService) SendRawMessage(ctx context.Context, request *SendRawMessageReq, options ...MethodOptionFunc) (*SendRawMessageResp, *Response, error)
SendRawMessage 给指定用户或者会话发送消息,支持文本、富文本、可交互的[消息卡片](https://open.feishu.cn/document/ukTMukTMukTM/uczM3QjL3MzN04yNzcDN)、群名片、个人名片、图片、视频、音频、文件、表情包。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 给用户发送消息,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability) - 给群组发送消息,需要机器人在群中 - 该接口不支持给部门成员发消息,请使用 [批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM) - 文本消息请求体最大不能超过150KB - 卡片及富文本消息请求体最大不能超过30KB - 消息卡片的 `update_multi`(是否为共享卡片)字段在卡片内容的`config`结构体中设置。详细参考文档[配置卡片属性](https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/create
func (*MessageService) SendRawMessageOld ¶
func (r *MessageService) SendRawMessageOld(ctx context.Context, request *SendRawMessageOldReq, options ...MethodOptionFunc) (*SendRawMessageOldResp, *Response, error)
SendRawMessageOld
给指定用户或者会话发送文本消息,其中会话包括私聊会话和群会话。 需要启用机器人能力;私聊会话时机器人需要拥有对用户的可见性,群会话需要机器人在群里
doc: https://open.feishu.cn/document/ukTMukTMukTM/uUjNz4SN2MjL1YzM
func (*MessageService) SendUrgentAppMessage ¶
func (r *MessageService) SendUrgentAppMessage(ctx context.Context, request *SendUrgentAppMessageReq, options ...MethodOptionFunc) (*SendUrgentAppMessageResp, *Response, error)
SendUrgentAppMessage 对指定消息进行应用内加急。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能加急机器人自己发送的消息 - 加急时机器人仍需要在会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/urgent_app
func (*MessageService) SendUrgentPhoneMessage ¶
func (r *MessageService) SendUrgentPhoneMessage(ctx context.Context, request *SendUrgentPhoneMessageReq, options ...MethodOptionFunc) (*SendUrgentPhoneMessageResp, *Response, error)
SendUrgentPhoneMessage 对指定消息进行应用内加急与电话加急
特别说明: - 通过接口产生的电话加急将消耗企业的加急额度,请慎重调用。 - 通过租户管理后台-费用中心-短信/电话加急 可以查看当前额度。 - 默认接口限流为50 QPS,请谨慎调用。 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能加急机器人自己发送的消息 - 加急时机器人仍需要在会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/urgent_phone
func (*MessageService) SendUrgentSmsMessage ¶
func (r *MessageService) SendUrgentSmsMessage(ctx context.Context, request *SendUrgentSmsMessageReq, options ...MethodOptionFunc) (*SendUrgentSmsMessageResp, *Response, error)
SendUrgentSmsMessage 对指定消息进行应用内加急与短信加急。
特别说明: - 通过接口产生的短信加急将消耗企业的加急额度,请慎重调用。 - 通过租户管理后台-费用中心-短信/电话加急 可以查看当前额度。 - 默认接口限流为50 QPS,请谨慎调用。 注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 只能加急机器人自己发送的消息 - 加急时机器人仍需要在会话内
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/urgent_sms
func (*MessageService) UpdateMessage ¶
func (r *MessageService) UpdateMessage(ctx context.Context, request *UpdateMessageReq, options ...MethodOptionFunc) (*UpdateMessageResp, *Response, error)
UpdateMessage 更新应用已发送的消息卡片内容。
注意事项: - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) - 当前仅支持更新 ***卡片消息*** - 只支持对所有人都更新的[「共享卡片」](ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN),也即需要在卡片的`config`属性中,显式声明`"update_multi":true`。<br>如果你只想更新特定人的消息卡片,必须要用户在卡片操作交互后触发,开发文档参考[「独享卡片」](https://open.feishu.cn/document/ukTMukTMukTM/uYjNwUjL2YDM14iN2ATN#49904b71)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/patch
func (*MessageService) UpdateMessageDelay ¶
func (r *MessageService) UpdateMessageDelay(ctx context.Context, request *UpdateMessageDelayReq, options ...MethodOptionFunc) (*UpdateMessageDelayResp, *Response, error)
UpdateMessageDelay
用于用户交互完成后延后更新消息卡片 ### 使用场景 1. 用户点击卡片后业务方需要处理较长时间,无法在3s内及时返回需要展示的卡片内容 2. 指定只更新一部分收到这张卡片成员(同一个`message_id`)看到的卡片内容 - 需要用户主动交互触发,不支持无条件更新 - 延迟更新使用的token有效期为30分钟,超时则无法更新卡片 - 调用延迟更新接口需要晚于同步返回,否则会出现不可预测行为<br>服务端处理时,可先立即 return 空串,再在30分钟内调用延迟更新接口更新卡片 - 只能更新用户交互对应卡片,不允许更新其他卡片
doc: https://open.feishu.cn/document/ukTMukTMukTM/uMDO1YjLzgTN24yM4UjN
type MessageVisibility ¶
type MessageVisibility string
MessageVisibility 入群消息可见性
const ( MessageVisibilityOnlyOwner MessageVisibility = "only_owner" MessageVisibilityAllMembers MessageVisibility = "all_members" MessageVisibilityNotAnyone MessageVisibility = "not_anyone" )
MessageVisibilityOnlyOwner ...
func MessageVisibilityPtr ¶
func MessageVisibilityPtr(v MessageVisibility) *MessageVisibility
MessageVisibilityPtr ...
type MethodOption ¶
type MethodOption struct {
// contains filtered or unexported fields
}
MethodOption method option
type MethodOptionFunc ¶
type MethodOptionFunc func(*MethodOption)
MethodOptionFunc new method option
func WithUserAccessToken ¶
func WithUserAccessToken(token string) MethodOptionFunc
WithUserAccessToken set user access token
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock mock struct
func (*Mock) MockACSGetACSAccessRecordList ¶
func (r *Mock) MockACSGetACSAccessRecordList(f func(ctx context.Context, request *GetACSAccessRecordListReq, options ...MethodOptionFunc) (*GetACSAccessRecordListResp, *Response, error))
MockACSGetACSAccessRecordList mock ACSGetACSAccessRecordList method
func (*Mock) MockACSGetACSAccessRecordPhoto ¶
func (r *Mock) MockACSGetACSAccessRecordPhoto(f func(ctx context.Context, request *GetACSAccessRecordPhotoReq, options ...MethodOptionFunc) (*GetACSAccessRecordPhotoResp, *Response, error))
MockACSGetACSAccessRecordPhoto mock ACSGetACSAccessRecordPhoto method
func (*Mock) MockACSGetACSDeviceList ¶
func (r *Mock) MockACSGetACSDeviceList(f func(ctx context.Context, request *GetACSDeviceListReq, options ...MethodOptionFunc) (*GetACSDeviceListResp, *Response, error))
MockACSGetACSDeviceList mock ACSGetACSDeviceList method
func (*Mock) MockACSGetACSUser ¶
func (r *Mock) MockACSGetACSUser(f func(ctx context.Context, request *GetACSUserReq, options ...MethodOptionFunc) (*GetACSUserResp, *Response, error))
MockACSGetACSUser mock ACSGetACSUser method
func (*Mock) MockACSGetACSUserFace ¶
func (r *Mock) MockACSGetACSUserFace(f func(ctx context.Context, request *GetACSUserFaceReq, options ...MethodOptionFunc) (*GetACSUserFaceResp, *Response, error))
MockACSGetACSUserFace mock ACSGetACSUserFace method
func (*Mock) MockACSGetACSUserList ¶
func (r *Mock) MockACSGetACSUserList(f func(ctx context.Context, request *GetACSUserListReq, options ...MethodOptionFunc) (*GetACSUserListResp, *Response, error))
MockACSGetACSUserList mock ACSGetACSUserList method
func (*Mock) MockACSUpdateACSUser ¶
func (r *Mock) MockACSUpdateACSUser(f func(ctx context.Context, request *UpdateACSUserReq, options ...MethodOptionFunc) (*UpdateACSUserResp, *Response, error))
MockACSUpdateACSUser mock ACSUpdateACSUser method
func (*Mock) MockACSUpdateACSUserFace ¶
func (r *Mock) MockACSUpdateACSUserFace(f func(ctx context.Context, request *UpdateACSUserFaceReq, options ...MethodOptionFunc) (*UpdateACSUserFaceResp, *Response, error))
MockACSUpdateACSUserFace mock ACSUpdateACSUserFace method
func (*Mock) MockAIDetectFaceAttributes ¶
func (r *Mock) MockAIDetectFaceAttributes(f func(ctx context.Context, request *DetectFaceAttributesReq, options ...MethodOptionFunc) (*DetectFaceAttributesResp, *Response, error))
MockAIDetectFaceAttributes mock AIDetectFaceAttributes method
func (*Mock) MockAIDetectTextLanguage ¶
func (r *Mock) MockAIDetectTextLanguage(f func(ctx context.Context, request *DetectTextLanguageReq, options ...MethodOptionFunc) (*DetectTextLanguageResp, *Response, error))
MockAIDetectTextLanguage mock AIDetectTextLanguage method
func (*Mock) MockAIRecognizeBasicImage ¶
func (r *Mock) MockAIRecognizeBasicImage(f func(ctx context.Context, request *RecognizeBasicImageReq, options ...MethodOptionFunc) (*RecognizeBasicImageResp, *Response, error))
MockAIRecognizeBasicImage mock AIRecognizeBasicImage method
func (*Mock) MockAIRecognizeSpeechFile ¶
func (r *Mock) MockAIRecognizeSpeechFile(f func(ctx context.Context, request *RecognizeSpeechFileReq, options ...MethodOptionFunc) (*RecognizeSpeechFileResp, *Response, error))
MockAIRecognizeSpeechFile mock AIRecognizeSpeechFile method
func (*Mock) MockAIRecognizeSpeechStream ¶
func (r *Mock) MockAIRecognizeSpeechStream(f func(ctx context.Context, request *RecognizeSpeechStreamReq, options ...MethodOptionFunc) (*RecognizeSpeechStreamResp, *Response, error))
MockAIRecognizeSpeechStream mock AIRecognizeSpeechStream method
func (*Mock) MockAITranslateText ¶
func (r *Mock) MockAITranslateText(f func(ctx context.Context, request *TranslateTextReq, options ...MethodOptionFunc) (*TranslateTextResp, *Response, error))
MockAITranslateText mock AITranslateText method
func (*Mock) MockAdminGetAdminDeptStats ¶
func (r *Mock) MockAdminGetAdminDeptStats(f func(ctx context.Context, request *GetAdminDeptStatsReq, options ...MethodOptionFunc) (*GetAdminDeptStatsResp, *Response, error))
MockAdminGetAdminDeptStats mock AdminGetAdminDeptStats method
func (*Mock) MockAdminGetAdminUserStats ¶
func (r *Mock) MockAdminGetAdminUserStats(f func(ctx context.Context, request *GetAdminUserStatsReq, options ...MethodOptionFunc) (*GetAdminUserStatsResp, *Response, error))
MockAdminGetAdminUserStats mock AdminGetAdminUserStats method
func (*Mock) MockApplicationCheckUserIsInApplicationPaidScope ¶
func (r *Mock) MockApplicationCheckUserIsInApplicationPaidScope(f func(ctx context.Context, request *CheckUserIsInApplicationPaidScopeReq, options ...MethodOptionFunc) (*CheckUserIsInApplicationPaidScopeResp, *Response, error))
MockApplicationCheckUserIsInApplicationPaidScope mock ApplicationCheckUserIsInApplicationPaidScope method
func (*Mock) MockApplicationGetApplication ¶
func (r *Mock) MockApplicationGetApplication(f func(ctx context.Context, request *GetApplicationReq, options ...MethodOptionFunc) (*GetApplicationResp, *Response, error))
MockApplicationGetApplication mock ApplicationGetApplication method
func (*Mock) MockApplicationGetApplicationAppAdminUserList ¶
func (r *Mock) MockApplicationGetApplicationAppAdminUserList(f func(ctx context.Context, request *GetApplicationAppAdminUserListReq, options ...MethodOptionFunc) (*GetApplicationAppAdminUserListResp, *Response, error))
MockApplicationGetApplicationAppAdminUserList mock ApplicationGetApplicationAppAdminUserList method
func (*Mock) MockApplicationGetApplicationAppList ¶
func (r *Mock) MockApplicationGetApplicationAppList(f func(ctx context.Context, request *GetApplicationAppListReq, options ...MethodOptionFunc) (*GetApplicationAppListResp, *Response, error))
MockApplicationGetApplicationAppList mock ApplicationGetApplicationAppList method
func (*Mock) MockApplicationGetApplicationAppVisibility ¶
func (r *Mock) MockApplicationGetApplicationAppVisibility(f func(ctx context.Context, request *GetApplicationAppVisibilityReq, options ...MethodOptionFunc) (*GetApplicationAppVisibilityResp, *Response, error))
MockApplicationGetApplicationAppVisibility mock ApplicationGetApplicationAppVisibility method
func (*Mock) MockApplicationGetApplicationMessageDetail ¶
func (r *Mock) MockApplicationGetApplicationMessageDetail(f func(ctx context.Context, request *GetApplicationMessageDetailReq, options ...MethodOptionFunc) (*GetApplicationMessageDetailResp, *Response, error))
MockApplicationGetApplicationMessageDetail mock ApplicationGetApplicationMessageDetail method
func (*Mock) MockApplicationGetApplicationMessageOverview ¶
func (r *Mock) MockApplicationGetApplicationMessageOverview(f func(ctx context.Context, request *GetApplicationMessageOverviewReq, options ...MethodOptionFunc) (*GetApplicationMessageOverviewResp, *Response, error))
MockApplicationGetApplicationMessageOverview mock ApplicationGetApplicationMessageOverview method
func (*Mock) MockApplicationGetApplicationMessageTrend ¶
func (r *Mock) MockApplicationGetApplicationMessageTrend(f func(ctx context.Context, request *GetApplicationMessageTrendReq, options ...MethodOptionFunc) (*GetApplicationMessageTrendResp, *Response, error))
MockApplicationGetApplicationMessageTrend mock ApplicationGetApplicationMessageTrend method
func (*Mock) MockApplicationGetApplicationOrder ¶
func (r *Mock) MockApplicationGetApplicationOrder(f func(ctx context.Context, request *GetApplicationOrderReq, options ...MethodOptionFunc) (*GetApplicationOrderResp, *Response, error))
MockApplicationGetApplicationOrder mock ApplicationGetApplicationOrder method
func (*Mock) MockApplicationGetApplicationOrderList ¶
func (r *Mock) MockApplicationGetApplicationOrderList(f func(ctx context.Context, request *GetApplicationOrderListReq, options ...MethodOptionFunc) (*GetApplicationOrderListResp, *Response, error))
MockApplicationGetApplicationOrderList mock ApplicationGetApplicationOrderList method
func (*Mock) MockApplicationGetApplicationUnderAuditList ¶
func (r *Mock) MockApplicationGetApplicationUnderAuditList(f func(ctx context.Context, request *GetApplicationUnderAuditListReq, options ...MethodOptionFunc) (*GetApplicationUnderAuditListResp, *Response, error))
MockApplicationGetApplicationUnderAuditList mock ApplicationGetApplicationUnderAuditList method
func (*Mock) MockApplicationGetApplicationUsageDetail ¶
func (r *Mock) MockApplicationGetApplicationUsageDetail(f func(ctx context.Context, request *GetApplicationUsageDetailReq, options ...MethodOptionFunc) (*GetApplicationUsageDetailResp, *Response, error))
MockApplicationGetApplicationUsageDetail mock ApplicationGetApplicationUsageDetail method
func (*Mock) MockApplicationGetApplicationUsageOverview ¶
func (r *Mock) MockApplicationGetApplicationUsageOverview(f func(ctx context.Context, request *GetApplicationUsageOverviewReq, options ...MethodOptionFunc) (*GetApplicationUsageOverviewResp, *Response, error))
MockApplicationGetApplicationUsageOverview mock ApplicationGetApplicationUsageOverview method
func (*Mock) MockApplicationGetApplicationUsageTrend ¶
func (r *Mock) MockApplicationGetApplicationUsageTrend(f func(ctx context.Context, request *GetApplicationUsageTrendReq, options ...MethodOptionFunc) (*GetApplicationUsageTrendResp, *Response, error))
MockApplicationGetApplicationUsageTrend mock ApplicationGetApplicationUsageTrend method
func (*Mock) MockApplicationGetApplicationUserAdminScope ¶
func (r *Mock) MockApplicationGetApplicationUserAdminScope(f func(ctx context.Context, request *GetApplicationUserAdminScopeReq, options ...MethodOptionFunc) (*GetApplicationUserAdminScopeResp, *Response, error))
MockApplicationGetApplicationUserAdminScope mock ApplicationGetApplicationUserAdminScope method
func (*Mock) MockApplicationGetApplicationUserVisibleApp ¶
func (r *Mock) MockApplicationGetApplicationUserVisibleApp(f func(ctx context.Context, request *GetApplicationUserVisibleAppReq, options ...MethodOptionFunc) (*GetApplicationUserVisibleAppResp, *Response, error))
MockApplicationGetApplicationUserVisibleApp mock ApplicationGetApplicationUserVisibleApp method
func (*Mock) MockApplicationGetApplicationVersion ¶
func (r *Mock) MockApplicationGetApplicationVersion(f func(ctx context.Context, request *GetApplicationVersionReq, options ...MethodOptionFunc) (*GetApplicationVersionResp, *Response, error))
MockApplicationGetApplicationVersion mock ApplicationGetApplicationVersion method
func (*Mock) MockApplicationIsApplicationUserAdmin ¶
func (r *Mock) MockApplicationIsApplicationUserAdmin(f func(ctx context.Context, request *IsApplicationUserAdminReq, options ...MethodOptionFunc) (*IsApplicationUserAdminResp, *Response, error))
MockApplicationIsApplicationUserAdmin mock ApplicationIsApplicationUserAdmin method
func (*Mock) MockApplicationUpdateApplication ¶
func (r *Mock) MockApplicationUpdateApplication(f func(ctx context.Context, request *UpdateApplicationReq, options ...MethodOptionFunc) (*UpdateApplicationResp, *Response, error))
MockApplicationUpdateApplication mock ApplicationUpdateApplication method
func (*Mock) MockApplicationUpdateApplicationAppVisibility ¶
func (r *Mock) MockApplicationUpdateApplicationAppVisibility(f func(ctx context.Context, request *UpdateApplicationAppVisibilityReq, options ...MethodOptionFunc) (*UpdateApplicationAppVisibilityResp, *Response, error))
MockApplicationUpdateApplicationAppVisibility mock ApplicationUpdateApplicationAppVisibility method
func (*Mock) MockApplicationUpdateApplicationVersion ¶
func (r *Mock) MockApplicationUpdateApplicationVersion(f func(ctx context.Context, request *UpdateApplicationVersionReq, options ...MethodOptionFunc) (*UpdateApplicationVersionResp, *Response, error))
MockApplicationUpdateApplicationVersion mock ApplicationUpdateApplicationVersion method
func (*Mock) MockApprovalAddApprovalInstanceSign ¶
func (r *Mock) MockApprovalAddApprovalInstanceSign(f func(ctx context.Context, request *AddApprovalInstanceSignReq, options ...MethodOptionFunc) (*AddApprovalInstanceSignResp, *Response, error))
MockApprovalAddApprovalInstanceSign mock ApprovalAddApprovalInstanceSign method
func (*Mock) MockApprovalApproveApprovalInstance ¶
func (r *Mock) MockApprovalApproveApprovalInstance(f func(ctx context.Context, request *ApproveApprovalInstanceReq, options ...MethodOptionFunc) (*ApproveApprovalInstanceResp, *Response, error))
MockApprovalApproveApprovalInstance mock ApprovalApproveApprovalInstance method
func (*Mock) MockApprovalCancelApprovalInstance ¶
func (r *Mock) MockApprovalCancelApprovalInstance(f func(ctx context.Context, request *CancelApprovalInstanceReq, options ...MethodOptionFunc) (*CancelApprovalInstanceResp, *Response, error))
MockApprovalCancelApprovalInstance mock ApprovalCancelApprovalInstance method
func (*Mock) MockApprovalCreateApprovalCarbonCopy ¶
func (r *Mock) MockApprovalCreateApprovalCarbonCopy(f func(ctx context.Context, request *CreateApprovalCarbonCopyReq, options ...MethodOptionFunc) (*CreateApprovalCarbonCopyResp, *Response, error))
MockApprovalCreateApprovalCarbonCopy mock ApprovalCreateApprovalCarbonCopy method
func (*Mock) MockApprovalCreateApprovalInstance ¶
func (r *Mock) MockApprovalCreateApprovalInstance(f func(ctx context.Context, request *CreateApprovalInstanceReq, options ...MethodOptionFunc) (*CreateApprovalInstanceResp, *Response, error))
MockApprovalCreateApprovalInstance mock ApprovalCreateApprovalInstance method
func (*Mock) MockApprovalGetApproval ¶
func (r *Mock) MockApprovalGetApproval(f func(ctx context.Context, request *GetApprovalReq, options ...MethodOptionFunc) (*GetApprovalResp, *Response, error))
MockApprovalGetApproval mock ApprovalGetApproval method
func (*Mock) MockApprovalGetApprovalInstance ¶
func (r *Mock) MockApprovalGetApprovalInstance(f func(ctx context.Context, request *GetApprovalInstanceReq, options ...MethodOptionFunc) (*GetApprovalInstanceResp, *Response, error))
MockApprovalGetApprovalInstance mock ApprovalGetApprovalInstance method
func (*Mock) MockApprovalGetApprovalInstanceList ¶
func (r *Mock) MockApprovalGetApprovalInstanceList(f func(ctx context.Context, request *GetApprovalInstanceListReq, options ...MethodOptionFunc) (*GetApprovalInstanceListResp, *Response, error))
MockApprovalGetApprovalInstanceList mock ApprovalGetApprovalInstanceList method
func (*Mock) MockApprovalGetApprovalUserTaskList ¶
func (r *Mock) MockApprovalGetApprovalUserTaskList(f func(ctx context.Context, request *GetApprovalUserTaskListReq, options ...MethodOptionFunc) (*GetApprovalUserTaskListResp, *Response, error))
MockApprovalGetApprovalUserTaskList mock ApprovalGetApprovalUserTaskList method
func (*Mock) MockApprovalPreviewApprovalInstance ¶
func (r *Mock) MockApprovalPreviewApprovalInstance(f func(ctx context.Context, request *PreviewApprovalInstanceReq, options ...MethodOptionFunc) (*PreviewApprovalInstanceResp, *Response, error))
MockApprovalPreviewApprovalInstance mock ApprovalPreviewApprovalInstance method
func (*Mock) MockApprovalRejectApprovalInstance ¶
func (r *Mock) MockApprovalRejectApprovalInstance(f func(ctx context.Context, request *RejectApprovalInstanceReq, options ...MethodOptionFunc) (*RejectApprovalInstanceResp, *Response, error))
MockApprovalRejectApprovalInstance mock ApprovalRejectApprovalInstance method
func (*Mock) MockApprovalRollbackApprovalInstance ¶
func (r *Mock) MockApprovalRollbackApprovalInstance(f func(ctx context.Context, request *RollbackApprovalInstanceReq, options ...MethodOptionFunc) (*RollbackApprovalInstanceResp, *Response, error))
MockApprovalRollbackApprovalInstance mock ApprovalRollbackApprovalInstance method
func (*Mock) MockApprovalSearchApprovalCarbonCopy ¶
func (r *Mock) MockApprovalSearchApprovalCarbonCopy(f func(ctx context.Context, request *SearchApprovalCarbonCopyReq, options ...MethodOptionFunc) (*SearchApprovalCarbonCopyResp, *Response, error))
MockApprovalSearchApprovalCarbonCopy mock ApprovalSearchApprovalCarbonCopy method
func (*Mock) MockApprovalSearchApprovalInstance ¶
func (r *Mock) MockApprovalSearchApprovalInstance(f func(ctx context.Context, request *SearchApprovalInstanceReq, options ...MethodOptionFunc) (*SearchApprovalInstanceResp, *Response, error))
MockApprovalSearchApprovalInstance mock ApprovalSearchApprovalInstance method
func (*Mock) MockApprovalSearchApprovalTask ¶
func (r *Mock) MockApprovalSearchApprovalTask(f func(ctx context.Context, request *SearchApprovalTaskReq, options ...MethodOptionFunc) (*SearchApprovalTaskResp, *Response, error))
MockApprovalSearchApprovalTask mock ApprovalSearchApprovalTask method
func (*Mock) MockApprovalSubscribeApprovalSubscription ¶
func (r *Mock) MockApprovalSubscribeApprovalSubscription(f func(ctx context.Context, request *SubscribeApprovalSubscriptionReq, options ...MethodOptionFunc) (*SubscribeApprovalSubscriptionResp, *Response, error))
MockApprovalSubscribeApprovalSubscription mock ApprovalSubscribeApprovalSubscription method
func (*Mock) MockApprovalTransferApprovalInstance ¶
func (r *Mock) MockApprovalTransferApprovalInstance(f func(ctx context.Context, request *TransferApprovalInstanceReq, options ...MethodOptionFunc) (*TransferApprovalInstanceResp, *Response, error))
MockApprovalTransferApprovalInstance mock ApprovalTransferApprovalInstance method
func (*Mock) MockApprovalUnsubscribeApprovalSubscription ¶
func (r *Mock) MockApprovalUnsubscribeApprovalSubscription(f func(ctx context.Context, request *UnsubscribeApprovalSubscriptionReq, options ...MethodOptionFunc) (*UnsubscribeApprovalSubscriptionResp, *Response, error))
MockApprovalUnsubscribeApprovalSubscription mock ApprovalUnsubscribeApprovalSubscription method
func (*Mock) MockApprovalUpdateApprovalMessage ¶
func (r *Mock) MockApprovalUpdateApprovalMessage(f func(ctx context.Context, request *UpdateApprovalMessageReq, options ...MethodOptionFunc) (*UpdateApprovalMessageResp, *Response, error))
MockApprovalUpdateApprovalMessage mock ApprovalUpdateApprovalMessage method
func (*Mock) MockApprovalUploadApprovalFile ¶
func (r *Mock) MockApprovalUploadApprovalFile(f func(ctx context.Context, request *UploadApprovalFileReq, options ...MethodOptionFunc) (*UploadApprovalFileResp, *Response, error))
MockApprovalUploadApprovalFile mock ApprovalUploadApprovalFile method
func (*Mock) MockAttendanceBatchCreateAttendanceUserDailyShift ¶
func (r *Mock) MockAttendanceBatchCreateAttendanceUserDailyShift(f func(ctx context.Context, request *BatchCreateAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*BatchCreateAttendanceUserDailyShiftResp, *Response, error))
MockAttendanceBatchCreateAttendanceUserDailyShift mock AttendanceBatchCreateAttendanceUserDailyShift method
func (*Mock) MockAttendanceBatchCreateAttendanceUserFlow ¶
func (r *Mock) MockAttendanceBatchCreateAttendanceUserFlow(f func(ctx context.Context, request *BatchCreateAttendanceUserFlowReq, options ...MethodOptionFunc) (*BatchCreateAttendanceUserFlowResp, *Response, error))
MockAttendanceBatchCreateAttendanceUserFlow mock AttendanceBatchCreateAttendanceUserFlow method
func (*Mock) MockAttendanceBatchGetAttendanceUserFlow ¶
func (r *Mock) MockAttendanceBatchGetAttendanceUserFlow(f func(ctx context.Context, request *BatchGetAttendanceUserFlowReq, options ...MethodOptionFunc) (*BatchGetAttendanceUserFlowResp, *Response, error))
MockAttendanceBatchGetAttendanceUserFlow mock AttendanceBatchGetAttendanceUserFlow method
func (*Mock) MockAttendanceCreateAttendanceGroup ¶
func (r *Mock) MockAttendanceCreateAttendanceGroup(f func(ctx context.Context, request *CreateAttendanceGroupReq, options ...MethodOptionFunc) (*CreateAttendanceGroupResp, *Response, error))
MockAttendanceCreateAttendanceGroup mock AttendanceCreateAttendanceGroup method
func (*Mock) MockAttendanceCreateAttendanceShift ¶
func (r *Mock) MockAttendanceCreateAttendanceShift(f func(ctx context.Context, request *CreateAttendanceShiftReq, options ...MethodOptionFunc) (*CreateAttendanceShiftResp, *Response, error))
MockAttendanceCreateAttendanceShift mock AttendanceCreateAttendanceShift method
func (*Mock) MockAttendanceCreateAttendanceUserApproval ¶
func (r *Mock) MockAttendanceCreateAttendanceUserApproval(f func(ctx context.Context, request *CreateAttendanceUserApprovalReq, options ...MethodOptionFunc) (*CreateAttendanceUserApprovalResp, *Response, error))
MockAttendanceCreateAttendanceUserApproval mock AttendanceCreateAttendanceUserApproval method
func (*Mock) MockAttendanceCreateAttendanceUserTaskRemedy ¶
func (r *Mock) MockAttendanceCreateAttendanceUserTaskRemedy(f func(ctx context.Context, request *CreateAttendanceUserTaskRemedyReq, options ...MethodOptionFunc) (*CreateAttendanceUserTaskRemedyResp, *Response, error))
MockAttendanceCreateAttendanceUserTaskRemedy mock AttendanceCreateAttendanceUserTaskRemedy method
func (*Mock) MockAttendanceCreateUpdateAttendanceUserDailyShift ¶
func (r *Mock) MockAttendanceCreateUpdateAttendanceUserDailyShift(f func(ctx context.Context, request *CreateUpdateAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*CreateUpdateAttendanceUserDailyShiftResp, *Response, error))
MockAttendanceCreateUpdateAttendanceUserDailyShift mock AttendanceCreateUpdateAttendanceUserDailyShift method
func (*Mock) MockAttendanceDeleteAttendanceGroup ¶
func (r *Mock) MockAttendanceDeleteAttendanceGroup(f func(ctx context.Context, request *DeleteAttendanceGroupReq, options ...MethodOptionFunc) (*DeleteAttendanceGroupResp, *Response, error))
MockAttendanceDeleteAttendanceGroup mock AttendanceDeleteAttendanceGroup method
func (*Mock) MockAttendanceDeleteAttendanceShift ¶
func (r *Mock) MockAttendanceDeleteAttendanceShift(f func(ctx context.Context, request *DeleteAttendanceShiftReq, options ...MethodOptionFunc) (*DeleteAttendanceShiftResp, *Response, error))
MockAttendanceDeleteAttendanceShift mock AttendanceDeleteAttendanceShift method
func (*Mock) MockAttendanceDownloadAttendanceFile ¶
func (r *Mock) MockAttendanceDownloadAttendanceFile(f func(ctx context.Context, request *DownloadAttendanceFileReq, options ...MethodOptionFunc) (*DownloadAttendanceFileResp, *Response, error))
MockAttendanceDownloadAttendanceFile mock AttendanceDownloadAttendanceFile method
func (*Mock) MockAttendanceGetAttendanceGroup ¶
func (r *Mock) MockAttendanceGetAttendanceGroup(f func(ctx context.Context, request *GetAttendanceGroupReq, options ...MethodOptionFunc) (*GetAttendanceGroupResp, *Response, error))
MockAttendanceGetAttendanceGroup mock AttendanceGetAttendanceGroup method
func (*Mock) MockAttendanceGetAttendanceShift ¶
func (r *Mock) MockAttendanceGetAttendanceShift(f func(ctx context.Context, request *GetAttendanceShiftReq, options ...MethodOptionFunc) (*GetAttendanceShiftResp, *Response, error))
MockAttendanceGetAttendanceShift mock AttendanceGetAttendanceShift method
func (*Mock) MockAttendanceGetAttendanceShiftDetail ¶
func (r *Mock) MockAttendanceGetAttendanceShiftDetail(f func(ctx context.Context, request *GetAttendanceShiftDetailReq, options ...MethodOptionFunc) (*GetAttendanceShiftDetailResp, *Response, error))
MockAttendanceGetAttendanceShiftDetail mock AttendanceGetAttendanceShiftDetail method
func (*Mock) MockAttendanceGetAttendanceUserAllowedRemedy ¶
func (r *Mock) MockAttendanceGetAttendanceUserAllowedRemedy(f func(ctx context.Context, request *GetAttendanceUserAllowedRemedyReq, options ...MethodOptionFunc) (*GetAttendanceUserAllowedRemedyResp, *Response, error))
MockAttendanceGetAttendanceUserAllowedRemedy mock AttendanceGetAttendanceUserAllowedRemedy method
func (*Mock) MockAttendanceGetAttendanceUserApproval ¶
func (r *Mock) MockAttendanceGetAttendanceUserApproval(f func(ctx context.Context, request *GetAttendanceUserApprovalReq, options ...MethodOptionFunc) (*GetAttendanceUserApprovalResp, *Response, error))
MockAttendanceGetAttendanceUserApproval mock AttendanceGetAttendanceUserApproval method
func (*Mock) MockAttendanceGetAttendanceUserDailyShift ¶
func (r *Mock) MockAttendanceGetAttendanceUserDailyShift(f func(ctx context.Context, request *GetAttendanceUserDailyShiftReq, options ...MethodOptionFunc) (*GetAttendanceUserDailyShiftResp, *Response, error))
MockAttendanceGetAttendanceUserDailyShift mock AttendanceGetAttendanceUserDailyShift method
func (*Mock) MockAttendanceGetAttendanceUserFlow ¶
func (r *Mock) MockAttendanceGetAttendanceUserFlow(f func(ctx context.Context, request *GetAttendanceUserFlowReq, options ...MethodOptionFunc) (*GetAttendanceUserFlowResp, *Response, error))
MockAttendanceGetAttendanceUserFlow mock AttendanceGetAttendanceUserFlow method
func (*Mock) MockAttendanceGetAttendanceUserSettingList ¶
func (r *Mock) MockAttendanceGetAttendanceUserSettingList(f func(ctx context.Context, request *GetAttendanceUserSettingListReq, options ...MethodOptionFunc) (*GetAttendanceUserSettingListResp, *Response, error))
MockAttendanceGetAttendanceUserSettingList mock AttendanceGetAttendanceUserSettingList method
func (*Mock) MockAttendanceGetAttendanceUserStatsData ¶
func (r *Mock) MockAttendanceGetAttendanceUserStatsData(f func(ctx context.Context, request *GetAttendanceUserStatsDataReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsDataResp, *Response, error))
MockAttendanceGetAttendanceUserStatsData mock AttendanceGetAttendanceUserStatsData method
func (*Mock) MockAttendanceGetAttendanceUserStatsField ¶
func (r *Mock) MockAttendanceGetAttendanceUserStatsField(f func(ctx context.Context, request *GetAttendanceUserStatsFieldReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsFieldResp, *Response, error))
MockAttendanceGetAttendanceUserStatsField mock AttendanceGetAttendanceUserStatsField method
func (*Mock) MockAttendanceGetAttendanceUserStatsView ¶
func (r *Mock) MockAttendanceGetAttendanceUserStatsView(f func(ctx context.Context, request *GetAttendanceUserStatsViewReq, options ...MethodOptionFunc) (*GetAttendanceUserStatsViewResp, *Response, error))
MockAttendanceGetAttendanceUserStatsView mock AttendanceGetAttendanceUserStatsView method
func (*Mock) MockAttendanceGetAttendanceUserTask ¶
func (r *Mock) MockAttendanceGetAttendanceUserTask(f func(ctx context.Context, request *GetAttendanceUserTaskReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskResp, *Response, error))
MockAttendanceGetAttendanceUserTask mock AttendanceGetAttendanceUserTask method
func (*Mock) MockAttendanceGetAttendanceUserTaskRemedy ¶
func (r *Mock) MockAttendanceGetAttendanceUserTaskRemedy(f func(ctx context.Context, request *GetAttendanceUserTaskRemedyReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskRemedyResp, *Response, error))
MockAttendanceGetAttendanceUserTaskRemedy mock AttendanceGetAttendanceUserTaskRemedy method
func (*Mock) MockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList ¶
func (r *Mock) MockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList(f func(ctx context.Context, request *GetAttendanceUserTaskRemedyAllowedRemedyListReq, options ...MethodOptionFunc) (*GetAttendanceUserTaskRemedyAllowedRemedyListResp, *Response, error))
MockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList mock AttendanceGetAttendanceUserTaskRemedyAllowedRemedyList method
func (*Mock) MockAttendanceInitAttendanceRemedyApproval ¶
func (r *Mock) MockAttendanceInitAttendanceRemedyApproval(f func(ctx context.Context, request *InitAttendanceRemedyApprovalReq, options ...MethodOptionFunc) (*InitAttendanceRemedyApprovalResp, *Response, error))
MockAttendanceInitAttendanceRemedyApproval mock AttendanceInitAttendanceRemedyApproval method
func (*Mock) MockAttendanceSearchAttendanceGroup ¶
func (r *Mock) MockAttendanceSearchAttendanceGroup(f func(ctx context.Context, request *SearchAttendanceGroupReq, options ...MethodOptionFunc) (*SearchAttendanceGroupResp, *Response, error))
MockAttendanceSearchAttendanceGroup mock AttendanceSearchAttendanceGroup method
func (*Mock) MockAttendanceUpdateAttendanceRemedyApproval ¶
func (r *Mock) MockAttendanceUpdateAttendanceRemedyApproval(f func(ctx context.Context, request *UpdateAttendanceRemedyApprovalReq, options ...MethodOptionFunc) (*UpdateAttendanceRemedyApprovalResp, *Response, error))
MockAttendanceUpdateAttendanceRemedyApproval mock AttendanceUpdateAttendanceRemedyApproval method
func (*Mock) MockAttendanceUpdateAttendanceUserSetting ¶
func (r *Mock) MockAttendanceUpdateAttendanceUserSetting(f func(ctx context.Context, request *UpdateAttendanceUserSettingReq, options ...MethodOptionFunc) (*UpdateAttendanceUserSettingResp, *Response, error))
MockAttendanceUpdateAttendanceUserSetting mock AttendanceUpdateAttendanceUserSetting method
func (*Mock) MockAttendanceUpdateAttendanceUserStatsView ¶
func (r *Mock) MockAttendanceUpdateAttendanceUserStatsView(f func(ctx context.Context, request *UpdateAttendanceUserStatsViewReq, options ...MethodOptionFunc) (*UpdateAttendanceUserStatsViewResp, *Response, error))
MockAttendanceUpdateAttendanceUserStatsView mock AttendanceUpdateAttendanceUserStatsView method
func (*Mock) MockAttendanceUploadAttendanceFile ¶
func (r *Mock) MockAttendanceUploadAttendanceFile(f func(ctx context.Context, request *UploadAttendanceFileReq, options ...MethodOptionFunc) (*UploadAttendanceFileResp, *Response, error))
MockAttendanceUploadAttendanceFile mock AttendanceUploadAttendanceFile method
func (*Mock) MockAuthGetAccessToken ¶
func (r *Mock) MockAuthGetAccessToken(f func(ctx context.Context, request *GetAccessTokenReq, options ...MethodOptionFunc) (*GetAccessTokenResp, *Response, error))
MockAuthGetAccessToken mock AuthGetAccessToken method
func (*Mock) MockAuthGetUserInfo ¶
func (r *Mock) MockAuthGetUserInfo(f func(ctx context.Context, request *GetUserInfoReq, options ...MethodOptionFunc) (*GetUserInfoResp, *Response, error))
MockAuthGetUserInfo mock AuthGetUserInfo method
func (*Mock) MockAuthRefreshAccessToken ¶
func (r *Mock) MockAuthRefreshAccessToken(f func(ctx context.Context, request *RefreshAccessTokenReq, options ...MethodOptionFunc) (*RefreshAccessTokenResp, *Response, error))
MockAuthRefreshAccessToken mock AuthRefreshAccessToken method
func (*Mock) MockAuthResendAppTicket ¶
func (r *Mock) MockAuthResendAppTicket(f func(ctx context.Context, request *ResendAppTicketReq, options ...MethodOptionFunc) (*ResendAppTicketResp, *Response, error))
MockAuthResendAppTicket mock AuthResendAppTicket method
func (*Mock) MockBitableBatchCreateBitableRecord ¶
func (r *Mock) MockBitableBatchCreateBitableRecord(f func(ctx context.Context, request *BatchCreateBitableRecordReq, options ...MethodOptionFunc) (*BatchCreateBitableRecordResp, *Response, error))
MockBitableBatchCreateBitableRecord mock BitableBatchCreateBitableRecord method
func (*Mock) MockBitableBatchCreateBitableTable ¶
func (r *Mock) MockBitableBatchCreateBitableTable(f func(ctx context.Context, request *BatchCreateBitableTableReq, options ...MethodOptionFunc) (*BatchCreateBitableTableResp, *Response, error))
MockBitableBatchCreateBitableTable mock BitableBatchCreateBitableTable method
func (*Mock) MockBitableBatchDeleteBitableRecord ¶
func (r *Mock) MockBitableBatchDeleteBitableRecord(f func(ctx context.Context, request *BatchDeleteBitableRecordReq, options ...MethodOptionFunc) (*BatchDeleteBitableRecordResp, *Response, error))
MockBitableBatchDeleteBitableRecord mock BitableBatchDeleteBitableRecord method
func (*Mock) MockBitableBatchDeleteBitableTable ¶
func (r *Mock) MockBitableBatchDeleteBitableTable(f func(ctx context.Context, request *BatchDeleteBitableTableReq, options ...MethodOptionFunc) (*BatchDeleteBitableTableResp, *Response, error))
MockBitableBatchDeleteBitableTable mock BitableBatchDeleteBitableTable method
func (*Mock) MockBitableBatchUpdateBitableRecord ¶
func (r *Mock) MockBitableBatchUpdateBitableRecord(f func(ctx context.Context, request *BatchUpdateBitableRecordReq, options ...MethodOptionFunc) (*BatchUpdateBitableRecordResp, *Response, error))
MockBitableBatchUpdateBitableRecord mock BitableBatchUpdateBitableRecord method
func (*Mock) MockBitableCreateBitableField ¶
func (r *Mock) MockBitableCreateBitableField(f func(ctx context.Context, request *CreateBitableFieldReq, options ...MethodOptionFunc) (*CreateBitableFieldResp, *Response, error))
MockBitableCreateBitableField mock BitableCreateBitableField method
func (*Mock) MockBitableCreateBitableRecord ¶
func (r *Mock) MockBitableCreateBitableRecord(f func(ctx context.Context, request *CreateBitableRecordReq, options ...MethodOptionFunc) (*CreateBitableRecordResp, *Response, error))
MockBitableCreateBitableRecord mock BitableCreateBitableRecord method
func (*Mock) MockBitableCreateBitableTable ¶
func (r *Mock) MockBitableCreateBitableTable(f func(ctx context.Context, request *CreateBitableTableReq, options ...MethodOptionFunc) (*CreateBitableTableResp, *Response, error))
MockBitableCreateBitableTable mock BitableCreateBitableTable method
func (*Mock) MockBitableCreateBitableView ¶
func (r *Mock) MockBitableCreateBitableView(f func(ctx context.Context, request *CreateBitableViewReq, options ...MethodOptionFunc) (*CreateBitableViewResp, *Response, error))
MockBitableCreateBitableView mock BitableCreateBitableView method
func (*Mock) MockBitableDeleteBitableField ¶
func (r *Mock) MockBitableDeleteBitableField(f func(ctx context.Context, request *DeleteBitableFieldReq, options ...MethodOptionFunc) (*DeleteBitableFieldResp, *Response, error))
MockBitableDeleteBitableField mock BitableDeleteBitableField method
func (*Mock) MockBitableDeleteBitableRecord ¶
func (r *Mock) MockBitableDeleteBitableRecord(f func(ctx context.Context, request *DeleteBitableRecordReq, options ...MethodOptionFunc) (*DeleteBitableRecordResp, *Response, error))
MockBitableDeleteBitableRecord mock BitableDeleteBitableRecord method
func (*Mock) MockBitableDeleteBitableTable ¶
func (r *Mock) MockBitableDeleteBitableTable(f func(ctx context.Context, request *DeleteBitableTableReq, options ...MethodOptionFunc) (*DeleteBitableTableResp, *Response, error))
MockBitableDeleteBitableTable mock BitableDeleteBitableTable method
func (*Mock) MockBitableDeleteBitableView ¶
func (r *Mock) MockBitableDeleteBitableView(f func(ctx context.Context, request *DeleteBitableViewReq, options ...MethodOptionFunc) (*DeleteBitableViewResp, *Response, error))
MockBitableDeleteBitableView mock BitableDeleteBitableView method
func (*Mock) MockBitableGetBitableFieldList ¶
func (r *Mock) MockBitableGetBitableFieldList(f func(ctx context.Context, request *GetBitableFieldListReq, options ...MethodOptionFunc) (*GetBitableFieldListResp, *Response, error))
MockBitableGetBitableFieldList mock BitableGetBitableFieldList method
func (*Mock) MockBitableGetBitableMeta ¶
func (r *Mock) MockBitableGetBitableMeta(f func(ctx context.Context, request *GetBitableMetaReq, options ...MethodOptionFunc) (*GetBitableMetaResp, *Response, error))
MockBitableGetBitableMeta mock BitableGetBitableMeta method
func (*Mock) MockBitableGetBitableRecord ¶
func (r *Mock) MockBitableGetBitableRecord(f func(ctx context.Context, request *GetBitableRecordReq, options ...MethodOptionFunc) (*GetBitableRecordResp, *Response, error))
MockBitableGetBitableRecord mock BitableGetBitableRecord method
func (*Mock) MockBitableGetBitableRecordList ¶
func (r *Mock) MockBitableGetBitableRecordList(f func(ctx context.Context, request *GetBitableRecordListReq, options ...MethodOptionFunc) (*GetBitableRecordListResp, *Response, error))
MockBitableGetBitableRecordList mock BitableGetBitableRecordList method
func (*Mock) MockBitableGetBitableTableList ¶
func (r *Mock) MockBitableGetBitableTableList(f func(ctx context.Context, request *GetBitableTableListReq, options ...MethodOptionFunc) (*GetBitableTableListResp, *Response, error))
MockBitableGetBitableTableList mock BitableGetBitableTableList method
func (*Mock) MockBitableGetBitableViewList ¶
func (r *Mock) MockBitableGetBitableViewList(f func(ctx context.Context, request *GetBitableViewListReq, options ...MethodOptionFunc) (*GetBitableViewListResp, *Response, error))
MockBitableGetBitableViewList mock BitableGetBitableViewList method
func (*Mock) MockBitableUpdateBitableField ¶
func (r *Mock) MockBitableUpdateBitableField(f func(ctx context.Context, request *UpdateBitableFieldReq, options ...MethodOptionFunc) (*UpdateBitableFieldResp, *Response, error))
MockBitableUpdateBitableField mock BitableUpdateBitableField method
func (*Mock) MockBitableUpdateBitableRecord ¶
func (r *Mock) MockBitableUpdateBitableRecord(f func(ctx context.Context, request *UpdateBitableRecordReq, options ...MethodOptionFunc) (*UpdateBitableRecordResp, *Response, error))
MockBitableUpdateBitableRecord mock BitableUpdateBitableRecord method
func (*Mock) MockBotAddBotToChat ¶
func (r *Mock) MockBotAddBotToChat(f func(ctx context.Context, request *AddBotToChatReq, options ...MethodOptionFunc) (*AddBotToChatResp, *Response, error))
MockBotAddBotToChat mock BotAddBotToChat method
func (*Mock) MockBotGetBotInfo ¶
func (r *Mock) MockBotGetBotInfo(f func(ctx context.Context, request *GetBotInfoReq, options ...MethodOptionFunc) (*GetBotInfoResp, *Response, error))
MockBotGetBotInfo mock BotGetBotInfo method
func (*Mock) MockCalendarCreateCalendar ¶
func (r *Mock) MockCalendarCreateCalendar(f func(ctx context.Context, request *CreateCalendarReq, options ...MethodOptionFunc) (*CreateCalendarResp, *Response, error))
MockCalendarCreateCalendar mock CalendarCreateCalendar method
func (*Mock) MockCalendarCreateCalendarACL ¶
func (r *Mock) MockCalendarCreateCalendarACL(f func(ctx context.Context, request *CreateCalendarACLReq, options ...MethodOptionFunc) (*CreateCalendarACLResp, *Response, error))
MockCalendarCreateCalendarACL mock CalendarCreateCalendarACL method
func (*Mock) MockCalendarCreateCalendarEvent ¶
func (r *Mock) MockCalendarCreateCalendarEvent(f func(ctx context.Context, request *CreateCalendarEventReq, options ...MethodOptionFunc) (*CreateCalendarEventResp, *Response, error))
MockCalendarCreateCalendarEvent mock CalendarCreateCalendarEvent method
func (*Mock) MockCalendarCreateCalendarEventAttendee ¶
func (r *Mock) MockCalendarCreateCalendarEventAttendee(f func(ctx context.Context, request *CreateCalendarEventAttendeeReq, options ...MethodOptionFunc) (*CreateCalendarEventAttendeeResp, *Response, error))
MockCalendarCreateCalendarEventAttendee mock CalendarCreateCalendarEventAttendee method
func (*Mock) MockCalendarCreateCalendarExchangeBinding ¶
func (r *Mock) MockCalendarCreateCalendarExchangeBinding(f func(ctx context.Context, request *CreateCalendarExchangeBindingReq, options ...MethodOptionFunc) (*CreateCalendarExchangeBindingResp, *Response, error))
MockCalendarCreateCalendarExchangeBinding mock CalendarCreateCalendarExchangeBinding method
func (*Mock) MockCalendarCreateCalendarTimeoffEvent ¶
func (r *Mock) MockCalendarCreateCalendarTimeoffEvent(f func(ctx context.Context, request *CreateCalendarTimeoffEventReq, options ...MethodOptionFunc) (*CreateCalendarTimeoffEventResp, *Response, error))
MockCalendarCreateCalendarTimeoffEvent mock CalendarCreateCalendarTimeoffEvent method
func (*Mock) MockCalendarDeleteCalendar ¶
func (r *Mock) MockCalendarDeleteCalendar(f func(ctx context.Context, request *DeleteCalendarReq, options ...MethodOptionFunc) (*DeleteCalendarResp, *Response, error))
MockCalendarDeleteCalendar mock CalendarDeleteCalendar method
func (*Mock) MockCalendarDeleteCalendarACL ¶
func (r *Mock) MockCalendarDeleteCalendarACL(f func(ctx context.Context, request *DeleteCalendarACLReq, options ...MethodOptionFunc) (*DeleteCalendarACLResp, *Response, error))
MockCalendarDeleteCalendarACL mock CalendarDeleteCalendarACL method
func (*Mock) MockCalendarDeleteCalendarEvent ¶
func (r *Mock) MockCalendarDeleteCalendarEvent(f func(ctx context.Context, request *DeleteCalendarEventReq, options ...MethodOptionFunc) (*DeleteCalendarEventResp, *Response, error))
MockCalendarDeleteCalendarEvent mock CalendarDeleteCalendarEvent method
func (*Mock) MockCalendarDeleteCalendarEventAttendee ¶
func (r *Mock) MockCalendarDeleteCalendarEventAttendee(f func(ctx context.Context, request *DeleteCalendarEventAttendeeReq, options ...MethodOptionFunc) (*DeleteCalendarEventAttendeeResp, *Response, error))
MockCalendarDeleteCalendarEventAttendee mock CalendarDeleteCalendarEventAttendee method
func (*Mock) MockCalendarDeleteCalendarExchangeBinding ¶
func (r *Mock) MockCalendarDeleteCalendarExchangeBinding(f func(ctx context.Context, request *DeleteCalendarExchangeBindingReq, options ...MethodOptionFunc) (*DeleteCalendarExchangeBindingResp, *Response, error))
MockCalendarDeleteCalendarExchangeBinding mock CalendarDeleteCalendarExchangeBinding method
func (*Mock) MockCalendarDeleteCalendarTimeoffEvent ¶
func (r *Mock) MockCalendarDeleteCalendarTimeoffEvent(f func(ctx context.Context, request *DeleteCalendarTimeoffEventReq, options ...MethodOptionFunc) (*DeleteCalendarTimeoffEventResp, *Response, error))
MockCalendarDeleteCalendarTimeoffEvent mock CalendarDeleteCalendarTimeoffEvent method
func (*Mock) MockCalendarGenerateCaldavConf ¶
func (r *Mock) MockCalendarGenerateCaldavConf(f func(ctx context.Context, request *GenerateCaldavConfReq, options ...MethodOptionFunc) (*GenerateCaldavConfResp, *Response, error))
MockCalendarGenerateCaldavConf mock CalendarGenerateCaldavConf method
func (*Mock) MockCalendarGetCalendar ¶
func (r *Mock) MockCalendarGetCalendar(f func(ctx context.Context, request *GetCalendarReq, options ...MethodOptionFunc) (*GetCalendarResp, *Response, error))
MockCalendarGetCalendar mock CalendarGetCalendar method
func (*Mock) MockCalendarGetCalendarACLList ¶
func (r *Mock) MockCalendarGetCalendarACLList(f func(ctx context.Context, request *GetCalendarACLListReq, options ...MethodOptionFunc) (*GetCalendarACLListResp, *Response, error))
MockCalendarGetCalendarACLList mock CalendarGetCalendarACLList method
func (*Mock) MockCalendarGetCalendarEvent ¶
func (r *Mock) MockCalendarGetCalendarEvent(f func(ctx context.Context, request *GetCalendarEventReq, options ...MethodOptionFunc) (*GetCalendarEventResp, *Response, error))
MockCalendarGetCalendarEvent mock CalendarGetCalendarEvent method
func (*Mock) MockCalendarGetCalendarEventAttendeeChatMemberList ¶
func (r *Mock) MockCalendarGetCalendarEventAttendeeChatMemberList(f func(ctx context.Context, request *GetCalendarEventAttendeeChatMemberListReq, options ...MethodOptionFunc) (*GetCalendarEventAttendeeChatMemberListResp, *Response, error))
MockCalendarGetCalendarEventAttendeeChatMemberList mock CalendarGetCalendarEventAttendeeChatMemberList method
func (*Mock) MockCalendarGetCalendarEventAttendeeList ¶
func (r *Mock) MockCalendarGetCalendarEventAttendeeList(f func(ctx context.Context, request *GetCalendarEventAttendeeListReq, options ...MethodOptionFunc) (*GetCalendarEventAttendeeListResp, *Response, error))
MockCalendarGetCalendarEventAttendeeList mock CalendarGetCalendarEventAttendeeList method
func (*Mock) MockCalendarGetCalendarEventList ¶
func (r *Mock) MockCalendarGetCalendarEventList(f func(ctx context.Context, request *GetCalendarEventListReq, options ...MethodOptionFunc) (*GetCalendarEventListResp, *Response, error))
MockCalendarGetCalendarEventList mock CalendarGetCalendarEventList method
func (*Mock) MockCalendarGetCalendarExchangeBinding ¶
func (r *Mock) MockCalendarGetCalendarExchangeBinding(f func(ctx context.Context, request *GetCalendarExchangeBindingReq, options ...MethodOptionFunc) (*GetCalendarExchangeBindingResp, *Response, error))
MockCalendarGetCalendarExchangeBinding mock CalendarGetCalendarExchangeBinding method
func (*Mock) MockCalendarGetCalendarFreeBusyList ¶
func (r *Mock) MockCalendarGetCalendarFreeBusyList(f func(ctx context.Context, request *GetCalendarFreeBusyListReq, options ...MethodOptionFunc) (*GetCalendarFreeBusyListResp, *Response, error))
MockCalendarGetCalendarFreeBusyList mock CalendarGetCalendarFreeBusyList method
func (*Mock) MockCalendarGetCalendarList ¶
func (r *Mock) MockCalendarGetCalendarList(f func(ctx context.Context, request *GetCalendarListReq, options ...MethodOptionFunc) (*GetCalendarListResp, *Response, error))
MockCalendarGetCalendarList mock CalendarGetCalendarList method
func (*Mock) MockCalendarSearchCalendar ¶
func (r *Mock) MockCalendarSearchCalendar(f func(ctx context.Context, request *SearchCalendarReq, options ...MethodOptionFunc) (*SearchCalendarResp, *Response, error))
MockCalendarSearchCalendar mock CalendarSearchCalendar method
func (*Mock) MockCalendarSearchCalendarEvent ¶
func (r *Mock) MockCalendarSearchCalendarEvent(f func(ctx context.Context, request *SearchCalendarEventReq, options ...MethodOptionFunc) (*SearchCalendarEventResp, *Response, error))
MockCalendarSearchCalendarEvent mock CalendarSearchCalendarEvent method
func (*Mock) MockCalendarSubscribeCalendar ¶
func (r *Mock) MockCalendarSubscribeCalendar(f func(ctx context.Context, request *SubscribeCalendarReq, options ...MethodOptionFunc) (*SubscribeCalendarResp, *Response, error))
MockCalendarSubscribeCalendar mock CalendarSubscribeCalendar method
func (*Mock) MockCalendarSubscribeCalendarACL ¶
func (r *Mock) MockCalendarSubscribeCalendarACL(f func(ctx context.Context, request *SubscribeCalendarACLReq, options ...MethodOptionFunc) (*SubscribeCalendarACLResp, *Response, error))
MockCalendarSubscribeCalendarACL mock CalendarSubscribeCalendarACL method
func (*Mock) MockCalendarSubscribeCalendarChangeEvent ¶
func (r *Mock) MockCalendarSubscribeCalendarChangeEvent(f func(ctx context.Context, request *SubscribeCalendarChangeEventReq, options ...MethodOptionFunc) (*SubscribeCalendarChangeEventResp, *Response, error))
MockCalendarSubscribeCalendarChangeEvent mock CalendarSubscribeCalendarChangeEvent method
func (*Mock) MockCalendarSubscribeCalendarEvent ¶
func (r *Mock) MockCalendarSubscribeCalendarEvent(f func(ctx context.Context, request *SubscribeCalendarEventReq, options ...MethodOptionFunc) (*SubscribeCalendarEventResp, *Response, error))
MockCalendarSubscribeCalendarEvent mock CalendarSubscribeCalendarEvent method
func (*Mock) MockCalendarUnsubscribeCalendar ¶
func (r *Mock) MockCalendarUnsubscribeCalendar(f func(ctx context.Context, request *UnsubscribeCalendarReq, options ...MethodOptionFunc) (*UnsubscribeCalendarResp, *Response, error))
MockCalendarUnsubscribeCalendar mock CalendarUnsubscribeCalendar method
func (*Mock) MockCalendarUpdateCalendar ¶
func (r *Mock) MockCalendarUpdateCalendar(f func(ctx context.Context, request *UpdateCalendarReq, options ...MethodOptionFunc) (*UpdateCalendarResp, *Response, error))
MockCalendarUpdateCalendar mock CalendarUpdateCalendar method
func (*Mock) MockCalendarUpdateCalendarEvent ¶
func (r *Mock) MockCalendarUpdateCalendarEvent(f func(ctx context.Context, request *UpdateCalendarEventReq, options ...MethodOptionFunc) (*UpdateCalendarEventResp, *Response, error))
MockCalendarUpdateCalendarEvent mock CalendarUpdateCalendarEvent method
func (*Mock) MockChatAddChatMember ¶
func (r *Mock) MockChatAddChatMember(f func(ctx context.Context, request *AddChatMemberReq, options ...MethodOptionFunc) (*AddChatMemberResp, *Response, error))
MockChatAddChatMember mock ChatAddChatMember method
func (*Mock) MockChatCreateChat ¶
func (r *Mock) MockChatCreateChat(f func(ctx context.Context, request *CreateChatReq, options ...MethodOptionFunc) (*CreateChatResp, *Response, error))
MockChatCreateChat mock ChatCreateChat method
func (*Mock) MockChatCreateChatManager ¶
func (r *Mock) MockChatCreateChatManager(f func(ctx context.Context, request *CreateChatManagerReq, options ...MethodOptionFunc) (*CreateChatManagerResp, *Response, error))
MockChatCreateChatManager mock ChatCreateChatManager method
func (*Mock) MockChatDeleteChat ¶
func (r *Mock) MockChatDeleteChat(f func(ctx context.Context, request *DeleteChatReq, options ...MethodOptionFunc) (*DeleteChatResp, *Response, error))
MockChatDeleteChat mock ChatDeleteChat method
func (*Mock) MockChatDeleteChatManager ¶
func (r *Mock) MockChatDeleteChatManager(f func(ctx context.Context, request *DeleteChatManagerReq, options ...MethodOptionFunc) (*DeleteChatManagerResp, *Response, error))
MockChatDeleteChatManager mock ChatDeleteChatManager method
func (*Mock) MockChatDeleteChatMember ¶
func (r *Mock) MockChatDeleteChatMember(f func(ctx context.Context, request *DeleteChatMemberReq, options ...MethodOptionFunc) (*DeleteChatMemberResp, *Response, error))
MockChatDeleteChatMember mock ChatDeleteChatMember method
func (*Mock) MockChatGetChat ¶
func (r *Mock) MockChatGetChat(f func(ctx context.Context, request *GetChatReq, options ...MethodOptionFunc) (*GetChatResp, *Response, error))
MockChatGetChat mock ChatGetChat method
func (*Mock) MockChatGetChatAnnouncement ¶
func (r *Mock) MockChatGetChatAnnouncement(f func(ctx context.Context, request *GetChatAnnouncementReq, options ...MethodOptionFunc) (*GetChatAnnouncementResp, *Response, error))
MockChatGetChatAnnouncement mock ChatGetChatAnnouncement method
func (*Mock) MockChatGetChatListOfSelf ¶
func (r *Mock) MockChatGetChatListOfSelf(f func(ctx context.Context, request *GetChatListOfSelfReq, options ...MethodOptionFunc) (*GetChatListOfSelfResp, *Response, error))
MockChatGetChatListOfSelf mock ChatGetChatListOfSelf method
func (*Mock) MockChatGetChatMemberList ¶
func (r *Mock) MockChatGetChatMemberList(f func(ctx context.Context, request *GetChatMemberListReq, options ...MethodOptionFunc) (*GetChatMemberListResp, *Response, error))
MockChatGetChatMemberList mock ChatGetChatMemberList method
func (*Mock) MockChatGetChatModeration ¶
func (r *Mock) MockChatGetChatModeration(f func(ctx context.Context, request *GetChatModerationReq, options ...MethodOptionFunc) (*GetChatModerationResp, *Response, error))
MockChatGetChatModeration mock ChatGetChatModeration method
func (*Mock) MockChatGetChatOld ¶
func (r *Mock) MockChatGetChatOld(f func(ctx context.Context, request *GetChatOldReq, options ...MethodOptionFunc) (*GetChatOldResp, *Response, error))
MockChatGetChatOld mock ChatGetChatOld method
func (*Mock) MockChatIsInChat ¶
func (r *Mock) MockChatIsInChat(f func(ctx context.Context, request *IsInChatReq, options ...MethodOptionFunc) (*IsInChatResp, *Response, error))
MockChatIsInChat mock ChatIsInChat method
func (*Mock) MockChatJoinChat ¶
func (r *Mock) MockChatJoinChat(f func(ctx context.Context, request *JoinChatReq, options ...MethodOptionFunc) (*JoinChatResp, *Response, error))
MockChatJoinChat mock ChatJoinChat method
func (*Mock) MockChatSearchChat ¶
func (r *Mock) MockChatSearchChat(f func(ctx context.Context, request *SearchChatReq, options ...MethodOptionFunc) (*SearchChatResp, *Response, error))
MockChatSearchChat mock ChatSearchChat method
func (*Mock) MockChatUpdateChat ¶
func (r *Mock) MockChatUpdateChat(f func(ctx context.Context, request *UpdateChatReq, options ...MethodOptionFunc) (*UpdateChatResp, *Response, error))
MockChatUpdateChat mock ChatUpdateChat method
func (*Mock) MockChatUpdateChatAnnouncement ¶
func (r *Mock) MockChatUpdateChatAnnouncement(f func(ctx context.Context, request *UpdateChatAnnouncementReq, options ...MethodOptionFunc) (*UpdateChatAnnouncementResp, *Response, error))
MockChatUpdateChatAnnouncement mock ChatUpdateChatAnnouncement method
func (*Mock) MockChatUpdateChatModeration ¶
func (r *Mock) MockChatUpdateChatModeration(f func(ctx context.Context, request *UpdateChatModerationReq, options ...MethodOptionFunc) (*UpdateChatModerationResp, *Response, error))
MockChatUpdateChatModeration mock ChatUpdateChatModeration method
func (*Mock) MockContactAddContactGroupMember ¶
func (r *Mock) MockContactAddContactGroupMember(f func(ctx context.Context, request *AddContactGroupMemberReq, options ...MethodOptionFunc) (*AddContactGroupMemberResp, *Response, error))
MockContactAddContactGroupMember mock ContactAddContactGroupMember method
func (*Mock) MockContactBatchGetUser ¶
func (r *Mock) MockContactBatchGetUser(f func(ctx context.Context, request *BatchGetUserReq, options ...MethodOptionFunc) (*BatchGetUserResp, *Response, error))
MockContactBatchGetUser mock ContactBatchGetUser method
func (*Mock) MockContactBatchGetUserByID ¶
func (r *Mock) MockContactBatchGetUserByID(f func(ctx context.Context, request *BatchGetUserByIDReq, options ...MethodOptionFunc) (*BatchGetUserByIDResp, *Response, error))
MockContactBatchGetUserByID mock ContactBatchGetUserByID method
func (*Mock) MockContactBatchGetUserByIDOld ¶
func (r *Mock) MockContactBatchGetUserByIDOld(f func(ctx context.Context, request *BatchGetUserByIDOldReq, options ...MethodOptionFunc) (*BatchGetUserByIDOldResp, *Response, error))
MockContactBatchGetUserByIDOld mock ContactBatchGetUserByIDOld method
func (*Mock) MockContactBindContactUnitDepartment ¶
func (r *Mock) MockContactBindContactUnitDepartment(f func(ctx context.Context, request *BindContactUnitDepartmentReq, options ...MethodOptionFunc) (*BindContactUnitDepartmentResp, *Response, error))
MockContactBindContactUnitDepartment mock ContactBindContactUnitDepartment method
func (*Mock) MockContactCreateContactGroup ¶
func (r *Mock) MockContactCreateContactGroup(f func(ctx context.Context, request *CreateContactGroupReq, options ...MethodOptionFunc) (*CreateContactGroupResp, *Response, error))
MockContactCreateContactGroup mock ContactCreateContactGroup method
func (*Mock) MockContactCreateContactUnit ¶
func (r *Mock) MockContactCreateContactUnit(f func(ctx context.Context, request *CreateContactUnitReq, options ...MethodOptionFunc) (*CreateContactUnitResp, *Response, error))
MockContactCreateContactUnit mock ContactCreateContactUnit method
func (*Mock) MockContactCreateDepartment ¶
func (r *Mock) MockContactCreateDepartment(f func(ctx context.Context, request *CreateDepartmentReq, options ...MethodOptionFunc) (*CreateDepartmentResp, *Response, error))
MockContactCreateDepartment mock ContactCreateDepartment method
func (*Mock) MockContactCreateEmployeeTypeEnum ¶
func (r *Mock) MockContactCreateEmployeeTypeEnum(f func(ctx context.Context, request *CreateEmployeeTypeEnumReq, options ...MethodOptionFunc) (*CreateEmployeeTypeEnumResp, *Response, error))
MockContactCreateEmployeeTypeEnum mock ContactCreateEmployeeTypeEnum method
func (*Mock) MockContactCreateUser ¶
func (r *Mock) MockContactCreateUser(f func(ctx context.Context, request *CreateUserReq, options ...MethodOptionFunc) (*CreateUserResp, *Response, error))
MockContactCreateUser mock ContactCreateUser method
func (*Mock) MockContactDeleteContactGroup ¶
func (r *Mock) MockContactDeleteContactGroup(f func(ctx context.Context, request *DeleteContactGroupReq, options ...MethodOptionFunc) (*DeleteContactGroupResp, *Response, error))
MockContactDeleteContactGroup mock ContactDeleteContactGroup method
func (*Mock) MockContactDeleteContactGroupMember ¶
func (r *Mock) MockContactDeleteContactGroupMember(f func(ctx context.Context, request *DeleteContactGroupMemberReq, options ...MethodOptionFunc) (*DeleteContactGroupMemberResp, *Response, error))
MockContactDeleteContactGroupMember mock ContactDeleteContactGroupMember method
func (*Mock) MockContactDeleteContactUnit ¶
func (r *Mock) MockContactDeleteContactUnit(f func(ctx context.Context, request *DeleteContactUnitReq, options ...MethodOptionFunc) (*DeleteContactUnitResp, *Response, error))
MockContactDeleteContactUnit mock ContactDeleteContactUnit method
func (*Mock) MockContactDeleteDepartment ¶
func (r *Mock) MockContactDeleteDepartment(f func(ctx context.Context, request *DeleteDepartmentReq, options ...MethodOptionFunc) (*DeleteDepartmentResp, *Response, error))
MockContactDeleteDepartment mock ContactDeleteDepartment method
func (*Mock) MockContactDeleteEmployeeTypeEnum ¶
func (r *Mock) MockContactDeleteEmployeeTypeEnum(f func(ctx context.Context, request *DeleteEmployeeTypeEnumReq, options ...MethodOptionFunc) (*DeleteEmployeeTypeEnumResp, *Response, error))
MockContactDeleteEmployeeTypeEnum mock ContactDeleteEmployeeTypeEnum method
func (*Mock) MockContactDeleteUser ¶
func (r *Mock) MockContactDeleteUser(f func(ctx context.Context, request *DeleteUserReq, options ...MethodOptionFunc) (*DeleteUserResp, *Response, error))
MockContactDeleteUser mock ContactDeleteUser method
func (*Mock) MockContactGetContactCustomAttrList ¶
func (r *Mock) MockContactGetContactCustomAttrList(f func(ctx context.Context, request *GetContactCustomAttrListReq, options ...MethodOptionFunc) (*GetContactCustomAttrListResp, *Response, error))
MockContactGetContactCustomAttrList mock ContactGetContactCustomAttrList method
func (*Mock) MockContactGetContactGroup ¶
func (r *Mock) MockContactGetContactGroup(f func(ctx context.Context, request *GetContactGroupReq, options ...MethodOptionFunc) (*GetContactGroupResp, *Response, error))
MockContactGetContactGroup mock ContactGetContactGroup method
func (*Mock) MockContactGetContactGroupList ¶
func (r *Mock) MockContactGetContactGroupList(f func(ctx context.Context, request *GetContactGroupListReq, options ...MethodOptionFunc) (*GetContactGroupListResp, *Response, error))
MockContactGetContactGroupList mock ContactGetContactGroupList method
func (*Mock) MockContactGetContactGroupMember ¶
func (r *Mock) MockContactGetContactGroupMember(f func(ctx context.Context, request *GetContactGroupMemberReq, options ...MethodOptionFunc) (*GetContactGroupMemberResp, *Response, error))
MockContactGetContactGroupMember mock ContactGetContactGroupMember method
func (*Mock) MockContactGetContactScopeList ¶
func (r *Mock) MockContactGetContactScopeList(f func(ctx context.Context, request *GetContactScopeListReq, options ...MethodOptionFunc) (*GetContactScopeListResp, *Response, error))
MockContactGetContactScopeList mock ContactGetContactScopeList method
func (*Mock) MockContactGetContactUnit ¶
func (r *Mock) MockContactGetContactUnit(f func(ctx context.Context, request *GetContactUnitReq, options ...MethodOptionFunc) (*GetContactUnitResp, *Response, error))
MockContactGetContactUnit mock ContactGetContactUnit method
func (*Mock) MockContactGetContactUnitDepartmentList ¶
func (r *Mock) MockContactGetContactUnitDepartmentList(f func(ctx context.Context, request *GetContactUnitDepartmentListReq, options ...MethodOptionFunc) (*GetContactUnitDepartmentListResp, *Response, error))
MockContactGetContactUnitDepartmentList mock ContactGetContactUnitDepartmentList method
func (*Mock) MockContactGetContactUnitList ¶
func (r *Mock) MockContactGetContactUnitList(f func(ctx context.Context, request *GetContactUnitListReq, options ...MethodOptionFunc) (*GetContactUnitListResp, *Response, error))
MockContactGetContactUnitList mock ContactGetContactUnitList method
func (*Mock) MockContactGetDepartment ¶
func (r *Mock) MockContactGetDepartment(f func(ctx context.Context, request *GetDepartmentReq, options ...MethodOptionFunc) (*GetDepartmentResp, *Response, error))
MockContactGetDepartment mock ContactGetDepartment method
func (*Mock) MockContactGetDepartmentList ¶
func (r *Mock) MockContactGetDepartmentList(f func(ctx context.Context, request *GetDepartmentListReq, options ...MethodOptionFunc) (*GetDepartmentListResp, *Response, error))
MockContactGetDepartmentList mock ContactGetDepartmentList method
func (*Mock) MockContactGetDepartmentListOld ¶
func (r *Mock) MockContactGetDepartmentListOld(f func(ctx context.Context, request *GetDepartmentListOldReq, options ...MethodOptionFunc) (*GetDepartmentListOldResp, *Response, error))
MockContactGetDepartmentListOld mock ContactGetDepartmentListOld method
func (*Mock) MockContactGetEmployeeTypeEnumList ¶
func (r *Mock) MockContactGetEmployeeTypeEnumList(f func(ctx context.Context, request *GetEmployeeTypeEnumListReq, options ...MethodOptionFunc) (*GetEmployeeTypeEnumListResp, *Response, error))
MockContactGetEmployeeTypeEnumList mock ContactGetEmployeeTypeEnumList method
func (*Mock) MockContactGetParentDepartment ¶
func (r *Mock) MockContactGetParentDepartment(f func(ctx context.Context, request *GetParentDepartmentReq, options ...MethodOptionFunc) (*GetParentDepartmentResp, *Response, error))
MockContactGetParentDepartment mock ContactGetParentDepartment method
func (*Mock) MockContactGetUser ¶
func (r *Mock) MockContactGetUser(f func(ctx context.Context, request *GetUserReq, options ...MethodOptionFunc) (*GetUserResp, *Response, error))
MockContactGetUser mock ContactGetUser method
func (*Mock) MockContactGetUserList ¶
func (r *Mock) MockContactGetUserList(f func(ctx context.Context, request *GetUserListReq, options ...MethodOptionFunc) (*GetUserListResp, *Response, error))
MockContactGetUserList mock ContactGetUserList method
func (*Mock) MockContactGetUserListOld ¶
func (r *Mock) MockContactGetUserListOld(f func(ctx context.Context, request *GetUserListOldReq, options ...MethodOptionFunc) (*GetUserListOldResp, *Response, error))
MockContactGetUserListOld mock ContactGetUserListOld method
func (*Mock) MockContactSearchDepartment ¶
func (r *Mock) MockContactSearchDepartment(f func(ctx context.Context, request *SearchDepartmentReq, options ...MethodOptionFunc) (*SearchDepartmentResp, *Response, error))
MockContactSearchDepartment mock ContactSearchDepartment method
func (*Mock) MockContactSearchUserOld ¶
func (r *Mock) MockContactSearchUserOld(f func(ctx context.Context, request *SearchUserOldReq, options ...MethodOptionFunc) (*SearchUserOldResp, *Response, error))
MockContactSearchUserOld mock ContactSearchUserOld method
func (*Mock) MockContactUnbindContactUnitDepartment ¶
func (r *Mock) MockContactUnbindContactUnitDepartment(f func(ctx context.Context, request *UnbindContactUnitDepartmentReq, options ...MethodOptionFunc) (*UnbindContactUnitDepartmentResp, *Response, error))
MockContactUnbindContactUnitDepartment mock ContactUnbindContactUnitDepartment method
func (*Mock) MockContactUpdateContactGroup ¶
func (r *Mock) MockContactUpdateContactGroup(f func(ctx context.Context, request *UpdateContactGroupReq, options ...MethodOptionFunc) (*UpdateContactGroupResp, *Response, error))
MockContactUpdateContactGroup mock ContactUpdateContactGroup method
func (*Mock) MockContactUpdateContactUnit ¶
func (r *Mock) MockContactUpdateContactUnit(f func(ctx context.Context, request *UpdateContactUnitReq, options ...MethodOptionFunc) (*UpdateContactUnitResp, *Response, error))
MockContactUpdateContactUnit mock ContactUpdateContactUnit method
func (*Mock) MockContactUpdateDepartment ¶
func (r *Mock) MockContactUpdateDepartment(f func(ctx context.Context, request *UpdateDepartmentReq, options ...MethodOptionFunc) (*UpdateDepartmentResp, *Response, error))
MockContactUpdateDepartment mock ContactUpdateDepartment method
func (*Mock) MockContactUpdateDepartmentPatch ¶
func (r *Mock) MockContactUpdateDepartmentPatch(f func(ctx context.Context, request *UpdateDepartmentPatchReq, options ...MethodOptionFunc) (*UpdateDepartmentPatchResp, *Response, error))
MockContactUpdateDepartmentPatch mock ContactUpdateDepartmentPatch method
func (*Mock) MockContactUpdateEmployeeTypeEnumPatch ¶
func (r *Mock) MockContactUpdateEmployeeTypeEnumPatch(f func(ctx context.Context, request *UpdateEmployeeTypeEnumPatchReq, options ...MethodOptionFunc) (*UpdateEmployeeTypeEnumPatchResp, *Response, error))
MockContactUpdateEmployeeTypeEnumPatch mock ContactUpdateEmployeeTypeEnumPatch method
func (*Mock) MockContactUpdateUser ¶
func (r *Mock) MockContactUpdateUser(f func(ctx context.Context, request *UpdateUserReq, options ...MethodOptionFunc) (*UpdateUserResp, *Response, error))
MockContactUpdateUser mock ContactUpdateUser method
func (*Mock) MockContactUpdateUserPatch ¶
func (r *Mock) MockContactUpdateUserPatch(f func(ctx context.Context, request *UpdateUserPatchReq, options ...MethodOptionFunc) (*UpdateUserPatchResp, *Response, error))
MockContactUpdateUserPatch mock ContactUpdateUserPatch method
func (*Mock) MockDriveAddSheetDimensionRange ¶
func (r *Mock) MockDriveAddSheetDimensionRange(f func(ctx context.Context, request *AddSheetDimensionRangeReq, options ...MethodOptionFunc) (*AddSheetDimensionRangeResp, *Response, error))
MockDriveAddSheetDimensionRange mock DriveAddSheetDimensionRange method
func (*Mock) MockDriveAddWikiSpaceMember ¶
func (r *Mock) MockDriveAddWikiSpaceMember(f func(ctx context.Context, request *AddWikiSpaceMemberReq, options ...MethodOptionFunc) (*AddWikiSpaceMemberResp, *Response, error))
MockDriveAddWikiSpaceMember mock DriveAddWikiSpaceMember method
func (*Mock) MockDriveAppendSheetValue ¶
func (r *Mock) MockDriveAppendSheetValue(f func(ctx context.Context, request *AppendSheetValueReq, options ...MethodOptionFunc) (*AppendSheetValueResp, *Response, error))
MockDriveAppendSheetValue mock DriveAppendSheetValue method
func (*Mock) MockDriveBatchGetDriveMediaTmpDownloadURL ¶
func (r *Mock) MockDriveBatchGetDriveMediaTmpDownloadURL(f func(ctx context.Context, request *BatchGetDriveMediaTmpDownloadURLReq, options ...MethodOptionFunc) (*BatchGetDriveMediaTmpDownloadURLResp, *Response, error))
MockDriveBatchGetDriveMediaTmpDownloadURL mock DriveBatchGetDriveMediaTmpDownloadURL method
func (*Mock) MockDriveBatchGetSheetValue ¶
func (r *Mock) MockDriveBatchGetSheetValue(f func(ctx context.Context, request *BatchGetSheetValueReq, options ...MethodOptionFunc) (*BatchGetSheetValueResp, *Response, error))
MockDriveBatchGetSheetValue mock DriveBatchGetSheetValue method
func (*Mock) MockDriveBatchSetSheetStyle ¶
func (r *Mock) MockDriveBatchSetSheetStyle(f func(ctx context.Context, request *BatchSetSheetStyleReq, options ...MethodOptionFunc) (*BatchSetSheetStyleResp, *Response, error))
MockDriveBatchSetSheetStyle mock DriveBatchSetSheetStyle method
func (*Mock) MockDriveBatchSetSheetValue ¶
func (r *Mock) MockDriveBatchSetSheetValue(f func(ctx context.Context, request *BatchSetSheetValueReq, options ...MethodOptionFunc) (*BatchSetSheetValueResp, *Response, error))
MockDriveBatchSetSheetValue mock DriveBatchSetSheetValue method
func (*Mock) MockDriveBatchUpdateSheet ¶
func (r *Mock) MockDriveBatchUpdateSheet(f func(ctx context.Context, request *BatchUpdateSheetReq, options ...MethodOptionFunc) (*BatchUpdateSheetResp, *Response, error))
MockDriveBatchUpdateSheet mock DriveBatchUpdateSheet method
func (*Mock) MockDriveCheckDriveMemberPermission ¶
func (r *Mock) MockDriveCheckDriveMemberPermission(f func(ctx context.Context, request *CheckDriveMemberPermissionReq, options ...MethodOptionFunc) (*CheckDriveMemberPermissionResp, *Response, error))
MockDriveCheckDriveMemberPermission mock DriveCheckDriveMemberPermission method
func (*Mock) MockDriveCopyDriveFile ¶
func (r *Mock) MockDriveCopyDriveFile(f func(ctx context.Context, request *CopyDriveFileReq, options ...MethodOptionFunc) (*CopyDriveFileResp, *Response, error))
MockDriveCopyDriveFile mock DriveCopyDriveFile method
func (*Mock) MockDriveCreateDriveComment ¶
func (r *Mock) MockDriveCreateDriveComment(f func(ctx context.Context, request *CreateDriveCommentReq, options ...MethodOptionFunc) (*CreateDriveCommentResp, *Response, error))
MockDriveCreateDriveComment mock DriveCreateDriveComment method
func (*Mock) MockDriveCreateDriveDoc ¶
func (r *Mock) MockDriveCreateDriveDoc(f func(ctx context.Context, request *CreateDriveDocReq, options ...MethodOptionFunc) (*CreateDriveDocResp, *Response, error))
MockDriveCreateDriveDoc mock DriveCreateDriveDoc method
func (*Mock) MockDriveCreateDriveFile ¶
func (r *Mock) MockDriveCreateDriveFile(f func(ctx context.Context, request *CreateDriveFileReq, options ...MethodOptionFunc) (*CreateDriveFileResp, *Response, error))
MockDriveCreateDriveFile mock DriveCreateDriveFile method
func (*Mock) MockDriveCreateDriveFolder ¶
func (r *Mock) MockDriveCreateDriveFolder(f func(ctx context.Context, request *CreateDriveFolderReq, options ...MethodOptionFunc) (*CreateDriveFolderResp, *Response, error))
MockDriveCreateDriveFolder mock DriveCreateDriveFolder method
func (*Mock) MockDriveCreateDriveImportTask ¶
func (r *Mock) MockDriveCreateDriveImportTask(f func(ctx context.Context, request *CreateDriveImportTaskReq, options ...MethodOptionFunc) (*CreateDriveImportTaskResp, *Response, error))
MockDriveCreateDriveImportTask mock DriveCreateDriveImportTask method
func (*Mock) MockDriveCreateDriveMemberPermission ¶
func (r *Mock) MockDriveCreateDriveMemberPermission(f func(ctx context.Context, request *CreateDriveMemberPermissionReq, options ...MethodOptionFunc) (*CreateDriveMemberPermissionResp, *Response, error))
MockDriveCreateDriveMemberPermission mock DriveCreateDriveMemberPermission method
func (*Mock) MockDriveCreateDriveMemberPermissionOld ¶
func (r *Mock) MockDriveCreateDriveMemberPermissionOld(f func(ctx context.Context, request *CreateDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*CreateDriveMemberPermissionOldResp, *Response, error))
MockDriveCreateDriveMemberPermissionOld mock DriveCreateDriveMemberPermissionOld method
func (*Mock) MockDriveCreateSheet ¶
func (r *Mock) MockDriveCreateSheet(f func(ctx context.Context, request *CreateSheetReq, options ...MethodOptionFunc) (*CreateSheetResp, *Response, error))
MockDriveCreateSheet mock DriveCreateSheet method
func (*Mock) MockDriveCreateSheetConditionFormat ¶
func (r *Mock) MockDriveCreateSheetConditionFormat(f func(ctx context.Context, request *CreateSheetConditionFormatReq, options ...MethodOptionFunc) (*CreateSheetConditionFormatResp, *Response, error))
MockDriveCreateSheetConditionFormat mock DriveCreateSheetConditionFormat method
func (*Mock) MockDriveCreateSheetDataValidationDropdown ¶
func (r *Mock) MockDriveCreateSheetDataValidationDropdown(f func(ctx context.Context, request *CreateSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*CreateSheetDataValidationDropdownResp, *Response, error))
MockDriveCreateSheetDataValidationDropdown mock DriveCreateSheetDataValidationDropdown method
func (*Mock) MockDriveCreateSheetFilter ¶
func (r *Mock) MockDriveCreateSheetFilter(f func(ctx context.Context, request *CreateSheetFilterReq, options ...MethodOptionFunc) (*CreateSheetFilterResp, *Response, error))
MockDriveCreateSheetFilter mock DriveCreateSheetFilter method
func (*Mock) MockDriveCreateSheetFilterView ¶
func (r *Mock) MockDriveCreateSheetFilterView(f func(ctx context.Context, request *CreateSheetFilterViewReq, options ...MethodOptionFunc) (*CreateSheetFilterViewResp, *Response, error))
MockDriveCreateSheetFilterView mock DriveCreateSheetFilterView method
func (*Mock) MockDriveCreateSheetFilterViewCondition ¶
func (r *Mock) MockDriveCreateSheetFilterViewCondition(f func(ctx context.Context, request *CreateSheetFilterViewConditionReq, options ...MethodOptionFunc) (*CreateSheetFilterViewConditionResp, *Response, error))
MockDriveCreateSheetFilterViewCondition mock DriveCreateSheetFilterViewCondition method
func (*Mock) MockDriveCreateSheetFloatImage ¶
func (r *Mock) MockDriveCreateSheetFloatImage(f func(ctx context.Context, request *CreateSheetFloatImageReq, options ...MethodOptionFunc) (*CreateSheetFloatImageResp, *Response, error))
MockDriveCreateSheetFloatImage mock DriveCreateSheetFloatImage method
func (*Mock) MockDriveCreateSheetProtectedDimension ¶
func (r *Mock) MockDriveCreateSheetProtectedDimension(f func(ctx context.Context, request *CreateSheetProtectedDimensionReq, options ...MethodOptionFunc) (*CreateSheetProtectedDimensionResp, *Response, error))
MockDriveCreateSheetProtectedDimension mock DriveCreateSheetProtectedDimension method
func (*Mock) MockDriveCreateWikiNode ¶
func (r *Mock) MockDriveCreateWikiNode(f func(ctx context.Context, request *CreateWikiNodeReq, options ...MethodOptionFunc) (*CreateWikiNodeResp, *Response, error))
MockDriveCreateWikiNode mock DriveCreateWikiNode method
func (*Mock) MockDriveCreateWikiSpace ¶
func (r *Mock) MockDriveCreateWikiSpace(f func(ctx context.Context, request *CreateWikiSpaceReq, options ...MethodOptionFunc) (*CreateWikiSpaceResp, *Response, error))
MockDriveCreateWikiSpace mock DriveCreateWikiSpace method
func (*Mock) MockDriveDeleteDriveComment ¶
func (r *Mock) MockDriveDeleteDriveComment(f func(ctx context.Context, request *DeleteDriveCommentReq, options ...MethodOptionFunc) (*DeleteDriveCommentResp, *Response, error))
MockDriveDeleteDriveComment mock DriveDeleteDriveComment method
func (*Mock) MockDriveDeleteDriveDocFile ¶
func (r *Mock) MockDriveDeleteDriveDocFile(f func(ctx context.Context, request *DeleteDriveDocFileReq, options ...MethodOptionFunc) (*DeleteDriveDocFileResp, *Response, error))
MockDriveDeleteDriveDocFile mock DriveDeleteDriveDocFile method
func (*Mock) MockDriveDeleteDriveFile ¶
func (r *Mock) MockDriveDeleteDriveFile(f func(ctx context.Context, request *DeleteDriveFileReq, options ...MethodOptionFunc) (*DeleteDriveFileResp, *Response, error))
MockDriveDeleteDriveFile mock DriveDeleteDriveFile method
func (*Mock) MockDriveDeleteDriveMemberPermission ¶
func (r *Mock) MockDriveDeleteDriveMemberPermission(f func(ctx context.Context, request *DeleteDriveMemberPermissionReq, options ...MethodOptionFunc) (*DeleteDriveMemberPermissionResp, *Response, error))
MockDriveDeleteDriveMemberPermission mock DriveDeleteDriveMemberPermission method
func (*Mock) MockDriveDeleteDriveMemberPermissionOld ¶
func (r *Mock) MockDriveDeleteDriveMemberPermissionOld(f func(ctx context.Context, request *DeleteDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*DeleteDriveMemberPermissionOldResp, *Response, error))
MockDriveDeleteDriveMemberPermissionOld mock DriveDeleteDriveMemberPermissionOld method
func (*Mock) MockDriveDeleteDriveSheetFile ¶
func (r *Mock) MockDriveDeleteDriveSheetFile(f func(ctx context.Context, request *DeleteDriveSheetFileReq, options ...MethodOptionFunc) (*DeleteDriveSheetFileResp, *Response, error))
MockDriveDeleteDriveSheetFile mock DriveDeleteDriveSheetFile method
func (*Mock) MockDriveDeleteSheetConditionFormat ¶
func (r *Mock) MockDriveDeleteSheetConditionFormat(f func(ctx context.Context, request *DeleteSheetConditionFormatReq, options ...MethodOptionFunc) (*DeleteSheetConditionFormatResp, *Response, error))
MockDriveDeleteSheetConditionFormat mock DriveDeleteSheetConditionFormat method
func (*Mock) MockDriveDeleteSheetDataValidationDropdown ¶
func (r *Mock) MockDriveDeleteSheetDataValidationDropdown(f func(ctx context.Context, request *DeleteSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*DeleteSheetDataValidationDropdownResp, *Response, error))
MockDriveDeleteSheetDataValidationDropdown mock DriveDeleteSheetDataValidationDropdown method
func (*Mock) MockDriveDeleteSheetDimensionRange ¶
func (r *Mock) MockDriveDeleteSheetDimensionRange(f func(ctx context.Context, request *DeleteSheetDimensionRangeReq, options ...MethodOptionFunc) (*DeleteSheetDimensionRangeResp, *Response, error))
MockDriveDeleteSheetDimensionRange mock DriveDeleteSheetDimensionRange method
func (*Mock) MockDriveDeleteSheetFilter ¶
func (r *Mock) MockDriveDeleteSheetFilter(f func(ctx context.Context, request *DeleteSheetFilterReq, options ...MethodOptionFunc) (*DeleteSheetFilterResp, *Response, error))
MockDriveDeleteSheetFilter mock DriveDeleteSheetFilter method
func (*Mock) MockDriveDeleteSheetFilterView ¶
func (r *Mock) MockDriveDeleteSheetFilterView(f func(ctx context.Context, request *DeleteSheetFilterViewReq, options ...MethodOptionFunc) (*DeleteSheetFilterViewResp, *Response, error))
MockDriveDeleteSheetFilterView mock DriveDeleteSheetFilterView method
func (*Mock) MockDriveDeleteSheetFilterViewCondition ¶
func (r *Mock) MockDriveDeleteSheetFilterViewCondition(f func(ctx context.Context, request *DeleteSheetFilterViewConditionReq, options ...MethodOptionFunc) (*DeleteSheetFilterViewConditionResp, *Response, error))
MockDriveDeleteSheetFilterViewCondition mock DriveDeleteSheetFilterViewCondition method
func (*Mock) MockDriveDeleteSheetFloatImage ¶
func (r *Mock) MockDriveDeleteSheetFloatImage(f func(ctx context.Context, request *DeleteSheetFloatImageReq, options ...MethodOptionFunc) (*DeleteSheetFloatImageResp, *Response, error))
MockDriveDeleteSheetFloatImage mock DriveDeleteSheetFloatImage method
func (*Mock) MockDriveDeleteSheetProtectedDimension ¶
func (r *Mock) MockDriveDeleteSheetProtectedDimension(f func(ctx context.Context, request *DeleteSheetProtectedDimensionReq, options ...MethodOptionFunc) (*DeleteSheetProtectedDimensionResp, *Response, error))
MockDriveDeleteSheetProtectedDimension mock DriveDeleteSheetProtectedDimension method
func (*Mock) MockDriveDeleteWikiSpaceMember ¶
func (r *Mock) MockDriveDeleteWikiSpaceMember(f func(ctx context.Context, request *DeleteWikiSpaceMemberReq, options ...MethodOptionFunc) (*DeleteWikiSpaceMemberResp, *Response, error))
MockDriveDeleteWikiSpaceMember mock DriveDeleteWikiSpaceMember method
func (*Mock) MockDriveDownloadDriveFile ¶
func (r *Mock) MockDriveDownloadDriveFile(f func(ctx context.Context, request *DownloadDriveFileReq, options ...MethodOptionFunc) (*DownloadDriveFileResp, *Response, error))
MockDriveDownloadDriveFile mock DriveDownloadDriveFile method
func (*Mock) MockDriveDownloadDriveMedia ¶
func (r *Mock) MockDriveDownloadDriveMedia(f func(ctx context.Context, request *DownloadDriveMediaReq, options ...MethodOptionFunc) (*DownloadDriveMediaResp, *Response, error))
MockDriveDownloadDriveMedia mock DriveDownloadDriveMedia method
func (*Mock) MockDriveFindSheet ¶
func (r *Mock) MockDriveFindSheet(f func(ctx context.Context, request *FindSheetReq, options ...MethodOptionFunc) (*FindSheetResp, *Response, error))
MockDriveFindSheet mock DriveFindSheet method
func (*Mock) MockDriveFinishUploadDriveFile ¶
func (r *Mock) MockDriveFinishUploadDriveFile(f func(ctx context.Context, request *FinishUploadDriveFileReq, options ...MethodOptionFunc) (*FinishUploadDriveFileResp, *Response, error))
MockDriveFinishUploadDriveFile mock DriveFinishUploadDriveFile method
func (*Mock) MockDriveFinishUploadDriveMedia ¶
func (r *Mock) MockDriveFinishUploadDriveMedia(f func(ctx context.Context, request *FinishUploadDriveMediaReq, options ...MethodOptionFunc) (*FinishUploadDriveMediaResp, *Response, error))
MockDriveFinishUploadDriveMedia mock DriveFinishUploadDriveMedia method
func (*Mock) MockDriveGetDriveComment ¶
func (r *Mock) MockDriveGetDriveComment(f func(ctx context.Context, request *GetDriveCommentReq, options ...MethodOptionFunc) (*GetDriveCommentResp, *Response, error))
MockDriveGetDriveComment mock DriveGetDriveComment method
func (*Mock) MockDriveGetDriveCommentList ¶
func (r *Mock) MockDriveGetDriveCommentList(f func(ctx context.Context, request *GetDriveCommentListReq, options ...MethodOptionFunc) (*GetDriveCommentListResp, *Response, error))
MockDriveGetDriveCommentList mock DriveGetDriveCommentList method
func (*Mock) MockDriveGetDriveDocContent ¶
func (r *Mock) MockDriveGetDriveDocContent(f func(ctx context.Context, request *GetDriveDocContentReq, options ...MethodOptionFunc) (*GetDriveDocContentResp, *Response, error))
MockDriveGetDriveDocContent mock DriveGetDriveDocContent method
func (*Mock) MockDriveGetDriveDocMeta ¶
func (r *Mock) MockDriveGetDriveDocMeta(f func(ctx context.Context, request *GetDriveDocMetaReq, options ...MethodOptionFunc) (*GetDriveDocMetaResp, *Response, error))
MockDriveGetDriveDocMeta mock DriveGetDriveDocMeta method
func (*Mock) MockDriveGetDriveDocRawContent ¶
func (r *Mock) MockDriveGetDriveDocRawContent(f func(ctx context.Context, request *GetDriveDocRawContentReq, options ...MethodOptionFunc) (*GetDriveDocRawContentResp, *Response, error))
MockDriveGetDriveDocRawContent mock DriveGetDriveDocRawContent method
func (*Mock) MockDriveGetDriveFileMeta ¶
func (r *Mock) MockDriveGetDriveFileMeta(f func(ctx context.Context, request *GetDriveFileMetaReq, options ...MethodOptionFunc) (*GetDriveFileMetaResp, *Response, error))
MockDriveGetDriveFileMeta mock DriveGetDriveFileMeta method
func (*Mock) MockDriveGetDriveFileStatistics ¶
func (r *Mock) MockDriveGetDriveFileStatistics(f func(ctx context.Context, request *GetDriveFileStatisticsReq, options ...MethodOptionFunc) (*GetDriveFileStatisticsResp, *Response, error))
MockDriveGetDriveFileStatistics mock DriveGetDriveFileStatistics method
func (*Mock) MockDriveGetDriveFolderChildren ¶
func (r *Mock) MockDriveGetDriveFolderChildren(f func(ctx context.Context, request *GetDriveFolderChildrenReq, options ...MethodOptionFunc) (*GetDriveFolderChildrenResp, *Response, error))
MockDriveGetDriveFolderChildren mock DriveGetDriveFolderChildren method
func (*Mock) MockDriveGetDriveFolderMeta ¶
func (r *Mock) MockDriveGetDriveFolderMeta(f func(ctx context.Context, request *GetDriveFolderMetaReq, options ...MethodOptionFunc) (*GetDriveFolderMetaResp, *Response, error))
MockDriveGetDriveFolderMeta mock DriveGetDriveFolderMeta method
func (*Mock) MockDriveGetDriveImportTask ¶
func (r *Mock) MockDriveGetDriveImportTask(f func(ctx context.Context, request *GetDriveImportTaskReq, options ...MethodOptionFunc) (*GetDriveImportTaskResp, *Response, error))
MockDriveGetDriveImportTask mock DriveGetDriveImportTask method
func (*Mock) MockDriveGetDriveMemberPermissionList ¶
func (r *Mock) MockDriveGetDriveMemberPermissionList(f func(ctx context.Context, request *GetDriveMemberPermissionListReq, options ...MethodOptionFunc) (*GetDriveMemberPermissionListResp, *Response, error))
MockDriveGetDriveMemberPermissionList mock DriveGetDriveMemberPermissionList method
func (*Mock) MockDriveGetDrivePublicPermissionV2 ¶
func (r *Mock) MockDriveGetDrivePublicPermissionV2(f func(ctx context.Context, request *GetDrivePublicPermissionV2Req, options ...MethodOptionFunc) (*GetDrivePublicPermissionV2Resp, *Response, error))
MockDriveGetDrivePublicPermissionV2 mock DriveGetDrivePublicPermissionV2 method
func (*Mock) MockDriveGetDriveRootFolderMeta ¶
func (r *Mock) MockDriveGetDriveRootFolderMeta(f func(ctx context.Context, request *GetDriveRootFolderMetaReq, options ...MethodOptionFunc) (*GetDriveRootFolderMetaResp, *Response, error))
MockDriveGetDriveRootFolderMeta mock DriveGetDriveRootFolderMeta method
func (*Mock) MockDriveGetSheetConditionFormat ¶
func (r *Mock) MockDriveGetSheetConditionFormat(f func(ctx context.Context, request *GetSheetConditionFormatReq, options ...MethodOptionFunc) (*GetSheetConditionFormatResp, *Response, error))
MockDriveGetSheetConditionFormat mock DriveGetSheetConditionFormat method
func (*Mock) MockDriveGetSheetDataValidationDropdown ¶
func (r *Mock) MockDriveGetSheetDataValidationDropdown(f func(ctx context.Context, request *GetSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*GetSheetDataValidationDropdownResp, *Response, error))
MockDriveGetSheetDataValidationDropdown mock DriveGetSheetDataValidationDropdown method
func (*Mock) MockDriveGetSheetFilter ¶
func (r *Mock) MockDriveGetSheetFilter(f func(ctx context.Context, request *GetSheetFilterReq, options ...MethodOptionFunc) (*GetSheetFilterResp, *Response, error))
MockDriveGetSheetFilter mock DriveGetSheetFilter method
func (*Mock) MockDriveGetSheetFilterView ¶
func (r *Mock) MockDriveGetSheetFilterView(f func(ctx context.Context, request *GetSheetFilterViewReq, options ...MethodOptionFunc) (*GetSheetFilterViewResp, *Response, error))
MockDriveGetSheetFilterView mock DriveGetSheetFilterView method
func (*Mock) MockDriveGetSheetFilterViewCondition ¶
func (r *Mock) MockDriveGetSheetFilterViewCondition(f func(ctx context.Context, request *GetSheetFilterViewConditionReq, options ...MethodOptionFunc) (*GetSheetFilterViewConditionResp, *Response, error))
MockDriveGetSheetFilterViewCondition mock DriveGetSheetFilterViewCondition method
func (*Mock) MockDriveGetSheetFloatImage ¶
func (r *Mock) MockDriveGetSheetFloatImage(f func(ctx context.Context, request *GetSheetFloatImageReq, options ...MethodOptionFunc) (*GetSheetFloatImageResp, *Response, error))
MockDriveGetSheetFloatImage mock DriveGetSheetFloatImage method
func (*Mock) MockDriveGetSheetMeta ¶
func (r *Mock) MockDriveGetSheetMeta(f func(ctx context.Context, request *GetSheetMetaReq, options ...MethodOptionFunc) (*GetSheetMetaResp, *Response, error))
MockDriveGetSheetMeta mock DriveGetSheetMeta method
func (*Mock) MockDriveGetSheetProtectedDimension ¶
func (r *Mock) MockDriveGetSheetProtectedDimension(f func(ctx context.Context, request *GetSheetProtectedDimensionReq, options ...MethodOptionFunc) (*GetSheetProtectedDimensionResp, *Response, error))
MockDriveGetSheetProtectedDimension mock DriveGetSheetProtectedDimension method
func (*Mock) MockDriveGetSheetValue ¶
func (r *Mock) MockDriveGetSheetValue(f func(ctx context.Context, request *GetSheetValueReq, options ...MethodOptionFunc) (*GetSheetValueResp, *Response, error))
MockDriveGetSheetValue mock DriveGetSheetValue method
func (*Mock) MockDriveGetWikiNode ¶
func (r *Mock) MockDriveGetWikiNode(f func(ctx context.Context, request *GetWikiNodeReq, options ...MethodOptionFunc) (*GetWikiNodeResp, *Response, error))
MockDriveGetWikiNode mock DriveGetWikiNode method
func (*Mock) MockDriveGetWikiNodeList ¶
func (r *Mock) MockDriveGetWikiNodeList(f func(ctx context.Context, request *GetWikiNodeListReq, options ...MethodOptionFunc) (*GetWikiNodeListResp, *Response, error))
MockDriveGetWikiNodeList mock DriveGetWikiNodeList method
func (*Mock) MockDriveGetWikiSpace ¶
func (r *Mock) MockDriveGetWikiSpace(f func(ctx context.Context, request *GetWikiSpaceReq, options ...MethodOptionFunc) (*GetWikiSpaceResp, *Response, error))
MockDriveGetWikiSpace mock DriveGetWikiSpace method
func (*Mock) MockDriveGetWikiSpaceList ¶
func (r *Mock) MockDriveGetWikiSpaceList(f func(ctx context.Context, request *GetWikiSpaceListReq, options ...MethodOptionFunc) (*GetWikiSpaceListResp, *Response, error))
MockDriveGetWikiSpaceList mock DriveGetWikiSpaceList method
func (*Mock) MockDriveGetWikiTask ¶
func (r *Mock) MockDriveGetWikiTask(f func(ctx context.Context, request *GetWikiTaskReq, options ...MethodOptionFunc) (*GetWikiTaskResp, *Response, error))
MockDriveGetWikiTask mock DriveGetWikiTask method
func (*Mock) MockDriveImportSheet ¶
func (r *Mock) MockDriveImportSheet(f func(ctx context.Context, request *ImportSheetReq, options ...MethodOptionFunc) (*ImportSheetResp, *Response, error))
MockDriveImportSheet mock DriveImportSheet method
func (*Mock) MockDriveInsertSheetDimensionRange ¶
func (r *Mock) MockDriveInsertSheetDimensionRange(f func(ctx context.Context, request *InsertSheetDimensionRangeReq, options ...MethodOptionFunc) (*InsertSheetDimensionRangeResp, *Response, error))
MockDriveInsertSheetDimensionRange mock DriveInsertSheetDimensionRange method
func (*Mock) MockDriveMergeSheetCell ¶
func (r *Mock) MockDriveMergeSheetCell(f func(ctx context.Context, request *MergeSheetCellReq, options ...MethodOptionFunc) (*MergeSheetCellResp, *Response, error))
MockDriveMergeSheetCell mock DriveMergeSheetCell method
func (*Mock) MockDriveMoveDocsToWiki ¶
func (r *Mock) MockDriveMoveDocsToWiki(f func(ctx context.Context, request *MoveDocsToWikiReq, options ...MethodOptionFunc) (*MoveDocsToWikiResp, *Response, error))
MockDriveMoveDocsToWiki mock DriveMoveDocsToWiki method
func (*Mock) MockDriveMoveSheetDimension ¶
func (r *Mock) MockDriveMoveSheetDimension(f func(ctx context.Context, request *MoveSheetDimensionReq, options ...MethodOptionFunc) (*MoveSheetDimensionResp, *Response, error))
MockDriveMoveSheetDimension mock DriveMoveSheetDimension method
func (*Mock) MockDriveMoveWikiNode ¶
func (r *Mock) MockDriveMoveWikiNode(f func(ctx context.Context, request *MoveWikiNodeReq, options ...MethodOptionFunc) (*MoveWikiNodeResp, *Response, error))
MockDriveMoveWikiNode mock DriveMoveWikiNode method
func (*Mock) MockDrivePartUploadDriveFile ¶
func (r *Mock) MockDrivePartUploadDriveFile(f func(ctx context.Context, request *PartUploadDriveFileReq, options ...MethodOptionFunc) (*PartUploadDriveFileResp, *Response, error))
MockDrivePartUploadDriveFile mock DrivePartUploadDriveFile method
func (*Mock) MockDrivePartUploadDriveMedia ¶
func (r *Mock) MockDrivePartUploadDriveMedia(f func(ctx context.Context, request *PartUploadDriveMediaReq, options ...MethodOptionFunc) (*PartUploadDriveMediaResp, *Response, error))
MockDrivePartUploadDriveMedia mock DrivePartUploadDriveMedia method
func (*Mock) MockDrivePrepareUploadDriveFile ¶
func (r *Mock) MockDrivePrepareUploadDriveFile(f func(ctx context.Context, request *PrepareUploadDriveFileReq, options ...MethodOptionFunc) (*PrepareUploadDriveFileResp, *Response, error))
MockDrivePrepareUploadDriveFile mock DrivePrepareUploadDriveFile method
func (*Mock) MockDrivePrepareUploadDriveMedia ¶
func (r *Mock) MockDrivePrepareUploadDriveMedia(f func(ctx context.Context, request *PrepareUploadDriveMediaReq, options ...MethodOptionFunc) (*PrepareUploadDriveMediaResp, *Response, error))
MockDrivePrepareUploadDriveMedia mock DrivePrepareUploadDriveMedia method
func (*Mock) MockDrivePrependSheetValue ¶
func (r *Mock) MockDrivePrependSheetValue(f func(ctx context.Context, request *PrependSheetValueReq, options ...MethodOptionFunc) (*PrependSheetValueResp, *Response, error))
MockDrivePrependSheetValue mock DrivePrependSheetValue method
func (*Mock) MockDriveQuerySheetFilterView ¶
func (r *Mock) MockDriveQuerySheetFilterView(f func(ctx context.Context, request *QuerySheetFilterViewReq, options ...MethodOptionFunc) (*QuerySheetFilterViewResp, *Response, error))
MockDriveQuerySheetFilterView mock DriveQuerySheetFilterView method
func (*Mock) MockDriveQuerySheetFilterViewCondition ¶
func (r *Mock) MockDriveQuerySheetFilterViewCondition(f func(ctx context.Context, request *QuerySheetFilterViewConditionReq, options ...MethodOptionFunc) (*QuerySheetFilterViewConditionResp, *Response, error))
MockDriveQuerySheetFilterViewCondition mock DriveQuerySheetFilterViewCondition method
func (*Mock) MockDriveQuerySheetFloatImage ¶
func (r *Mock) MockDriveQuerySheetFloatImage(f func(ctx context.Context, request *QuerySheetFloatImageReq, options ...MethodOptionFunc) (*QuerySheetFloatImageResp, *Response, error))
MockDriveQuerySheetFloatImage mock DriveQuerySheetFloatImage method
func (*Mock) MockDriveReplaceSheet ¶
func (r *Mock) MockDriveReplaceSheet(f func(ctx context.Context, request *ReplaceSheetReq, options ...MethodOptionFunc) (*ReplaceSheetResp, *Response, error))
MockDriveReplaceSheet mock DriveReplaceSheet method
func (*Mock) MockDriveSearchDriveFile ¶
func (r *Mock) MockDriveSearchDriveFile(f func(ctx context.Context, request *SearchDriveFileReq, options ...MethodOptionFunc) (*SearchDriveFileResp, *Response, error))
MockDriveSearchDriveFile mock DriveSearchDriveFile method
func (*Mock) MockDriveSetSheetStyle ¶
func (r *Mock) MockDriveSetSheetStyle(f func(ctx context.Context, request *SetSheetStyleReq, options ...MethodOptionFunc) (*SetSheetStyleResp, *Response, error))
MockDriveSetSheetStyle mock DriveSetSheetStyle method
func (*Mock) MockDriveSetSheetValue ¶
func (r *Mock) MockDriveSetSheetValue(f func(ctx context.Context, request *SetSheetValueReq, options ...MethodOptionFunc) (*SetSheetValueResp, *Response, error))
MockDriveSetSheetValue mock DriveSetSheetValue method
func (*Mock) MockDriveSetSheetValueImage ¶
func (r *Mock) MockDriveSetSheetValueImage(f func(ctx context.Context, request *SetSheetValueImageReq, options ...MethodOptionFunc) (*SetSheetValueImageResp, *Response, error))
MockDriveSetSheetValueImage mock DriveSetSheetValueImage method
func (*Mock) MockDriveTransferDriveMemberPermission ¶
func (r *Mock) MockDriveTransferDriveMemberPermission(f func(ctx context.Context, request *TransferDriveMemberPermissionReq, options ...MethodOptionFunc) (*TransferDriveMemberPermissionResp, *Response, error))
MockDriveTransferDriveMemberPermission mock DriveTransferDriveMemberPermission method
func (*Mock) MockDriveUnmergeSheetCell ¶
func (r *Mock) MockDriveUnmergeSheetCell(f func(ctx context.Context, request *UnmergeSheetCellReq, options ...MethodOptionFunc) (*UnmergeSheetCellResp, *Response, error))
MockDriveUnmergeSheetCell mock DriveUnmergeSheetCell method
func (*Mock) MockDriveUpdateDriveComment ¶
func (r *Mock) MockDriveUpdateDriveComment(f func(ctx context.Context, request *UpdateDriveCommentReq, options ...MethodOptionFunc) (*UpdateDriveCommentResp, *Response, error))
MockDriveUpdateDriveComment mock DriveUpdateDriveComment method
func (*Mock) MockDriveUpdateDriveCommentPatch ¶
func (r *Mock) MockDriveUpdateDriveCommentPatch(f func(ctx context.Context, request *UpdateDriveCommentPatchReq, options ...MethodOptionFunc) (*UpdateDriveCommentPatchResp, *Response, error))
MockDriveUpdateDriveCommentPatch mock DriveUpdateDriveCommentPatch method
func (*Mock) MockDriveUpdateDriveMemberPermission ¶
func (r *Mock) MockDriveUpdateDriveMemberPermission(f func(ctx context.Context, request *UpdateDriveMemberPermissionReq, options ...MethodOptionFunc) (*UpdateDriveMemberPermissionResp, *Response, error))
MockDriveUpdateDriveMemberPermission mock DriveUpdateDriveMemberPermission method
func (*Mock) MockDriveUpdateDriveMemberPermissionOld ¶
func (r *Mock) MockDriveUpdateDriveMemberPermissionOld(f func(ctx context.Context, request *UpdateDriveMemberPermissionOldReq, options ...MethodOptionFunc) (*UpdateDriveMemberPermissionOldResp, *Response, error))
MockDriveUpdateDriveMemberPermissionOld mock DriveUpdateDriveMemberPermissionOld method
func (*Mock) MockDriveUpdateDrivePublicPermission ¶
func (r *Mock) MockDriveUpdateDrivePublicPermission(f func(ctx context.Context, request *UpdateDrivePublicPermissionReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionResp, *Response, error))
MockDriveUpdateDrivePublicPermission mock DriveUpdateDrivePublicPermission method
func (*Mock) MockDriveUpdateDrivePublicPermissionV1Old ¶
func (r *Mock) MockDriveUpdateDrivePublicPermissionV1Old(f func(ctx context.Context, request *UpdateDrivePublicPermissionV1OldReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionV1OldResp, *Response, error))
MockDriveUpdateDrivePublicPermissionV1Old mock DriveUpdateDrivePublicPermissionV1Old method
func (*Mock) MockDriveUpdateDrivePublicPermissionV2Old ¶
func (r *Mock) MockDriveUpdateDrivePublicPermissionV2Old(f func(ctx context.Context, request *UpdateDrivePublicPermissionV2OldReq, options ...MethodOptionFunc) (*UpdateDrivePublicPermissionV2OldResp, *Response, error))
MockDriveUpdateDrivePublicPermissionV2Old mock DriveUpdateDrivePublicPermissionV2Old method
func (*Mock) MockDriveUpdateSheetConditionFormat ¶
func (r *Mock) MockDriveUpdateSheetConditionFormat(f func(ctx context.Context, request *UpdateSheetConditionFormatReq, options ...MethodOptionFunc) (*UpdateSheetConditionFormatResp, *Response, error))
MockDriveUpdateSheetConditionFormat mock DriveUpdateSheetConditionFormat method
func (*Mock) MockDriveUpdateSheetDataValidationDropdown ¶
func (r *Mock) MockDriveUpdateSheetDataValidationDropdown(f func(ctx context.Context, request *UpdateSheetDataValidationDropdownReq, options ...MethodOptionFunc) (*UpdateSheetDataValidationDropdownResp, *Response, error))
MockDriveUpdateSheetDataValidationDropdown mock DriveUpdateSheetDataValidationDropdown method
func (*Mock) MockDriveUpdateSheetDimensionRange ¶
func (r *Mock) MockDriveUpdateSheetDimensionRange(f func(ctx context.Context, request *UpdateSheetDimensionRangeReq, options ...MethodOptionFunc) (*UpdateSheetDimensionRangeResp, *Response, error))
MockDriveUpdateSheetDimensionRange mock DriveUpdateSheetDimensionRange method
func (*Mock) MockDriveUpdateSheetFilter ¶
func (r *Mock) MockDriveUpdateSheetFilter(f func(ctx context.Context, request *UpdateSheetFilterReq, options ...MethodOptionFunc) (*UpdateSheetFilterResp, *Response, error))
MockDriveUpdateSheetFilter mock DriveUpdateSheetFilter method
func (*Mock) MockDriveUpdateSheetFilterView ¶
func (r *Mock) MockDriveUpdateSheetFilterView(f func(ctx context.Context, request *UpdateSheetFilterViewReq, options ...MethodOptionFunc) (*UpdateSheetFilterViewResp, *Response, error))
MockDriveUpdateSheetFilterView mock DriveUpdateSheetFilterView method
func (*Mock) MockDriveUpdateSheetFilterViewCondition ¶
func (r *Mock) MockDriveUpdateSheetFilterViewCondition(f func(ctx context.Context, request *UpdateSheetFilterViewConditionReq, options ...MethodOptionFunc) (*UpdateSheetFilterViewConditionResp, *Response, error))
MockDriveUpdateSheetFilterViewCondition mock DriveUpdateSheetFilterViewCondition method
func (*Mock) MockDriveUpdateSheetFloatImage ¶
func (r *Mock) MockDriveUpdateSheetFloatImage(f func(ctx context.Context, request *UpdateSheetFloatImageReq, options ...MethodOptionFunc) (*UpdateSheetFloatImageResp, *Response, error))
MockDriveUpdateSheetFloatImage mock DriveUpdateSheetFloatImage method
func (*Mock) MockDriveUpdateSheetProperty ¶
func (r *Mock) MockDriveUpdateSheetProperty(f func(ctx context.Context, request *UpdateSheetPropertyReq, options ...MethodOptionFunc) (*UpdateSheetPropertyResp, *Response, error))
MockDriveUpdateSheetProperty mock DriveUpdateSheetProperty method
func (*Mock) MockDriveUpdateSheetProtectedDimension ¶
func (r *Mock) MockDriveUpdateSheetProtectedDimension(f func(ctx context.Context, request *UpdateSheetProtectedDimensionReq, options ...MethodOptionFunc) (*UpdateSheetProtectedDimensionResp, *Response, error))
MockDriveUpdateSheetProtectedDimension mock DriveUpdateSheetProtectedDimension method
func (*Mock) MockDriveUpdateWikiSpaceSetting ¶
func (r *Mock) MockDriveUpdateWikiSpaceSetting(f func(ctx context.Context, request *UpdateWikiSpaceSettingReq, options ...MethodOptionFunc) (*UpdateWikiSpaceSettingResp, *Response, error))
MockDriveUpdateWikiSpaceSetting mock DriveUpdateWikiSpaceSetting method
func (*Mock) MockDriveUploadDriveFile ¶
func (r *Mock) MockDriveUploadDriveFile(f func(ctx context.Context, request *UploadDriveFileReq, options ...MethodOptionFunc) (*UploadDriveFileResp, *Response, error))
MockDriveUploadDriveFile mock DriveUploadDriveFile method
func (*Mock) MockDriveUploadDriveMedia ¶
func (r *Mock) MockDriveUploadDriveMedia(f func(ctx context.Context, request *UploadDriveMediaReq, options ...MethodOptionFunc) (*UploadDriveMediaResp, *Response, error))
MockDriveUploadDriveMedia mock DriveUploadDriveMedia method
func (*Mock) MockEHRDownloadEHRAttachments ¶
func (r *Mock) MockEHRDownloadEHRAttachments(f func(ctx context.Context, request *DownloadEHRAttachmentsReq, options ...MethodOptionFunc) (*DownloadEHRAttachmentsResp, *Response, error))
MockEHRDownloadEHRAttachments mock EHRDownloadEHRAttachments method
func (*Mock) MockEHRGetEHREmployeeList ¶
func (r *Mock) MockEHRGetEHREmployeeList(f func(ctx context.Context, request *GetEHREmployeeListReq, options ...MethodOptionFunc) (*GetEHREmployeeListResp, *Response, error))
MockEHRGetEHREmployeeList mock EHRGetEHREmployeeList method
func (*Mock) MockEcosystemGetEcosystemBindAwemeUser ¶
func (r *Mock) MockEcosystemGetEcosystemBindAwemeUser(f func(ctx context.Context, request *GetEcosystemBindAwemeUserReq, options ...MethodOptionFunc) (*GetEcosystemBindAwemeUserResp, *Response, error))
MockEcosystemGetEcosystemBindAwemeUser mock EcosystemGetEcosystemBindAwemeUser method
func (*Mock) MockFileDownloadFile ¶
func (r *Mock) MockFileDownloadFile(f func(ctx context.Context, request *DownloadFileReq, options ...MethodOptionFunc) (*DownloadFileResp, *Response, error))
MockFileDownloadFile mock FileDownloadFile method
func (*Mock) MockFileDownloadImage ¶
func (r *Mock) MockFileDownloadImage(f func(ctx context.Context, request *DownloadImageReq, options ...MethodOptionFunc) (*DownloadImageResp, *Response, error))
MockFileDownloadImage mock FileDownloadImage method
func (*Mock) MockFileUploadFile ¶
func (r *Mock) MockFileUploadFile(f func(ctx context.Context, request *UploadFileReq, options ...MethodOptionFunc) (*UploadFileResp, *Response, error))
MockFileUploadFile mock FileUploadFile method
func (*Mock) MockFileUploadImage ¶
func (r *Mock) MockFileUploadImage(f func(ctx context.Context, request *UploadImageReq, options ...MethodOptionFunc) (*UploadImageResp, *Response, error))
MockFileUploadImage mock FileUploadImage method
func (*Mock) MockGetAppAccessToken ¶
MockGetAppAccessToken ...
func (*Mock) MockGetTenantAccessToken ¶
func (r *Mock) MockGetTenantAccessToken(f func(ctx context.Context) (*TokenExpire, *Response, error))
MockGetTenantAccessToken ...
func (*Mock) MockHelpdeskAnswerHelpdeskTicketUserQuery ¶
func (r *Mock) MockHelpdeskAnswerHelpdeskTicketUserQuery(f func(ctx context.Context, request *AnswerHelpdeskTicketUserQueryReq, options ...MethodOptionFunc) (*AnswerHelpdeskTicketUserQueryResp, *Response, error))
MockHelpdeskAnswerHelpdeskTicketUserQuery mock HelpdeskAnswerHelpdeskTicketUserQuery method
func (*Mock) MockHelpdeskCancelApproveHelpdeskNotification ¶
func (r *Mock) MockHelpdeskCancelApproveHelpdeskNotification(f func(ctx context.Context, request *CancelApproveHelpdeskNotificationReq, options ...MethodOptionFunc) (*CancelApproveHelpdeskNotificationResp, *Response, error))
MockHelpdeskCancelApproveHelpdeskNotification mock HelpdeskCancelApproveHelpdeskNotification method
func (*Mock) MockHelpdeskCancelSendHelpdeskNotification ¶
func (r *Mock) MockHelpdeskCancelSendHelpdeskNotification(f func(ctx context.Context, request *CancelSendHelpdeskNotificationReq, options ...MethodOptionFunc) (*CancelSendHelpdeskNotificationResp, *Response, error))
MockHelpdeskCancelSendHelpdeskNotification mock HelpdeskCancelSendHelpdeskNotification method
func (*Mock) MockHelpdeskCreateHelpdeskAgentSchedule ¶
func (r *Mock) MockHelpdeskCreateHelpdeskAgentSchedule(f func(ctx context.Context, request *CreateHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*CreateHelpdeskAgentScheduleResp, *Response, error))
MockHelpdeskCreateHelpdeskAgentSchedule mock HelpdeskCreateHelpdeskAgentSchedule method
func (*Mock) MockHelpdeskCreateHelpdeskAgentSkill ¶
func (r *Mock) MockHelpdeskCreateHelpdeskAgentSkill(f func(ctx context.Context, request *CreateHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*CreateHelpdeskAgentSkillResp, *Response, error))
MockHelpdeskCreateHelpdeskAgentSkill mock HelpdeskCreateHelpdeskAgentSkill method
func (*Mock) MockHelpdeskCreateHelpdeskCategory ¶
func (r *Mock) MockHelpdeskCreateHelpdeskCategory(f func(ctx context.Context, request *CreateHelpdeskCategoryReq, options ...MethodOptionFunc) (*CreateHelpdeskCategoryResp, *Response, error))
MockHelpdeskCreateHelpdeskCategory mock HelpdeskCreateHelpdeskCategory method
func (*Mock) MockHelpdeskCreateHelpdeskFAQ ¶
func (r *Mock) MockHelpdeskCreateHelpdeskFAQ(f func(ctx context.Context, request *CreateHelpdeskFAQReq, options ...MethodOptionFunc) (*CreateHelpdeskFAQResp, *Response, error))
MockHelpdeskCreateHelpdeskFAQ mock HelpdeskCreateHelpdeskFAQ method
func (*Mock) MockHelpdeskCreateHelpdeskNotification ¶
func (r *Mock) MockHelpdeskCreateHelpdeskNotification(f func(ctx context.Context, request *CreateHelpdeskNotificationReq, options ...MethodOptionFunc) (*CreateHelpdeskNotificationResp, *Response, error))
MockHelpdeskCreateHelpdeskNotification mock HelpdeskCreateHelpdeskNotification method
func (*Mock) MockHelpdeskCreateHelpdeskTicketCustomizedField ¶
func (r *Mock) MockHelpdeskCreateHelpdeskTicketCustomizedField(f func(ctx context.Context, request *CreateHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*CreateHelpdeskTicketCustomizedFieldResp, *Response, error))
MockHelpdeskCreateHelpdeskTicketCustomizedField mock HelpdeskCreateHelpdeskTicketCustomizedField method
func (*Mock) MockHelpdeskDeleteHelpdeskAgentSchedule ¶
func (r *Mock) MockHelpdeskDeleteHelpdeskAgentSchedule(f func(ctx context.Context, request *DeleteHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*DeleteHelpdeskAgentScheduleResp, *Response, error))
MockHelpdeskDeleteHelpdeskAgentSchedule mock HelpdeskDeleteHelpdeskAgentSchedule method
func (*Mock) MockHelpdeskDeleteHelpdeskAgentSkill ¶
func (r *Mock) MockHelpdeskDeleteHelpdeskAgentSkill(f func(ctx context.Context, request *DeleteHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*DeleteHelpdeskAgentSkillResp, *Response, error))
MockHelpdeskDeleteHelpdeskAgentSkill mock HelpdeskDeleteHelpdeskAgentSkill method
func (*Mock) MockHelpdeskDeleteHelpdeskCategory ¶
func (r *Mock) MockHelpdeskDeleteHelpdeskCategory(f func(ctx context.Context, request *DeleteHelpdeskCategoryReq, options ...MethodOptionFunc) (*DeleteHelpdeskCategoryResp, *Response, error))
MockHelpdeskDeleteHelpdeskCategory mock HelpdeskDeleteHelpdeskCategory method
func (*Mock) MockHelpdeskDeleteHelpdeskFAQ ¶
func (r *Mock) MockHelpdeskDeleteHelpdeskFAQ(f func(ctx context.Context, request *DeleteHelpdeskFAQReq, options ...MethodOptionFunc) (*DeleteHelpdeskFAQResp, *Response, error))
MockHelpdeskDeleteHelpdeskFAQ mock HelpdeskDeleteHelpdeskFAQ method
func (*Mock) MockHelpdeskDeleteHelpdeskTicketCustomizedField ¶
func (r *Mock) MockHelpdeskDeleteHelpdeskTicketCustomizedField(f func(ctx context.Context, request *DeleteHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*DeleteHelpdeskTicketCustomizedFieldResp, *Response, error))
MockHelpdeskDeleteHelpdeskTicketCustomizedField mock HelpdeskDeleteHelpdeskTicketCustomizedField method
func (*Mock) MockHelpdeskDownloadHelpdeskTicketImage ¶
func (r *Mock) MockHelpdeskDownloadHelpdeskTicketImage(f func(ctx context.Context, request *DownloadHelpdeskTicketImageReq, options ...MethodOptionFunc) (*DownloadHelpdeskTicketImageResp, *Response, error))
MockHelpdeskDownloadHelpdeskTicketImage mock HelpdeskDownloadHelpdeskTicketImage method
func (*Mock) MockHelpdeskExecuteSendHelpdeskNotification ¶
func (r *Mock) MockHelpdeskExecuteSendHelpdeskNotification(f func(ctx context.Context, request *ExecuteSendHelpdeskNotificationReq, options ...MethodOptionFunc) (*ExecuteSendHelpdeskNotificationResp, *Response, error))
MockHelpdeskExecuteSendHelpdeskNotification mock HelpdeskExecuteSendHelpdeskNotification method
func (*Mock) MockHelpdeskGetHelpdeskAgentEmail ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentEmail(f func(ctx context.Context, request *GetHelpdeskAgentEmailReq, options ...MethodOptionFunc) (*GetHelpdeskAgentEmailResp, *Response, error))
MockHelpdeskGetHelpdeskAgentEmail mock HelpdeskGetHelpdeskAgentEmail method
func (*Mock) MockHelpdeskGetHelpdeskAgentSchedule ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentSchedule(f func(ctx context.Context, request *GetHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*GetHelpdeskAgentScheduleResp, *Response, error))
MockHelpdeskGetHelpdeskAgentSchedule mock HelpdeskGetHelpdeskAgentSchedule method
func (*Mock) MockHelpdeskGetHelpdeskAgentScheduleList ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentScheduleList(f func(ctx context.Context, request *GetHelpdeskAgentScheduleListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentScheduleListResp, *Response, error))
MockHelpdeskGetHelpdeskAgentScheduleList mock HelpdeskGetHelpdeskAgentScheduleList method
func (*Mock) MockHelpdeskGetHelpdeskAgentSkill ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentSkill(f func(ctx context.Context, request *GetHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillResp, *Response, error))
MockHelpdeskGetHelpdeskAgentSkill mock HelpdeskGetHelpdeskAgentSkill method
func (*Mock) MockHelpdeskGetHelpdeskAgentSkillList ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentSkillList(f func(ctx context.Context, request *GetHelpdeskAgentSkillListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillListResp, *Response, error))
MockHelpdeskGetHelpdeskAgentSkillList mock HelpdeskGetHelpdeskAgentSkillList method
func (*Mock) MockHelpdeskGetHelpdeskAgentSkillRuleList ¶
func (r *Mock) MockHelpdeskGetHelpdeskAgentSkillRuleList(f func(ctx context.Context, request *GetHelpdeskAgentSkillRuleListReq, options ...MethodOptionFunc) (*GetHelpdeskAgentSkillRuleListResp, *Response, error))
MockHelpdeskGetHelpdeskAgentSkillRuleList mock HelpdeskGetHelpdeskAgentSkillRuleList method
func (*Mock) MockHelpdeskGetHelpdeskCategory ¶
func (r *Mock) MockHelpdeskGetHelpdeskCategory(f func(ctx context.Context, request *GetHelpdeskCategoryReq, options ...MethodOptionFunc) (*GetHelpdeskCategoryResp, *Response, error))
MockHelpdeskGetHelpdeskCategory mock HelpdeskGetHelpdeskCategory method
func (*Mock) MockHelpdeskGetHelpdeskCategoryList ¶
func (r *Mock) MockHelpdeskGetHelpdeskCategoryList(f func(ctx context.Context, request *GetHelpdeskCategoryListReq, options ...MethodOptionFunc) (*GetHelpdeskCategoryListResp, *Response, error))
MockHelpdeskGetHelpdeskCategoryList mock HelpdeskGetHelpdeskCategoryList method
func (*Mock) MockHelpdeskGetHelpdeskFAQ ¶
func (r *Mock) MockHelpdeskGetHelpdeskFAQ(f func(ctx context.Context, request *GetHelpdeskFAQReq, options ...MethodOptionFunc) (*GetHelpdeskFAQResp, *Response, error))
MockHelpdeskGetHelpdeskFAQ mock HelpdeskGetHelpdeskFAQ method
func (*Mock) MockHelpdeskGetHelpdeskFAQImage ¶
func (r *Mock) MockHelpdeskGetHelpdeskFAQImage(f func(ctx context.Context, request *GetHelpdeskFAQImageReq, options ...MethodOptionFunc) (*GetHelpdeskFAQImageResp, *Response, error))
MockHelpdeskGetHelpdeskFAQImage mock HelpdeskGetHelpdeskFAQImage method
func (*Mock) MockHelpdeskGetHelpdeskFAQList ¶
func (r *Mock) MockHelpdeskGetHelpdeskFAQList(f func(ctx context.Context, request *GetHelpdeskFAQListReq, options ...MethodOptionFunc) (*GetHelpdeskFAQListResp, *Response, error))
MockHelpdeskGetHelpdeskFAQList mock HelpdeskGetHelpdeskFAQList method
func (*Mock) MockHelpdeskGetHelpdeskNotification ¶
func (r *Mock) MockHelpdeskGetHelpdeskNotification(f func(ctx context.Context, request *GetHelpdeskNotificationReq, options ...MethodOptionFunc) (*GetHelpdeskNotificationResp, *Response, error))
MockHelpdeskGetHelpdeskNotification mock HelpdeskGetHelpdeskNotification method
func (*Mock) MockHelpdeskGetHelpdeskTicket ¶
func (r *Mock) MockHelpdeskGetHelpdeskTicket(f func(ctx context.Context, request *GetHelpdeskTicketReq, options ...MethodOptionFunc) (*GetHelpdeskTicketResp, *Response, error))
MockHelpdeskGetHelpdeskTicket mock HelpdeskGetHelpdeskTicket method
func (*Mock) MockHelpdeskGetHelpdeskTicketCustomizedField ¶
func (r *Mock) MockHelpdeskGetHelpdeskTicketCustomizedField(f func(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*GetHelpdeskTicketCustomizedFieldResp, *Response, error))
MockHelpdeskGetHelpdeskTicketCustomizedField mock HelpdeskGetHelpdeskTicketCustomizedField method
func (*Mock) MockHelpdeskGetHelpdeskTicketCustomizedFieldList ¶
func (r *Mock) MockHelpdeskGetHelpdeskTicketCustomizedFieldList(f func(ctx context.Context, request *GetHelpdeskTicketCustomizedFieldListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketCustomizedFieldListResp, *Response, error))
MockHelpdeskGetHelpdeskTicketCustomizedFieldList mock HelpdeskGetHelpdeskTicketCustomizedFieldList method
func (*Mock) MockHelpdeskGetHelpdeskTicketList ¶
func (r *Mock) MockHelpdeskGetHelpdeskTicketList(f func(ctx context.Context, request *GetHelpdeskTicketListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketListResp, *Response, error))
MockHelpdeskGetHelpdeskTicketList mock HelpdeskGetHelpdeskTicketList method
func (*Mock) MockHelpdeskGetHelpdeskTicketMessageList ¶
func (r *Mock) MockHelpdeskGetHelpdeskTicketMessageList(f func(ctx context.Context, request *GetHelpdeskTicketMessageListReq, options ...MethodOptionFunc) (*GetHelpdeskTicketMessageListResp, *Response, error))
MockHelpdeskGetHelpdeskTicketMessageList mock HelpdeskGetHelpdeskTicketMessageList method
func (*Mock) MockHelpdeskPreviewHelpdeskNotification ¶
func (r *Mock) MockHelpdeskPreviewHelpdeskNotification(f func(ctx context.Context, request *PreviewHelpdeskNotificationReq, options ...MethodOptionFunc) (*PreviewHelpdeskNotificationResp, *Response, error))
MockHelpdeskPreviewHelpdeskNotification mock HelpdeskPreviewHelpdeskNotification method
func (*Mock) MockHelpdeskSearchHelpdeskFAQ ¶
func (r *Mock) MockHelpdeskSearchHelpdeskFAQ(f func(ctx context.Context, request *SearchHelpdeskFAQReq, options ...MethodOptionFunc) (*SearchHelpdeskFAQResp, *Response, error))
MockHelpdeskSearchHelpdeskFAQ mock HelpdeskSearchHelpdeskFAQ method
func (*Mock) MockHelpdeskSendHelpdeskMessage ¶
func (r *Mock) MockHelpdeskSendHelpdeskMessage(f func(ctx context.Context, request *SendHelpdeskMessageReq, options ...MethodOptionFunc) (*SendHelpdeskMessageResp, *Response, error))
MockHelpdeskSendHelpdeskMessage mock HelpdeskSendHelpdeskMessage method
func (*Mock) MockHelpdeskSendHelpdeskTicketMessage ¶
func (r *Mock) MockHelpdeskSendHelpdeskTicketMessage(f func(ctx context.Context, request *SendHelpdeskTicketMessageReq, options ...MethodOptionFunc) (*SendHelpdeskTicketMessageResp, *Response, error))
MockHelpdeskSendHelpdeskTicketMessage mock HelpdeskSendHelpdeskTicketMessage method
func (*Mock) MockHelpdeskStartHelpdeskService ¶
func (r *Mock) MockHelpdeskStartHelpdeskService(f func(ctx context.Context, request *StartHelpdeskServiceReq, options ...MethodOptionFunc) (*StartHelpdeskServiceResp, *Response, error))
MockHelpdeskStartHelpdeskService mock HelpdeskStartHelpdeskService method
func (*Mock) MockHelpdeskSubmitApproveHelpdeskNotification ¶
func (r *Mock) MockHelpdeskSubmitApproveHelpdeskNotification(f func(ctx context.Context, request *SubmitApproveHelpdeskNotificationReq, options ...MethodOptionFunc) (*SubmitApproveHelpdeskNotificationResp, *Response, error))
MockHelpdeskSubmitApproveHelpdeskNotification mock HelpdeskSubmitApproveHelpdeskNotification method
func (*Mock) MockHelpdeskSubscribeHelpdeskEvent ¶
func (r *Mock) MockHelpdeskSubscribeHelpdeskEvent(f func(ctx context.Context, request *SubscribeHelpdeskEventReq, options ...MethodOptionFunc) (*SubscribeHelpdeskEventResp, *Response, error))
MockHelpdeskSubscribeHelpdeskEvent mock HelpdeskSubscribeHelpdeskEvent method
func (*Mock) MockHelpdeskUnsubscribeHelpdeskEvent ¶
func (r *Mock) MockHelpdeskUnsubscribeHelpdeskEvent(f func(ctx context.Context, request *UnsubscribeHelpdeskEventReq, options ...MethodOptionFunc) (*UnsubscribeHelpdeskEventResp, *Response, error))
MockHelpdeskUnsubscribeHelpdeskEvent mock HelpdeskUnsubscribeHelpdeskEvent method
func (*Mock) MockHelpdeskUpdateHelpdeskAgent ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskAgent(f func(ctx context.Context, request *UpdateHelpdeskAgentReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentResp, *Response, error))
MockHelpdeskUpdateHelpdeskAgent mock HelpdeskUpdateHelpdeskAgent method
func (*Mock) MockHelpdeskUpdateHelpdeskAgentSchedule ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskAgentSchedule(f func(ctx context.Context, request *UpdateHelpdeskAgentScheduleReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentScheduleResp, *Response, error))
MockHelpdeskUpdateHelpdeskAgentSchedule mock HelpdeskUpdateHelpdeskAgentSchedule method
func (*Mock) MockHelpdeskUpdateHelpdeskAgentSkill ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskAgentSkill(f func(ctx context.Context, request *UpdateHelpdeskAgentSkillReq, options ...MethodOptionFunc) (*UpdateHelpdeskAgentSkillResp, *Response, error))
MockHelpdeskUpdateHelpdeskAgentSkill mock HelpdeskUpdateHelpdeskAgentSkill method
func (*Mock) MockHelpdeskUpdateHelpdeskCategory ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskCategory(f func(ctx context.Context, request *UpdateHelpdeskCategoryReq, options ...MethodOptionFunc) (*UpdateHelpdeskCategoryResp, *Response, error))
MockHelpdeskUpdateHelpdeskCategory mock HelpdeskUpdateHelpdeskCategory method
func (*Mock) MockHelpdeskUpdateHelpdeskFAQ ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskFAQ(f func(ctx context.Context, request *UpdateHelpdeskFAQReq, options ...MethodOptionFunc) (*UpdateHelpdeskFAQResp, *Response, error))
MockHelpdeskUpdateHelpdeskFAQ mock HelpdeskUpdateHelpdeskFAQ method
func (*Mock) MockHelpdeskUpdateHelpdeskNotification ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskNotification(f func(ctx context.Context, request *UpdateHelpdeskNotificationReq, options ...MethodOptionFunc) (*UpdateHelpdeskNotificationResp, *Response, error))
MockHelpdeskUpdateHelpdeskNotification mock HelpdeskUpdateHelpdeskNotification method
func (*Mock) MockHelpdeskUpdateHelpdeskTicket ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskTicket(f func(ctx context.Context, request *UpdateHelpdeskTicketReq, options ...MethodOptionFunc) (*UpdateHelpdeskTicketResp, *Response, error))
MockHelpdeskUpdateHelpdeskTicket mock HelpdeskUpdateHelpdeskTicket method
func (*Mock) MockHelpdeskUpdateHelpdeskTicketCustomizedField ¶
func (r *Mock) MockHelpdeskUpdateHelpdeskTicketCustomizedField(f func(ctx context.Context, request *UpdateHelpdeskTicketCustomizedFieldReq, options ...MethodOptionFunc) (*UpdateHelpdeskTicketCustomizedFieldResp, *Response, error))
MockHelpdeskUpdateHelpdeskTicketCustomizedField mock HelpdeskUpdateHelpdeskTicketCustomizedField method
func (*Mock) MockHireCreateHireApplication ¶
func (r *Mock) MockHireCreateHireApplication(f func(ctx context.Context, request *CreateHireApplicationReq, options ...MethodOptionFunc) (*CreateHireApplicationResp, *Response, error))
MockHireCreateHireApplication mock HireCreateHireApplication method
func (*Mock) MockHireCreateHireNote ¶
func (r *Mock) MockHireCreateHireNote(f func(ctx context.Context, request *CreateHireNoteReq, options ...MethodOptionFunc) (*CreateHireNoteResp, *Response, error))
MockHireCreateHireNote mock HireCreateHireNote method
func (*Mock) MockHireGetHireApplication ¶
func (r *Mock) MockHireGetHireApplication(f func(ctx context.Context, request *GetHireApplicationReq, options ...MethodOptionFunc) (*GetHireApplicationResp, *Response, error))
MockHireGetHireApplication mock HireGetHireApplication method
func (*Mock) MockHireGetHireApplicationInterviewList ¶
func (r *Mock) MockHireGetHireApplicationInterviewList(f func(ctx context.Context, request *GetHireApplicationInterviewListReq, options ...MethodOptionFunc) (*GetHireApplicationInterviewListResp, *Response, error))
MockHireGetHireApplicationInterviewList mock HireGetHireApplicationInterviewList method
func (*Mock) MockHireGetHireApplicationList ¶
func (r *Mock) MockHireGetHireApplicationList(f func(ctx context.Context, request *GetHireApplicationListReq, options ...MethodOptionFunc) (*GetHireApplicationListResp, *Response, error))
MockHireGetHireApplicationList mock HireGetHireApplicationList method
func (*Mock) MockHireGetHireAttachment ¶
func (r *Mock) MockHireGetHireAttachment(f func(ctx context.Context, request *GetHireAttachmentReq, options ...MethodOptionFunc) (*GetHireAttachmentResp, *Response, error))
MockHireGetHireAttachment mock HireGetHireAttachment method
func (*Mock) MockHireGetHireAttachmentPreview ¶
func (r *Mock) MockHireGetHireAttachmentPreview(f func(ctx context.Context, request *GetHireAttachmentPreviewReq, options ...MethodOptionFunc) (*GetHireAttachmentPreviewResp, *Response, error))
MockHireGetHireAttachmentPreview mock HireGetHireAttachmentPreview method
func (*Mock) MockHireGetHireEmployee ¶
func (r *Mock) MockHireGetHireEmployee(f func(ctx context.Context, request *GetHireEmployeeReq, options ...MethodOptionFunc) (*GetHireEmployeeResp, *Response, error))
MockHireGetHireEmployee mock HireGetHireEmployee method
func (*Mock) MockHireGetHireEmployeeByApplication ¶
func (r *Mock) MockHireGetHireEmployeeByApplication(f func(ctx context.Context, request *GetHireEmployeeByApplicationReq, options ...MethodOptionFunc) (*GetHireEmployeeByApplicationResp, *Response, error))
MockHireGetHireEmployeeByApplication mock HireGetHireEmployeeByApplication method
func (*Mock) MockHireGetHireJob ¶
func (r *Mock) MockHireGetHireJob(f func(ctx context.Context, request *GetHireJobReq, options ...MethodOptionFunc) (*GetHireJobResp, *Response, error))
MockHireGetHireJob mock HireGetHireJob method
func (*Mock) MockHireGetHireJobManager ¶
func (r *Mock) MockHireGetHireJobManager(f func(ctx context.Context, request *GetHireJobManagerReq, options ...MethodOptionFunc) (*GetHireJobManagerResp, *Response, error))
MockHireGetHireJobManager mock HireGetHireJobManager method
func (*Mock) MockHireGetHireJobProcessList ¶
func (r *Mock) MockHireGetHireJobProcessList(f func(ctx context.Context, request *GetHireJobProcessListReq, options ...MethodOptionFunc) (*GetHireJobProcessListResp, *Response, error))
MockHireGetHireJobProcessList mock HireGetHireJobProcessList method
func (*Mock) MockHireGetHireNote ¶
func (r *Mock) MockHireGetHireNote(f func(ctx context.Context, request *GetHireNoteReq, options ...MethodOptionFunc) (*GetHireNoteResp, *Response, error))
MockHireGetHireNote mock HireGetHireNote method
func (*Mock) MockHireGetHireNoteList ¶
func (r *Mock) MockHireGetHireNoteList(f func(ctx context.Context, request *GetHireNoteListReq, options ...MethodOptionFunc) (*GetHireNoteListResp, *Response, error))
MockHireGetHireNoteList mock HireGetHireNoteList method
func (*Mock) MockHireGetHireOfferByApplication ¶
func (r *Mock) MockHireGetHireOfferByApplication(f func(ctx context.Context, request *GetHireOfferByApplicationReq, options ...MethodOptionFunc) (*GetHireOfferByApplicationResp, *Response, error))
MockHireGetHireOfferByApplication mock HireGetHireOfferByApplication method
func (*Mock) MockHireGetHireOfferSchema ¶
func (r *Mock) MockHireGetHireOfferSchema(f func(ctx context.Context, request *GetHireOfferSchemaReq, options ...MethodOptionFunc) (*GetHireOfferSchemaResp, *Response, error))
MockHireGetHireOfferSchema mock HireGetHireOfferSchema method
func (*Mock) MockHireGetHireReferralByApplication ¶
func (r *Mock) MockHireGetHireReferralByApplication(f func(ctx context.Context, request *GetHireReferralByApplicationReq, options ...MethodOptionFunc) (*GetHireReferralByApplicationResp, *Response, error))
MockHireGetHireReferralByApplication mock HireGetHireReferralByApplication method
func (*Mock) MockHireGetHireResumeSource ¶
func (r *Mock) MockHireGetHireResumeSource(f func(ctx context.Context, request *GetHireResumeSourceReq, options ...MethodOptionFunc) (*GetHireResumeSourceResp, *Response, error))
MockHireGetHireResumeSource mock HireGetHireResumeSource method
func (*Mock) MockHireGetHireTalent ¶
func (r *Mock) MockHireGetHireTalent(f func(ctx context.Context, request *GetHireTalentReq, options ...MethodOptionFunc) (*GetHireTalentResp, *Response, error))
MockHireGetHireTalent mock HireGetHireTalent method
func (*Mock) MockHireMakeHireTransferOnboardByApplication ¶
func (r *Mock) MockHireMakeHireTransferOnboardByApplication(f func(ctx context.Context, request *MakeHireTransferOnboardByApplicationReq, options ...MethodOptionFunc) (*MakeHireTransferOnboardByApplicationResp, *Response, error))
MockHireMakeHireTransferOnboardByApplication mock HireMakeHireTransferOnboardByApplication method
func (*Mock) MockHireTerminateHireApplication ¶
func (r *Mock) MockHireTerminateHireApplication(f func(ctx context.Context, request *TerminateHireApplicationReq, options ...MethodOptionFunc) (*TerminateHireApplicationResp, *Response, error))
MockHireTerminateHireApplication mock HireTerminateHireApplication method
func (*Mock) MockHireUpdateHireEmployee ¶
func (r *Mock) MockHireUpdateHireEmployee(f func(ctx context.Context, request *UpdateHireEmployeeReq, options ...MethodOptionFunc) (*UpdateHireEmployeeResp, *Response, error))
MockHireUpdateHireEmployee mock HireUpdateHireEmployee method
func (*Mock) MockHireUpdateHireNote ¶
func (r *Mock) MockHireUpdateHireNote(f func(ctx context.Context, request *UpdateHireNoteReq, options ...MethodOptionFunc) (*UpdateHireNoteResp, *Response, error))
MockHireUpdateHireNote mock HireUpdateHireNote method
func (*Mock) MockHumanAuthCreateIdentity ¶
func (r *Mock) MockHumanAuthCreateIdentity(f func(ctx context.Context, request *CreateIdentityReq, options ...MethodOptionFunc) (*CreateIdentityResp, *Response, error))
MockHumanAuthCreateIdentity mock HumanAuthCreateIdentity method
func (*Mock) MockHumanAuthCropFaceVerifyImage ¶
func (r *Mock) MockHumanAuthCropFaceVerifyImage(f func(ctx context.Context, request *CropFaceVerifyImageReq, options ...MethodOptionFunc) (*CropFaceVerifyImageResp, *Response, error))
MockHumanAuthCropFaceVerifyImage mock HumanAuthCropFaceVerifyImage method
func (*Mock) MockHumanAuthGetFaceVerifyAuthResult ¶
func (r *Mock) MockHumanAuthGetFaceVerifyAuthResult(f func(ctx context.Context, request *GetFaceVerifyAuthResultReq, options ...MethodOptionFunc) (*GetFaceVerifyAuthResultResp, *Response, error))
MockHumanAuthGetFaceVerifyAuthResult mock HumanAuthGetFaceVerifyAuthResult method
func (*Mock) MockHumanAuthUploadFaceVerifyImage ¶
func (r *Mock) MockHumanAuthUploadFaceVerifyImage(f func(ctx context.Context, request *UploadFaceVerifyImageReq, options ...MethodOptionFunc) (*UploadFaceVerifyImageResp, *Response, error))
MockHumanAuthUploadFaceVerifyImage mock HumanAuthUploadFaceVerifyImage method
func (*Mock) MockJssdkGetJssdkTicket ¶
func (r *Mock) MockJssdkGetJssdkTicket(f func(ctx context.Context, request *GetJssdkTicketReq, options ...MethodOptionFunc) (*GetJssdkTicketResp, *Response, error))
MockJssdkGetJssdkTicket mock JssdkGetJssdkTicket method
func (*Mock) MockMailClearPublicMailboxMember ¶
func (r *Mock) MockMailClearPublicMailboxMember(f func(ctx context.Context, request *ClearPublicMailboxMemberReq, options ...MethodOptionFunc) (*ClearPublicMailboxMemberResp, *Response, error))
MockMailClearPublicMailboxMember mock MailClearPublicMailboxMember method
func (*Mock) MockMailCreateMailGroup ¶
func (r *Mock) MockMailCreateMailGroup(f func(ctx context.Context, request *CreateMailGroupReq, options ...MethodOptionFunc) (*CreateMailGroupResp, *Response, error))
MockMailCreateMailGroup mock MailCreateMailGroup method
func (*Mock) MockMailCreateMailGroupMember ¶
func (r *Mock) MockMailCreateMailGroupMember(f func(ctx context.Context, request *CreateMailGroupMemberReq, options ...MethodOptionFunc) (*CreateMailGroupMemberResp, *Response, error))
MockMailCreateMailGroupMember mock MailCreateMailGroupMember method
func (*Mock) MockMailCreateMailGroupPermissionMember ¶
func (r *Mock) MockMailCreateMailGroupPermissionMember(f func(ctx context.Context, request *CreateMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*CreateMailGroupPermissionMemberResp, *Response, error))
MockMailCreateMailGroupPermissionMember mock MailCreateMailGroupPermissionMember method
func (*Mock) MockMailCreateMailUserAlias ¶
func (r *Mock) MockMailCreateMailUserAlias(f func(ctx context.Context, request *CreateMailUserAliasReq, options ...MethodOptionFunc) (*CreateMailUserAliasResp, *Response, error))
MockMailCreateMailUserAlias mock MailCreateMailUserAlias method
func (*Mock) MockMailCreatePublicMailbox ¶
func (r *Mock) MockMailCreatePublicMailbox(f func(ctx context.Context, request *CreatePublicMailboxReq, options ...MethodOptionFunc) (*CreatePublicMailboxResp, *Response, error))
MockMailCreatePublicMailbox mock MailCreatePublicMailbox method
func (*Mock) MockMailCreatePublicMailboxMember ¶
func (r *Mock) MockMailCreatePublicMailboxMember(f func(ctx context.Context, request *CreatePublicMailboxMemberReq, options ...MethodOptionFunc) (*CreatePublicMailboxMemberResp, *Response, error))
MockMailCreatePublicMailboxMember mock MailCreatePublicMailboxMember method
func (*Mock) MockMailDeleteMailGroup ¶
func (r *Mock) MockMailDeleteMailGroup(f func(ctx context.Context, request *DeleteMailGroupReq, options ...MethodOptionFunc) (*DeleteMailGroupResp, *Response, error))
MockMailDeleteMailGroup mock MailDeleteMailGroup method
func (*Mock) MockMailDeleteMailGroupMember ¶
func (r *Mock) MockMailDeleteMailGroupMember(f func(ctx context.Context, request *DeleteMailGroupMemberReq, options ...MethodOptionFunc) (*DeleteMailGroupMemberResp, *Response, error))
MockMailDeleteMailGroupMember mock MailDeleteMailGroupMember method
func (*Mock) MockMailDeleteMailGroupPermissionMember ¶
func (r *Mock) MockMailDeleteMailGroupPermissionMember(f func(ctx context.Context, request *DeleteMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*DeleteMailGroupPermissionMemberResp, *Response, error))
MockMailDeleteMailGroupPermissionMember mock MailDeleteMailGroupPermissionMember method
func (*Mock) MockMailDeleteMailUserAlias ¶
func (r *Mock) MockMailDeleteMailUserAlias(f func(ctx context.Context, request *DeleteMailUserAliasReq, options ...MethodOptionFunc) (*DeleteMailUserAliasResp, *Response, error))
MockMailDeleteMailUserAlias mock MailDeleteMailUserAlias method
func (*Mock) MockMailDeletePublicMailbox ¶
func (r *Mock) MockMailDeletePublicMailbox(f func(ctx context.Context, request *DeletePublicMailboxReq, options ...MethodOptionFunc) (*DeletePublicMailboxResp, *Response, error))
MockMailDeletePublicMailbox mock MailDeletePublicMailbox method
func (*Mock) MockMailDeletePublicMailboxMember ¶
func (r *Mock) MockMailDeletePublicMailboxMember(f func(ctx context.Context, request *DeletePublicMailboxMemberReq, options ...MethodOptionFunc) (*DeletePublicMailboxMemberResp, *Response, error))
MockMailDeletePublicMailboxMember mock MailDeletePublicMailboxMember method
func (*Mock) MockMailGetMailGroup ¶
func (r *Mock) MockMailGetMailGroup(f func(ctx context.Context, request *GetMailGroupReq, options ...MethodOptionFunc) (*GetMailGroupResp, *Response, error))
MockMailGetMailGroup mock MailGetMailGroup method
func (*Mock) MockMailGetMailGroupList ¶
func (r *Mock) MockMailGetMailGroupList(f func(ctx context.Context, request *GetMailGroupListReq, options ...MethodOptionFunc) (*GetMailGroupListResp, *Response, error))
MockMailGetMailGroupList mock MailGetMailGroupList method
func (*Mock) MockMailGetMailGroupMember ¶
func (r *Mock) MockMailGetMailGroupMember(f func(ctx context.Context, request *GetMailGroupMemberReq, options ...MethodOptionFunc) (*GetMailGroupMemberResp, *Response, error))
MockMailGetMailGroupMember mock MailGetMailGroupMember method
func (*Mock) MockMailGetMailGroupMemberList ¶
func (r *Mock) MockMailGetMailGroupMemberList(f func(ctx context.Context, request *GetMailGroupMemberListReq, options ...MethodOptionFunc) (*GetMailGroupMemberListResp, *Response, error))
MockMailGetMailGroupMemberList mock MailGetMailGroupMemberList method
func (*Mock) MockMailGetMailGroupPermissionMember ¶
func (r *Mock) MockMailGetMailGroupPermissionMember(f func(ctx context.Context, request *GetMailGroupPermissionMemberReq, options ...MethodOptionFunc) (*GetMailGroupPermissionMemberResp, *Response, error))
MockMailGetMailGroupPermissionMember mock MailGetMailGroupPermissionMember method
func (*Mock) MockMailGetMailGroupPermissionMemberList ¶
func (r *Mock) MockMailGetMailGroupPermissionMemberList(f func(ctx context.Context, request *GetMailGroupPermissionMemberListReq, options ...MethodOptionFunc) (*GetMailGroupPermissionMemberListResp, *Response, error))
MockMailGetMailGroupPermissionMemberList mock MailGetMailGroupPermissionMemberList method
func (*Mock) MockMailGetMailUserAliasList ¶
func (r *Mock) MockMailGetMailUserAliasList(f func(ctx context.Context, request *GetMailUserAliasListReq, options ...MethodOptionFunc) (*GetMailUserAliasListResp, *Response, error))
MockMailGetMailUserAliasList mock MailGetMailUserAliasList method
func (*Mock) MockMailGetPublicMailbox ¶
func (r *Mock) MockMailGetPublicMailbox(f func(ctx context.Context, request *GetPublicMailboxReq, options ...MethodOptionFunc) (*GetPublicMailboxResp, *Response, error))
MockMailGetPublicMailbox mock MailGetPublicMailbox method
func (*Mock) MockMailGetPublicMailboxList ¶
func (r *Mock) MockMailGetPublicMailboxList(f func(ctx context.Context, request *GetPublicMailboxListReq, options ...MethodOptionFunc) (*GetPublicMailboxListResp, *Response, error))
MockMailGetPublicMailboxList mock MailGetPublicMailboxList method
func (*Mock) MockMailGetPublicMailboxMember ¶
func (r *Mock) MockMailGetPublicMailboxMember(f func(ctx context.Context, request *GetPublicMailboxMemberReq, options ...MethodOptionFunc) (*GetPublicMailboxMemberResp, *Response, error))
MockMailGetPublicMailboxMember mock MailGetPublicMailboxMember method
func (*Mock) MockMailGetPublicMailboxMemberList ¶
func (r *Mock) MockMailGetPublicMailboxMemberList(f func(ctx context.Context, request *GetPublicMailboxMemberListReq, options ...MethodOptionFunc) (*GetPublicMailboxMemberListResp, *Response, error))
MockMailGetPublicMailboxMemberList mock MailGetPublicMailboxMemberList method
func (*Mock) MockMailUpdateMailGroup ¶
func (r *Mock) MockMailUpdateMailGroup(f func(ctx context.Context, request *UpdateMailGroupReq, options ...MethodOptionFunc) (*UpdateMailGroupResp, *Response, error))
MockMailUpdateMailGroup mock MailUpdateMailGroup method
func (*Mock) MockMailUpdateMailGroupPatch ¶
func (r *Mock) MockMailUpdateMailGroupPatch(f func(ctx context.Context, request *UpdateMailGroupPatchReq, options ...MethodOptionFunc) (*UpdateMailGroupPatchResp, *Response, error))
MockMailUpdateMailGroupPatch mock MailUpdateMailGroupPatch method
func (*Mock) MockMailUpdatePublicMailbox ¶
func (r *Mock) MockMailUpdatePublicMailbox(f func(ctx context.Context, request *UpdatePublicMailboxReq, options ...MethodOptionFunc) (*UpdatePublicMailboxResp, *Response, error))
MockMailUpdatePublicMailbox mock MailUpdatePublicMailbox method
func (*Mock) MockMailUpdatePublicMailboxPatch ¶
func (r *Mock) MockMailUpdatePublicMailboxPatch(f func(ctx context.Context, request *UpdatePublicMailboxPatchReq, options ...MethodOptionFunc) (*UpdatePublicMailboxPatchResp, *Response, error))
MockMailUpdatePublicMailboxPatch mock MailUpdatePublicMailboxPatch method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomBuilding ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomBuilding(f func(ctx context.Context, request *BatchGetMeetingRoomBuildingReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomBuildingResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomBuilding mock MeetingRoomBatchGetMeetingRoomBuilding method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomBuildingID ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomBuildingID(f func(ctx context.Context, request *BatchGetMeetingRoomBuildingIDReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomBuildingIDResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomBuildingID mock MeetingRoomBatchGetMeetingRoomBuildingID method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomFreebusy ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomFreebusy(f func(ctx context.Context, request *BatchGetMeetingRoomFreebusyReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomFreebusyResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomFreebusy mock MeetingRoomBatchGetMeetingRoomFreebusy method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomRoom ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomRoom(f func(ctx context.Context, request *BatchGetMeetingRoomRoomReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomRoomResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomRoom mock MeetingRoomBatchGetMeetingRoomRoom method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomRoomID ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomRoomID(f func(ctx context.Context, request *BatchGetMeetingRoomRoomIDReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomRoomIDResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomRoomID mock MeetingRoomBatchGetMeetingRoomRoomID method
func (*Mock) MockMeetingRoomBatchGetMeetingRoomSummary ¶
func (r *Mock) MockMeetingRoomBatchGetMeetingRoomSummary(f func(ctx context.Context, request *BatchGetMeetingRoomSummaryReq, options ...MethodOptionFunc) (*BatchGetMeetingRoomSummaryResp, *Response, error))
MockMeetingRoomBatchGetMeetingRoomSummary mock MeetingRoomBatchGetMeetingRoomSummary method
func (*Mock) MockMeetingRoomCreateMeetingRoomBuilding ¶
func (r *Mock) MockMeetingRoomCreateMeetingRoomBuilding(f func(ctx context.Context, request *CreateMeetingRoomBuildingReq, options ...MethodOptionFunc) (*CreateMeetingRoomBuildingResp, *Response, error))
MockMeetingRoomCreateMeetingRoomBuilding mock MeetingRoomCreateMeetingRoomBuilding method
func (*Mock) MockMeetingRoomCreateMeetingRoomRoom ¶
func (r *Mock) MockMeetingRoomCreateMeetingRoomRoom(f func(ctx context.Context, request *CreateMeetingRoomRoomReq, options ...MethodOptionFunc) (*CreateMeetingRoomRoomResp, *Response, error))
MockMeetingRoomCreateMeetingRoomRoom mock MeetingRoomCreateMeetingRoomRoom method
func (*Mock) MockMeetingRoomDeleteMeetingRoomBuilding ¶
func (r *Mock) MockMeetingRoomDeleteMeetingRoomBuilding(f func(ctx context.Context, request *DeleteMeetingRoomBuildingReq, options ...MethodOptionFunc) (*DeleteMeetingRoomBuildingResp, *Response, error))
MockMeetingRoomDeleteMeetingRoomBuilding mock MeetingRoomDeleteMeetingRoomBuilding method
func (*Mock) MockMeetingRoomDeleteMeetingRoomRoom ¶
func (r *Mock) MockMeetingRoomDeleteMeetingRoomRoom(f func(ctx context.Context, request *DeleteMeetingRoomRoomReq, options ...MethodOptionFunc) (*DeleteMeetingRoomRoomResp, *Response, error))
MockMeetingRoomDeleteMeetingRoomRoom mock MeetingRoomDeleteMeetingRoomRoom method
func (*Mock) MockMeetingRoomGetMeetingRoomBuildingList ¶
func (r *Mock) MockMeetingRoomGetMeetingRoomBuildingList(f func(ctx context.Context, request *GetMeetingRoomBuildingListReq, options ...MethodOptionFunc) (*GetMeetingRoomBuildingListResp, *Response, error))
MockMeetingRoomGetMeetingRoomBuildingList mock MeetingRoomGetMeetingRoomBuildingList method
func (*Mock) MockMeetingRoomGetMeetingRoomCountryList ¶
func (r *Mock) MockMeetingRoomGetMeetingRoomCountryList(f func(ctx context.Context, request *GetMeetingRoomCountryListReq, options ...MethodOptionFunc) (*GetMeetingRoomCountryListResp, *Response, error))
MockMeetingRoomGetMeetingRoomCountryList mock MeetingRoomGetMeetingRoomCountryList method
func (*Mock) MockMeetingRoomGetMeetingRoomCustomization ¶
func (r *Mock) MockMeetingRoomGetMeetingRoomCustomization(f func(ctx context.Context, request *GetMeetingRoomCustomizationReq, options ...MethodOptionFunc) (*GetMeetingRoomCustomizationResp, *Response, error))
MockMeetingRoomGetMeetingRoomCustomization mock MeetingRoomGetMeetingRoomCustomization method
func (*Mock) MockMeetingRoomGetMeetingRoomDistrictList ¶
func (r *Mock) MockMeetingRoomGetMeetingRoomDistrictList(f func(ctx context.Context, request *GetMeetingRoomDistrictListReq, options ...MethodOptionFunc) (*GetMeetingRoomDistrictListResp, *Response, error))
MockMeetingRoomGetMeetingRoomDistrictList mock MeetingRoomGetMeetingRoomDistrictList method
func (*Mock) MockMeetingRoomGetMeetingRoomRoomList ¶
func (r *Mock) MockMeetingRoomGetMeetingRoomRoomList(f func(ctx context.Context, request *GetMeetingRoomRoomListReq, options ...MethodOptionFunc) (*GetMeetingRoomRoomListResp, *Response, error))
MockMeetingRoomGetMeetingRoomRoomList mock MeetingRoomGetMeetingRoomRoomList method
func (*Mock) MockMeetingRoomReplyMeetingRoomInstance ¶
func (r *Mock) MockMeetingRoomReplyMeetingRoomInstance(f func(ctx context.Context, request *ReplyMeetingRoomInstanceReq, options ...MethodOptionFunc) (*ReplyMeetingRoomInstanceResp, *Response, error))
MockMeetingRoomReplyMeetingRoomInstance mock MeetingRoomReplyMeetingRoomInstance method
func (*Mock) MockMeetingRoomUpdateMeetingRoomBuilding ¶
func (r *Mock) MockMeetingRoomUpdateMeetingRoomBuilding(f func(ctx context.Context, request *UpdateMeetingRoomBuildingReq, options ...MethodOptionFunc) (*UpdateMeetingRoomBuildingResp, *Response, error))
MockMeetingRoomUpdateMeetingRoomBuilding mock MeetingRoomUpdateMeetingRoomBuilding method
func (*Mock) MockMeetingRoomUpdateMeetingRoomRoom ¶
func (r *Mock) MockMeetingRoomUpdateMeetingRoomRoom(f func(ctx context.Context, request *UpdateMeetingRoomRoomReq, options ...MethodOptionFunc) (*UpdateMeetingRoomRoomResp, *Response, error))
MockMeetingRoomUpdateMeetingRoomRoom mock MeetingRoomUpdateMeetingRoomRoom method
func (*Mock) MockMessageBatchDeleteMessage ¶
func (r *Mock) MockMessageBatchDeleteMessage(f func(ctx context.Context, request *BatchDeleteMessageReq, options ...MethodOptionFunc) (*BatchDeleteMessageResp, *Response, error))
MockMessageBatchDeleteMessage mock MessageBatchDeleteMessage method
func (*Mock) MockMessageBatchSendOldRawMessage ¶
func (r *Mock) MockMessageBatchSendOldRawMessage(f func(ctx context.Context, request *BatchSendOldRawMessageReq, options ...MethodOptionFunc) (*BatchSendOldRawMessageResp, *Response, error))
MockMessageBatchSendOldRawMessage mock MessageBatchSendOldRawMessage method
func (*Mock) MockMessageCreateMessageReaction ¶
func (r *Mock) MockMessageCreateMessageReaction(f func(ctx context.Context, request *CreateMessageReactionReq, options ...MethodOptionFunc) (*CreateMessageReactionResp, *Response, error))
MockMessageCreateMessageReaction mock MessageCreateMessageReaction method
func (*Mock) MockMessageDeleteEphemeralMessage ¶
func (r *Mock) MockMessageDeleteEphemeralMessage(f func(ctx context.Context, request *DeleteEphemeralMessageReq, options ...MethodOptionFunc) (*DeleteEphemeralMessageResp, *Response, error))
MockMessageDeleteEphemeralMessage mock MessageDeleteEphemeralMessage method
func (*Mock) MockMessageDeleteMessage ¶
func (r *Mock) MockMessageDeleteMessage(f func(ctx context.Context, request *DeleteMessageReq, options ...MethodOptionFunc) (*DeleteMessageResp, *Response, error))
MockMessageDeleteMessage mock MessageDeleteMessage method
func (*Mock) MockMessageDeleteMessageReaction ¶
func (r *Mock) MockMessageDeleteMessageReaction(f func(ctx context.Context, request *DeleteMessageReactionReq, options ...MethodOptionFunc) (*DeleteMessageReactionResp, *Response, error))
MockMessageDeleteMessageReaction mock MessageDeleteMessageReaction method
func (*Mock) MockMessageGetBatchSentMessageProgress ¶
func (r *Mock) MockMessageGetBatchSentMessageProgress(f func(ctx context.Context, request *GetBatchSentMessageProgressReq, options ...MethodOptionFunc) (*GetBatchSentMessageProgressResp, *Response, error))
MockMessageGetBatchSentMessageProgress mock MessageGetBatchSentMessageProgress method
func (*Mock) MockMessageGetBatchSentMessageReadUser ¶
func (r *Mock) MockMessageGetBatchSentMessageReadUser(f func(ctx context.Context, request *GetBatchSentMessageReadUserReq, options ...MethodOptionFunc) (*GetBatchSentMessageReadUserResp, *Response, error))
MockMessageGetBatchSentMessageReadUser mock MessageGetBatchSentMessageReadUser method
func (*Mock) MockMessageGetMessage ¶
func (r *Mock) MockMessageGetMessage(f func(ctx context.Context, request *GetMessageReq, options ...MethodOptionFunc) (*GetMessageResp, *Response, error))
MockMessageGetMessage mock MessageGetMessage method
func (*Mock) MockMessageGetMessageFile ¶
func (r *Mock) MockMessageGetMessageFile(f func(ctx context.Context, request *GetMessageFileReq, options ...MethodOptionFunc) (*GetMessageFileResp, *Response, error))
MockMessageGetMessageFile mock MessageGetMessageFile method
func (*Mock) MockMessageGetMessageList ¶
func (r *Mock) MockMessageGetMessageList(f func(ctx context.Context, request *GetMessageListReq, options ...MethodOptionFunc) (*GetMessageListResp, *Response, error))
MockMessageGetMessageList mock MessageGetMessageList method
func (*Mock) MockMessageGetMessageReactionList ¶
func (r *Mock) MockMessageGetMessageReactionList(f func(ctx context.Context, request *GetMessageReactionListReq, options ...MethodOptionFunc) (*GetMessageReactionListResp, *Response, error))
MockMessageGetMessageReactionList mock MessageGetMessageReactionList method
func (*Mock) MockMessageGetMessageReadUserList ¶
func (r *Mock) MockMessageGetMessageReadUserList(f func(ctx context.Context, request *GetMessageReadUserListReq, options ...MethodOptionFunc) (*GetMessageReadUserListResp, *Response, error))
MockMessageGetMessageReadUserList mock MessageGetMessageReadUserList method
func (*Mock) MockMessageReplyRawMessage ¶
func (r *Mock) MockMessageReplyRawMessage(f func(ctx context.Context, request *ReplyRawMessageReq, options ...MethodOptionFunc) (*ReplyRawMessageResp, *Response, error))
MockMessageReplyRawMessage mock MessageReplyRawMessage method
func (*Mock) MockMessageSendEphemeralMessage ¶
func (r *Mock) MockMessageSendEphemeralMessage(f func(ctx context.Context, request *SendEphemeralMessageReq, options ...MethodOptionFunc) (*SendEphemeralMessageResp, *Response, error))
MockMessageSendEphemeralMessage mock MessageSendEphemeralMessage method
func (*Mock) MockMessageSendRawMessage ¶
func (r *Mock) MockMessageSendRawMessage(f func(ctx context.Context, request *SendRawMessageReq, options ...MethodOptionFunc) (*SendRawMessageResp, *Response, error))
MockMessageSendRawMessage mock MessageSendRawMessage method
func (*Mock) MockMessageSendRawMessageOld ¶
func (r *Mock) MockMessageSendRawMessageOld(f func(ctx context.Context, request *SendRawMessageOldReq, options ...MethodOptionFunc) (*SendRawMessageOldResp, *Response, error))
MockMessageSendRawMessageOld mock MessageSendRawMessageOld method
func (*Mock) MockMessageSendUrgentAppMessage ¶
func (r *Mock) MockMessageSendUrgentAppMessage(f func(ctx context.Context, request *SendUrgentAppMessageReq, options ...MethodOptionFunc) (*SendUrgentAppMessageResp, *Response, error))
MockMessageSendUrgentAppMessage mock MessageSendUrgentAppMessage method
func (*Mock) MockMessageSendUrgentPhoneMessage ¶
func (r *Mock) MockMessageSendUrgentPhoneMessage(f func(ctx context.Context, request *SendUrgentPhoneMessageReq, options ...MethodOptionFunc) (*SendUrgentPhoneMessageResp, *Response, error))
MockMessageSendUrgentPhoneMessage mock MessageSendUrgentPhoneMessage method
func (*Mock) MockMessageSendUrgentSmsMessage ¶
func (r *Mock) MockMessageSendUrgentSmsMessage(f func(ctx context.Context, request *SendUrgentSmsMessageReq, options ...MethodOptionFunc) (*SendUrgentSmsMessageResp, *Response, error))
MockMessageSendUrgentSmsMessage mock MessageSendUrgentSmsMessage method
func (*Mock) MockMessageUpdateMessage ¶
func (r *Mock) MockMessageUpdateMessage(f func(ctx context.Context, request *UpdateMessageReq, options ...MethodOptionFunc) (*UpdateMessageResp, *Response, error))
MockMessageUpdateMessage mock MessageUpdateMessage method
func (*Mock) MockMessageUpdateMessageDelay ¶
func (r *Mock) MockMessageUpdateMessageDelay(f func(ctx context.Context, request *UpdateMessageDelayReq, options ...MethodOptionFunc) (*UpdateMessageDelayResp, *Response, error))
MockMessageUpdateMessageDelay mock MessageUpdateMessageDelay method
func (*Mock) MockOKRBatchGetOKR ¶
func (r *Mock) MockOKRBatchGetOKR(f func(ctx context.Context, request *BatchGetOKRReq, options ...MethodOptionFunc) (*BatchGetOKRResp, *Response, error))
MockOKRBatchGetOKR mock OKRBatchGetOKR method
func (*Mock) MockOKRGetOKRPeriodList ¶
func (r *Mock) MockOKRGetOKRPeriodList(f func(ctx context.Context, request *GetOKRPeriodListReq, options ...MethodOptionFunc) (*GetOKRPeriodListResp, *Response, error))
MockOKRGetOKRPeriodList mock OKRGetOKRPeriodList method
func (*Mock) MockOKRGetUserOKRList ¶
func (r *Mock) MockOKRGetUserOKRList(f func(ctx context.Context, request *GetUserOKRListReq, options ...MethodOptionFunc) (*GetUserOKRListResp, *Response, error))
MockOKRGetUserOKRList mock OKRGetUserOKRList method
func (*Mock) MockRawRequest ¶
func (r *Mock) MockRawRequest(f func(ctx context.Context, req *RawRequestReq, resp interface{}) (response *Response, err error))
MockRawRequest mock request
func (*Mock) MockSearchCreateSearchDataSource ¶
func (r *Mock) MockSearchCreateSearchDataSource(f func(ctx context.Context, request *CreateSearchDataSourceReq, options ...MethodOptionFunc) (*CreateSearchDataSourceResp, *Response, error))
MockSearchCreateSearchDataSource mock SearchCreateSearchDataSource method
func (*Mock) MockSearchCreateSearchDataSourceItem ¶
func (r *Mock) MockSearchCreateSearchDataSourceItem(f func(ctx context.Context, request *CreateSearchDataSourceItemReq, options ...MethodOptionFunc) (*CreateSearchDataSourceItemResp, *Response, error))
MockSearchCreateSearchDataSourceItem mock SearchCreateSearchDataSourceItem method
func (*Mock) MockSearchDeleteSearchDataSource ¶
func (r *Mock) MockSearchDeleteSearchDataSource(f func(ctx context.Context, request *DeleteSearchDataSourceReq, options ...MethodOptionFunc) (*DeleteSearchDataSourceResp, *Response, error))
MockSearchDeleteSearchDataSource mock SearchDeleteSearchDataSource method
func (*Mock) MockSearchDeleteSearchDataSourceItem ¶
func (r *Mock) MockSearchDeleteSearchDataSourceItem(f func(ctx context.Context, request *DeleteSearchDataSourceItemReq, options ...MethodOptionFunc) (*DeleteSearchDataSourceItemResp, *Response, error))
MockSearchDeleteSearchDataSourceItem mock SearchDeleteSearchDataSourceItem method
func (*Mock) MockSearchGetSearchDataSource ¶
func (r *Mock) MockSearchGetSearchDataSource(f func(ctx context.Context, request *GetSearchDataSourceReq, options ...MethodOptionFunc) (*GetSearchDataSourceResp, *Response, error))
MockSearchGetSearchDataSource mock SearchGetSearchDataSource method
func (*Mock) MockSearchGetSearchDataSourceItem ¶
func (r *Mock) MockSearchGetSearchDataSourceItem(f func(ctx context.Context, request *GetSearchDataSourceItemReq, options ...MethodOptionFunc) (*GetSearchDataSourceItemResp, *Response, error))
MockSearchGetSearchDataSourceItem mock SearchGetSearchDataSourceItem method
func (*Mock) MockSearchGetSearchDataSourceList ¶
func (r *Mock) MockSearchGetSearchDataSourceList(f func(ctx context.Context, request *GetSearchDataSourceListReq, options ...MethodOptionFunc) (*GetSearchDataSourceListResp, *Response, error))
MockSearchGetSearchDataSourceList mock SearchGetSearchDataSourceList method
func (*Mock) MockSearchUpdateSearchDataSource ¶
func (r *Mock) MockSearchUpdateSearchDataSource(f func(ctx context.Context, request *UpdateSearchDataSourceReq, options ...MethodOptionFunc) (*UpdateSearchDataSourceResp, *Response, error))
MockSearchUpdateSearchDataSource mock SearchUpdateSearchDataSource method
func (*Mock) MockTaskCompleteTask ¶
func (r *Mock) MockTaskCompleteTask(f func(ctx context.Context, request *CompleteTaskReq, options ...MethodOptionFunc) (*CompleteTaskResp, *Response, error))
MockTaskCompleteTask mock TaskCompleteTask method
func (*Mock) MockTaskCreateTask ¶
func (r *Mock) MockTaskCreateTask(f func(ctx context.Context, request *CreateTaskReq, options ...MethodOptionFunc) (*CreateTaskResp, *Response, error))
MockTaskCreateTask mock TaskCreateTask method
func (*Mock) MockTaskCreateTaskCollaborator ¶
func (r *Mock) MockTaskCreateTaskCollaborator(f func(ctx context.Context, request *CreateTaskCollaboratorReq, options ...MethodOptionFunc) (*CreateTaskCollaboratorResp, *Response, error))
MockTaskCreateTaskCollaborator mock TaskCreateTaskCollaborator method
func (*Mock) MockTaskCreateTaskComment ¶
func (r *Mock) MockTaskCreateTaskComment(f func(ctx context.Context, request *CreateTaskCommentReq, options ...MethodOptionFunc) (*CreateTaskCommentResp, *Response, error))
MockTaskCreateTaskComment mock TaskCreateTaskComment method
func (*Mock) MockTaskCreateTaskFollower ¶
func (r *Mock) MockTaskCreateTaskFollower(f func(ctx context.Context, request *CreateTaskFollowerReq, options ...MethodOptionFunc) (*CreateTaskFollowerResp, *Response, error))
MockTaskCreateTaskFollower mock TaskCreateTaskFollower method
func (*Mock) MockTaskCreateTaskReminder ¶
func (r *Mock) MockTaskCreateTaskReminder(f func(ctx context.Context, request *CreateTaskReminderReq, options ...MethodOptionFunc) (*CreateTaskReminderResp, *Response, error))
MockTaskCreateTaskReminder mock TaskCreateTaskReminder method
func (*Mock) MockTaskDeleteTask ¶
func (r *Mock) MockTaskDeleteTask(f func(ctx context.Context, request *DeleteTaskReq, options ...MethodOptionFunc) (*DeleteTaskResp, *Response, error))
MockTaskDeleteTask mock TaskDeleteTask method
func (*Mock) MockTaskDeleteTaskCollaborator ¶
func (r *Mock) MockTaskDeleteTaskCollaborator(f func(ctx context.Context, request *DeleteTaskCollaboratorReq, options ...MethodOptionFunc) (*DeleteTaskCollaboratorResp, *Response, error))
MockTaskDeleteTaskCollaborator mock TaskDeleteTaskCollaborator method
func (*Mock) MockTaskDeleteTaskComment ¶
func (r *Mock) MockTaskDeleteTaskComment(f func(ctx context.Context, request *DeleteTaskCommentReq, options ...MethodOptionFunc) (*DeleteTaskCommentResp, *Response, error))
MockTaskDeleteTaskComment mock TaskDeleteTaskComment method
func (*Mock) MockTaskDeleteTaskFollower ¶
func (r *Mock) MockTaskDeleteTaskFollower(f func(ctx context.Context, request *DeleteTaskFollowerReq, options ...MethodOptionFunc) (*DeleteTaskFollowerResp, *Response, error))
MockTaskDeleteTaskFollower mock TaskDeleteTaskFollower method
func (*Mock) MockTaskDeleteTaskReminder ¶
func (r *Mock) MockTaskDeleteTaskReminder(f func(ctx context.Context, request *DeleteTaskReminderReq, options ...MethodOptionFunc) (*DeleteTaskReminderResp, *Response, error))
MockTaskDeleteTaskReminder mock TaskDeleteTaskReminder method
func (*Mock) MockTaskGetTask ¶
func (r *Mock) MockTaskGetTask(f func(ctx context.Context, request *GetTaskReq, options ...MethodOptionFunc) (*GetTaskResp, *Response, error))
MockTaskGetTask mock TaskGetTask method
func (*Mock) MockTaskGetTaskCollaboratorList ¶
func (r *Mock) MockTaskGetTaskCollaboratorList(f func(ctx context.Context, request *GetTaskCollaboratorListReq, options ...MethodOptionFunc) (*GetTaskCollaboratorListResp, *Response, error))
MockTaskGetTaskCollaboratorList mock TaskGetTaskCollaboratorList method
func (*Mock) MockTaskGetTaskComment ¶
func (r *Mock) MockTaskGetTaskComment(f func(ctx context.Context, request *GetTaskCommentReq, options ...MethodOptionFunc) (*GetTaskCommentResp, *Response, error))
MockTaskGetTaskComment mock TaskGetTaskComment method
func (*Mock) MockTaskGetTaskFollowerList ¶
func (r *Mock) MockTaskGetTaskFollowerList(f func(ctx context.Context, request *GetTaskFollowerListReq, options ...MethodOptionFunc) (*GetTaskFollowerListResp, *Response, error))
MockTaskGetTaskFollowerList mock TaskGetTaskFollowerList method
func (*Mock) MockTaskGetTaskList ¶
func (r *Mock) MockTaskGetTaskList(f func(ctx context.Context, request *GetTaskListReq, options ...MethodOptionFunc) (*GetTaskListResp, *Response, error))
MockTaskGetTaskList mock TaskGetTaskList method
func (*Mock) MockTaskGetTaskReminderList ¶
func (r *Mock) MockTaskGetTaskReminderList(f func(ctx context.Context, request *GetTaskReminderListReq, options ...MethodOptionFunc) (*GetTaskReminderListResp, *Response, error))
MockTaskGetTaskReminderList mock TaskGetTaskReminderList method
func (*Mock) MockTaskUncompleteTask ¶
func (r *Mock) MockTaskUncompleteTask(f func(ctx context.Context, request *UncompleteTaskReq, options ...MethodOptionFunc) (*UncompleteTaskResp, *Response, error))
MockTaskUncompleteTask mock TaskUncompleteTask method
func (*Mock) MockTaskUpdateTask ¶
func (r *Mock) MockTaskUpdateTask(f func(ctx context.Context, request *UpdateTaskReq, options ...MethodOptionFunc) (*UpdateTaskResp, *Response, error))
MockTaskUpdateTask mock TaskUpdateTask method
func (*Mock) MockTaskUpdateTaskComment ¶
func (r *Mock) MockTaskUpdateTaskComment(f func(ctx context.Context, request *UpdateTaskCommentReq, options ...MethodOptionFunc) (*UpdateTaskCommentResp, *Response, error))
MockTaskUpdateTaskComment mock TaskUpdateTaskComment method
func (*Mock) MockTenantGetTenant ¶
func (r *Mock) MockTenantGetTenant(f func(ctx context.Context, request *GetTenantReq, options ...MethodOptionFunc) (*GetTenantResp, *Response, error))
MockTenantGetTenant mock TenantGetTenant method
func (*Mock) MockVCApplyVCReserve ¶
func (r *Mock) MockVCApplyVCReserve(f func(ctx context.Context, request *ApplyVCReserveReq, options ...MethodOptionFunc) (*ApplyVCReserveResp, *Response, error))
MockVCApplyVCReserve mock VCApplyVCReserve method
func (*Mock) MockVCDeleteVCReserve ¶
func (r *Mock) MockVCDeleteVCReserve(f func(ctx context.Context, request *DeleteVCReserveReq, options ...MethodOptionFunc) (*DeleteVCReserveResp, *Response, error))
MockVCDeleteVCReserve mock VCDeleteVCReserve method
func (*Mock) MockVCEndVCMeeting ¶
func (r *Mock) MockVCEndVCMeeting(f func(ctx context.Context, request *EndVCMeetingReq, options ...MethodOptionFunc) (*EndVCMeetingResp, *Response, error))
MockVCEndVCMeeting mock VCEndVCMeeting method
func (*Mock) MockVCGetVCDailyReport ¶
func (r *Mock) MockVCGetVCDailyReport(f func(ctx context.Context, request *GetVCDailyReportReq, options ...MethodOptionFunc) (*GetVCDailyReportResp, *Response, error))
MockVCGetVCDailyReport mock VCGetVCDailyReport method
func (*Mock) MockVCGetVCMeeting ¶
func (r *Mock) MockVCGetVCMeeting(f func(ctx context.Context, request *GetVCMeetingReq, options ...MethodOptionFunc) (*GetVCMeetingResp, *Response, error))
MockVCGetVCMeeting mock VCGetVCMeeting method
func (*Mock) MockVCGetVCMeetingRecording ¶
func (r *Mock) MockVCGetVCMeetingRecording(f func(ctx context.Context, request *GetVCMeetingRecordingReq, options ...MethodOptionFunc) (*GetVCMeetingRecordingResp, *Response, error))
MockVCGetVCMeetingRecording mock VCGetVCMeetingRecording method
func (*Mock) MockVCGetVCReserve ¶
func (r *Mock) MockVCGetVCReserve(f func(ctx context.Context, request *GetVCReserveReq, options ...MethodOptionFunc) (*GetVCReserveResp, *Response, error))
MockVCGetVCReserve mock VCGetVCReserve method
func (*Mock) MockVCGetVCReserveActiveMeeting ¶
func (r *Mock) MockVCGetVCReserveActiveMeeting(f func(ctx context.Context, request *GetVCReserveActiveMeetingReq, options ...MethodOptionFunc) (*GetVCReserveActiveMeetingResp, *Response, error))
MockVCGetVCReserveActiveMeeting mock VCGetVCReserveActiveMeeting method
func (*Mock) MockVCGetVCRoomConfig ¶
func (r *Mock) MockVCGetVCRoomConfig(f func(ctx context.Context, request *GetVCRoomConfigReq, options ...MethodOptionFunc) (*GetVCRoomConfigResp, *Response, error))
MockVCGetVCRoomConfig mock VCGetVCRoomConfig method
func (*Mock) MockVCGetVCTopUserReport ¶
func (r *Mock) MockVCGetVCTopUserReport(f func(ctx context.Context, request *GetVCTopUserReportReq, options ...MethodOptionFunc) (*GetVCTopUserReportResp, *Response, error))
MockVCGetVCTopUserReport mock VCGetVCTopUserReport method
func (*Mock) MockVCInviteVCMeeting ¶
func (r *Mock) MockVCInviteVCMeeting(f func(ctx context.Context, request *InviteVCMeetingReq, options ...MethodOptionFunc) (*InviteVCMeetingResp, *Response, error))
MockVCInviteVCMeeting mock VCInviteVCMeeting method
func (*Mock) MockVCKickoutVCMeeting ¶
func (r *Mock) MockVCKickoutVCMeeting(f func(ctx context.Context, request *KickoutVCMeetingReq, options ...MethodOptionFunc) (*KickoutVCMeetingResp, *Response, error))
MockVCKickoutVCMeeting mock VCKickoutVCMeeting method
func (*Mock) MockVCListVCMeetingByNo ¶
func (r *Mock) MockVCListVCMeetingByNo(f func(ctx context.Context, request *ListVCMeetingByNoReq, options ...MethodOptionFunc) (*ListVCMeetingByNoResp, *Response, error))
MockVCListVCMeetingByNo mock VCListVCMeetingByNo method
func (*Mock) MockVCSetVCHostMeeting ¶
func (r *Mock) MockVCSetVCHostMeeting(f func(ctx context.Context, request *SetVCHostMeetingReq, options ...MethodOptionFunc) (*SetVCHostMeetingResp, *Response, error))
MockVCSetVCHostMeeting mock VCSetVCHostMeeting method
func (*Mock) MockVCSetVCPermissionMeetingRecording ¶
func (r *Mock) MockVCSetVCPermissionMeetingRecording(f func(ctx context.Context, request *SetVCPermissionMeetingRecordingReq, options ...MethodOptionFunc) (*SetVCPermissionMeetingRecordingResp, *Response, error))
MockVCSetVCPermissionMeetingRecording mock VCSetVCPermissionMeetingRecording method
func (*Mock) MockVCSetVCRoomConfig ¶
func (r *Mock) MockVCSetVCRoomConfig(f func(ctx context.Context, request *SetVCRoomConfigReq, options ...MethodOptionFunc) (*SetVCRoomConfigResp, *Response, error))
MockVCSetVCRoomConfig mock VCSetVCRoomConfig method
func (*Mock) MockVCStartVCMeetingRecording ¶
func (r *Mock) MockVCStartVCMeetingRecording(f func(ctx context.Context, request *StartVCMeetingRecordingReq, options ...MethodOptionFunc) (*StartVCMeetingRecordingResp, *Response, error))
MockVCStartVCMeetingRecording mock VCStartVCMeetingRecording method
func (*Mock) MockVCStopVCMeetingRecording ¶
func (r *Mock) MockVCStopVCMeetingRecording(f func(ctx context.Context, request *StopVCMeetingRecordingReq, options ...MethodOptionFunc) (*StopVCMeetingRecordingResp, *Response, error))
MockVCStopVCMeetingRecording mock VCStopVCMeetingRecording method
func (*Mock) MockVCUpdateVCReserve ¶
func (r *Mock) MockVCUpdateVCReserve(f func(ctx context.Context, request *UpdateVCReserveReq, options ...MethodOptionFunc) (*UpdateVCReserveResp, *Response, error))
MockVCUpdateVCReserve mock VCUpdateVCReserve method
func (*Mock) UnMockACSGetACSAccessRecordList ¶
func (r *Mock) UnMockACSGetACSAccessRecordList()
UnMockACSGetACSAccessRecordList un-mock ACSGetACSAccessRecordList method
func (*Mock) UnMockACSGetACSAccessRecordPhoto ¶
func (r *Mock) UnMockACSGetACSAccessRecordPhoto()
UnMockACSGetACSAccessRecordPhoto un-mock ACSGetACSAccessRecordPhoto method
func (*Mock) UnMockACSGetACSDeviceList ¶
func (r *Mock) UnMockACSGetACSDeviceList()
UnMockACSGetACSDeviceList un-mock ACSGetACSDeviceList method
func (*Mock) UnMockACSGetACSUser ¶
func (r *Mock) UnMockACSGetACSUser()
UnMockACSGetACSUser un-mock ACSGetACSUser method
func (*Mock) UnMockACSGetACSUserFace ¶
func (r *Mock) UnMockACSGetACSUserFace()
UnMockACSGetACSUserFace un-mock ACSGetACSUserFace method
func (*Mock) UnMockACSGetACSUserList ¶
func (r *Mock) UnMockACSGetACSUserList()
UnMockACSGetACSUserList un-mock ACSGetACSUserList method
func (*Mock) UnMockACSUpdateACSUser ¶
func (r *Mock) UnMockACSUpdateACSUser()
UnMockACSUpdateACSUser un-mock ACSUpdateACSUser method
func (*Mock) UnMockACSUpdateACSUserFace ¶
func (r *Mock) UnMockACSUpdateACSUserFace()
UnMockACSUpdateACSUserFace un-mock ACSUpdateACSUserFace method
func (*Mock) UnMockAIDetectFaceAttributes ¶
func (r *Mock) UnMockAIDetectFaceAttributes()
UnMockAIDetectFaceAttributes un-mock AIDetectFaceAttributes method
func (*Mock) UnMockAIDetectTextLanguage ¶
func (r *Mock) UnMockAIDetectTextLanguage()
UnMockAIDetectTextLanguage un-mock AIDetectTextLanguage method
func (*Mock) UnMockAIRecognizeBasicImage ¶
func (r *Mock) UnMockAIRecognizeBasicImage()
UnMockAIRecognizeBasicImage un-mock AIRecognizeBasicImage method
func (*Mock) UnMockAIRecognizeSpeechFile ¶
func (r *Mock) UnMockAIRecognizeSpeechFile()
UnMockAIRecognizeSpeechFile un-mock AIRecognizeSpeechFile method
func (*Mock) UnMockAIRecognizeSpeechStream ¶
func (r *Mock) UnMockAIRecognizeSpeechStream()
UnMockAIRecognizeSpeechStream un-mock AIRecognizeSpeechStream method
func (*Mock) UnMockAITranslateText ¶
func (r *Mock) UnMockAITranslateText()
UnMockAITranslateText un-mock AITranslateText method
func (*Mock) UnMockAdminGetAdminDeptStats ¶
func (r *Mock) UnMockAdminGetAdminDeptStats()
UnMockAdminGetAdminDeptStats un-mock AdminGetAdminDeptStats method
func (*Mock) UnMockAdminGetAdminUserStats ¶
func (r *Mock) UnMockAdminGetAdminUserStats()
UnMockAdminGetAdminUserStats un-mock AdminGetAdminUserStats method
func (*Mock) UnMockApplicationCheckUserIsInApplicationPaidScope ¶
func (r *Mock) UnMockApplicationCheckUserIsInApplicationPaidScope()
UnMockApplicationCheckUserIsInApplicationPaidScope un-mock ApplicationCheckUserIsInApplicationPaidScope method
func (*Mock) UnMockApplicationGetApplication ¶
func (r *Mock) UnMockApplicationGetApplication()
UnMockApplicationGetApplication un-mock ApplicationGetApplication method
func (*Mock) UnMockApplicationGetApplicationAppAdminUserList ¶
func (r *Mock) UnMockApplicationGetApplicationAppAdminUserList()
UnMockApplicationGetApplicationAppAdminUserList un-mock ApplicationGetApplicationAppAdminUserList method
func (*Mock) UnMockApplicationGetApplicationAppList ¶
func (r *Mock) UnMockApplicationGetApplicationAppList()
UnMockApplicationGetApplicationAppList un-mock ApplicationGetApplicationAppList method
func (*Mock) UnMockApplicationGetApplicationAppVisibility ¶
func (r *Mock) UnMockApplicationGetApplicationAppVisibility()
UnMockApplicationGetApplicationAppVisibility un-mock ApplicationGetApplicationAppVisibility method
func (*Mock) UnMockApplicationGetApplicationMessageDetail ¶
func (r *Mock) UnMockApplicationGetApplicationMessageDetail()
UnMockApplicationGetApplicationMessageDetail un-mock ApplicationGetApplicationMessageDetail method
func (*Mock) UnMockApplicationGetApplicationMessageOverview ¶
func (r *Mock) UnMockApplicationGetApplicationMessageOverview()
UnMockApplicationGetApplicationMessageOverview un-mock ApplicationGetApplicationMessageOverview method
func (*Mock) UnMockApplicationGetApplicationMessageTrend ¶
func (r *Mock) UnMockApplicationGetApplicationMessageTrend()
UnMockApplicationGetApplicationMessageTrend un-mock ApplicationGetApplicationMessageTrend method
func (*Mock) UnMockApplicationGetApplicationOrder ¶
func (r *Mock) UnMockApplicationGetApplicationOrder()
UnMockApplicationGetApplicationOrder un-mock ApplicationGetApplicationOrder method
func (*Mock) UnMockApplicationGetApplicationOrderList ¶
func (r *Mock) UnMockApplicationGetApplicationOrderList()
UnMockApplicationGetApplicationOrderList un-mock ApplicationGetApplicationOrderList method
func (*Mock) UnMockApplicationGetApplicationUnderAuditList ¶
func (r *Mock) UnMockApplicationGetApplicationUnderAuditList()
UnMockApplicationGetApplicationUnderAuditList un-mock ApplicationGetApplicationUnderAuditList method
func (*Mock) UnMockApplicationGetApplicationUsageDetail ¶
func (r *Mock) UnMockApplicationGetApplicationUsageDetail()
UnMockApplicationGetApplicationUsageDetail un-mock ApplicationGetApplicationUsageDetail method
func (*Mock) UnMockApplicationGetApplicationUsageOverview ¶
func (r *Mock) UnMockApplicationGetApplicationUsageOverview()
UnMockApplicationGetApplicationUsageOverview un-mock ApplicationGetApplicationUsageOverview method
func (*Mock) UnMockApplicationGetApplicationUsageTrend ¶
func (r *Mock) UnMockApplicationGetApplicationUsageTrend()
UnMockApplicationGetApplicationUsageTrend un-mock ApplicationGetApplicationUsageTrend method
func (*Mock) UnMockApplicationGetApplicationUserAdminScope ¶
func (r *Mock) UnMockApplicationGetApplicationUserAdminScope()
UnMockApplicationGetApplicationUserAdminScope un-mock ApplicationGetApplicationUserAdminScope method
func (*Mock) UnMockApplicationGetApplicationUserVisibleApp ¶
func (r *Mock) UnMockApplicationGetApplicationUserVisibleApp()
UnMockApplicationGetApplicationUserVisibleApp un-mock ApplicationGetApplicationUserVisibleApp method
func (*Mock) UnMockApplicationGetApplicationVersion ¶
func (r *Mock) UnMockApplicationGetApplicationVersion()
UnMockApplicationGetApplicationVersion un-mock ApplicationGetApplicationVersion method
func (*Mock) UnMockApplicationIsApplicationUserAdmin ¶
func (r *Mock) UnMockApplicationIsApplicationUserAdmin()
UnMockApplicationIsApplicationUserAdmin un-mock ApplicationIsApplicationUserAdmin method
func (*Mock) UnMockApplicationUpdateApplication ¶
func (r *Mock) UnMockApplicationUpdateApplication()
UnMockApplicationUpdateApplication un-mock ApplicationUpdateApplication method
func (*Mock) UnMockApplicationUpdateApplicationAppVisibility ¶
func (r *Mock) UnMockApplicationUpdateApplicationAppVisibility()
UnMockApplicationUpdateApplicationAppVisibility un-mock ApplicationUpdateApplicationAppVisibility method
func (*Mock) UnMockApplicationUpdateApplicationVersion ¶
func (r *Mock) UnMockApplicationUpdateApplicationVersion()
UnMockApplicationUpdateApplicationVersion un-mock ApplicationUpdateApplicationVersion method
func (*Mock) UnMockApprovalAddApprovalInstanceSign ¶
func (r *Mock) UnMockApprovalAddApprovalInstanceSign()
UnMockApprovalAddApprovalInstanceSign un-mock ApprovalAddApprovalInstanceSign method
func (*Mock) UnMockApprovalApproveApprovalInstance ¶
func (r *Mock) UnMockApprovalApproveApprovalInstance()
UnMockApprovalApproveApprovalInstance un-mock ApprovalApproveApprovalInstance method
func (*Mock) UnMockApprovalCancelApprovalInstance ¶
func (r *Mock) UnMockApprovalCancelApprovalInstance()
UnMockApprovalCancelApprovalInstance un-mock ApprovalCancelApprovalInstance method
func (*Mock) UnMockApprovalCreateApprovalCarbonCopy ¶
func (r *Mock) UnMockApprovalCreateApprovalCarbonCopy()
UnMockApprovalCreateApprovalCarbonCopy un-mock ApprovalCreateApprovalCarbonCopy method
func (*Mock) UnMockApprovalCreateApprovalInstance ¶
func (r *Mock) UnMockApprovalCreateApprovalInstance()
UnMockApprovalCreateApprovalInstance un-mock ApprovalCreateApprovalInstance method
func (*Mock) UnMockApprovalGetApproval ¶
func (r *Mock) UnMockApprovalGetApproval()
UnMockApprovalGetApproval un-mock ApprovalGetApproval method
func (*Mock) UnMockApprovalGetApprovalInstance ¶
func (r *Mock) UnMockApprovalGetApprovalInstance()
UnMockApprovalGetApprovalInstance un-mock ApprovalGetApprovalInstance method
func (*Mock) UnMockApprovalGetApprovalInstanceList ¶
func (r *Mock) UnMockApprovalGetApprovalInstanceList()
UnMockApprovalGetApprovalInstanceList un-mock ApprovalGetApprovalInstanceList method
func (*Mock) UnMockApprovalGetApprovalUserTaskList ¶
func (r *Mock) UnMockApprovalGetApprovalUserTaskList()
UnMockApprovalGetApprovalUserTaskList un-mock ApprovalGetApprovalUserTaskList method
func (*Mock) UnMockApprovalPreviewApprovalInstance ¶
func (r *Mock) UnMockApprovalPreviewApprovalInstance()
UnMockApprovalPreviewApprovalInstance un-mock ApprovalPreviewApprovalInstance method
func (*Mock) UnMockApprovalRejectApprovalInstance ¶
func (r *Mock) UnMockApprovalRejectApprovalInstance()
UnMockApprovalRejectApprovalInstance un-mock ApprovalRejectApprovalInstance method
func (*Mock) UnMockApprovalRollbackApprovalInstance ¶
func (r *Mock) UnMockApprovalRollbackApprovalInstance()
UnMockApprovalRollbackApprovalInstance un-mock ApprovalRollbackApprovalInstance method
func (*Mock) UnMockApprovalSearchApprovalCarbonCopy ¶
func (r *Mock) UnMockApprovalSearchApprovalCarbonCopy()
UnMockApprovalSearchApprovalCarbonCopy un-mock ApprovalSearchApprovalCarbonCopy method
func (*Mock) UnMockApprovalSearchApprovalInstance ¶
func (r *Mock) UnMockApprovalSearchApprovalInstance()
UnMockApprovalSearchApprovalInstance un-mock ApprovalSearchApprovalInstance method
func (*Mock) UnMockApprovalSearchApprovalTask ¶
func (r *Mock) UnMockApprovalSearchApprovalTask()
UnMockApprovalSearchApprovalTask un-mock ApprovalSearchApprovalTask method
func (*Mock) UnMockApprovalSubscribeApprovalSubscription ¶
func (r *Mock) UnMockApprovalSubscribeApprovalSubscription()
UnMockApprovalSubscribeApprovalSubscription un-mock ApprovalSubscribeApprovalSubscription method
func (*Mock) UnMockApprovalTransferApprovalInstance ¶
func (r *Mock) UnMockApprovalTransferApprovalInstance()
UnMockApprovalTransferApprovalInstance un-mock ApprovalTransferApprovalInstance method
func (*Mock) UnMockApprovalUnsubscribeApprovalSubscription ¶
func (r *Mock) UnMockApprovalUnsubscribeApprovalSubscription()
UnMockApprovalUnsubscribeApprovalSubscription un-mock ApprovalUnsubscribeApprovalSubscription method
func (*Mock) UnMockApprovalUpdateApprovalMessage ¶
func (r *Mock) UnMockApprovalUpdateApprovalMessage()
UnMockApprovalUpdateApprovalMessage un-mock ApprovalUpdateApprovalMessage method
func (*Mock) UnMockApprovalUploadApprovalFile ¶
func (r *Mock) UnMockApprovalUploadApprovalFile()
UnMockApprovalUploadApprovalFile un-mock ApprovalUploadApprovalFile method
func (*Mock) UnMockAttendanceBatchCreateAttendanceUserDailyShift ¶
func (r *Mock) UnMockAttendanceBatchCreateAttendanceUserDailyShift()
UnMockAttendanceBatchCreateAttendanceUserDailyShift un-mock AttendanceBatchCreateAttendanceUserDailyShift method
func (*Mock) UnMockAttendanceBatchCreateAttendanceUserFlow ¶
func (r *Mock) UnMockAttendanceBatchCreateAttendanceUserFlow()
UnMockAttendanceBatchCreateAttendanceUserFlow un-mock AttendanceBatchCreateAttendanceUserFlow method
func (*Mock) UnMockAttendanceBatchGetAttendanceUserFlow ¶
func (r *Mock) UnMockAttendanceBatchGetAttendanceUserFlow()
UnMockAttendanceBatchGetAttendanceUserFlow un-mock AttendanceBatchGetAttendanceUserFlow method
func (*Mock) UnMockAttendanceCreateAttendanceGroup ¶
func (r *Mock) UnMockAttendanceCreateAttendanceGroup()
UnMockAttendanceCreateAttendanceGroup un-mock AttendanceCreateAttendanceGroup method
func (*Mock) UnMockAttendanceCreateAttendanceShift ¶
func (r *Mock) UnMockAttendanceCreateAttendanceShift()
UnMockAttendanceCreateAttendanceShift un-mock AttendanceCreateAttendanceShift method
func (*Mock) UnMockAttendanceCreateAttendanceUserApproval ¶
func (r *Mock) UnMockAttendanceCreateAttendanceUserApproval()
UnMockAttendanceCreateAttendanceUserApproval un-mock AttendanceCreateAttendanceUserApproval method
func (*Mock) UnMockAttendanceCreateAttendanceUserTaskRemedy ¶
func (r *Mock) UnMockAttendanceCreateAttendanceUserTaskRemedy()
UnMockAttendanceCreateAttendanceUserTaskRemedy un-mock AttendanceCreateAttendanceUserTaskRemedy method
func (*Mock) UnMockAttendanceCreateUpdateAttendanceUserDailyShift ¶
func (r *Mock) UnMockAttendanceCreateUpdateAttendanceUserDailyShift()
UnMockAttendanceCreateUpdateAttendanceUserDailyShift un-mock AttendanceCreateUpdateAttendanceUserDailyShift method
func (*Mock) UnMockAttendanceDeleteAttendanceGroup ¶
func (r *Mock) UnMockAttendanceDeleteAttendanceGroup()
UnMockAttendanceDeleteAttendanceGroup un-mock AttendanceDeleteAttendanceGroup method
func (*Mock) UnMockAttendanceDeleteAttendanceShift ¶
func (r *Mock) UnMockAttendanceDeleteAttendanceShift()
UnMockAttendanceDeleteAttendanceShift un-mock AttendanceDeleteAttendanceShift method
func (*Mock) UnMockAttendanceDownloadAttendanceFile ¶
func (r *Mock) UnMockAttendanceDownloadAttendanceFile()
UnMockAttendanceDownloadAttendanceFile un-mock AttendanceDownloadAttendanceFile method
func (*Mock) UnMockAttendanceGetAttendanceGroup ¶
func (r *Mock) UnMockAttendanceGetAttendanceGroup()
UnMockAttendanceGetAttendanceGroup un-mock AttendanceGetAttendanceGroup method
func (*Mock) UnMockAttendanceGetAttendanceShift ¶
func (r *Mock) UnMockAttendanceGetAttendanceShift()
UnMockAttendanceGetAttendanceShift un-mock AttendanceGetAttendanceShift method
func (*Mock) UnMockAttendanceGetAttendanceShiftDetail ¶
func (r *Mock) UnMockAttendanceGetAttendanceShiftDetail()
UnMockAttendanceGetAttendanceShiftDetail un-mock AttendanceGetAttendanceShiftDetail method
func (*Mock) UnMockAttendanceGetAttendanceUserAllowedRemedy ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserAllowedRemedy()
UnMockAttendanceGetAttendanceUserAllowedRemedy un-mock AttendanceGetAttendanceUserAllowedRemedy method
func (*Mock) UnMockAttendanceGetAttendanceUserApproval ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserApproval()
UnMockAttendanceGetAttendanceUserApproval un-mock AttendanceGetAttendanceUserApproval method
func (*Mock) UnMockAttendanceGetAttendanceUserDailyShift ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserDailyShift()
UnMockAttendanceGetAttendanceUserDailyShift un-mock AttendanceGetAttendanceUserDailyShift method
func (*Mock) UnMockAttendanceGetAttendanceUserFlow ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserFlow()
UnMockAttendanceGetAttendanceUserFlow un-mock AttendanceGetAttendanceUserFlow method
func (*Mock) UnMockAttendanceGetAttendanceUserSettingList ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserSettingList()
UnMockAttendanceGetAttendanceUserSettingList un-mock AttendanceGetAttendanceUserSettingList method
func (*Mock) UnMockAttendanceGetAttendanceUserStatsData ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserStatsData()
UnMockAttendanceGetAttendanceUserStatsData un-mock AttendanceGetAttendanceUserStatsData method
func (*Mock) UnMockAttendanceGetAttendanceUserStatsField ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserStatsField()
UnMockAttendanceGetAttendanceUserStatsField un-mock AttendanceGetAttendanceUserStatsField method
func (*Mock) UnMockAttendanceGetAttendanceUserStatsView ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserStatsView()
UnMockAttendanceGetAttendanceUserStatsView un-mock AttendanceGetAttendanceUserStatsView method
func (*Mock) UnMockAttendanceGetAttendanceUserTask ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserTask()
UnMockAttendanceGetAttendanceUserTask un-mock AttendanceGetAttendanceUserTask method
func (*Mock) UnMockAttendanceGetAttendanceUserTaskRemedy ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserTaskRemedy()
UnMockAttendanceGetAttendanceUserTaskRemedy un-mock AttendanceGetAttendanceUserTaskRemedy method
func (*Mock) UnMockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList ¶
func (r *Mock) UnMockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList()
UnMockAttendanceGetAttendanceUserTaskRemedyAllowedRemedyList un-mock AttendanceGetAttendanceUserTaskRemedyAllowedRemedyList method
func (*Mock) UnMockAttendanceInitAttendanceRemedyApproval ¶
func (r *Mock) UnMockAttendanceInitAttendanceRemedyApproval()
UnMockAttendanceInitAttendanceRemedyApproval un-mock AttendanceInitAttendanceRemedyApproval method
func (*Mock) UnMockAttendanceSearchAttendanceGroup ¶
func (r *Mock) UnMockAttendanceSearchAttendanceGroup()
UnMockAttendanceSearchAttendanceGroup un-mock AttendanceSearchAttendanceGroup method
func (*Mock) UnMockAttendanceUpdateAttendanceRemedyApproval ¶
func (r *Mock) UnMockAttendanceUpdateAttendanceRemedyApproval()
UnMockAttendanceUpdateAttendanceRemedyApproval un-mock AttendanceUpdateAttendanceRemedyApproval method
func (*Mock) UnMockAttendanceUpdateAttendanceUserSetting ¶
func (r *Mock) UnMockAttendanceUpdateAttendanceUserSetting()
UnMockAttendanceUpdateAttendanceUserSetting un-mock AttendanceUpdateAttendanceUserSetting method
func (*Mock) UnMockAttendanceUpdateAttendanceUserStatsView ¶
func (r *Mock) UnMockAttendanceUpdateAttendanceUserStatsView()
UnMockAttendanceUpdateAttendanceUserStatsView un-mock AttendanceUpdateAttendanceUserStatsView method
func (*Mock) UnMockAttendanceUploadAttendanceFile ¶
func (r *Mock) UnMockAttendanceUploadAttendanceFile()
UnMockAttendanceUploadAttendanceFile un-mock AttendanceUploadAttendanceFile method
func (*Mock) UnMockAuthGetAccessToken ¶
func (r *Mock) UnMockAuthGetAccessToken()
UnMockAuthGetAccessToken un-mock AuthGetAccessToken method
func (*Mock) UnMockAuthGetUserInfo ¶
func (r *Mock) UnMockAuthGetUserInfo()
UnMockAuthGetUserInfo un-mock AuthGetUserInfo method
func (*Mock) UnMockAuthRefreshAccessToken ¶
func (r *Mock) UnMockAuthRefreshAccessToken()
UnMockAuthRefreshAccessToken un-mock AuthRefreshAccessToken method
func (*Mock) UnMockAuthResendAppTicket ¶
func (r *Mock) UnMockAuthResendAppTicket()
UnMockAuthResendAppTicket un-mock AuthResendAppTicket method
func (*Mock) UnMockBitableBatchCreateBitableRecord ¶
func (r *Mock) UnMockBitableBatchCreateBitableRecord()
UnMockBitableBatchCreateBitableRecord un-mock BitableBatchCreateBitableRecord method
func (*Mock) UnMockBitableBatchCreateBitableTable ¶
func (r *Mock) UnMockBitableBatchCreateBitableTable()
UnMockBitableBatchCreateBitableTable un-mock BitableBatchCreateBitableTable method
func (*Mock) UnMockBitableBatchDeleteBitableRecord ¶
func (r *Mock) UnMockBitableBatchDeleteBitableRecord()
UnMockBitableBatchDeleteBitableRecord un-mock BitableBatchDeleteBitableRecord method
func (*Mock) UnMockBitableBatchDeleteBitableTable ¶
func (r *Mock) UnMockBitableBatchDeleteBitableTable()
UnMockBitableBatchDeleteBitableTable un-mock BitableBatchDeleteBitableTable method
func (*Mock) UnMockBitableBatchUpdateBitableRecord ¶
func (r *Mock) UnMockBitableBatchUpdateBitableRecord()
UnMockBitableBatchUpdateBitableRecord un-mock BitableBatchUpdateBitableRecord method
func (*Mock) UnMockBitableCreateBitableField ¶
func (r *Mock) UnMockBitableCreateBitableField()
UnMockBitableCreateBitableField un-mock BitableCreateBitableField method
func (*Mock) UnMockBitableCreateBitableRecord ¶
func (r *Mock) UnMockBitableCreateBitableRecord()
UnMockBitableCreateBitableRecord un-mock BitableCreateBitableRecord method
func (*Mock) UnMockBitableCreateBitableTable ¶
func (r *Mock) UnMockBitableCreateBitableTable()
UnMockBitableCreateBitableTable un-mock BitableCreateBitableTable method
func (*Mock) UnMockBitableCreateBitableView ¶
func (r *Mock) UnMockBitableCreateBitableView()
UnMockBitableCreateBitableView un-mock BitableCreateBitableView method
func (*Mock) UnMockBitableDeleteBitableField ¶
func (r *Mock) UnMockBitableDeleteBitableField()
UnMockBitableDeleteBitableField un-mock BitableDeleteBitableField method
func (*Mock) UnMockBitableDeleteBitableRecord ¶
func (r *Mock) UnMockBitableDeleteBitableRecord()
UnMockBitableDeleteBitableRecord un-mock BitableDeleteBitableRecord method
func (*Mock) UnMockBitableDeleteBitableTable ¶
func (r *Mock) UnMockBitableDeleteBitableTable()
UnMockBitableDeleteBitableTable un-mock BitableDeleteBitableTable method
func (*Mock) UnMockBitableDeleteBitableView ¶
func (r *Mock) UnMockBitableDeleteBitableView()
UnMockBitableDeleteBitableView un-mock BitableDeleteBitableView method
func (*Mock) UnMockBitableGetBitableFieldList ¶
func (r *Mock) UnMockBitableGetBitableFieldList()
UnMockBitableGetBitableFieldList un-mock BitableGetBitableFieldList method
func (*Mock) UnMockBitableGetBitableMeta ¶
func (r *Mock) UnMockBitableGetBitableMeta()
UnMockBitableGetBitableMeta un-mock BitableGetBitableMeta method
func (*Mock) UnMockBitableGetBitableRecord ¶
func (r *Mock) UnMockBitableGetBitableRecord()
UnMockBitableGetBitableRecord un-mock BitableGetBitableRecord method
func (*Mock) UnMockBitableGetBitableRecordList ¶
func (r *Mock) UnMockBitableGetBitableRecordList()
UnMockBitableGetBitableRecordList un-mock BitableGetBitableRecordList method
func (*Mock) UnMockBitableGetBitableTableList ¶
func (r *Mock) UnMockBitableGetBitableTableList()
UnMockBitableGetBitableTableList un-mock BitableGetBitableTableList method
func (*Mock) UnMockBitableGetBitableViewList ¶
func (r *Mock) UnMockBitableGetBitableViewList()
UnMockBitableGetBitableViewList un-mock BitableGetBitableViewList method
func (*Mock) UnMockBitableUpdateBitableField ¶
func (r *Mock) UnMockBitableUpdateBitableField()
UnMockBitableUpdateBitableField un-mock BitableUpdateBitableField method
func (*Mock) UnMockBitableUpdateBitableRecord ¶
func (r *Mock) UnMockBitableUpdateBitableRecord()
UnMockBitableUpdateBitableRecord un-mock BitableUpdateBitableRecord method
func (*Mock) UnMockBotAddBotToChat ¶
func (r *Mock) UnMockBotAddBotToChat()
UnMockBotAddBotToChat un-mock BotAddBotToChat method
func (*Mock) UnMockBotGetBotInfo ¶
func (r *Mock) UnMockBotGetBotInfo()
UnMockBotGetBotInfo un-mock BotGetBotInfo method
func (*Mock) UnMockCalendarCreateCalendar ¶
func (r *Mock) UnMockCalendarCreateCalendar()
UnMockCalendarCreateCalendar un-mock CalendarCreateCalendar method
func (*Mock) UnMockCalendarCreateCalendarACL ¶
func (r *Mock) UnMockCalendarCreateCalendarACL()
UnMockCalendarCreateCalendarACL un-mock CalendarCreateCalendarACL method
func (*Mock) UnMockCalendarCreateCalendarEvent ¶
func (r *Mock) UnMockCalendarCreateCalendarEvent()
UnMockCalendarCreateCalendarEvent un-mock CalendarCreateCalendarEvent method
func (*Mock) UnMockCalendarCreateCalendarEventAttendee ¶
func (r *Mock) UnMockCalendarCreateCalendarEventAttendee()
UnMockCalendarCreateCalendarEventAttendee un-mock CalendarCreateCalendarEventAttendee method
func (*Mock) UnMockCalendarCreateCalendarExchangeBinding ¶
func (r *Mock) UnMockCalendarCreateCalendarExchangeBinding()
UnMockCalendarCreateCalendarExchangeBinding un-mock CalendarCreateCalendarExchangeBinding method
func (*Mock) UnMockCalendarCreateCalendarTimeoffEvent ¶
func (r *Mock) UnMockCalendarCreateCalendarTimeoffEvent()
UnMockCalendarCreateCalendarTimeoffEvent un-mock CalendarCreateCalendarTimeoffEvent method
func (*Mock) UnMockCalendarDeleteCalendar ¶
func (r *Mock) UnMockCalendarDeleteCalendar()
UnMockCalendarDeleteCalendar un-mock CalendarDeleteCalendar method
func (*Mock) UnMockCalendarDeleteCalendarACL ¶
func (r *Mock) UnMockCalendarDeleteCalendarACL()
UnMockCalendarDeleteCalendarACL un-mock CalendarDeleteCalendarACL method
func (*Mock) UnMockCalendarDeleteCalendarEvent ¶
func (r *Mock) UnMockCalendarDeleteCalendarEvent()
UnMockCalendarDeleteCalendarEvent un-mock CalendarDeleteCalendarEvent method
func (*Mock) UnMockCalendarDeleteCalendarEventAttendee ¶
func (r *Mock) UnMockCalendarDeleteCalendarEventAttendee()
UnMockCalendarDeleteCalendarEventAttendee un-mock CalendarDeleteCalendarEventAttendee method
func (*Mock) UnMockCalendarDeleteCalendarExchangeBinding ¶
func (r *Mock) UnMockCalendarDeleteCalendarExchangeBinding()
UnMockCalendarDeleteCalendarExchangeBinding un-mock CalendarDeleteCalendarExchangeBinding method
func (*Mock) UnMockCalendarDeleteCalendarTimeoffEvent ¶
func (r *Mock) UnMockCalendarDeleteCalendarTimeoffEvent()
UnMockCalendarDeleteCalendarTimeoffEvent un-mock CalendarDeleteCalendarTimeoffEvent method
func (*Mock) UnMockCalendarGenerateCaldavConf ¶
func (r *Mock) UnMockCalendarGenerateCaldavConf()
UnMockCalendarGenerateCaldavConf un-mock CalendarGenerateCaldavConf method
func (*Mock) UnMockCalendarGetCalendar ¶
func (r *Mock) UnMockCalendarGetCalendar()
UnMockCalendarGetCalendar un-mock CalendarGetCalendar method
func (*Mock) UnMockCalendarGetCalendarACLList ¶
func (r *Mock) UnMockCalendarGetCalendarACLList()
UnMockCalendarGetCalendarACLList un-mock CalendarGetCalendarACLList method
func (*Mock) UnMockCalendarGetCalendarEvent ¶
func (r *Mock) UnMockCalendarGetCalendarEvent()
UnMockCalendarGetCalendarEvent un-mock CalendarGetCalendarEvent method
func (*Mock) UnMockCalendarGetCalendarEventAttendeeChatMemberList ¶
func (r *Mock) UnMockCalendarGetCalendarEventAttendeeChatMemberList()
UnMockCalendarGetCalendarEventAttendeeChatMemberList un-mock CalendarGetCalendarEventAttendeeChatMemberList method
func (*Mock) UnMockCalendarGetCalendarEventAttendeeList ¶
func (r *Mock) UnMockCalendarGetCalendarEventAttendeeList()
UnMockCalendarGetCalendarEventAttendeeList un-mock CalendarGetCalendarEventAttendeeList method
func (*Mock) UnMockCalendarGetCalendarEventList ¶
func (r *Mock) UnMockCalendarGetCalendarEventList()
UnMockCalendarGetCalendarEventList un-mock CalendarGetCalendarEventList method
func (*Mock) UnMockCalendarGetCalendarExchangeBinding ¶
func (r *Mock) UnMockCalendarGetCalendarExchangeBinding()
UnMockCalendarGetCalendarExchangeBinding un-mock CalendarGetCalendarExchangeBinding method
func (*Mock) UnMockCalendarGetCalendarFreeBusyList ¶
func (r *Mock) UnMockCalendarGetCalendarFreeBusyList()
UnMockCalendarGetCalendarFreeBusyList un-mock CalendarGetCalendarFreeBusyList method
func (*Mock) UnMockCalendarGetCalendarList ¶
func (r *Mock) UnMockCalendarGetCalendarList()
UnMockCalendarGetCalendarList un-mock CalendarGetCalendarList method
func (*Mock) UnMockCalendarSearchCalendar ¶
func (r *Mock) UnMockCalendarSearchCalendar()
UnMockCalendarSearchCalendar un-mock CalendarSearchCalendar method
func (*Mock) UnMockCalendarSearchCalendarEvent ¶
func (r *Mock) UnMockCalendarSearchCalendarEvent()
UnMockCalendarSearchCalendarEvent un-mock CalendarSearchCalendarEvent method
func (*Mock) UnMockCalendarSubscribeCalendar ¶
func (r *Mock) UnMockCalendarSubscribeCalendar()
UnMockCalendarSubscribeCalendar un-mock CalendarSubscribeCalendar method
func (*Mock) UnMockCalendarSubscribeCalendarACL ¶
func (r *Mock) UnMockCalendarSubscribeCalendarACL()
UnMockCalendarSubscribeCalendarACL un-mock CalendarSubscribeCalendarACL method
func (*Mock) UnMockCalendarSubscribeCalendarChangeEvent ¶
func (r *Mock) UnMockCalendarSubscribeCalendarChangeEvent()
UnMockCalendarSubscribeCalendarChangeEvent un-mock CalendarSubscribeCalendarChangeEvent method
func (*Mock) UnMockCalendarSubscribeCalendarEvent ¶
func (r *Mock) UnMockCalendarSubscribeCalendarEvent()
UnMockCalendarSubscribeCalendarEvent un-mock CalendarSubscribeCalendarEvent method
func (*Mock) UnMockCalendarUnsubscribeCalendar ¶
func (r *Mock) UnMockCalendarUnsubscribeCalendar()
UnMockCalendarUnsubscribeCalendar un-mock CalendarUnsubscribeCalendar method
func (*Mock) UnMockCalendarUpdateCalendar ¶
func (r *Mock) UnMockCalendarUpdateCalendar()
UnMockCalendarUpdateCalendar un-mock CalendarUpdateCalendar method
func (*Mock) UnMockCalendarUpdateCalendarEvent ¶
func (r *Mock) UnMockCalendarUpdateCalendarEvent()
UnMockCalendarUpdateCalendarEvent un-mock CalendarUpdateCalendarEvent method
func (*Mock) UnMockChatAddChatMember ¶
func (r *Mock) UnMockChatAddChatMember()
UnMockChatAddChatMember un-mock ChatAddChatMember method
func (*Mock) UnMockChatCreateChat ¶
func (r *Mock) UnMockChatCreateChat()
UnMockChatCreateChat un-mock ChatCreateChat method
func (*Mock) UnMockChatCreateChatManager ¶
func (r *Mock) UnMockChatCreateChatManager()
UnMockChatCreateChatManager un-mock ChatCreateChatManager method
func (*Mock) UnMockChatDeleteChat ¶
func (r *Mock) UnMockChatDeleteChat()
UnMockChatDeleteChat un-mock ChatDeleteChat method
func (*Mock) UnMockChatDeleteChatManager ¶
func (r *Mock) UnMockChatDeleteChatManager()
UnMockChatDeleteChatManager un-mock ChatDeleteChatManager method
func (*Mock) UnMockChatDeleteChatMember ¶
func (r *Mock) UnMockChatDeleteChatMember()
UnMockChatDeleteChatMember un-mock ChatDeleteChatMember method
func (*Mock) UnMockChatGetChat ¶
func (r *Mock) UnMockChatGetChat()
UnMockChatGetChat un-mock ChatGetChat method
func (*Mock) UnMockChatGetChatAnnouncement ¶
func (r *Mock) UnMockChatGetChatAnnouncement()
UnMockChatGetChatAnnouncement un-mock ChatGetChatAnnouncement method
func (*Mock) UnMockChatGetChatListOfSelf ¶
func (r *Mock) UnMockChatGetChatListOfSelf()
UnMockChatGetChatListOfSelf un-mock ChatGetChatListOfSelf method
func (*Mock) UnMockChatGetChatMemberList ¶
func (r *Mock) UnMockChatGetChatMemberList()
UnMockChatGetChatMemberList un-mock ChatGetChatMemberList method
func (*Mock) UnMockChatGetChatModeration ¶
func (r *Mock) UnMockChatGetChatModeration()
UnMockChatGetChatModeration un-mock ChatGetChatModeration method
func (*Mock) UnMockChatGetChatOld ¶
func (r *Mock) UnMockChatGetChatOld()
UnMockChatGetChatOld un-mock ChatGetChatOld method
func (*Mock) UnMockChatIsInChat ¶
func (r *Mock) UnMockChatIsInChat()
UnMockChatIsInChat un-mock ChatIsInChat method
func (*Mock) UnMockChatJoinChat ¶
func (r *Mock) UnMockChatJoinChat()
UnMockChatJoinChat un-mock ChatJoinChat method
func (*Mock) UnMockChatSearchChat ¶
func (r *Mock) UnMockChatSearchChat()
UnMockChatSearchChat un-mock ChatSearchChat method
func (*Mock) UnMockChatUpdateChat ¶
func (r *Mock) UnMockChatUpdateChat()
UnMockChatUpdateChat un-mock ChatUpdateChat method
func (*Mock) UnMockChatUpdateChatAnnouncement ¶
func (r *Mock) UnMockChatUpdateChatAnnouncement()
UnMockChatUpdateChatAnnouncement un-mock ChatUpdateChatAnnouncement method
func (*Mock) UnMockChatUpdateChatModeration ¶
func (r *Mock) UnMockChatUpdateChatModeration()
UnMockChatUpdateChatModeration un-mock ChatUpdateChatModeration method
func (*Mock) UnMockContactAddContactGroupMember ¶
func (r *Mock) UnMockContactAddContactGroupMember()
UnMockContactAddContactGroupMember un-mock ContactAddContactGroupMember method
func (*Mock) UnMockContactBatchGetUser ¶
func (r *Mock) UnMockContactBatchGetUser()
UnMockContactBatchGetUser un-mock ContactBatchGetUser method
func (*Mock) UnMockContactBatchGetUserByID ¶
func (r *Mock) UnMockContactBatchGetUserByID()
UnMockContactBatchGetUserByID un-mock ContactBatchGetUserByID method
func (*Mock) UnMockContactBatchGetUserByIDOld ¶
func (r *Mock) UnMockContactBatchGetUserByIDOld()
UnMockContactBatchGetUserByIDOld un-mock ContactBatchGetUserByIDOld method
func (*Mock) UnMockContactBindContactUnitDepartment ¶
func (r *Mock) UnMockContactBindContactUnitDepartment()
UnMockContactBindContactUnitDepartment un-mock ContactBindContactUnitDepartment method
func (*Mock) UnMockContactCreateContactGroup ¶
func (r *Mock) UnMockContactCreateContactGroup()
UnMockContactCreateContactGroup un-mock ContactCreateContactGroup method
func (*Mock) UnMockContactCreateContactUnit ¶
func (r *Mock) UnMockContactCreateContactUnit()
UnMockContactCreateContactUnit un-mock ContactCreateContactUnit method
func (*Mock) UnMockContactCreateDepartment ¶
func (r *Mock) UnMockContactCreateDepartment()
UnMockContactCreateDepartment un-mock ContactCreateDepartment method
func (*Mock) UnMockContactCreateEmployeeTypeEnum ¶
func (r *Mock) UnMockContactCreateEmployeeTypeEnum()
UnMockContactCreateEmployeeTypeEnum un-mock ContactCreateEmployeeTypeEnum method
func (*Mock) UnMockContactCreateUser ¶
func (r *Mock) UnMockContactCreateUser()
UnMockContactCreateUser un-mock ContactCreateUser method
func (*Mock) UnMockContactDeleteContactGroup ¶
func (r *Mock) UnMockContactDeleteContactGroup()
UnMockContactDeleteContactGroup un-mock ContactDeleteContactGroup method
func (*Mock) UnMockContactDeleteContactGroupMember ¶
func (r *Mock) UnMockContactDeleteContactGroupMember()
UnMockContactDeleteContactGroupMember un-mock ContactDeleteContactGroupMember method
func (*Mock) UnMockContactDeleteContactUnit ¶
func (r *Mock) UnMockContactDeleteContactUnit()
UnMockContactDeleteContactUnit un-mock ContactDeleteContactUnit method
func (*Mock) UnMockContactDeleteDepartment ¶
func (r *Mock) UnMockContactDeleteDepartment()
UnMockContactDeleteDepartment un-mock ContactDeleteDepartment method
func (*Mock) UnMockContactDeleteEmployeeTypeEnum ¶
func (r *Mock) UnMockContactDeleteEmployeeTypeEnum()
UnMockContactDeleteEmployeeTypeEnum un-mock ContactDeleteEmployeeTypeEnum method
func (*Mock) UnMockContactDeleteUser ¶
func (r *Mock) UnMockContactDeleteUser()
UnMockContactDeleteUser un-mock ContactDeleteUser method
func (*Mock) UnMockContactGetContactCustomAttrList ¶
func (r *Mock) UnMockContactGetContactCustomAttrList()
UnMockContactGetContactCustomAttrList un-mock ContactGetContactCustomAttrList method
func (*Mock) UnMockContactGetContactGroup ¶
func (r *Mock) UnMockContactGetContactGroup()
UnMockContactGetContactGroup un-mock ContactGetContactGroup method
func (*Mock) UnMockContactGetContactGroupList ¶
func (r *Mock) UnMockContactGetContactGroupList()
UnMockContactGetContactGroupList un-mock ContactGetContactGroupList method
func (*Mock) UnMockContactGetContactGroupMember ¶
func (r *Mock) UnMockContactGetContactGroupMember()
UnMockContactGetContactGroupMember un-mock ContactGetContactGroupMember method
func (*Mock) UnMockContactGetContactScopeList ¶
func (r *Mock) UnMockContactGetContactScopeList()
UnMockContactGetContactScopeList un-mock ContactGetContactScopeList method
func (*Mock) UnMockContactGetContactUnit ¶
func (r *Mock) UnMockContactGetContactUnit()
UnMockContactGetContactUnit un-mock ContactGetContactUnit method
func (*Mock) UnMockContactGetContactUnitDepartmentList ¶
func (r *Mock) UnMockContactGetContactUnitDepartmentList()
UnMockContactGetContactUnitDepartmentList un-mock ContactGetContactUnitDepartmentList method
func (*Mock) UnMockContactGetContactUnitList ¶
func (r *Mock) UnMockContactGetContactUnitList()
UnMockContactGetContactUnitList un-mock ContactGetContactUnitList method
func (*Mock) UnMockContactGetDepartment ¶
func (r *Mock) UnMockContactGetDepartment()
UnMockContactGetDepartment un-mock ContactGetDepartment method
func (*Mock) UnMockContactGetDepartmentList ¶
func (r *Mock) UnMockContactGetDepartmentList()
UnMockContactGetDepartmentList un-mock ContactGetDepartmentList method
func (*Mock) UnMockContactGetDepartmentListOld ¶
func (r *Mock) UnMockContactGetDepartmentListOld()
UnMockContactGetDepartmentListOld un-mock ContactGetDepartmentListOld method
func (*Mock) UnMockContactGetEmployeeTypeEnumList ¶
func (r *Mock) UnMockContactGetEmployeeTypeEnumList()
UnMockContactGetEmployeeTypeEnumList un-mock ContactGetEmployeeTypeEnumList method
func (*Mock) UnMockContactGetParentDepartment ¶
func (r *Mock) UnMockContactGetParentDepartment()
UnMockContactGetParentDepartment un-mock ContactGetParentDepartment method
func (*Mock) UnMockContactGetUser ¶
func (r *Mock) UnMockContactGetUser()
UnMockContactGetUser un-mock ContactGetUser method
func (*Mock) UnMockContactGetUserList ¶
func (r *Mock) UnMockContactGetUserList()
UnMockContactGetUserList un-mock ContactGetUserList method
func (*Mock) UnMockContactGetUserListOld ¶
func (r *Mock) UnMockContactGetUserListOld()
UnMockContactGetUserListOld un-mock ContactGetUserListOld method
func (*Mock) UnMockContactSearchDepartment ¶
func (r *Mock) UnMockContactSearchDepartment()
UnMockContactSearchDepartment un-mock ContactSearchDepartment method
func (*Mock) UnMockContactSearchUserOld ¶
func (r *Mock) UnMockContactSearchUserOld()
UnMockContactSearchUserOld un-mock ContactSearchUserOld method
func (*Mock) UnMockContactUnbindContactUnitDepartment ¶
func (r *Mock) UnMockContactUnbindContactUnitDepartment()
UnMockContactUnbindContactUnitDepartment un-mock ContactUnbindContactUnitDepartment method
func (*Mock) UnMockContactUpdateContactGroup ¶
func (r *Mock) UnMockContactUpdateContactGroup()
UnMockContactUpdateContactGroup un-mock ContactUpdateContactGroup method
func (*Mock) UnMockContactUpdateContactUnit ¶
func (r *Mock) UnMockContactUpdateContactUnit()
UnMockContactUpdateContactUnit un-mock ContactUpdateContactUnit method
func (*Mock) UnMockContactUpdateDepartment ¶
func (r *Mock) UnMockContactUpdateDepartment()
UnMockContactUpdateDepartment un-mock ContactUpdateDepartment method
func (*Mock) UnMockContactUpdateDepartmentPatch ¶
func (r *Mock) UnMockContactUpdateDepartmentPatch()
UnMockContactUpdateDepartmentPatch un-mock ContactUpdateDepartmentPatch method
func (*Mock) UnMockContactUpdateEmployeeTypeEnumPatch ¶
func (r *Mock) UnMockContactUpdateEmployeeTypeEnumPatch()
UnMockContactUpdateEmployeeTypeEnumPatch un-mock ContactUpdateEmployeeTypeEnumPatch method
func (*Mock) UnMockContactUpdateUser ¶
func (r *Mock) UnMockContactUpdateUser()
UnMockContactUpdateUser un-mock ContactUpdateUser method
func (*Mock) UnMockContactUpdateUserPatch ¶
func (r *Mock) UnMockContactUpdateUserPatch()
UnMockContactUpdateUserPatch un-mock ContactUpdateUserPatch method
func (*Mock) UnMockDriveAddSheetDimensionRange ¶
func (r *Mock) UnMockDriveAddSheetDimensionRange()
UnMockDriveAddSheetDimensionRange un-mock DriveAddSheetDimensionRange method
func (*Mock) UnMockDriveAddWikiSpaceMember ¶
func (r *Mock) UnMockDriveAddWikiSpaceMember()
UnMockDriveAddWikiSpaceMember un-mock DriveAddWikiSpaceMember method
func (*Mock) UnMockDriveAppendSheetValue ¶
func (r *Mock) UnMockDriveAppendSheetValue()
UnMockDriveAppendSheetValue un-mock DriveAppendSheetValue method
func (*Mock) UnMockDriveBatchGetDriveMediaTmpDownloadURL ¶
func (r *Mock) UnMockDriveBatchGetDriveMediaTmpDownloadURL()
UnMockDriveBatchGetDriveMediaTmpDownloadURL un-mock DriveBatchGetDriveMediaTmpDownloadURL method
func (*Mock) UnMockDriveBatchGetSheetValue ¶
func (r *Mock) UnMockDriveBatchGetSheetValue()
UnMockDriveBatchGetSheetValue un-mock DriveBatchGetSheetValue method
func (*Mock) UnMockDriveBatchSetSheetStyle ¶
func (r *Mock) UnMockDriveBatchSetSheetStyle()
UnMockDriveBatchSetSheetStyle un-mock DriveBatchSetSheetStyle method
func (*Mock) UnMockDriveBatchSetSheetValue ¶
func (r *Mock) UnMockDriveBatchSetSheetValue()
UnMockDriveBatchSetSheetValue un-mock DriveBatchSetSheetValue method
func (*Mock) UnMockDriveBatchUpdateSheet ¶
func (r *Mock) UnMockDriveBatchUpdateSheet()
UnMockDriveBatchUpdateSheet un-mock DriveBatchUpdateSheet method
func (*Mock) UnMockDriveCheckDriveMemberPermission ¶
func (r *Mock) UnMockDriveCheckDriveMemberPermission()
UnMockDriveCheckDriveMemberPermission un-mock DriveCheckDriveMemberPermission method
func (*Mock) UnMockDriveCopyDriveFile ¶
func (r *Mock) UnMockDriveCopyDriveFile()
UnMockDriveCopyDriveFile un-mock DriveCopyDriveFile method
func (*Mock) UnMockDriveCreateDriveComment ¶
func (r *Mock) UnMockDriveCreateDriveComment()
UnMockDriveCreateDriveComment un-mock DriveCreateDriveComment method
func (*Mock) UnMockDriveCreateDriveDoc ¶
func (r *Mock) UnMockDriveCreateDriveDoc()
UnMockDriveCreateDriveDoc un-mock DriveCreateDriveDoc method
func (*Mock) UnMockDriveCreateDriveFile ¶
func (r *Mock) UnMockDriveCreateDriveFile()
UnMockDriveCreateDriveFile un-mock DriveCreateDriveFile method
func (*Mock) UnMockDriveCreateDriveFolder ¶
func (r *Mock) UnMockDriveCreateDriveFolder()
UnMockDriveCreateDriveFolder un-mock DriveCreateDriveFolder method
func (*Mock) UnMockDriveCreateDriveImportTask ¶
func (r *Mock) UnMockDriveCreateDriveImportTask()
UnMockDriveCreateDriveImportTask un-mock DriveCreateDriveImportTask method
func (*Mock) UnMockDriveCreateDriveMemberPermission ¶
func (r *Mock) UnMockDriveCreateDriveMemberPermission()
UnMockDriveCreateDriveMemberPermission un-mock DriveCreateDriveMemberPermission method
func (*Mock) UnMockDriveCreateDriveMemberPermissionOld ¶
func (r *Mock) UnMockDriveCreateDriveMemberPermissionOld()
UnMockDriveCreateDriveMemberPermissionOld un-mock DriveCreateDriveMemberPermissionOld method
func (*Mock) UnMockDriveCreateSheet ¶
func (r *Mock) UnMockDriveCreateSheet()
UnMockDriveCreateSheet un-mock DriveCreateSheet method
func (*Mock) UnMockDriveCreateSheetConditionFormat ¶
func (r *Mock) UnMockDriveCreateSheetConditionFormat()
UnMockDriveCreateSheetConditionFormat un-mock DriveCreateSheetConditionFormat method
func (*Mock) UnMockDriveCreateSheetDataValidationDropdown ¶
func (r *Mock) UnMockDriveCreateSheetDataValidationDropdown()
UnMockDriveCreateSheetDataValidationDropdown un-mock DriveCreateSheetDataValidationDropdown method
func (*Mock) UnMockDriveCreateSheetFilter ¶
func (r *Mock) UnMockDriveCreateSheetFilter()
UnMockDriveCreateSheetFilter un-mock DriveCreateSheetFilter method
func (*Mock) UnMockDriveCreateSheetFilterView ¶
func (r *Mock) UnMockDriveCreateSheetFilterView()
UnMockDriveCreateSheetFilterView un-mock DriveCreateSheetFilterView method
func (*Mock) UnMockDriveCreateSheetFilterViewCondition ¶
func (r *Mock) UnMockDriveCreateSheetFilterViewCondition()
UnMockDriveCreateSheetFilterViewCondition un-mock DriveCreateSheetFilterViewCondition method
func (*Mock) UnMockDriveCreateSheetFloatImage ¶
func (r *Mock) UnMockDriveCreateSheetFloatImage()
UnMockDriveCreateSheetFloatImage un-mock DriveCreateSheetFloatImage method
func (*Mock) UnMockDriveCreateSheetProtectedDimension ¶
func (r *Mock) UnMockDriveCreateSheetProtectedDimension()
UnMockDriveCreateSheetProtectedDimension un-mock DriveCreateSheetProtectedDimension method
func (*Mock) UnMockDriveCreateWikiNode ¶
func (r *Mock) UnMockDriveCreateWikiNode()
UnMockDriveCreateWikiNode un-mock DriveCreateWikiNode method
func (*Mock) UnMockDriveCreateWikiSpace ¶
func (r *Mock) UnMockDriveCreateWikiSpace()
UnMockDriveCreateWikiSpace un-mock DriveCreateWikiSpace method
func (*Mock) UnMockDriveDeleteDriveComment ¶
func (r *Mock) UnMockDriveDeleteDriveComment()
UnMockDriveDeleteDriveComment un-mock DriveDeleteDriveComment method
func (*Mock) UnMockDriveDeleteDriveDocFile ¶
func (r *Mock) UnMockDriveDeleteDriveDocFile()
UnMockDriveDeleteDriveDocFile un-mock DriveDeleteDriveDocFile method
func (*Mock) UnMockDriveDeleteDriveFile ¶
func (r *Mock) UnMockDriveDeleteDriveFile()
UnMockDriveDeleteDriveFile un-mock DriveDeleteDriveFile method
func (*Mock) UnMockDriveDeleteDriveMemberPermission ¶
func (r *Mock) UnMockDriveDeleteDriveMemberPermission()
UnMockDriveDeleteDriveMemberPermission un-mock DriveDeleteDriveMemberPermission method
func (*Mock) UnMockDriveDeleteDriveMemberPermissionOld ¶
func (r *Mock) UnMockDriveDeleteDriveMemberPermissionOld()
UnMockDriveDeleteDriveMemberPermissionOld un-mock DriveDeleteDriveMemberPermissionOld method
func (*Mock) UnMockDriveDeleteDriveSheetFile ¶
func (r *Mock) UnMockDriveDeleteDriveSheetFile()
UnMockDriveDeleteDriveSheetFile un-mock DriveDeleteDriveSheetFile method
func (*Mock) UnMockDriveDeleteSheetConditionFormat ¶
func (r *Mock) UnMockDriveDeleteSheetConditionFormat()
UnMockDriveDeleteSheetConditionFormat un-mock DriveDeleteSheetConditionFormat method
func (*Mock) UnMockDriveDeleteSheetDataValidationDropdown ¶
func (r *Mock) UnMockDriveDeleteSheetDataValidationDropdown()
UnMockDriveDeleteSheetDataValidationDropdown un-mock DriveDeleteSheetDataValidationDropdown method
func (*Mock) UnMockDriveDeleteSheetDimensionRange ¶
func (r *Mock) UnMockDriveDeleteSheetDimensionRange()
UnMockDriveDeleteSheetDimensionRange un-mock DriveDeleteSheetDimensionRange method
func (*Mock) UnMockDriveDeleteSheetFilter ¶
func (r *Mock) UnMockDriveDeleteSheetFilter()
UnMockDriveDeleteSheetFilter un-mock DriveDeleteSheetFilter method
func (*Mock) UnMockDriveDeleteSheetFilterView ¶
func (r *Mock) UnMockDriveDeleteSheetFilterView()
UnMockDriveDeleteSheetFilterView un-mock DriveDeleteSheetFilterView method
func (*Mock) UnMockDriveDeleteSheetFilterViewCondition ¶
func (r *Mock) UnMockDriveDeleteSheetFilterViewCondition()
UnMockDriveDeleteSheetFilterViewCondition un-mock DriveDeleteSheetFilterViewCondition method
func (*Mock) UnMockDriveDeleteSheetFloatImage ¶
func (r *Mock) UnMockDriveDeleteSheetFloatImage()
UnMockDriveDeleteSheetFloatImage un-mock DriveDeleteSheetFloatImage method
func (*Mock) UnMockDriveDeleteSheetProtectedDimension ¶
func (r *Mock) UnMockDriveDeleteSheetProtectedDimension()
UnMockDriveDeleteSheetProtectedDimension un-mock DriveDeleteSheetProtectedDimension method
func (*Mock) UnMockDriveDeleteWikiSpaceMember ¶
func (r *Mock) UnMockDriveDeleteWikiSpaceMember()
UnMockDriveDeleteWikiSpaceMember un-mock DriveDeleteWikiSpaceMember method
func (*Mock) UnMockDriveDownloadDriveFile ¶
func (r *Mock) UnMockDriveDownloadDriveFile()
UnMockDriveDownloadDriveFile un-mock DriveDownloadDriveFile method
func (*Mock) UnMockDriveDownloadDriveMedia ¶
func (r *Mock) UnMockDriveDownloadDriveMedia()
UnMockDriveDownloadDriveMedia un-mock DriveDownloadDriveMedia method
func (*Mock) UnMockDriveFindSheet ¶
func (r *Mock) UnMockDriveFindSheet()
UnMockDriveFindSheet un-mock DriveFindSheet method
func (*Mock) UnMockDriveFinishUploadDriveFile ¶
func (r *Mock) UnMockDriveFinishUploadDriveFile()
UnMockDriveFinishUploadDriveFile un-mock DriveFinishUploadDriveFile method
func (*Mock) UnMockDriveFinishUploadDriveMedia ¶
func (r *Mock) UnMockDriveFinishUploadDriveMedia()
UnMockDriveFinishUploadDriveMedia un-mock DriveFinishUploadDriveMedia method
func (*Mock) UnMockDriveGetDriveComment ¶
func (r *Mock) UnMockDriveGetDriveComment()
UnMockDriveGetDriveComment un-mock DriveGetDriveComment method
func (*Mock) UnMockDriveGetDriveCommentList ¶
func (r *Mock) UnMockDriveGetDriveCommentList()
UnMockDriveGetDriveCommentList un-mock DriveGetDriveCommentList method
func (*Mock) UnMockDriveGetDriveDocContent ¶
func (r *Mock) UnMockDriveGetDriveDocContent()
UnMockDriveGetDriveDocContent un-mock DriveGetDriveDocContent method
func (*Mock) UnMockDriveGetDriveDocMeta ¶
func (r *Mock) UnMockDriveGetDriveDocMeta()
UnMockDriveGetDriveDocMeta un-mock DriveGetDriveDocMeta method
func (*Mock) UnMockDriveGetDriveDocRawContent ¶
func (r *Mock) UnMockDriveGetDriveDocRawContent()
UnMockDriveGetDriveDocRawContent un-mock DriveGetDriveDocRawContent method
func (*Mock) UnMockDriveGetDriveFileMeta ¶
func (r *Mock) UnMockDriveGetDriveFileMeta()
UnMockDriveGetDriveFileMeta un-mock DriveGetDriveFileMeta method
func (*Mock) UnMockDriveGetDriveFileStatistics ¶
func (r *Mock) UnMockDriveGetDriveFileStatistics()
UnMockDriveGetDriveFileStatistics un-mock DriveGetDriveFileStatistics method
func (*Mock) UnMockDriveGetDriveFolderChildren ¶
func (r *Mock) UnMockDriveGetDriveFolderChildren()
UnMockDriveGetDriveFolderChildren un-mock DriveGetDriveFolderChildren method
func (*Mock) UnMockDriveGetDriveFolderMeta ¶
func (r *Mock) UnMockDriveGetDriveFolderMeta()
UnMockDriveGetDriveFolderMeta un-mock DriveGetDriveFolderMeta method
func (*Mock) UnMockDriveGetDriveImportTask ¶
func (r *Mock) UnMockDriveGetDriveImportTask()
UnMockDriveGetDriveImportTask un-mock DriveGetDriveImportTask method
func (*Mock) UnMockDriveGetDriveMemberPermissionList ¶
func (r *Mock) UnMockDriveGetDriveMemberPermissionList()
UnMockDriveGetDriveMemberPermissionList un-mock DriveGetDriveMemberPermissionList method
func (*Mock) UnMockDriveGetDrivePublicPermissionV2 ¶
func (r *Mock) UnMockDriveGetDrivePublicPermissionV2()
UnMockDriveGetDrivePublicPermissionV2 un-mock DriveGetDrivePublicPermissionV2 method
func (*Mock) UnMockDriveGetDriveRootFolderMeta ¶
func (r *Mock) UnMockDriveGetDriveRootFolderMeta()
UnMockDriveGetDriveRootFolderMeta un-mock DriveGetDriveRootFolderMeta method
func (*Mock) UnMockDriveGetSheetConditionFormat ¶
func (r *Mock) UnMockDriveGetSheetConditionFormat()
UnMockDriveGetSheetConditionFormat un-mock DriveGetSheetConditionFormat method
func (*Mock) UnMockDriveGetSheetDataValidationDropdown ¶
func (r *Mock) UnMockDriveGetSheetDataValidationDropdown()
UnMockDriveGetSheetDataValidationDropdown un-mock DriveGetSheetDataValidationDropdown method
func (*Mock) UnMockDriveGetSheetFilter ¶
func (r *Mock) UnMockDriveGetSheetFilter()
UnMockDriveGetSheetFilter un-mock DriveGetSheetFilter method
func (*Mock) UnMockDriveGetSheetFilterView ¶
func (r *Mock) UnMockDriveGetSheetFilterView()
UnMockDriveGetSheetFilterView un-mock DriveGetSheetFilterView method
func (*Mock) UnMockDriveGetSheetFilterViewCondition ¶
func (r *Mock) UnMockDriveGetSheetFilterViewCondition()
UnMockDriveGetSheetFilterViewCondition un-mock DriveGetSheetFilterViewCondition method
func (*Mock) UnMockDriveGetSheetFloatImage ¶
func (r *Mock) UnMockDriveGetSheetFloatImage()
UnMockDriveGetSheetFloatImage un-mock DriveGetSheetFloatImage method
func (*Mock) UnMockDriveGetSheetMeta ¶
func (r *Mock) UnMockDriveGetSheetMeta()
UnMockDriveGetSheetMeta un-mock DriveGetSheetMeta method
func (*Mock) UnMockDriveGetSheetProtectedDimension ¶
func (r *Mock) UnMockDriveGetSheetProtectedDimension()
UnMockDriveGetSheetProtectedDimension un-mock DriveGetSheetProtectedDimension method
func (*Mock) UnMockDriveGetSheetValue ¶
func (r *Mock) UnMockDriveGetSheetValue()
UnMockDriveGetSheetValue un-mock DriveGetSheetValue method
func (*Mock) UnMockDriveGetWikiNode ¶
func (r *Mock) UnMockDriveGetWikiNode()
UnMockDriveGetWikiNode un-mock DriveGetWikiNode method
func (*Mock) UnMockDriveGetWikiNodeList ¶
func (r *Mock) UnMockDriveGetWikiNodeList()
UnMockDriveGetWikiNodeList un-mock DriveGetWikiNodeList method
func (*Mock) UnMockDriveGetWikiSpace ¶
func (r *Mock) UnMockDriveGetWikiSpace()
UnMockDriveGetWikiSpace un-mock DriveGetWikiSpace method
func (*Mock) UnMockDriveGetWikiSpaceList ¶
func (r *Mock) UnMockDriveGetWikiSpaceList()
UnMockDriveGetWikiSpaceList un-mock DriveGetWikiSpaceList method
func (*Mock) UnMockDriveGetWikiTask ¶
func (r *Mock) UnMockDriveGetWikiTask()
UnMockDriveGetWikiTask un-mock DriveGetWikiTask method
func (*Mock) UnMockDriveImportSheet ¶
func (r *Mock) UnMockDriveImportSheet()
UnMockDriveImportSheet un-mock DriveImportSheet method
func (*Mock) UnMockDriveInsertSheetDimensionRange ¶
func (r *Mock) UnMockDriveInsertSheetDimensionRange()
UnMockDriveInsertSheetDimensionRange un-mock DriveInsertSheetDimensionRange method
func (*Mock) UnMockDriveMergeSheetCell ¶
func (r *Mock) UnMockDriveMergeSheetCell()
UnMockDriveMergeSheetCell un-mock DriveMergeSheetCell method
func (*Mock) UnMockDriveMoveDocsToWiki ¶
func (r *Mock) UnMockDriveMoveDocsToWiki()
UnMockDriveMoveDocsToWiki un-mock DriveMoveDocsToWiki method
func (*Mock) UnMockDriveMoveSheetDimension ¶
func (r *Mock) UnMockDriveMoveSheetDimension()
UnMockDriveMoveSheetDimension un-mock DriveMoveSheetDimension method
func (*Mock) UnMockDriveMoveWikiNode ¶
func (r *Mock) UnMockDriveMoveWikiNode()
UnMockDriveMoveWikiNode un-mock DriveMoveWikiNode method
func (*Mock) UnMockDrivePartUploadDriveFile ¶
func (r *Mock) UnMockDrivePartUploadDriveFile()
UnMockDrivePartUploadDriveFile un-mock DrivePartUploadDriveFile method
func (*Mock) UnMockDrivePartUploadDriveMedia ¶
func (r *Mock) UnMockDrivePartUploadDriveMedia()
UnMockDrivePartUploadDriveMedia un-mock DrivePartUploadDriveMedia method
func (*Mock) UnMockDrivePrepareUploadDriveFile ¶
func (r *Mock) UnMockDrivePrepareUploadDriveFile()
UnMockDrivePrepareUploadDriveFile un-mock DrivePrepareUploadDriveFile method
func (*Mock) UnMockDrivePrepareUploadDriveMedia ¶
func (r *Mock) UnMockDrivePrepareUploadDriveMedia()
UnMockDrivePrepareUploadDriveMedia un-mock DrivePrepareUploadDriveMedia method
func (*Mock) UnMockDrivePrependSheetValue ¶
func (r *Mock) UnMockDrivePrependSheetValue()
UnMockDrivePrependSheetValue un-mock DrivePrependSheetValue method
func (*Mock) UnMockDriveQuerySheetFilterView ¶
func (r *Mock) UnMockDriveQuerySheetFilterView()
UnMockDriveQuerySheetFilterView un-mock DriveQuerySheetFilterView method
func (*Mock) UnMockDriveQuerySheetFilterViewCondition ¶
func (r *Mock) UnMockDriveQuerySheetFilterViewCondition()
UnMockDriveQuerySheetFilterViewCondition un-mock DriveQuerySheetFilterViewCondition method
func (*Mock) UnMockDriveQuerySheetFloatImage ¶
func (r *Mock) UnMockDriveQuerySheetFloatImage()
UnMockDriveQuerySheetFloatImage un-mock DriveQuerySheetFloatImage method
func (*Mock) UnMockDriveReplaceSheet ¶
func (r *Mock) UnMockDriveReplaceSheet()
UnMockDriveReplaceSheet un-mock DriveReplaceSheet method
func (*Mock) UnMockDriveSearchDriveFile ¶
func (r *Mock) UnMockDriveSearchDriveFile()
UnMockDriveSearchDriveFile un-mock DriveSearchDriveFile method
func (*Mock) UnMockDriveSetSheetStyle ¶
func (r *Mock) UnMockDriveSetSheetStyle()
UnMockDriveSetSheetStyle un-mock DriveSetSheetStyle method
func (*Mock) UnMockDriveSetSheetValue ¶
func (r *Mock) UnMockDriveSetSheetValue()
UnMockDriveSetSheetValue un-mock DriveSetSheetValue method
func (*Mock) UnMockDriveSetSheetValueImage ¶
func (r *Mock) UnMockDriveSetSheetValueImage()
UnMockDriveSetSheetValueImage un-mock DriveSetSheetValueImage method
func (*Mock) UnMockDriveTransferDriveMemberPermission ¶
func (r *Mock) UnMockDriveTransferDriveMemberPermission()
UnMockDriveTransferDriveMemberPermission un-mock DriveTransferDriveMemberPermission method
func (*Mock) UnMockDriveUnmergeSheetCell ¶
func (r *Mock) UnMockDriveUnmergeSheetCell()
UnMockDriveUnmergeSheetCell un-mock DriveUnmergeSheetCell method
func (*Mock) UnMockDriveUpdateDriveComment ¶
func (r *Mock) UnMockDriveUpdateDriveComment()
UnMockDriveUpdateDriveComment un-mock DriveUpdateDriveComment method
func (*Mock) UnMockDriveUpdateDriveCommentPatch ¶
func (r *Mock) UnMockDriveUpdateDriveCommentPatch()
UnMockDriveUpdateDriveCommentPatch un-mock DriveUpdateDriveCommentPatch method
func (*Mock) UnMockDriveUpdateDriveMemberPermission ¶
func (r *Mock) UnMockDriveUpdateDriveMemberPermission()
UnMockDriveUpdateDriveMemberPermission un-mock DriveUpdateDriveMemberPermission method
func (*Mock) UnMockDriveUpdateDriveMemberPermissionOld ¶
func (r *Mock) UnMockDriveUpdateDriveMemberPermissionOld()
UnMockDriveUpdateDriveMemberPermissionOld un-mock DriveUpdateDriveMemberPermissionOld method
func (*Mock) UnMockDriveUpdateDrivePublicPermission ¶
func (r *Mock) UnMockDriveUpdateDrivePublicPermission()
UnMockDriveUpdateDrivePublicPermission un-mock DriveUpdateDrivePublicPermission method
func (*Mock) UnMockDriveUpdateDrivePublicPermissionV1Old ¶
func (r *Mock) UnMockDriveUpdateDrivePublicPermissionV1Old()
UnMockDriveUpdateDrivePublicPermissionV1Old un-mock DriveUpdateDrivePublicPermissionV1Old method
func (*Mock) UnMockDriveUpdateDrivePublicPermissionV2Old ¶
func (r *Mock) UnMockDriveUpdateDrivePublicPermissionV2Old()
UnMockDriveUpdateDrivePublicPermissionV2Old un-mock DriveUpdateDrivePublicPermissionV2Old method
func (*Mock) UnMockDriveUpdateSheetConditionFormat ¶
func (r *Mock) UnMockDriveUpdateSheetConditionFormat()
UnMockDriveUpdateSheetConditionFormat un-mock DriveUpdateSheetConditionFormat method
func (*Mock) UnMockDriveUpdateSheetDataValidationDropdown ¶
func (r *Mock) UnMockDriveUpdateSheetDataValidationDropdown()
UnMockDriveUpdateSheetDataValidationDropdown un-mock DriveUpdateSheetDataValidationDropdown method
func (*Mock) UnMockDriveUpdateSheetDimensionRange ¶
func (r *Mock) UnMockDriveUpdateSheetDimensionRange()
UnMockDriveUpdateSheetDimensionRange un-mock DriveUpdateSheetDimensionRange method
func (*Mock) UnMockDriveUpdateSheetFilter ¶
func (r *Mock) UnMockDriveUpdateSheetFilter()
UnMockDriveUpdateSheetFilter un-mock DriveUpdateSheetFilter method
func (*Mock) UnMockDriveUpdateSheetFilterView ¶
func (r *Mock) UnMockDriveUpdateSheetFilterView()
UnMockDriveUpdateSheetFilterView un-mock DriveUpdateSheetFilterView method
func (*Mock) UnMockDriveUpdateSheetFilterViewCondition ¶
func (r *Mock) UnMockDriveUpdateSheetFilterViewCondition()
UnMockDriveUpdateSheetFilterViewCondition un-mock DriveUpdateSheetFilterViewCondition method
func (*Mock) UnMockDriveUpdateSheetFloatImage ¶
func (r *Mock) UnMockDriveUpdateSheetFloatImage()
UnMockDriveUpdateSheetFloatImage un-mock DriveUpdateSheetFloatImage method
func (*Mock) UnMockDriveUpdateSheetProperty ¶
func (r *Mock) UnMockDriveUpdateSheetProperty()
UnMockDriveUpdateSheetProperty un-mock DriveUpdateSheetProperty method
func (*Mock) UnMockDriveUpdateSheetProtectedDimension ¶
func (r *Mock) UnMockDriveUpdateSheetProtectedDimension()
UnMockDriveUpdateSheetProtectedDimension un-mock DriveUpdateSheetProtectedDimension method
func (*Mock) UnMockDriveUpdateWikiSpaceSetting ¶
func (r *Mock) UnMockDriveUpdateWikiSpaceSetting()
UnMockDriveUpdateWikiSpaceSetting un-mock DriveUpdateWikiSpaceSetting method
func (*Mock) UnMockDriveUploadDriveFile ¶
func (r *Mock) UnMockDriveUploadDriveFile()
UnMockDriveUploadDriveFile un-mock DriveUploadDriveFile method
func (*Mock) UnMockDriveUploadDriveMedia ¶
func (r *Mock) UnMockDriveUploadDriveMedia()
UnMockDriveUploadDriveMedia un-mock DriveUploadDriveMedia method
func (*Mock) UnMockEHRDownloadEHRAttachments ¶
func (r *Mock) UnMockEHRDownloadEHRAttachments()
UnMockEHRDownloadEHRAttachments un-mock EHRDownloadEHRAttachments method
func (*Mock) UnMockEHRGetEHREmployeeList ¶
func (r *Mock) UnMockEHRGetEHREmployeeList()
UnMockEHRGetEHREmployeeList un-mock EHRGetEHREmployeeList method
func (*Mock) UnMockEcosystemGetEcosystemBindAwemeUser ¶
func (r *Mock) UnMockEcosystemGetEcosystemBindAwemeUser()
UnMockEcosystemGetEcosystemBindAwemeUser un-mock EcosystemGetEcosystemBindAwemeUser method
func (*Mock) UnMockFileDownloadFile ¶
func (r *Mock) UnMockFileDownloadFile()
UnMockFileDownloadFile un-mock FileDownloadFile method
func (*Mock) UnMockFileDownloadImage ¶
func (r *Mock) UnMockFileDownloadImage()
UnMockFileDownloadImage un-mock FileDownloadImage method
func (*Mock) UnMockFileUploadFile ¶
func (r *Mock) UnMockFileUploadFile()
UnMockFileUploadFile un-mock FileUploadFile method
func (*Mock) UnMockFileUploadImage ¶
func (r *Mock) UnMockFileUploadImage()
UnMockFileUploadImage un-mock FileUploadImage method
func (*Mock) UnMockGetAppAccessToken ¶
func (r *Mock) UnMockGetAppAccessToken()
UnMockGetAppAccessToken ...
func (*Mock) UnMockGetTenantAccessToken ¶
func (r *Mock) UnMockGetTenantAccessToken()
UnMockGetTenantAccessToken ...
func (*Mock) UnMockHelpdeskAnswerHelpdeskTicketUserQuery ¶
func (r *Mock) UnMockHelpdeskAnswerHelpdeskTicketUserQuery()
UnMockHelpdeskAnswerHelpdeskTicketUserQuery un-mock HelpdeskAnswerHelpdeskTicketUserQuery method
func (*Mock) UnMockHelpdeskCancelApproveHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskCancelApproveHelpdeskNotification()
UnMockHelpdeskCancelApproveHelpdeskNotification un-mock HelpdeskCancelApproveHelpdeskNotification method
func (*Mock) UnMockHelpdeskCancelSendHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskCancelSendHelpdeskNotification()
UnMockHelpdeskCancelSendHelpdeskNotification un-mock HelpdeskCancelSendHelpdeskNotification method
func (*Mock) UnMockHelpdeskCreateHelpdeskAgentSchedule ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskAgentSchedule()
UnMockHelpdeskCreateHelpdeskAgentSchedule un-mock HelpdeskCreateHelpdeskAgentSchedule method
func (*Mock) UnMockHelpdeskCreateHelpdeskAgentSkill ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskAgentSkill()
UnMockHelpdeskCreateHelpdeskAgentSkill un-mock HelpdeskCreateHelpdeskAgentSkill method
func (*Mock) UnMockHelpdeskCreateHelpdeskCategory ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskCategory()
UnMockHelpdeskCreateHelpdeskCategory un-mock HelpdeskCreateHelpdeskCategory method
func (*Mock) UnMockHelpdeskCreateHelpdeskFAQ ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskFAQ()
UnMockHelpdeskCreateHelpdeskFAQ un-mock HelpdeskCreateHelpdeskFAQ method
func (*Mock) UnMockHelpdeskCreateHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskNotification()
UnMockHelpdeskCreateHelpdeskNotification un-mock HelpdeskCreateHelpdeskNotification method
func (*Mock) UnMockHelpdeskCreateHelpdeskTicketCustomizedField ¶
func (r *Mock) UnMockHelpdeskCreateHelpdeskTicketCustomizedField()
UnMockHelpdeskCreateHelpdeskTicketCustomizedField un-mock HelpdeskCreateHelpdeskTicketCustomizedField method
func (*Mock) UnMockHelpdeskDeleteHelpdeskAgentSchedule ¶
func (r *Mock) UnMockHelpdeskDeleteHelpdeskAgentSchedule()
UnMockHelpdeskDeleteHelpdeskAgentSchedule un-mock HelpdeskDeleteHelpdeskAgentSchedule method
func (*Mock) UnMockHelpdeskDeleteHelpdeskAgentSkill ¶
func (r *Mock) UnMockHelpdeskDeleteHelpdeskAgentSkill()
UnMockHelpdeskDeleteHelpdeskAgentSkill un-mock HelpdeskDeleteHelpdeskAgentSkill method
func (*Mock) UnMockHelpdeskDeleteHelpdeskCategory ¶
func (r *Mock) UnMockHelpdeskDeleteHelpdeskCategory()
UnMockHelpdeskDeleteHelpdeskCategory un-mock HelpdeskDeleteHelpdeskCategory method
func (*Mock) UnMockHelpdeskDeleteHelpdeskFAQ ¶
func (r *Mock) UnMockHelpdeskDeleteHelpdeskFAQ()
UnMockHelpdeskDeleteHelpdeskFAQ un-mock HelpdeskDeleteHelpdeskFAQ method
func (*Mock) UnMockHelpdeskDeleteHelpdeskTicketCustomizedField ¶
func (r *Mock) UnMockHelpdeskDeleteHelpdeskTicketCustomizedField()
UnMockHelpdeskDeleteHelpdeskTicketCustomizedField un-mock HelpdeskDeleteHelpdeskTicketCustomizedField method
func (*Mock) UnMockHelpdeskDownloadHelpdeskTicketImage ¶
func (r *Mock) UnMockHelpdeskDownloadHelpdeskTicketImage()
UnMockHelpdeskDownloadHelpdeskTicketImage un-mock HelpdeskDownloadHelpdeskTicketImage method
func (*Mock) UnMockHelpdeskExecuteSendHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskExecuteSendHelpdeskNotification()
UnMockHelpdeskExecuteSendHelpdeskNotification un-mock HelpdeskExecuteSendHelpdeskNotification method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentEmail ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentEmail()
UnMockHelpdeskGetHelpdeskAgentEmail un-mock HelpdeskGetHelpdeskAgentEmail method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentSchedule ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSchedule()
UnMockHelpdeskGetHelpdeskAgentSchedule un-mock HelpdeskGetHelpdeskAgentSchedule method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentScheduleList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentScheduleList()
UnMockHelpdeskGetHelpdeskAgentScheduleList un-mock HelpdeskGetHelpdeskAgentScheduleList method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentSkill ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkill()
UnMockHelpdeskGetHelpdeskAgentSkill un-mock HelpdeskGetHelpdeskAgentSkill method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentSkillList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkillList()
UnMockHelpdeskGetHelpdeskAgentSkillList un-mock HelpdeskGetHelpdeskAgentSkillList method
func (*Mock) UnMockHelpdeskGetHelpdeskAgentSkillRuleList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskAgentSkillRuleList()
UnMockHelpdeskGetHelpdeskAgentSkillRuleList un-mock HelpdeskGetHelpdeskAgentSkillRuleList method
func (*Mock) UnMockHelpdeskGetHelpdeskCategory ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskCategory()
UnMockHelpdeskGetHelpdeskCategory un-mock HelpdeskGetHelpdeskCategory method
func (*Mock) UnMockHelpdeskGetHelpdeskCategoryList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskCategoryList()
UnMockHelpdeskGetHelpdeskCategoryList un-mock HelpdeskGetHelpdeskCategoryList method
func (*Mock) UnMockHelpdeskGetHelpdeskFAQ ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskFAQ()
UnMockHelpdeskGetHelpdeskFAQ un-mock HelpdeskGetHelpdeskFAQ method
func (*Mock) UnMockHelpdeskGetHelpdeskFAQImage ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskFAQImage()
UnMockHelpdeskGetHelpdeskFAQImage un-mock HelpdeskGetHelpdeskFAQImage method
func (*Mock) UnMockHelpdeskGetHelpdeskFAQList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskFAQList()
UnMockHelpdeskGetHelpdeskFAQList un-mock HelpdeskGetHelpdeskFAQList method
func (*Mock) UnMockHelpdeskGetHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskNotification()
UnMockHelpdeskGetHelpdeskNotification un-mock HelpdeskGetHelpdeskNotification method
func (*Mock) UnMockHelpdeskGetHelpdeskTicket ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskTicket()
UnMockHelpdeskGetHelpdeskTicket un-mock HelpdeskGetHelpdeskTicket method
func (*Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedField ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedField()
UnMockHelpdeskGetHelpdeskTicketCustomizedField un-mock HelpdeskGetHelpdeskTicketCustomizedField method
func (*Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedFieldList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskTicketCustomizedFieldList()
UnMockHelpdeskGetHelpdeskTicketCustomizedFieldList un-mock HelpdeskGetHelpdeskTicketCustomizedFieldList method
func (*Mock) UnMockHelpdeskGetHelpdeskTicketList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskTicketList()
UnMockHelpdeskGetHelpdeskTicketList un-mock HelpdeskGetHelpdeskTicketList method
func (*Mock) UnMockHelpdeskGetHelpdeskTicketMessageList ¶
func (r *Mock) UnMockHelpdeskGetHelpdeskTicketMessageList()
UnMockHelpdeskGetHelpdeskTicketMessageList un-mock HelpdeskGetHelpdeskTicketMessageList method
func (*Mock) UnMockHelpdeskPreviewHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskPreviewHelpdeskNotification()
UnMockHelpdeskPreviewHelpdeskNotification un-mock HelpdeskPreviewHelpdeskNotification method
func (*Mock) UnMockHelpdeskSearchHelpdeskFAQ ¶
func (r *Mock) UnMockHelpdeskSearchHelpdeskFAQ()
UnMockHelpdeskSearchHelpdeskFAQ un-mock HelpdeskSearchHelpdeskFAQ method
func (*Mock) UnMockHelpdeskSendHelpdeskMessage ¶
func (r *Mock) UnMockHelpdeskSendHelpdeskMessage()
UnMockHelpdeskSendHelpdeskMessage un-mock HelpdeskSendHelpdeskMessage method
func (*Mock) UnMockHelpdeskSendHelpdeskTicketMessage ¶
func (r *Mock) UnMockHelpdeskSendHelpdeskTicketMessage()
UnMockHelpdeskSendHelpdeskTicketMessage un-mock HelpdeskSendHelpdeskTicketMessage method
func (*Mock) UnMockHelpdeskStartHelpdeskService ¶
func (r *Mock) UnMockHelpdeskStartHelpdeskService()
UnMockHelpdeskStartHelpdeskService un-mock HelpdeskStartHelpdeskService method
func (*Mock) UnMockHelpdeskSubmitApproveHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskSubmitApproveHelpdeskNotification()
UnMockHelpdeskSubmitApproveHelpdeskNotification un-mock HelpdeskSubmitApproveHelpdeskNotification method
func (*Mock) UnMockHelpdeskSubscribeHelpdeskEvent ¶
func (r *Mock) UnMockHelpdeskSubscribeHelpdeskEvent()
UnMockHelpdeskSubscribeHelpdeskEvent un-mock HelpdeskSubscribeHelpdeskEvent method
func (*Mock) UnMockHelpdeskUnsubscribeHelpdeskEvent ¶
func (r *Mock) UnMockHelpdeskUnsubscribeHelpdeskEvent()
UnMockHelpdeskUnsubscribeHelpdeskEvent un-mock HelpdeskUnsubscribeHelpdeskEvent method
func (*Mock) UnMockHelpdeskUpdateHelpdeskAgent ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgent()
UnMockHelpdeskUpdateHelpdeskAgent un-mock HelpdeskUpdateHelpdeskAgent method
func (*Mock) UnMockHelpdeskUpdateHelpdeskAgentSchedule ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgentSchedule()
UnMockHelpdeskUpdateHelpdeskAgentSchedule un-mock HelpdeskUpdateHelpdeskAgentSchedule method
func (*Mock) UnMockHelpdeskUpdateHelpdeskAgentSkill ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskAgentSkill()
UnMockHelpdeskUpdateHelpdeskAgentSkill un-mock HelpdeskUpdateHelpdeskAgentSkill method
func (*Mock) UnMockHelpdeskUpdateHelpdeskCategory ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskCategory()
UnMockHelpdeskUpdateHelpdeskCategory un-mock HelpdeskUpdateHelpdeskCategory method
func (*Mock) UnMockHelpdeskUpdateHelpdeskFAQ ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskFAQ()
UnMockHelpdeskUpdateHelpdeskFAQ un-mock HelpdeskUpdateHelpdeskFAQ method
func (*Mock) UnMockHelpdeskUpdateHelpdeskNotification ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskNotification()
UnMockHelpdeskUpdateHelpdeskNotification un-mock HelpdeskUpdateHelpdeskNotification method
func (*Mock) UnMockHelpdeskUpdateHelpdeskTicket ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskTicket()
UnMockHelpdeskUpdateHelpdeskTicket un-mock HelpdeskUpdateHelpdeskTicket method
func (*Mock) UnMockHelpdeskUpdateHelpdeskTicketCustomizedField ¶
func (r *Mock) UnMockHelpdeskUpdateHelpdeskTicketCustomizedField()
UnMockHelpdeskUpdateHelpdeskTicketCustomizedField un-mock HelpdeskUpdateHelpdeskTicketCustomizedField method
func (*Mock) UnMockHireCreateHireApplication ¶
func (r *Mock) UnMockHireCreateHireApplication()
UnMockHireCreateHireApplication un-mock HireCreateHireApplication method
func (*Mock) UnMockHireCreateHireNote ¶
func (r *Mock) UnMockHireCreateHireNote()
UnMockHireCreateHireNote un-mock HireCreateHireNote method
func (*Mock) UnMockHireGetHireApplication ¶
func (r *Mock) UnMockHireGetHireApplication()
UnMockHireGetHireApplication un-mock HireGetHireApplication method
func (*Mock) UnMockHireGetHireApplicationInterviewList ¶
func (r *Mock) UnMockHireGetHireApplicationInterviewList()
UnMockHireGetHireApplicationInterviewList un-mock HireGetHireApplicationInterviewList method
func (*Mock) UnMockHireGetHireApplicationList ¶
func (r *Mock) UnMockHireGetHireApplicationList()
UnMockHireGetHireApplicationList un-mock HireGetHireApplicationList method
func (*Mock) UnMockHireGetHireAttachment ¶
func (r *Mock) UnMockHireGetHireAttachment()
UnMockHireGetHireAttachment un-mock HireGetHireAttachment method
func (*Mock) UnMockHireGetHireAttachmentPreview ¶
func (r *Mock) UnMockHireGetHireAttachmentPreview()
UnMockHireGetHireAttachmentPreview un-mock HireGetHireAttachmentPreview method
func (*Mock) UnMockHireGetHireEmployee ¶
func (r *Mock) UnMockHireGetHireEmployee()
UnMockHireGetHireEmployee un-mock HireGetHireEmployee method
func (*Mock) UnMockHireGetHireEmployeeByApplication ¶
func (r *Mock) UnMockHireGetHireEmployeeByApplication()
UnMockHireGetHireEmployeeByApplication un-mock HireGetHireEmployeeByApplication method
func (*Mock) UnMockHireGetHireJob ¶
func (r *Mock) UnMockHireGetHireJob()
UnMockHireGetHireJob un-mock HireGetHireJob method
func (*Mock) UnMockHireGetHireJobManager ¶
func (r *Mock) UnMockHireGetHireJobManager()
UnMockHireGetHireJobManager un-mock HireGetHireJobManager method
func (*Mock) UnMockHireGetHireJobProcessList ¶
func (r *Mock) UnMockHireGetHireJobProcessList()
UnMockHireGetHireJobProcessList un-mock HireGetHireJobProcessList method
func (*Mock) UnMockHireGetHireNote ¶
func (r *Mock) UnMockHireGetHireNote()
UnMockHireGetHireNote un-mock HireGetHireNote method
func (*Mock) UnMockHireGetHireNoteList ¶
func (r *Mock) UnMockHireGetHireNoteList()
UnMockHireGetHireNoteList un-mock HireGetHireNoteList method
func (*Mock) UnMockHireGetHireOfferByApplication ¶
func (r *Mock) UnMockHireGetHireOfferByApplication()
UnMockHireGetHireOfferByApplication un-mock HireGetHireOfferByApplication method
func (*Mock) UnMockHireGetHireOfferSchema ¶
func (r *Mock) UnMockHireGetHireOfferSchema()
UnMockHireGetHireOfferSchema un-mock HireGetHireOfferSchema method
func (*Mock) UnMockHireGetHireReferralByApplication ¶
func (r *Mock) UnMockHireGetHireReferralByApplication()
UnMockHireGetHireReferralByApplication un-mock HireGetHireReferralByApplication method
func (*Mock) UnMockHireGetHireResumeSource ¶
func (r *Mock) UnMockHireGetHireResumeSource()
UnMockHireGetHireResumeSource un-mock HireGetHireResumeSource method
func (*Mock) UnMockHireGetHireTalent ¶
func (r *Mock) UnMockHireGetHireTalent()
UnMockHireGetHireTalent un-mock HireGetHireTalent method
func (*Mock) UnMockHireMakeHireTransferOnboardByApplication ¶
func (r *Mock) UnMockHireMakeHireTransferOnboardByApplication()
UnMockHireMakeHireTransferOnboardByApplication un-mock HireMakeHireTransferOnboardByApplication method
func (*Mock) UnMockHireTerminateHireApplication ¶
func (r *Mock) UnMockHireTerminateHireApplication()
UnMockHireTerminateHireApplication un-mock HireTerminateHireApplication method
func (*Mock) UnMockHireUpdateHireEmployee ¶
func (r *Mock) UnMockHireUpdateHireEmployee()
UnMockHireUpdateHireEmployee un-mock HireUpdateHireEmployee method
func (*Mock) UnMockHireUpdateHireNote ¶
func (r *Mock) UnMockHireUpdateHireNote()
UnMockHireUpdateHireNote un-mock HireUpdateHireNote method
func (*Mock) UnMockHumanAuthCreateIdentity ¶
func (r *Mock) UnMockHumanAuthCreateIdentity()
UnMockHumanAuthCreateIdentity un-mock HumanAuthCreateIdentity method
func (*Mock) UnMockHumanAuthCropFaceVerifyImage ¶
func (r *Mock) UnMockHumanAuthCropFaceVerifyImage()
UnMockHumanAuthCropFaceVerifyImage un-mock HumanAuthCropFaceVerifyImage method
func (*Mock) UnMockHumanAuthGetFaceVerifyAuthResult ¶
func (r *Mock) UnMockHumanAuthGetFaceVerifyAuthResult()
UnMockHumanAuthGetFaceVerifyAuthResult un-mock HumanAuthGetFaceVerifyAuthResult method
func (*Mock) UnMockHumanAuthUploadFaceVerifyImage ¶
func (r *Mock) UnMockHumanAuthUploadFaceVerifyImage()
UnMockHumanAuthUploadFaceVerifyImage un-mock HumanAuthUploadFaceVerifyImage method
func (*Mock) UnMockJssdkGetJssdkTicket ¶
func (r *Mock) UnMockJssdkGetJssdkTicket()
UnMockJssdkGetJssdkTicket un-mock JssdkGetJssdkTicket method
func (*Mock) UnMockMailClearPublicMailboxMember ¶
func (r *Mock) UnMockMailClearPublicMailboxMember()
UnMockMailClearPublicMailboxMember un-mock MailClearPublicMailboxMember method
func (*Mock) UnMockMailCreateMailGroup ¶
func (r *Mock) UnMockMailCreateMailGroup()
UnMockMailCreateMailGroup un-mock MailCreateMailGroup method
func (*Mock) UnMockMailCreateMailGroupMember ¶
func (r *Mock) UnMockMailCreateMailGroupMember()
UnMockMailCreateMailGroupMember un-mock MailCreateMailGroupMember method
func (*Mock) UnMockMailCreateMailGroupPermissionMember ¶
func (r *Mock) UnMockMailCreateMailGroupPermissionMember()
UnMockMailCreateMailGroupPermissionMember un-mock MailCreateMailGroupPermissionMember method
func (*Mock) UnMockMailCreateMailUserAlias ¶
func (r *Mock) UnMockMailCreateMailUserAlias()
UnMockMailCreateMailUserAlias un-mock MailCreateMailUserAlias method
func (*Mock) UnMockMailCreatePublicMailbox ¶
func (r *Mock) UnMockMailCreatePublicMailbox()
UnMockMailCreatePublicMailbox un-mock MailCreatePublicMailbox method
func (*Mock) UnMockMailCreatePublicMailboxMember ¶
func (r *Mock) UnMockMailCreatePublicMailboxMember()
UnMockMailCreatePublicMailboxMember un-mock MailCreatePublicMailboxMember method
func (*Mock) UnMockMailDeleteMailGroup ¶
func (r *Mock) UnMockMailDeleteMailGroup()
UnMockMailDeleteMailGroup un-mock MailDeleteMailGroup method
func (*Mock) UnMockMailDeleteMailGroupMember ¶
func (r *Mock) UnMockMailDeleteMailGroupMember()
UnMockMailDeleteMailGroupMember un-mock MailDeleteMailGroupMember method
func (*Mock) UnMockMailDeleteMailGroupPermissionMember ¶
func (r *Mock) UnMockMailDeleteMailGroupPermissionMember()
UnMockMailDeleteMailGroupPermissionMember un-mock MailDeleteMailGroupPermissionMember method
func (*Mock) UnMockMailDeleteMailUserAlias ¶
func (r *Mock) UnMockMailDeleteMailUserAlias()
UnMockMailDeleteMailUserAlias un-mock MailDeleteMailUserAlias method
func (*Mock) UnMockMailDeletePublicMailbox ¶
func (r *Mock) UnMockMailDeletePublicMailbox()
UnMockMailDeletePublicMailbox un-mock MailDeletePublicMailbox method
func (*Mock) UnMockMailDeletePublicMailboxMember ¶
func (r *Mock) UnMockMailDeletePublicMailboxMember()
UnMockMailDeletePublicMailboxMember un-mock MailDeletePublicMailboxMember method
func (*Mock) UnMockMailGetMailGroup ¶
func (r *Mock) UnMockMailGetMailGroup()
UnMockMailGetMailGroup un-mock MailGetMailGroup method
func (*Mock) UnMockMailGetMailGroupList ¶
func (r *Mock) UnMockMailGetMailGroupList()
UnMockMailGetMailGroupList un-mock MailGetMailGroupList method
func (*Mock) UnMockMailGetMailGroupMember ¶
func (r *Mock) UnMockMailGetMailGroupMember()
UnMockMailGetMailGroupMember un-mock MailGetMailGroupMember method
func (*Mock) UnMockMailGetMailGroupMemberList ¶
func (r *Mock) UnMockMailGetMailGroupMemberList()
UnMockMailGetMailGroupMemberList un-mock MailGetMailGroupMemberList method
func (*Mock) UnMockMailGetMailGroupPermissionMember ¶
func (r *Mock) UnMockMailGetMailGroupPermissionMember()
UnMockMailGetMailGroupPermissionMember un-mock MailGetMailGroupPermissionMember method
func (*Mock) UnMockMailGetMailGroupPermissionMemberList ¶
func (r *Mock) UnMockMailGetMailGroupPermissionMemberList()
UnMockMailGetMailGroupPermissionMemberList un-mock MailGetMailGroupPermissionMemberList method
func (*Mock) UnMockMailGetMailUserAliasList ¶
func (r *Mock) UnMockMailGetMailUserAliasList()
UnMockMailGetMailUserAliasList un-mock MailGetMailUserAliasList method
func (*Mock) UnMockMailGetPublicMailbox ¶
func (r *Mock) UnMockMailGetPublicMailbox()
UnMockMailGetPublicMailbox un-mock MailGetPublicMailbox method
func (*Mock) UnMockMailGetPublicMailboxList ¶
func (r *Mock) UnMockMailGetPublicMailboxList()
UnMockMailGetPublicMailboxList un-mock MailGetPublicMailboxList method
func (*Mock) UnMockMailGetPublicMailboxMember ¶
func (r *Mock) UnMockMailGetPublicMailboxMember()
UnMockMailGetPublicMailboxMember un-mock MailGetPublicMailboxMember method
func (*Mock) UnMockMailGetPublicMailboxMemberList ¶
func (r *Mock) UnMockMailGetPublicMailboxMemberList()
UnMockMailGetPublicMailboxMemberList un-mock MailGetPublicMailboxMemberList method
func (*Mock) UnMockMailUpdateMailGroup ¶
func (r *Mock) UnMockMailUpdateMailGroup()
UnMockMailUpdateMailGroup un-mock MailUpdateMailGroup method
func (*Mock) UnMockMailUpdateMailGroupPatch ¶
func (r *Mock) UnMockMailUpdateMailGroupPatch()
UnMockMailUpdateMailGroupPatch un-mock MailUpdateMailGroupPatch method
func (*Mock) UnMockMailUpdatePublicMailbox ¶
func (r *Mock) UnMockMailUpdatePublicMailbox()
UnMockMailUpdatePublicMailbox un-mock MailUpdatePublicMailbox method
func (*Mock) UnMockMailUpdatePublicMailboxPatch ¶
func (r *Mock) UnMockMailUpdatePublicMailboxPatch()
UnMockMailUpdatePublicMailboxPatch un-mock MailUpdatePublicMailboxPatch method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomBuilding ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomBuilding()
UnMockMeetingRoomBatchGetMeetingRoomBuilding un-mock MeetingRoomBatchGetMeetingRoomBuilding method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomBuildingID ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomBuildingID()
UnMockMeetingRoomBatchGetMeetingRoomBuildingID un-mock MeetingRoomBatchGetMeetingRoomBuildingID method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomFreebusy ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomFreebusy()
UnMockMeetingRoomBatchGetMeetingRoomFreebusy un-mock MeetingRoomBatchGetMeetingRoomFreebusy method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomRoom ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomRoom()
UnMockMeetingRoomBatchGetMeetingRoomRoom un-mock MeetingRoomBatchGetMeetingRoomRoom method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomRoomID ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomRoomID()
UnMockMeetingRoomBatchGetMeetingRoomRoomID un-mock MeetingRoomBatchGetMeetingRoomRoomID method
func (*Mock) UnMockMeetingRoomBatchGetMeetingRoomSummary ¶
func (r *Mock) UnMockMeetingRoomBatchGetMeetingRoomSummary()
UnMockMeetingRoomBatchGetMeetingRoomSummary un-mock MeetingRoomBatchGetMeetingRoomSummary method
func (*Mock) UnMockMeetingRoomCreateMeetingRoomBuilding ¶
func (r *Mock) UnMockMeetingRoomCreateMeetingRoomBuilding()
UnMockMeetingRoomCreateMeetingRoomBuilding un-mock MeetingRoomCreateMeetingRoomBuilding method
func (*Mock) UnMockMeetingRoomCreateMeetingRoomRoom ¶
func (r *Mock) UnMockMeetingRoomCreateMeetingRoomRoom()
UnMockMeetingRoomCreateMeetingRoomRoom un-mock MeetingRoomCreateMeetingRoomRoom method
func (*Mock) UnMockMeetingRoomDeleteMeetingRoomBuilding ¶
func (r *Mock) UnMockMeetingRoomDeleteMeetingRoomBuilding()
UnMockMeetingRoomDeleteMeetingRoomBuilding un-mock MeetingRoomDeleteMeetingRoomBuilding method
func (*Mock) UnMockMeetingRoomDeleteMeetingRoomRoom ¶
func (r *Mock) UnMockMeetingRoomDeleteMeetingRoomRoom()
UnMockMeetingRoomDeleteMeetingRoomRoom un-mock MeetingRoomDeleteMeetingRoomRoom method
func (*Mock) UnMockMeetingRoomGetMeetingRoomBuildingList ¶
func (r *Mock) UnMockMeetingRoomGetMeetingRoomBuildingList()
UnMockMeetingRoomGetMeetingRoomBuildingList un-mock MeetingRoomGetMeetingRoomBuildingList method
func (*Mock) UnMockMeetingRoomGetMeetingRoomCountryList ¶
func (r *Mock) UnMockMeetingRoomGetMeetingRoomCountryList()
UnMockMeetingRoomGetMeetingRoomCountryList un-mock MeetingRoomGetMeetingRoomCountryList method
func (*Mock) UnMockMeetingRoomGetMeetingRoomCustomization ¶
func (r *Mock) UnMockMeetingRoomGetMeetingRoomCustomization()
UnMockMeetingRoomGetMeetingRoomCustomization un-mock MeetingRoomGetMeetingRoomCustomization method
func (*Mock) UnMockMeetingRoomGetMeetingRoomDistrictList ¶
func (r *Mock) UnMockMeetingRoomGetMeetingRoomDistrictList()
UnMockMeetingRoomGetMeetingRoomDistrictList un-mock MeetingRoomGetMeetingRoomDistrictList method
func (*Mock) UnMockMeetingRoomGetMeetingRoomRoomList ¶
func (r *Mock) UnMockMeetingRoomGetMeetingRoomRoomList()
UnMockMeetingRoomGetMeetingRoomRoomList un-mock MeetingRoomGetMeetingRoomRoomList method
func (*Mock) UnMockMeetingRoomReplyMeetingRoomInstance ¶
func (r *Mock) UnMockMeetingRoomReplyMeetingRoomInstance()
UnMockMeetingRoomReplyMeetingRoomInstance un-mock MeetingRoomReplyMeetingRoomInstance method
func (*Mock) UnMockMeetingRoomUpdateMeetingRoomBuilding ¶
func (r *Mock) UnMockMeetingRoomUpdateMeetingRoomBuilding()
UnMockMeetingRoomUpdateMeetingRoomBuilding un-mock MeetingRoomUpdateMeetingRoomBuilding method
func (*Mock) UnMockMeetingRoomUpdateMeetingRoomRoom ¶
func (r *Mock) UnMockMeetingRoomUpdateMeetingRoomRoom()
UnMockMeetingRoomUpdateMeetingRoomRoom un-mock MeetingRoomUpdateMeetingRoomRoom method
func (*Mock) UnMockMessageBatchDeleteMessage ¶
func (r *Mock) UnMockMessageBatchDeleteMessage()
UnMockMessageBatchDeleteMessage un-mock MessageBatchDeleteMessage method
func (*Mock) UnMockMessageBatchSendOldRawMessage ¶
func (r *Mock) UnMockMessageBatchSendOldRawMessage()
UnMockMessageBatchSendOldRawMessage un-mock MessageBatchSendOldRawMessage method
func (*Mock) UnMockMessageCreateMessageReaction ¶
func (r *Mock) UnMockMessageCreateMessageReaction()
UnMockMessageCreateMessageReaction un-mock MessageCreateMessageReaction method
func (*Mock) UnMockMessageDeleteEphemeralMessage ¶
func (r *Mock) UnMockMessageDeleteEphemeralMessage()
UnMockMessageDeleteEphemeralMessage un-mock MessageDeleteEphemeralMessage method
func (*Mock) UnMockMessageDeleteMessage ¶
func (r *Mock) UnMockMessageDeleteMessage()
UnMockMessageDeleteMessage un-mock MessageDeleteMessage method
func (*Mock) UnMockMessageDeleteMessageReaction ¶
func (r *Mock) UnMockMessageDeleteMessageReaction()
UnMockMessageDeleteMessageReaction un-mock MessageDeleteMessageReaction method
func (*Mock) UnMockMessageGetBatchSentMessageProgress ¶
func (r *Mock) UnMockMessageGetBatchSentMessageProgress()
UnMockMessageGetBatchSentMessageProgress un-mock MessageGetBatchSentMessageProgress method
func (*Mock) UnMockMessageGetBatchSentMessageReadUser ¶
func (r *Mock) UnMockMessageGetBatchSentMessageReadUser()
UnMockMessageGetBatchSentMessageReadUser un-mock MessageGetBatchSentMessageReadUser method
func (*Mock) UnMockMessageGetMessage ¶
func (r *Mock) UnMockMessageGetMessage()
UnMockMessageGetMessage un-mock MessageGetMessage method
func (*Mock) UnMockMessageGetMessageFile ¶
func (r *Mock) UnMockMessageGetMessageFile()
UnMockMessageGetMessageFile un-mock MessageGetMessageFile method
func (*Mock) UnMockMessageGetMessageList ¶
func (r *Mock) UnMockMessageGetMessageList()
UnMockMessageGetMessageList un-mock MessageGetMessageList method
func (*Mock) UnMockMessageGetMessageReactionList ¶
func (r *Mock) UnMockMessageGetMessageReactionList()
UnMockMessageGetMessageReactionList un-mock MessageGetMessageReactionList method
func (*Mock) UnMockMessageGetMessageReadUserList ¶
func (r *Mock) UnMockMessageGetMessageReadUserList()
UnMockMessageGetMessageReadUserList un-mock MessageGetMessageReadUserList method
func (*Mock) UnMockMessageReplyRawMessage ¶
func (r *Mock) UnMockMessageReplyRawMessage()
UnMockMessageReplyRawMessage un-mock MessageReplyRawMessage method
func (*Mock) UnMockMessageSendEphemeralMessage ¶
func (r *Mock) UnMockMessageSendEphemeralMessage()
UnMockMessageSendEphemeralMessage un-mock MessageSendEphemeralMessage method
func (*Mock) UnMockMessageSendRawMessage ¶
func (r *Mock) UnMockMessageSendRawMessage()
UnMockMessageSendRawMessage un-mock MessageSendRawMessage method
func (*Mock) UnMockMessageSendRawMessageOld ¶
func (r *Mock) UnMockMessageSendRawMessageOld()
UnMockMessageSendRawMessageOld un-mock MessageSendRawMessageOld method
func (*Mock) UnMockMessageSendUrgentAppMessage ¶
func (r *Mock) UnMockMessageSendUrgentAppMessage()
UnMockMessageSendUrgentAppMessage un-mock MessageSendUrgentAppMessage method
func (*Mock) UnMockMessageSendUrgentPhoneMessage ¶
func (r *Mock) UnMockMessageSendUrgentPhoneMessage()
UnMockMessageSendUrgentPhoneMessage un-mock MessageSendUrgentPhoneMessage method
func (*Mock) UnMockMessageSendUrgentSmsMessage ¶
func (r *Mock) UnMockMessageSendUrgentSmsMessage()
UnMockMessageSendUrgentSmsMessage un-mock MessageSendUrgentSmsMessage method
func (*Mock) UnMockMessageUpdateMessage ¶
func (r *Mock) UnMockMessageUpdateMessage()
UnMockMessageUpdateMessage un-mock MessageUpdateMessage method
func (*Mock) UnMockMessageUpdateMessageDelay ¶
func (r *Mock) UnMockMessageUpdateMessageDelay()
UnMockMessageUpdateMessageDelay un-mock MessageUpdateMessageDelay method
func (*Mock) UnMockOKRBatchGetOKR ¶
func (r *Mock) UnMockOKRBatchGetOKR()
UnMockOKRBatchGetOKR un-mock OKRBatchGetOKR method
func (*Mock) UnMockOKRGetOKRPeriodList ¶
func (r *Mock) UnMockOKRGetOKRPeriodList()
UnMockOKRGetOKRPeriodList un-mock OKRGetOKRPeriodList method
func (*Mock) UnMockOKRGetUserOKRList ¶
func (r *Mock) UnMockOKRGetUserOKRList()
UnMockOKRGetUserOKRList un-mock OKRGetUserOKRList method
func (*Mock) UnMockSearchCreateSearchDataSource ¶
func (r *Mock) UnMockSearchCreateSearchDataSource()
UnMockSearchCreateSearchDataSource un-mock SearchCreateSearchDataSource method
func (*Mock) UnMockSearchCreateSearchDataSourceItem ¶
func (r *Mock) UnMockSearchCreateSearchDataSourceItem()
UnMockSearchCreateSearchDataSourceItem un-mock SearchCreateSearchDataSourceItem method
func (*Mock) UnMockSearchDeleteSearchDataSource ¶
func (r *Mock) UnMockSearchDeleteSearchDataSource()
UnMockSearchDeleteSearchDataSource un-mock SearchDeleteSearchDataSource method
func (*Mock) UnMockSearchDeleteSearchDataSourceItem ¶
func (r *Mock) UnMockSearchDeleteSearchDataSourceItem()
UnMockSearchDeleteSearchDataSourceItem un-mock SearchDeleteSearchDataSourceItem method
func (*Mock) UnMockSearchGetSearchDataSource ¶
func (r *Mock) UnMockSearchGetSearchDataSource()
UnMockSearchGetSearchDataSource un-mock SearchGetSearchDataSource method
func (*Mock) UnMockSearchGetSearchDataSourceItem ¶
func (r *Mock) UnMockSearchGetSearchDataSourceItem()
UnMockSearchGetSearchDataSourceItem un-mock SearchGetSearchDataSourceItem method
func (*Mock) UnMockSearchGetSearchDataSourceList ¶
func (r *Mock) UnMockSearchGetSearchDataSourceList()
UnMockSearchGetSearchDataSourceList un-mock SearchGetSearchDataSourceList method
func (*Mock) UnMockSearchUpdateSearchDataSource ¶
func (r *Mock) UnMockSearchUpdateSearchDataSource()
UnMockSearchUpdateSearchDataSource un-mock SearchUpdateSearchDataSource method
func (*Mock) UnMockTaskCompleteTask ¶
func (r *Mock) UnMockTaskCompleteTask()
UnMockTaskCompleteTask un-mock TaskCompleteTask method
func (*Mock) UnMockTaskCreateTask ¶
func (r *Mock) UnMockTaskCreateTask()
UnMockTaskCreateTask un-mock TaskCreateTask method
func (*Mock) UnMockTaskCreateTaskCollaborator ¶
func (r *Mock) UnMockTaskCreateTaskCollaborator()
UnMockTaskCreateTaskCollaborator un-mock TaskCreateTaskCollaborator method
func (*Mock) UnMockTaskCreateTaskComment ¶
func (r *Mock) UnMockTaskCreateTaskComment()
UnMockTaskCreateTaskComment un-mock TaskCreateTaskComment method
func (*Mock) UnMockTaskCreateTaskFollower ¶
func (r *Mock) UnMockTaskCreateTaskFollower()
UnMockTaskCreateTaskFollower un-mock TaskCreateTaskFollower method
func (*Mock) UnMockTaskCreateTaskReminder ¶
func (r *Mock) UnMockTaskCreateTaskReminder()
UnMockTaskCreateTaskReminder un-mock TaskCreateTaskReminder method
func (*Mock) UnMockTaskDeleteTask ¶
func (r *Mock) UnMockTaskDeleteTask()
UnMockTaskDeleteTask un-mock TaskDeleteTask method
func (*Mock) UnMockTaskDeleteTaskCollaborator ¶
func (r *Mock) UnMockTaskDeleteTaskCollaborator()
UnMockTaskDeleteTaskCollaborator un-mock TaskDeleteTaskCollaborator method
func (*Mock) UnMockTaskDeleteTaskComment ¶
func (r *Mock) UnMockTaskDeleteTaskComment()
UnMockTaskDeleteTaskComment un-mock TaskDeleteTaskComment method
func (*Mock) UnMockTaskDeleteTaskFollower ¶
func (r *Mock) UnMockTaskDeleteTaskFollower()
UnMockTaskDeleteTaskFollower un-mock TaskDeleteTaskFollower method
func (*Mock) UnMockTaskDeleteTaskReminder ¶
func (r *Mock) UnMockTaskDeleteTaskReminder()
UnMockTaskDeleteTaskReminder un-mock TaskDeleteTaskReminder method
func (*Mock) UnMockTaskGetTask ¶
func (r *Mock) UnMockTaskGetTask()
UnMockTaskGetTask un-mock TaskGetTask method
func (*Mock) UnMockTaskGetTaskCollaboratorList ¶
func (r *Mock) UnMockTaskGetTaskCollaboratorList()
UnMockTaskGetTaskCollaboratorList un-mock TaskGetTaskCollaboratorList method
func (*Mock) UnMockTaskGetTaskComment ¶
func (r *Mock) UnMockTaskGetTaskComment()
UnMockTaskGetTaskComment un-mock TaskGetTaskComment method
func (*Mock) UnMockTaskGetTaskFollowerList ¶
func (r *Mock) UnMockTaskGetTaskFollowerList()
UnMockTaskGetTaskFollowerList un-mock TaskGetTaskFollowerList method
func (*Mock) UnMockTaskGetTaskList ¶
func (r *Mock) UnMockTaskGetTaskList()
UnMockTaskGetTaskList un-mock TaskGetTaskList method
func (*Mock) UnMockTaskGetTaskReminderList ¶
func (r *Mock) UnMockTaskGetTaskReminderList()
UnMockTaskGetTaskReminderList un-mock TaskGetTaskReminderList method
func (*Mock) UnMockTaskUncompleteTask ¶
func (r *Mock) UnMockTaskUncompleteTask()
UnMockTaskUncompleteTask un-mock TaskUncompleteTask method
func (*Mock) UnMockTaskUpdateTask ¶
func (r *Mock) UnMockTaskUpdateTask()
UnMockTaskUpdateTask un-mock TaskUpdateTask method
func (*Mock) UnMockTaskUpdateTaskComment ¶
func (r *Mock) UnMockTaskUpdateTaskComment()
UnMockTaskUpdateTaskComment un-mock TaskUpdateTaskComment method
func (*Mock) UnMockTenantGetTenant ¶
func (r *Mock) UnMockTenantGetTenant()
UnMockTenantGetTenant un-mock TenantGetTenant method
func (*Mock) UnMockVCApplyVCReserve ¶
func (r *Mock) UnMockVCApplyVCReserve()
UnMockVCApplyVCReserve un-mock VCApplyVCReserve method
func (*Mock) UnMockVCDeleteVCReserve ¶
func (r *Mock) UnMockVCDeleteVCReserve()
UnMockVCDeleteVCReserve un-mock VCDeleteVCReserve method
func (*Mock) UnMockVCEndVCMeeting ¶
func (r *Mock) UnMockVCEndVCMeeting()
UnMockVCEndVCMeeting un-mock VCEndVCMeeting method
func (*Mock) UnMockVCGetVCDailyReport ¶
func (r *Mock) UnMockVCGetVCDailyReport()
UnMockVCGetVCDailyReport un-mock VCGetVCDailyReport method
func (*Mock) UnMockVCGetVCMeeting ¶
func (r *Mock) UnMockVCGetVCMeeting()
UnMockVCGetVCMeeting un-mock VCGetVCMeeting method
func (*Mock) UnMockVCGetVCMeetingRecording ¶
func (r *Mock) UnMockVCGetVCMeetingRecording()
UnMockVCGetVCMeetingRecording un-mock VCGetVCMeetingRecording method
func (*Mock) UnMockVCGetVCReserve ¶
func (r *Mock) UnMockVCGetVCReserve()
UnMockVCGetVCReserve un-mock VCGetVCReserve method
func (*Mock) UnMockVCGetVCReserveActiveMeeting ¶
func (r *Mock) UnMockVCGetVCReserveActiveMeeting()
UnMockVCGetVCReserveActiveMeeting un-mock VCGetVCReserveActiveMeeting method
func (*Mock) UnMockVCGetVCRoomConfig ¶
func (r *Mock) UnMockVCGetVCRoomConfig()
UnMockVCGetVCRoomConfig un-mock VCGetVCRoomConfig method
func (*Mock) UnMockVCGetVCTopUserReport ¶
func (r *Mock) UnMockVCGetVCTopUserReport()
UnMockVCGetVCTopUserReport un-mock VCGetVCTopUserReport method
func (*Mock) UnMockVCInviteVCMeeting ¶
func (r *Mock) UnMockVCInviteVCMeeting()
UnMockVCInviteVCMeeting un-mock VCInviteVCMeeting method
func (*Mock) UnMockVCKickoutVCMeeting ¶
func (r *Mock) UnMockVCKickoutVCMeeting()
UnMockVCKickoutVCMeeting un-mock VCKickoutVCMeeting method
func (*Mock) UnMockVCListVCMeetingByNo ¶
func (r *Mock) UnMockVCListVCMeetingByNo()
UnMockVCListVCMeetingByNo un-mock VCListVCMeetingByNo method
func (*Mock) UnMockVCSetVCHostMeeting ¶
func (r *Mock) UnMockVCSetVCHostMeeting()
UnMockVCSetVCHostMeeting un-mock VCSetVCHostMeeting method
func (*Mock) UnMockVCSetVCPermissionMeetingRecording ¶
func (r *Mock) UnMockVCSetVCPermissionMeetingRecording()
UnMockVCSetVCPermissionMeetingRecording un-mock VCSetVCPermissionMeetingRecording method
func (*Mock) UnMockVCSetVCRoomConfig ¶
func (r *Mock) UnMockVCSetVCRoomConfig()
UnMockVCSetVCRoomConfig un-mock VCSetVCRoomConfig method
func (*Mock) UnMockVCStartVCMeetingRecording ¶
func (r *Mock) UnMockVCStartVCMeetingRecording()
UnMockVCStartVCMeetingRecording un-mock VCStartVCMeetingRecording method
func (*Mock) UnMockVCStopVCMeetingRecording ¶
func (r *Mock) UnMockVCStopVCMeetingRecording()
UnMockVCStopVCMeetingRecording un-mock VCStopVCMeetingRecording method
func (*Mock) UnMockVCUpdateVCReserve ¶
func (r *Mock) UnMockVCUpdateVCReserve()
UnMockVCUpdateVCReserve un-mock VCUpdateVCReserve method
type ModerationPermission ¶
type ModerationPermission string
ModerationPermission 发言权限
const ( ModerationPermissionAllMembers ModerationPermission = "all_members" ModerationPermissionOnlyOwner ModerationPermission = "only_owner" ModerationPermissionModeratorList ModerationPermission = "moderator_list" )
ModerationPermissionAllMembers ...
func ModerationPermissionPtr ¶
func ModerationPermissionPtr(v ModerationPermission) *ModerationPermission
ModerationPermissionPtr ...
type MoveDocsToWikiReq ¶
type MoveDocsToWikiReq struct { SpaceID string `path:"space_id" json:"-"` // 知识库id, 示例值:"1565676577122621" ParentWikiToken string `json:"parent_wiki_token,omitempty"` // 节点的父亲token, 示例值:"wikbcOHIFxB0PJS2UTd2kF2SP6c" ObjType string `json:"obj_type,omitempty"` // 文档类型, 示例值:"doc", 可选值有: `doc`:doc(文档), `sheet`:sheet(表格), `bitable`:bitable(多维表格), `mindnote`:mindnote(思维导图) ObjToken string `json:"obj_token,omitempty"` // 文档token, 示例值:"docbc6e1qBqt1O5mCBVA1QUKVEg" }
MoveDocsToWikiReq ...
type MoveDocsToWikiResp ¶
type MoveDocsToWikiResp struct { WikiToken string `json:"wiki_token,omitempty"` // 移动后的知识库token TaskID string `json:"task_id,omitempty"` // 任务id }
MoveDocsToWikiResp ...
type MoveSheetDimensionReq ¶
type MoveSheetDimensionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA\*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b\**12" Source *MoveSheetDimensionReqSource `json:"source,omitempty"` // 移动源位置参数 DestinationIndex *int64 `json:"destination_index,omitempty"` // 移动的目标位置行或者列号, 示例值:4 }
MoveSheetDimensionReq ...
type MoveSheetDimensionReqSource ¶
type MoveSheetDimensionReqSource struct { MajorDimension *string `json:"major_dimension,omitempty"` // 操作行还是列,取值:ROWS、COLUMNS, 示例值:"ROWS" StartIndex *int64 `json:"start_index,omitempty"` // 起始行或者列号, 示例值:0 EndIndex *int64 `json:"end_index,omitempty"` // 结束行或者列号, 示例值:1 }
MoveSheetDimensionReqSource ...
type MoveWikiNodeReq ¶
type MoveWikiNodeReq struct { SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"7008061636015554580" NodeToken string `path:"node_token" json:"-"` // 需要迁移的节点token, 示例值:"wikbcd6ydSUyOEzbdlt1BfpA5Yc" TargetParentToken string `json:"target_parent_token,omitempty"` // 移动到的父节点token, 示例值:"wikbcd6ydSUyOEzbdlt1BfpA5Yc" }
MoveWikiNodeReq ...
type MoveWikiNodeResp ¶
type MoveWikiNodeResp struct {
Node *MoveWikiNodeRespNode `json:"node,omitempty"` // 移动后的节点信息
}
MoveWikiNodeResp ...
type MoveWikiNodeRespNode ¶
type MoveWikiNodeRespNode struct { SpaceID string `json:"space_id,omitempty"` // 知识库id NodeToken string `json:"node_token,omitempty"` // 节点token ObjToken string `json:"obj_token,omitempty"` // 文档token,可以根据obj_type判断是属于doc、sheet还是mindnote的token(对于快捷方式,该字段是对应的实体的obj_token) ObjType string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type, 可选值有: `doc`:doc, `sheet`:sheet, `mindnote`:mindnote, `bitable`:bitable, `file`:file, `docx`:docx ParentNodeToken string `json:"parent_node_token,omitempty"` // 节点的父亲token NodeType string `json:"node_type,omitempty"` // 节点类型, 可选值有: `origin`:实体, `shortcut`:快捷方式 OriginNodeToken string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当创建节点为快捷方式时,需要传该值 OriginSpaceID string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的spaceid HasChild bool `json:"has_child,omitempty"` // 是否有子节点 Title string `json:"title,omitempty"` // 文档标题 ObjCreateTime string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime string `json:"node_create_time,omitempty"` // 节点创建时间 }
MoveWikiNodeRespNode ...
type MsgType ¶
type MsgType string
MsgType 消息类型
const ( MsgTypeText MsgType = "text" // 文本 MsgTypePost MsgType = "post" // 富文本 MsgTypeImage MsgType = "image" // 图片 MsgTypeFile MsgType = "file" // 文件 MsgTypeAudio MsgType = "audio" // 语音 MsgTypeMedia MsgType = "media" // 视频 MsgTypeSticker MsgType = "sticker" // 表情包 MsgTypeInteractive MsgType = "interactive" // 卡片消息 )
MsgTypeText ...
type OKRService ¶
type OKRService struct {
// contains filtered or unexported fields
}
func (*OKRService) BatchGetOKR ¶
func (r *OKRService) BatchGetOKR(ctx context.Context, request *BatchGetOKRReq, options ...MethodOptionFunc) (*BatchGetOKRResp, *Response, error)
BatchGetOKR 根据OKR id批量获取OKR
使用tenant_access_token需要额外申请权限以应用身份访问OKR信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/okr/batch_get
func (*OKRService) GetOKRPeriodList ¶
func (r *OKRService) GetOKRPeriodList(ctx context.Context, request *GetOKRPeriodListReq, options ...MethodOptionFunc) (*GetOKRPeriodListResp, *Response, error)
GetOKRPeriodList 获取OKR周期列表
使用tenant_access_token需要额外申请权限以应用身份访问OKR信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/period/list
func (*OKRService) GetUserOKRList ¶
func (r *OKRService) GetUserOKRList(ctx context.Context, request *GetUserOKRListReq, options ...MethodOptionFunc) (*GetUserOKRListResp, *Response, error)
GetUserOKRList 根据用户的id获取OKR列表
使用tenant_access_token需要额外申请权限以应用身份访问OKR信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/okr-v1/user-okr/list
type OpenBotReq ¶
type OpenBotReq struct {
AppID string `json:"appId,omitempty"` // 机器人的appId
}
OpenBotReq ...
type OpenCalenderEventCreateReq ¶
type OpenCalenderEventCreateReq struct { StartTime *string `json:"startTime,omitempty"` // 开始日期,{unixTime}格式 EndTime *string `json:"endTime,omitempty"` // 结束日期,{unixTime}格式 Summary *string `json:"summary,omitempty"` // 日程主题,中文可使用encodeURIComponent方法生成 }
OpenCalenderEventCreateReq ...
type OpenCalenderViewReq ¶
type OpenCalenderViewReq struct { Type *string `json:"type,omitempty"` // 视图类型,枚举值包括:<br> `day`:日视图 <br>`three_day`:三日视图,仅移动端支持<br> `week`:周视图,仅PC端支持 <br> `month`:月视图<br> `meeting`:会议室视图,仅PC端支持 <br> `list`:列表视图,仅移动端支持 Date *string `json:"date,omitempty"` // 日期,{unixTime}格式 }
OpenCalenderViewReq ...
type OpenChatReq ¶
type OpenChatReq struct { OpenID string `json:"openId,omitempty"` // 用户 openId OpenChatID string `json:"openChatId,omitempty"` // 会话ID,包括单聊会话和群聊会话。示例:oc_41e7bdf4877cfc316136f4ccf6c32613 }
OpenChatReq ...
type OpenDocsReq ¶
type OpenDocsReq struct {
URL string `json:"URL,omitempty"` // 要打开的云文档URL
}
OpenDocsReq ...
type OpenMiniProgramReq ¶
type OpenMiniProgramReq struct { AppID string `json:"appId,omitempty"` // 小程序 appId(可从「开发者后台-凭证与基础信息」获取) Mode *string `json:"mode,omitempty"` // PC小程序启动模式,枚举值包括:<br>`sidebar-semi`:聊天的侧边栏打开<br>`appCenter`:工作台中打开<br>`window`:独立大窗口打开<br>`window-semi`:独立小窗口打开,3.33版本开始支持此模式 Path *string `json:"path,omitempty"` // 需要跳转的页面路径,路径后可以带参数。也可以使用 path_android、path_ios、path_pc 参数对不同的客户端指定不同的path PathAndroid *string `json:"path_android,omitempty"` // 同 path 参数,Android 端会优先使用该参数,如果该参数不存在,则会使用 path 参数 PathIos *string `json:"path_ios,omitempty"` // 同 path 参数,iOS 端会优先使用该参数,如果该参数不存在,则会使用 path 参数 PathPc *string `json:"path_pc,omitempty"` // 同 path 参数,PC 端会优先使用该参数,如果该参数不存在,则会使用 path 参数 MinLkVer *string `json:"min_lk_ver,omitempty"` // 指定 AppLink 协议能够兼容的最小飞书版本,使用三位版本号 x.y.z。如果当前飞书版本号小于min_lk_ver,打开该 AppLink 会显示为兼容页面 }
OpenMiniProgramReq ...
type OpenSSOLoginReq ¶
type OpenSSOLoginReq struct { SSODomain string `json:"sso_domain,omitempty"` // 租户的域名,填写的是租户在admin后台配置的租户域名信息。当在admin后台改动租户的域名时,需要同步修改applink该参数值 TenantName string `json:"tenant_name,omitempty"` // 租户名,用于在切换租户时,客户端展示即将登录到的租户名称,一般填写公司名即可 }
OpenSSOLoginReq ...
type OpenTaskDetailReq ¶
type OpenTaskDetailReq struct { Guid string `json:"guid,omitempty"` // 全局唯一的taskId(global unique ID),通过[飞书任务的 OpenAPI](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/overview) 获取 Mode *string `json:"mode,omitempty"` // 默认在im场景下,打开任务详情页面;<br>`mode=app`, 在任务tab中打开详情页面 }
OpenTaskDetailReq ...
type OpenTaskTabReq ¶
type OpenTaskTabReq struct {
Tab string `json:"tab,omitempty"` // String类型,枚举值包括:<br> `all` 进行中;<br> `assign_to_me` 由我处理;<br> `assign_from_me` 我分配的;<br> `followed` 我关注的;<br> `completed` 已完成
}
OpenTaskTabReq ...
type OpenWebAppReq ¶
type OpenWebAppReq struct { AppID string `json:"appId,omitempty"` // H5应用的 appId(可从「开发者后台-凭证与基础信息」获取) Mode *string `json:"mode,omitempty"` // 打开H5应用的容器模式,枚举值包括<br> `appCenter`:在工作台打开,3.20版本开始支持(缺省值) <br> `window`:在独立窗口打开,3.20版本开始支持 <br> `sidebar`:在侧边栏打开,3.40版本开始支持 Path *string `json:"path,omitempty"` // 访问H5应用的具体某个页面,path参数将替换H5应用URL的path部分(注意:path中不应该出现#和?字符,否则会导致最终的H5页面URL结构异常) <br>也可以使用 path_android、path_ios、path_pc 参数对不同的客户端指定不同的path <br>3.20版本开始支持 PathAndroid *string `json:"path_android,omitempty"` // 同 path 参数,Android 端会优先使用该参数,如果该参数不存在,则会使用 path 参数。 <br>3.20版本开始支持 PathIos *string `json:"path_ios,omitempty"` // 同 path 参数,iOS 端会优先使用该参数,如果该参数不存在,则会使用 path 参数 <br>3.20版本开始支持 PathPc *string `json:"path_pc,omitempty"` // 同 path 参数,PC 端会优先使用该参数,如果该参数不存在,则会使用 path 参数 <br>3.20版本开始支持 }
OpenWebAppReq ...
type OpenWebURLReq ¶
type OpenWebURLReq struct { URL string `json:"url,omitempty"` // 指定需要在客户端内打开的具体链接,需要执行encodeURIComponent,4.2+版本支持lark协议 Mode string `json:"mode,omitempty"` // 打开的容器模式,枚举值包括:<br>`sidebar-semi` 在侧边栏打开;<br>`window` 在独立窗口打开 Height *string `json:"height,omitempty"` // 自定义独立窗口高度<br>**最小值**:700<br>**最大值**:当前飞书窗口的高度 Width *string `json:"width,omitempty"` // 自定义独立窗口宽度<br>**最小值**:1200<br>**最大值**:当前飞书窗口的宽度 }
OpenWebURLReq ...
type PartUploadDriveFileReq ¶
type PartUploadDriveFileReq struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID, 示例值:"123456" Seq int64 `json:"seq,omitempty"` // 块号,从0开始计数, 示例值:0 Size int64 `json:"size,omitempty"` // 块大小, 示例值:4194304 Checksum *string `json:"checksum,omitempty"` // 文件分块adler32校验和(可选), 示例值:"12342388237783294798" File io.Reader `json:"file,omitempty"` // 文件分片内容, 示例值:file binary }
PartUploadDriveFileReq ...
type PartUploadDriveMediaReq ¶
type PartUploadDriveMediaReq struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID, 示例值:"123456" Seq int64 `json:"seq,omitempty"` // 块号,从0开始计数, 示例值:0 Size int64 `json:"size,omitempty"` // 块大小, 示例值:4194304 Checksum *string `json:"checksum,omitempty"` // 文件分块adler32校验和(可选), 示例值:"12345678" File io.Reader `json:"file,omitempty"` // 文件分片内容, 示例值:file binary }
PartUploadDriveMediaReq ...
type PrepareUploadDriveFileReq ¶
type PrepareUploadDriveFileReq struct { FileName string `json:"file_name,omitempty"` // 文件名, 示例值:"test.txt", 最大长度:`250` 字符 ParentType string `json:"parent_type,omitempty"` // 上传点类型, 示例值:"explorer", 可选值有: `explorer`:云空间 ParentNode string `json:"parent_node,omitempty"` // 文件夹的token, 示例值:"fldcnaBcdEfghdis" Size int64 `json:"size,omitempty"` // 文件大小, 示例值:1024, 最小值:`0` }
PrepareUploadDriveFileReq ...
type PrepareUploadDriveFileResp ¶
type PrepareUploadDriveFileResp struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID BlockSize int64 `json:"block_size,omitempty"` // 分片大小策略 BlockNum int64 `json:"block_num,omitempty"` // 分片数量 }
PrepareUploadDriveFileResp ...
type PrepareUploadDriveMediaReq ¶
type PrepareUploadDriveMediaReq struct { FileName string `json:"file_name,omitempty"` // 文件名, 示例值:"test.txt", 最大长度:`250` 字符 ParentType string `json:"parent_type,omitempty"` // 上传点类型, 示例值:"doc_image", 可选值有: `doc_image`:docs图片, `sheet_image`:sheet图片, `doc_file`:doc文件, `sheet_file`:sheet文件, `vc_virtual_background`:vc虚拟背景(灰度中,暂未开放), `bitable_image`:多维表格图片, `bitable_file`:多维表格文件, `moments`:同事圈(灰度中,暂未开放), `ccm_import_open`:云文档导入文件 ParentNode string `json:"parent_node,omitempty"` // 上传点的标识符, 示例值:"doccn123456675" Size int64 `json:"size,omitempty"` // 文件大小, 示例值:1024, 最小值:`0` Extra *string `json:"extra,omitempty"` // 扩展信息(可选), 示例值:"{\"test\":\"test\"}" }
PrepareUploadDriveMediaReq ...
type PrepareUploadDriveMediaResp ¶
type PrepareUploadDriveMediaResp struct { UploadID string `json:"upload_id,omitempty"` // 分片上传事务ID BlockSize int64 `json:"block_size,omitempty"` // 分片大小策略 BlockNum int64 `json:"block_num,omitempty"` // 分片数量 }
PrepareUploadDriveMediaResp ...
type PrependSheetValueReq ¶
type PrependSheetValueReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // sheet的token,获取方式见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRange *PrependSheetValueReqValueRange `json:"valueRange,omitempty"` // 值与范围 }
PrependSheetValueReq ...
type PrependSheetValueReqValueRange ¶
type PrependSheetValueReqValueRange struct { Range string `json:"range,omitempty"` // 插入范围,包含 sheetId 与单元格范围两部分,目前支持三种索引方式,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview),range所表示的范围需要大于等于values占用的范围。 Values [][]SheetContent `json:"values,omitempty"` // 需要写入的值,如要写入公式、超链接、email、@人等,可详看附录[sheet 支持写入数据类型](https://open.feishu.cn/document/ukTMukTMukTM/ugjN1UjL4YTN14CO2UTN) }
PrependSheetValueReqValueRange ...
type PrependSheetValueResp ¶
type PrependSheetValueResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token TableRange string `json:"tableRange,omitempty"` // 写入的范围 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 Updates *PrependSheetValueRespUpdates `json:"updates,omitempty"` // 插入数据的范围、行列数等 }
PrependSheetValueResp ...
type PrependSheetValueRespUpdates ¶
type PrependSheetValueRespUpdates struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 写入的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 写入的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 写入的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 写入的单元格总数 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 }
PrependSheetValueRespUpdates ...
type PreviewApprovalInstanceReq ¶
type PreviewApprovalInstanceReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 默认为open_id, 对于open_id(ou_开头)类型,user_id_type为open_id, 对于employeeID(8位字符串,如f7cb567e)类型,user_id_type为user_id ApprovalCode *string `json:"approval_code,omitempty"` // 审批定义 Code UserID string `json:"user_id,omitempty"` // 发起审批用户,employeid或者openid DepartmentID *string `json:"department_id,omitempty"` // 发起审批用户部门,如果用户只属于一个部门,可以不填,如果属于多个部门,必须填其中一个部门 Form *PreviewApprovalInstanceReqForm `json:"form,omitempty"` // JSON字符串,控件值。提交审批之前,查看预览流程时,该字段必填 InstanceCode *string `json:"instance_code,omitempty"` // 审批实例code TaskID *string `json:"task_id,omitempty"` // 若审批实例已存在,则传递当前审批任务对应的task_id, 并且user_id需要传task的指派人 }
PreviewApprovalInstanceReq ...
type PreviewApprovalInstanceReqForm ¶
type PreviewApprovalInstanceReqForm struct { ID string `json:"id,omitempty"` // 控件ID,也可以使用自定义 ID custom_id 的值 Type string `json:"type,omitempty"` // 控件类型 Value string `json:"value,omitempty"` // 控件值,不同类型的值格式不一样 }
PreviewApprovalInstanceReqForm ...
type PreviewApprovalInstanceResp ¶
type PreviewApprovalInstanceResp struct { PreviewNodes []string `json:"preview_nodes,omitempty"` // 预览节点信息 UserIDList []string `json:"user_id_list,omitempty"` // 审批人id列表 EndCcIDList []string `json:"end_cc_id_list,omitempty"` // 审批结束抄送人id列表 NodeID string `json:"node_id,omitempty"` // 节点id NodeName string `json:"node_name,omitempty"` // 节点名称 NodeType string `json:"node_type,omitempty"` // 节点类型:<br>AND:会签<br>OR: 或签 CustomNodeID string `json:"custom_node_id,omitempty"` // 用户自定义节点id Comments []string `json:"comments,omitempty"` // 节点的说明信息 IsEmptyLogic bool `json:"is_empty_logic,omitempty"` // 审批人是否为空,若为空,则user_id_list为兜底审批人id列表 IsApproverTypeFree bool `json:"is_approver_type_free,omitempty"` // 是否发起人自选节点 HasCcTypeFree bool `json:"has_cc_type_free,omitempty"` // 节点是否支持抄送人自选 }
PreviewApprovalInstanceResp ...
type PreviewHelpdeskNotificationReq ¶
type PreviewHelpdeskNotificationReq struct {
NotificationID string `path:"notification_id" json:"-"` // 创建推送接口成功后返回的唯一id, 示例值:"6985032626234982420"
}
PreviewHelpdeskNotificationReq ...
type PreviewHelpdeskNotificationResp ¶
type PreviewHelpdeskNotificationResp struct{}
PreviewHelpdeskNotificationResp ...
type QuerySheetFilterViewConditionReq ¶
type QuerySheetFilterViewConditionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" }
QuerySheetFilterViewConditionReq ...
type QuerySheetFilterViewConditionResp ¶
type QuerySheetFilterViewConditionResp struct {
Items []*QuerySheetFilterViewConditionRespItem `json:"items,omitempty"` // 筛选视图设置的所有筛选条件
}
QuerySheetFilterViewConditionResp ...
type QuerySheetFilterViewConditionRespItem ¶
type QuerySheetFilterViewConditionRespItem struct { ConditionID string `json:"condition_id,omitempty"` // 设置筛选条件的列,使用字母号 FilterType string `json:"filter_type,omitempty"` // 筛选类型 CompareType string `json:"compare_type,omitempty"` // 比较类型 Expected []string `json:"expected,omitempty"` // 筛选参数 }
QuerySheetFilterViewConditionRespItem ...
type QuerySheetFilterViewReq ¶
type QuerySheetFilterViewReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" }
QuerySheetFilterViewReq ...
type QuerySheetFilterViewResp ¶
type QuerySheetFilterViewResp struct {
Items []*QuerySheetFilterViewRespItem `json:"items,omitempty"` // 子表的所有筛选视图信息,id、name、range
}
QuerySheetFilterViewResp ...
type QuerySheetFilterViewRespItem ¶
type QuerySheetFilterViewRespItem struct { FilterViewID string `json:"filter_view_id,omitempty"` // 筛选视图 id FilterViewName string `json:"filter_view_name,omitempty"` // 筛选视图名字 Range string `json:"range,omitempty"` // 筛选视图的筛选范围 }
QuerySheetFilterViewRespItem ...
type QuerySheetFloatImageReq ¶
type QuerySheetFloatImageReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" }
QuerySheetFloatImageReq ...
type QuerySheetFloatImageResp ¶
type QuerySheetFloatImageResp struct {
Items []*QuerySheetFloatImageRespItem `json:"items,omitempty"` // 子表的所有浮动图片信息
}
QuerySheetFloatImageResp ...
type QuerySheetFloatImageRespItem ¶
type QuerySheetFloatImageRespItem struct { FloatImageID string `json:"float_image_id,omitempty"` // 浮动图片 id FloatImageToken string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作 Range string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格 Width float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px Height float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px OffsetX float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度 OffsetY float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 }
QuerySheetFloatImageRespItem ...
type RawRequestReq ¶
type RawRequestReq struct { Scope string // api domain, such as Auth, Chat, Mail API string // api name, as in CreateMailGroup Method string // http request method, such as GET, POST URL string // http request url Body interface{} // http request body, query, path and other parameter information IsFile bool // send body data as a file NeedTenantAccessToken bool // do you need TenantAccessToken NeedAppAccessToken bool // do you need AppAccessToken NeedUserAccessToken bool // do you need UserAccessToken NeedHelpdeskAuth bool // do you need HelpdeskAccessToken MethodOption *MethodOption // method option, such as userAccessToken }
RawRequestReq is the parameter that composes the lark sdk request
type RecognizeBasicImageReq ¶
type RecognizeBasicImageReq struct {
Image *string `json:"image,omitempty"` // base64 后的图片数据, 示例值:"base64后的图片二进制数据"
}
RecognizeBasicImageReq ...
type RecognizeBasicImageResp ¶
type RecognizeBasicImageResp struct {
TextList []string `json:"text_list,omitempty"` // 按区域识别,返回文本列表
}
RecognizeBasicImageResp ...
type RecognizeSpeechFileReq ¶
type RecognizeSpeechFileReq struct { Speech *RecognizeSpeechFileReqSpeech `json:"speech,omitempty"` // 语音资源 Config *RecognizeSpeechFileReqConfig `json:"config,omitempty"` // 配置属性 }
RecognizeSpeechFileReq ...
type RecognizeSpeechFileReqConfig ¶
type RecognizeSpeechFileReqConfig struct { FileID string `json:"file_id,omitempty"` // 仅包含字母数字和下划线的 16 位字符串作为文件的标识,用户生成, 示例值:"qwe12dd34567890w" Format string `json:"format,omitempty"` // 语音格式,目前仅支持:pcm, 示例值:"pcm" EngineType string `json:"engine_type,omitempty"` // 引擎类型,目前仅支持:16k_auto 中英混合, 示例值:"16k_auto" }
RecognizeSpeechFileReqConfig ...
type RecognizeSpeechFileReqSpeech ¶
type RecognizeSpeechFileReqSpeech struct {
Speech *string `json:"speech,omitempty"` // base64 后的音频文件进行, 示例值:"base64 后的音频内容"
}
RecognizeSpeechFileReqSpeech ...
type RecognizeSpeechFileResp ¶
type RecognizeSpeechFileResp struct {
RecognitionText string `json:"recognition_text,omitempty"` // 语音识别后的文本信息
}
RecognizeSpeechFileResp ...
type RecognizeSpeechStreamReq ¶
type RecognizeSpeechStreamReq struct { Speech *RecognizeSpeechStreamReqSpeech `json:"speech,omitempty"` // 语音资源 Config *RecognizeSpeechStreamReqConfig `json:"config,omitempty"` // 配置属性 }
RecognizeSpeechStreamReq ...
type RecognizeSpeechStreamReqConfig ¶
type RecognizeSpeechStreamReqConfig struct { StreamID string `json:"stream_id,omitempty"` // 仅包含字母数字和下划线的 16 位字符串作为同一数据流的标识,用户生成, 示例值:"asd1234567890ddd" SequenceID int64 `json:"sequence_id,omitempty"` // 数据流分片的序号,序号从 0 开始,每次请求递增 1, 示例值:1 Action int64 `json:"action,omitempty"` // 数据流标记:1 首包,2 正常结束,等待结果返回,3 中断数据流不返回最终结果, 示例值:1 Format string `json:"format,omitempty"` // 语音格式,目前仅支持:pcm, 示例值:"pcm" EngineType string `json:"engine_type,omitempty"` // 引擎类型,目前仅支持:16k_auto 中英混合, 示例值:"16k_auto" }
RecognizeSpeechStreamReqConfig ...
type RecognizeSpeechStreamReqSpeech ¶
type RecognizeSpeechStreamReqSpeech struct {
Speech *string `json:"speech,omitempty"` // base64 后的音频文件进行, 示例值:"base64 后的音频内容"
}
RecognizeSpeechStreamReqSpeech ...
type RecognizeSpeechStreamResp ¶
type RecognizeSpeechStreamResp struct { StreamID string `json:"stream_id,omitempty"` // 16 位 String 随机串作为同一数据流的标识 SequenceID int64 `json:"sequence_id,omitempty"` // 数据流分片的序号,序号从 0 开始,每次请求递增 1 RecognitionText string `json:"recognition_text,omitempty"` // 语音流识别后的文本信息 }
RecognizeSpeechStreamResp ...
type RefreshAccessTokenReq ¶
type RefreshAccessTokenReq struct { GrantType string `json:"grant_type,omitempty"` // 授权类型,本流程中,此值为:"refresh_token", 示例值:"refresh_token" RefreshToken string `json:"refresh_token,omitempty"` // 来自[获取登录用户身份](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/authen-v1/authen/access_token) 或 本接口返回值, 示例值:"ur-oQ0mMq6MCcueAv0pwx2fQQhxqv__CbLu6G8ySFwafeKww2Def2BJdOkW3.9gCFM.LBQgFri901QaqeuL" }
RefreshAccessTokenReq ...
type RefreshAccessTokenResp ¶
type RefreshAccessTokenResp struct { AccessToken string `json:"access_token,omitempty"` // user_access_token,用于获取用户资源 TokenType string `json:"token_type,omitempty"` // token 类型 ExpiresIn int64 `json:"expires_in,omitempty"` // access_token 的有效期,单位: 秒 Name string `json:"name,omitempty"` // 用户姓名 EnName string `json:"en_name,omitempty"` // 用户英文名称 AvatarURL string `json:"avatar_url,omitempty"` // 用户头像 AvatarThumb string `json:"avatar_thumb,omitempty"` // 用户头像 72x72 AvatarMiddle string `json:"avatar_middle,omitempty"` // 用户头像 240x240 AvatarBig string `json:"avatar_big,omitempty"` // 用户头像 640x640 OpenID string `json:"open_id,omitempty"` // 用户在应用内的唯一标识 UnionID string `json:"union_id,omitempty"` // 用户统一ID Email string `json:"email,omitempty"` // 用户邮箱, 字段权限要求: 获取用户邮箱信息 UserID string `json:"user_id,omitempty"` // 用户 user_id, 字段权限要求: 获取用户 user ID Mobile string `json:"mobile,omitempty"` // 用户手机号, 字段权限要求: 获取用户手机号 TenantKey string `json:"tenant_key,omitempty"` // 当前企业标识 RefreshExpiresIn int64 `json:"refresh_expires_in,omitempty"` // refresh_token 的有效期,单位: 秒 RefreshToken string `json:"refresh_token,omitempty"` // 刷新用户 access_token 时使用的 token }
RefreshAccessTokenResp ...
type RejectApprovalInstanceReq ¶
type RejectApprovalInstanceReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code OpenID string `json:"open_id,omitempty"` // 用户open_id,如果没有user_id,必须要有open_id UserID string `json:"user_id,omitempty"` // 操作用户 TaskID string `json:"task_id,omitempty"` // 任务 ID Comment *string `json:"comment,omitempty"` // 意见 }
RejectApprovalInstanceReq ...
type RejectApprovalInstanceResp ¶
type RejectApprovalInstanceResp struct{}
RejectApprovalInstanceResp ...
type ReplaceSheetReq ¶
type ReplaceSheetReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // Spreadsheet token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // Sheet id, 示例值:"0b**12" FindCondition *ReplaceSheetReqFindCondition `json:"find_condition,omitempty"` // 查找条件 Find string `json:"find,omitempty"` // 查找的字符串, 示例值:"hello" Replacement string `json:"replacement,omitempty"` // 替换的字符串, 示例值:"world" }
ReplaceSheetReq ...
type ReplaceSheetReqFindCondition ¶
type ReplaceSheetReqFindCondition struct { Range string `json:"range,omitempty"` // 查找范围, 示例值:"0b**12!A1:H10" MatchCase *bool `json:"match_case,omitempty"` // 是否忽略大小写, 示例值:true MatchEntireCell *bool `json:"match_entire_cell,omitempty"` // 是否匹配整个单元格, 示例值:false SearchByRegex *bool `json:"search_by_regex,omitempty"` // 是否为正则匹配, 示例值:false IncludeFormulas *bool `json:"include_formulas,omitempty"` // 是否搜索公式内容, 示例值:false }
ReplaceSheetReqFindCondition ...
type ReplaceSheetResp ¶
type ReplaceSheetResp struct {
ReplaceResult *ReplaceSheetRespReplaceResult `json:"replace_result,omitempty"` // 符合查找条件并替换的单元格信息
}
ReplaceSheetResp ...
type ReplaceSheetRespReplaceResult ¶
type ReplaceSheetRespReplaceResult struct { MatchedCells []string `json:"matched_cells,omitempty"` // 符合查找条件的单元格数组,不包含公式,例如["A1", "A2"...] MatchedFormulaCells []string `json:"matched_formula_cells,omitempty"` // 符合查找条件的含有公式的单元格数组,例如["B3", "H7"...] RowsCount int64 `json:"rows_count,omitempty"` // 符合查找条件的总行数 }
ReplaceSheetRespReplaceResult ...
type ReplyMeetingRoomInstanceReq ¶
type ReplyMeetingRoomInstanceReq struct { RoomID string `json:"room_id,omitempty"` // 会议室的 ID Uid string `json:"uid,omitempty"` // 会议室的日程 ID OriginalTime int64 `json:"original_time,omitempty"` // 日程实例原始时间,非重复日程必为0。重复日程若为0则表示回复其所有实例,否则表示回复单个实例。 Status string `json:"status,omitempty"` // 回复状态,NOT_CHECK_IN 表示未签到,ENDED_BEFORE_DUE 表示提前结束,ACCEPTED_BY_ADMIN 表示被管理员置为接受,DECLINED_BY_ADMIN 表示被管理员置为拒绝 }
ReplyMeetingRoomInstanceReq ...
type ReplyMeetingRoomInstanceResp ¶
type ReplyMeetingRoomInstanceResp struct{}
ReplyMeetingRoomInstanceResp ...
type ReplyRawMessageReq ¶
type ReplyRawMessageReq struct { MessageID string `path:"message_id" json:"-"` // 待回复的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf" Content string `json:"content,omitempty"` // 消息内容 json 格式,格式说明参考: [发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json), 示例值:"{\"text\":\"<at user_id=\\\"ou_155184d1e73cbfb8973e5a9e698e74f2\\\">Tom</at> test content\"}" MsgType MsgType `json:"msg_type,omitempty"` // 消息类型,包括:text、post、image、file、audio、media、sticker、interactive、share_card、share_user, 示例值:"text" }
ReplyRawMessageReq ...
type ReplyRawMessageResp ¶
type ReplyRawMessageResp struct { MessageID string `json:"message_id,omitempty"` // 消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) RootID string `json:"root_id,omitempty"` // 根消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) ParentID string `json:"parent_id,omitempty"` // 父消息的id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) MsgType MsgType `json:"msg_type,omitempty"` // 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) CreateTime string `json:"create_time,omitempty"` // 消息生成的时间戳(毫秒) UpdateTime string `json:"update_time,omitempty"` // 消息更新的时间戳(毫秒) Deleted bool `json:"deleted,omitempty"` // 消息是否被撤回 Updated bool `json:"updated,omitempty"` // 消息是否被更新 ChatID string `json:"chat_id,omitempty"` // 所属的群 Sender *Sender `json:"sender,omitempty"` // 发送者,可以是用户或应用 Body *MessageBody `json:"body,omitempty"` // 消息内容 Mentions []*Mention `json:"mentions,omitempty"` // 被@的用户或机器人的id列表 UpperMessageID string `json:"upper_message_id,omitempty"` // 合并转发消息中,上一层级的消息id message_id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) }
ReplyRawMessageResp ...
type ResendAppTicketReq ¶
type ResendAppTicketReq struct { AppID string `json:"app_id,omitempty"` // 应用唯一标识,创建应用后获得, 示例值:"cli_slkdjalasdkjasd" AppSecret string `json:"app_secret,omitempty"` // 应用秘钥,创建应用后获得, 示例值:"dskLLdkasdjlasdKK" }
ResendAppTicketReq ...
type Response ¶
type Response struct { Method string // request method URL string // request url RequestID string // request id, if you got some error and oncall lark/feishu team, please with this request id StatusCode int // http response status code Header http.Header // http response header ContentLength int64 // http response content length }
Response contains the general return value of the http request, such as request-id, etc.
type RollbackApprovalInstanceReq ¶
type RollbackApprovalInstanceReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `json:"task_id,omitempty"` // 当前审批任务ID,从实例详情中获取task_list中获取,必须是PENDING的任务id UserID string `json:"user_id,omitempty"` // 当前审批任务审批人open_id,从实例详情中获取task_list中获取,必须是PENDING的任务的审批人open_id Reason string `json:"reason,omitempty"` // 退回原因 TaskDefKeyList []string `json:"task_def_key_list,omitempty"` // 指定退回的任务node_key,从实例详情中获取timeline中获取,必须是PASS的任务node_key }
RollbackApprovalInstanceReq ...
type RollbackApprovalInstanceResp ¶
type RollbackApprovalInstanceResp struct{}
RollbackApprovalInstanceResp ...
type SearchApprovalCarbonCopyReq ¶
type SearchApprovalCarbonCopyReq struct { UserID *string `json:"user_id,omitempty"` // 用户 id ApprovalCode *string `json:"approval_code,omitempty"` // 审批定义 code InstanceCode *string `json:"instance_code,omitempty"` // 审批实例 code InstanceExternalID *string `json:"instance_external_id,omitempty"` // 审批实例第三方 id<br>注:和 approval_code 取并集 GroupExternalID *string `json:"group_external_id,omitempty"` // 审批定义分组第三方 id<br>注:和 instance_code 取并集 CcTitle *string `json:"cc_title,omitempty"` // 审批抄送标题(只有第三方审批有) ReadStatus *string `json:"read_status,omitempty"` // 审批抄送状态<br>READ: 已读<br>UNREAD: 未读<br>注:若不设置,查询全部状态<br>若不在集合中,报错 CcStartTimeFrom *int64 `json:"cc_start_time_from,omitempty"` // 抄送查询开始时间 (unix毫秒时间戳) CcStartTimeTo *int64 `json:"cc_start_time_to,omitempty"` // 抄送查询结束时间 (unix毫秒时间戳) Locale *string `json:"locale,omitempty"` // 地区 (zh-CN、en-US、ja-JP) Offset *int64 `json:"offset,omitempty"` // 查询偏移量<br>注:不得超过10000 Limit *int64 `json:"limit,omitempty"` // 查询限制量<br>注:不得超过200<br>不设置默认查询10条数据 }
SearchApprovalCarbonCopyReq ...
type SearchApprovalCarbonCopyResp ¶
type SearchApprovalCarbonCopyResp struct{}
SearchApprovalCarbonCopyResp ...
type SearchApprovalCarbonCopyRespApproval ¶
type SearchApprovalCarbonCopyRespApproval struct { Code string `json:"code,omitempty"` // 审批定义 code Name string `json:"name,omitempty"` // 审批定义名称 IsExternal bool `json:"is_external,omitempty"` // 是否为第三方审批 External *SearchApprovalCarbonCopyRespApprovalExternal `json:"external,omitempty"` // 第三方审批信息 }
SearchApprovalCarbonCopyRespApproval ...
type SearchApprovalCarbonCopyRespApprovalExternal ¶
type SearchApprovalCarbonCopyRespApprovalExternal struct {
BatchCcRead bool `json:"batch_cc_read,omitempty"` // 是否支持批量读
}
SearchApprovalCarbonCopyRespApprovalExternal ...
type SearchApprovalCarbonCopyRespCc ¶
type SearchApprovalCarbonCopyRespCc struct { UserID string `json:"user_id,omitempty"` // 审批抄送发起人 id CreateTime int64 `json:"create_time,omitempty"` // 审批抄送开始时间 ReadStatus string `json:"read_status,omitempty"` // 审批抄送状态 Title string `json:"title,omitempty"` // 审批抄送名称 Extra string `json:"extra,omitempty"` // 审批抄送扩展字段 Link *SearchApprovalCarbonCopyRespCcLink `json:"link,omitempty"` // 审批抄送链接 }
SearchApprovalCarbonCopyRespCc ...
type SearchApprovalCarbonCopyRespCcLink ¶
type SearchApprovalCarbonCopyRespCcLink struct { PcLink string `json:"pc_link,omitempty"` // 审批抄送 pc 端链接 MobileLink string `json:"mobile_link,omitempty"` // 审批抄送移动端链接 }
SearchApprovalCarbonCopyRespCcLink ...
type SearchApprovalCarbonCopyRespGroup ¶
type SearchApprovalCarbonCopyRespGroup struct { ExternalID string `json:"external_id,omitempty"` // 审批定义分组外部 id Name string `json:"name,omitempty"` // 审批定义分组名称 }
SearchApprovalCarbonCopyRespGroup ...
type SearchApprovalCarbonCopyRespInstance ¶
type SearchApprovalCarbonCopyRespInstance struct { Code string `json:"code,omitempty"` // 审批实例 code ExternalID string `json:"external_id,omitempty"` // 审批实例外部 id UserID string `json:"user_id,omitempty"` // 审批实例发起人 id StartTime int64 `json:"start_time,omitempty"` // 审批实例开始时间 EndTime int64 `json:"end_time,omitempty"` // 审批实例结束时间 Status string `json:"status,omitempty"` // 审批实例状态 Title string `json:"title,omitempty"` // 审批实例名称(只有第三方审批有) Extra string `json:"extra,omitempty"` // 审批实例扩展字段 SerialID string `json:"serial_id,omitempty"` // 审批流水号 Link *SearchApprovalCarbonCopyRespInstanceLink `json:"link,omitempty"` // 审批实例链接(只有第三方审批有) }
SearchApprovalCarbonCopyRespInstance ...
type SearchApprovalCarbonCopyRespInstanceLink ¶
type SearchApprovalCarbonCopyRespInstanceLink struct { PcLink string `json:"pc_link,omitempty"` // 审批实例 pc 端链接 MobileLink string `json:"mobile_link,omitempty"` // 审批实例移动端链接 }
SearchApprovalCarbonCopyRespInstanceLink ...
type SearchApprovalInstanceReq ¶
type SearchApprovalInstanceReq struct { UserID *string `json:"user_id,omitempty"` // 用户 id ApprovalCode *string `json:"approval_code,omitempty"` // 审批定义 code InstanceCode *string `json:"instance_code,omitempty"` // 审批实例 code InstanceExternalID *string `json:"instance_external_id,omitempty"` // 审批实例第三方 id <br>注:和 approval_code 取并集 GroupExternalID *string `json:"group_external_id,omitempty"` // 审批定义分组第三方 id <br>注:和 instance_code 取并集 InstanceTitle *string `json:"instance_title,omitempty"` // 审批实例标题(只有第三方审批有) InstanceStatus *string `json:"instance_status,omitempty"` // 审批实例状态<br>REJECT:拒绝<br>PENDING:审批中<br>RECALL:撤回<br>DELETED: 已删除<br>APPROVED:通过<br>注:若不设置,查询全部状态<br>若不在集合中,报错 InstanceStartTimeFrom *int64 `json:"instance_start_time_from,omitempty"` // 实例查询开始时间(unix毫秒时间戳) InstanceStartTimeTo *int64 `json:"instance_start_time_to,omitempty"` // 实例查询结束时间 (unix毫秒时间戳) Locale *string `json:"locale,omitempty"` // 地区 (zh-CN、en-US、ja-JP) Offset *int64 `json:"offset,omitempty"` // 查询偏移量 <br>注:不得超过10000 Limit *int64 `json:"limit,omitempty"` // 查询限制量 <br>注:不得超过200<br>不设置默认查询10条数据 }
SearchApprovalInstanceReq ...
type SearchApprovalInstanceResp ¶
type SearchApprovalInstanceResp struct { Count int64 `json:"count,omitempty"` // 查询返回条数 InstanceList []*SearchApprovalInstanceRespInstance `json:"instance_list,omitempty"` // 审批实例列表 }
SearchApprovalInstanceResp ...
type SearchApprovalInstanceRespInstance ¶
type SearchApprovalInstanceRespInstance struct { Approval *SearchApprovalInstanceRespInstanceApproval `json:"approval,omitempty"` // 审批定义 Group *SearchApprovalInstanceRespInstanceGroup `json:"group,omitempty"` // 审批定义分组 Instance *SearchApprovalInstanceRespInstanceInstance `json:"instance,omitempty"` // 审批实例信息 }
SearchApprovalInstanceRespInstance ...
type SearchApprovalInstanceRespInstanceApproval ¶
type SearchApprovalInstanceRespInstanceApproval struct { Code string `json:"code,omitempty"` // 审批定义 code Name string `json:"name,omitempty"` // 审批定义名称 IsExternal bool `json:"is_external,omitempty"` // 是否为第三方审批 External *SearchApprovalInstanceRespInstanceApprovalExternal `json:"external,omitempty"` // 第三方审批信息 }
SearchApprovalInstanceRespInstanceApproval ...
type SearchApprovalInstanceRespInstanceApprovalExternal ¶
type SearchApprovalInstanceRespInstanceApprovalExternal struct {
BatchCcRead bool `json:"batch_cc_read,omitempty"` // 是否支持批量读
}
SearchApprovalInstanceRespInstanceApprovalExternal ...
type SearchApprovalInstanceRespInstanceGroup ¶
type SearchApprovalInstanceRespInstanceGroup struct {
ExternalID *SearchApprovalInstanceRespInstanceGroupExternalID `json:"external_id,omitempty"` // 审批定义分组外部 id
}
SearchApprovalInstanceRespInstanceGroup ...
type SearchApprovalInstanceRespInstanceGroupExternalID ¶
type SearchApprovalInstanceRespInstanceGroupExternalID struct {
Name string `json:"name,omitempty"` // 审批定义分组名称
}
SearchApprovalInstanceRespInstanceGroupExternalID ...
type SearchApprovalInstanceRespInstanceInstance ¶
type SearchApprovalInstanceRespInstanceInstance struct { Code string `json:"code,omitempty"` // 审批实例 code ExternalID string `json:"external_id,omitempty"` // 审批实例外部 id UserID string `json:"user_id,omitempty"` // 审批实例发起人 id StartTime int64 `json:"start_time,omitempty"` // 审批实例开始时间 EndTime int64 `json:"end_time,omitempty"` // 审批实例结束时间 Status string `json:"status,omitempty"` // 审批实例状态 Title string `json:"title,omitempty"` // 审批实例名称(只有第三方审批有) Extra string `json:"extra,omitempty"` // 审批实例扩展字段 SerialID string `json:"serial_id,omitempty"` // 审批流水号 Link *SearchApprovalInstanceRespInstanceInstanceLink `json:"link,omitempty"` // 审批实例链接(只有第三方审批有) }
SearchApprovalInstanceRespInstanceInstance ...
type SearchApprovalInstanceRespInstanceInstanceLink ¶
type SearchApprovalInstanceRespInstanceInstanceLink struct { PcLink string `json:"pc_link,omitempty"` // 审批实例 pc 端链接 MobileLink string `json:"mobile_link,omitempty"` // 审批实例移动端链接 }
SearchApprovalInstanceRespInstanceInstanceLink ...
type SearchApprovalTaskReq ¶
type SearchApprovalTaskReq struct { UserID *string `json:"user_id,omitempty"` // 用户 id ApprovalCode *string `json:"approval_code,omitempty"` // 审批定义 code InstanceCode *string `json:"instance_code,omitempty"` // 审批实例 code InstanceExternalID *string `json:"instance_external_id,omitempty"` // 审批实例第三方 id<br>注:和 approval_code 取并集 GroupExternalID *string `json:"group_external_id,omitempty"` // 审批定义分组第三方 id<br>注:和 instance_code 取并集 TaskTitle *string `json:"task_title,omitempty"` // 审批任务标题(只有第三方审批有) TaskStatus *string `json:"task_status,omitempty"` // 审批任务状态<br>PENDING: 审批中<br>APPROVED: 通过<br>REJECTED: 拒绝<br>TRANSFERRED:转交<br> DONE: 已完成<br>RM_REPEAT: 去重<br> PROCESSED: 已处理<br>注:若不设置,查询全部状态<br>若不在集合中,报错 TaskStartTimeFrom *int64 `json:"task_start_time_from,omitempty"` // 任务查询开始时间 (unix毫秒时间戳) TaskStartTimeTo *int64 `json:"task_start_time_to,omitempty"` // 任务查询结束时间 (unix毫秒时间戳) Locale *string `json:"locale,omitempty"` // 地区(zh-CN、en-US、ja-JP) Offset *int64 `json:"offset,omitempty"` // 查询偏移量<br>注:不得超过10000 Limit *int64 `json:"limit,omitempty"` // 查询限制量<br>注:不得超过200<br>不设置默认查询10条数据 }
SearchApprovalTaskReq ...
type SearchApprovalTaskResp ¶
type SearchApprovalTaskResp struct { Count int64 `json:"count,omitempty"` // 查询返回条数 TaskList []*SearchApprovalTaskRespTask `json:"task_list,omitempty"` // 审批任务列表 }
SearchApprovalTaskResp ...
type SearchApprovalTaskRespTask ¶
type SearchApprovalTaskRespTask struct { Approval *SearchApprovalTaskRespTaskApproval `json:"approval,omitempty"` // 审批定义 Group *SearchApprovalTaskRespTaskGroup `json:"group,omitempty"` // 审批定义分组 Instance *SearchApprovalTaskRespTaskInstance `json:"instance,omitempty"` // 审批实例信息 Task *SearchApprovalTaskRespTaskTask `json:"task,omitempty"` // 审批任务 }
SearchApprovalTaskRespTask ...
type SearchApprovalTaskRespTaskApproval ¶
type SearchApprovalTaskRespTaskApproval struct { Code string `json:"code,omitempty"` // 审批定义 code Name string `json:"name,omitempty"` // 审批定义名称 IsExternal bool `json:"is_external,omitempty"` // 是否为第三方审批 External *SearchApprovalTaskRespTaskApprovalExternal `json:"external,omitempty"` // 第三方审批信息 }
SearchApprovalTaskRespTaskApproval ...
type SearchApprovalTaskRespTaskApprovalExternal ¶
type SearchApprovalTaskRespTaskApprovalExternal struct {
BatchCcRead bool `json:"batch_cc_read,omitempty"` // 是否支持批量读
}
SearchApprovalTaskRespTaskApprovalExternal ...
type SearchApprovalTaskRespTaskGroup ¶
type SearchApprovalTaskRespTaskGroup struct { ExternalID string `json:"external_id,omitempty"` // 审批定义分组外部 id Name string `json:"name,omitempty"` // 审批定义分组名称 }
SearchApprovalTaskRespTaskGroup ...
type SearchApprovalTaskRespTaskInstance ¶
type SearchApprovalTaskRespTaskInstance struct { Code string `json:"code,omitempty"` // 审批实例 code ExternalID string `json:"external_id,omitempty"` // 审批实例外部 id UserID string `json:"user_id,omitempty"` // 审批实例发起人 id StartTime int64 `json:"start_time,omitempty"` // 审批实例开始时间 EndTime int64 `json:"end_time,omitempty"` // 审批实例结束时间 Status string `json:"status,omitempty"` // 审批实例状态 Title string `json:"title,omitempty"` // 审批实例名称(只有第三方审批有) Extra string `json:"extra,omitempty"` // 审批实例扩展字段 SerialID string `json:"serial_id,omitempty"` // 审批流水号 Link *SearchApprovalTaskRespTaskInstanceLink `json:"link,omitempty"` // 审批实例链接(只有第三方审批有) }
SearchApprovalTaskRespTaskInstance ...
type SearchApprovalTaskRespTaskInstanceLink ¶
type SearchApprovalTaskRespTaskInstanceLink struct { PcLink string `json:"pc_link,omitempty"` // 审批实例 pc 端链接 MobileLink string `json:"mobile_link,omitempty"` // 审批实例移动端链接 }
SearchApprovalTaskRespTaskInstanceLink ...
type SearchApprovalTaskRespTaskTask ¶
type SearchApprovalTaskRespTaskTask struct { StartTime int64 `json:"start_time,omitempty"` // 审批任务开始时间 UserID string `json:"user_id,omitempty"` // 审批任务发起人 id EndTime int64 `json:"end_time,omitempty"` // 审批任务结束时间 Title string `json:"title,omitempty"` // 审批任务名称 Status string `json:"status,omitempty"` // 审批任务状态 Extra string `json:"extra,omitempty"` // 审批任务扩展字段 Link *SearchApprovalTaskRespTaskTaskLink `json:"link,omitempty"` // 审批任务链接 }
SearchApprovalTaskRespTaskTask ...
type SearchApprovalTaskRespTaskTaskLink ¶
type SearchApprovalTaskRespTaskTaskLink struct { PcLink string `json:"pc_link,omitempty"` // 审批任务 pc 端链接 MobileLink string `json:"mobile_link,omitempty"` // 审批任务移动端链接 }
SearchApprovalTaskRespTaskTaskLink ...
type SearchAttendanceGroupReq ¶
type SearchAttendanceGroupReq struct { GroupName string `json:"group_name,omitempty"` // 考勤组名称, 示例值:"考勤组1" ExactlyMatched *bool `json:"exactly_matched,omitempty"` // 是否精准匹配,默认为 false:模糊匹配;true:精准匹配, 示例值:true }
SearchAttendanceGroupReq ...
type SearchAttendanceGroupResp ¶
type SearchAttendanceGroupResp struct {
GroupList []*SearchAttendanceGroupRespGroup `json:"group_list,omitempty"` // 考勤组列表
}
SearchAttendanceGroupResp ...
type SearchAttendanceGroupRespGroup ¶
type SearchAttendanceGroupRespGroup struct { GroupID string `json:"group_id,omitempty"` // 考勤组 ID GroupName string `json:"group_name,omitempty"` // 考勤组名称 }
SearchAttendanceGroupRespGroup ...
type SearchCalendarEventReq ¶
type SearchCalendarEventReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"xxxxx" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" Query string `json:"query,omitempty"` // 搜索关键字, 示例值:"query words", 长度范围:`0` ~ `200` 字符 Filter *SearchCalendarEventReqFilter `json:"filter,omitempty"` // 搜索过滤器 }
SearchCalendarEventReq ...
type SearchCalendarEventReqFilter ¶
type SearchCalendarEventReqFilter struct { StartTime *SearchCalendarEventReqFilterStartTime `json:"start_time,omitempty"` // 搜索过滤项,日程搜索区间的开始时间,被搜索日程的事件必须与搜索区间有交集 EndTime *SearchCalendarEventReqFilterEndTime `json:"end_time,omitempty"` // 搜索过滤项,日程搜索区间的结束时间,被搜索日程的事件必须与搜索区间有交集 UserIDs []string `json:"user_ids,omitempty"` // 搜索过滤项,参与人的用户ID列表,被搜索日程中必须包含至少一个其中的参与人。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:xxxxx RoomIDs []string `json:"room_ids,omitempty"` // 搜索过滤项,会议室ID列表,被搜索日程中必须包含至少一个其中的会议室, 示例值:xxxxx ChatIDs []string `json:"chat_ids,omitempty"` // 搜索过滤项,群ID列表,被搜索日程的参与人中必须包含至少一个其中的群。参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:xxxxx }
SearchCalendarEventReqFilter ...
type SearchCalendarEventReqFilterEndTime ¶
type SearchCalendarEventReqFilterEndTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
SearchCalendarEventReqFilterEndTime ...
type SearchCalendarEventReqFilterStartTime ¶
type SearchCalendarEventReqFilterStartTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
SearchCalendarEventReqFilterStartTime ...
type SearchCalendarEventResp ¶
type SearchCalendarEventResp struct { Items []*SearchCalendarEventRespItem `json:"items,omitempty"` // 搜索命中的日程列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
SearchCalendarEventResp ...
type SearchCalendarEventRespItem ¶
type SearchCalendarEventRespItem struct { EventID string `json:"event_id,omitempty"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) OrganizerCalendarID string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日程标题 Description string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 NeedNotification bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true StartTime *SearchCalendarEventRespItemStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *SearchCalendarEventRespItemEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *SearchCalendarEventRespItemVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility string `json:"attendee_ability,omitempty"` // 参与人权限, 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `busy`:忙碌, `free`:空闲 Location *SearchCalendarEventRespItemLocation `json:"location,omitempty"` // 日程地点 Color int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*SearchCalendarEventRespItemReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。 Status string `json:"status,omitempty"` // 日程状态, 可选值有: `tentative`:未回应, `confirmed`:已确认, `cancelled`:日程已取消 IsException bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventID string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id Schemas []*SearchCalendarEventRespItemSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
SearchCalendarEventRespItem ...
type SearchCalendarEventRespItemEndTime ¶
type SearchCalendarEventRespItemEndTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
SearchCalendarEventRespItemEndTime ...
type SearchCalendarEventRespItemLocation ¶
type SearchCalendarEventRespItemLocation struct { Name string `json:"name,omitempty"` // 地点名称 Address string `json:"address,omitempty"` // 地点地址 Latitude float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
SearchCalendarEventRespItemLocation ...
type SearchCalendarEventRespItemReminder ¶
type SearchCalendarEventRespItemReminder struct {
Minutes int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效
}
SearchCalendarEventRespItemReminder ...
type SearchCalendarEventRespItemSchema ¶
type SearchCalendarEventRespItemSchema struct { UiName string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域 UiStatus string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
SearchCalendarEventRespItemSchema ...
type SearchCalendarEventRespItemStartTime ¶
type SearchCalendarEventRespItemStartTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
SearchCalendarEventRespItemStartTime ...
type SearchCalendarEventRespItemVchat ¶
type SearchCalendarEventRespItemVchat struct { VCType string `json:"vc_type,omitempty"` // 视频会议类型, 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingURL string `json:"meeting_url,omitempty"` // 视频会议URL }
SearchCalendarEventRespItemVchat ...
type SearchCalendarReq ¶
type SearchCalendarReq struct { PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"10" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` Query string `json:"query,omitempty"` // 搜索关键字, 示例值:"query words", 长度范围:`1` ~ `200` 字符 }
SearchCalendarReq ...
type SearchCalendarResp ¶
type SearchCalendarResp struct { Items []*SearchCalendarRespItem `json:"items,omitempty"` // 搜索命中的日历列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
SearchCalendarResp ...
type SearchCalendarRespItem ¶
type SearchCalendarRespItem struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
SearchCalendarRespItem ...
type SearchChatReq ¶
type SearchChatReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID Query *string `query:"query" json:"-"` // 关键词。注意:如果query为空值将返回空的结果, 示例值:"abc" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"dmJCRHhpd3JRbGV1VEVNRFFyTitRWDY5ZFkybmYrMEUwMUFYT0VMMWdENEtuYUhsNUxGMDIwemtvdE5ORjBNQQ==" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
SearchChatReq ...
type SearchChatResp ¶
type SearchChatResp struct { Items []*SearchChatRespItem `json:"items,omitempty"` // chat 列表 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
SearchChatResp ...
type SearchChatRespItem ¶
type SearchChatRespItem struct { ChatID string `json:"chat_id,omitempty"` // 群组 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) Avatar string `json:"avatar,omitempty"` // 群头像 URL Name string `json:"name,omitempty"` // 群名称 Description string `json:"description,omitempty"` // 群描述 OwnerID string `json:"owner_id,omitempty"` // 群主 ID OwnerIDType IDType `json:"owner_id_type,omitempty"` // 群主 ID 类型 External bool `json:"external,omitempty"` // 是否是外部群 TenantKey string `json:"tenant_key,omitempty"` // tenant key }
SearchChatRespItem ...
type SearchDepartmentReq ¶
type SearchDepartmentReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义 department_id 来标识部门, `open_department_id`:以 open_department_id 来标识部门 PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"AQD9/Rn9eij9Pm39ED40/RD/cIFmu77WxpxPB/2oHfQLZ+G8JG6tK7+ZnHiT7COhD2hMSICh/eBl7cpzU6JEC3J7COKNe4jrQ8ExwBCR" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`50` Query string `json:"query,omitempty"` // 搜索关键词,匹配字段为部门名称(不支持匹配部门国际化名称), 示例值:"DemoName" }
SearchDepartmentReq ...
type SearchDepartmentResp ¶
type SearchDepartmentResp struct { Items []*SearchDepartmentRespItem `json:"items,omitempty"` PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 }
SearchDepartmentResp ...
type SearchDepartmentRespItem ¶
type SearchDepartmentRespItem struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 I18nName *SearchDepartmentRespItemI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,以应用身份访问通讯录,读取通讯录 Status *SearchDepartmentRespItemStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,以应用身份访问通讯录,读取通讯录 CreateGroupChat bool `json:"create_group_chat,omitempty"` // 是否创建部门群,默认不创建 }
SearchDepartmentRespItem ...
type SearchDepartmentRespItemI18nName ¶
type SearchDepartmentRespItemI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
SearchDepartmentRespItemI18nName ...
type SearchDepartmentRespItemStatus ¶
type SearchDepartmentRespItemStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
SearchDepartmentRespItemStatus ...
type SearchDriveFileReq ¶
type SearchDriveFileReq struct { SearchKey string `json:"search_key,omitempty"` // 搜索关键字 Count *int64 `json:"count,omitempty"` // 搜索返回数量,0 <= count <= 50 Offset *int64 `json:"offset,omitempty"` // 搜索偏移位,offset >= 0,offset + count < 200 OwnerIDs []string `json:"owner_ids,omitempty"` // 文档所有者的userid ChatIDs []string `json:"chat_ids,omitempty"` // 文档所在群的chatid DocsTypes []string `json:"docs_types,omitempty"` // 文档类型,支持:"doc", "sheet", "slide", "bitable", "mindnote", "file" }
SearchDriveFileReq ...
type SearchDriveFileResp ¶
type SearchDriveFileResp struct { DocsEntities []*SearchDriveFileRespDocsEntity `json:"docs_entities,omitempty"` // 搜索匹配文档列表 HasMore bool `json:"has_more,omitempty"` // 搜索偏移位结果列表后是否还有数据 Total int64 `json:"total,omitempty"` // 搜索匹配文档总数量 }
SearchDriveFileResp ...
type SearchDriveFileRespDocsEntity ¶
type SearchDriveFileRespDocsEntity struct { DocsToken string `json:"docs_token,omitempty"` // 文档token DocsType string `json:"docs_type,omitempty"` // 文档类型 Title string `json:"title,omitempty"` // 标题 OwnerID string `json:"owner_id,omitempty"` // 文件所有者 }
SearchDriveFileRespDocsEntity ...
type SearchHelpdeskFAQReq ¶
type SearchHelpdeskFAQReq struct { Query string `query:"query" json:"-"` // 搜索query,,query内容如果不是英文,包含中文空格等有两种编码策略:1. url编码 2. base64编码,同时加上base64=true参数, 示例值:"wifi" Base64 *string `query:"base64" json:"-"` // 是否转换为base64,输入true表示是,不填写表示否,中文需要转换为base64, 示例值:"5bel5Y2V" PageToken *string `query:"page_token" json:"-"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果, 示例值:"6936004780707807251" PageSize *int64 `query:"page_size" json:"-"` // 分页大小, 示例值:10, 最大值:`100` }
SearchHelpdeskFAQReq ...
type SearchHelpdeskFAQResp ¶
type SearchHelpdeskFAQResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token Items []*SearchHelpdeskFAQRespItem `json:"items,omitempty"` // 知识库列表 }
SearchHelpdeskFAQResp ...
type SearchHelpdeskFAQRespItem ¶
type SearchHelpdeskFAQRespItem struct { FAQID string `json:"faq_id,omitempty"` // 知识库ID ID string `json:"id,omitempty"` // 知识库旧版ID,请使用faq_id HelpdeskID string `json:"helpdesk_id,omitempty"` // 服务台ID Question string `json:"question,omitempty"` // 问题 Answer string `json:"answer,omitempty"` // 答案 AnswerRichtext string `json:"answer_richtext,omitempty"` // 富文本答案 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 UpdateTime int64 `json:"update_time,omitempty"` // 修改时间 Categories []*HelpdeskCategory `json:"categories,omitempty"` // 分类 Tags []string `json:"tags,omitempty"` // 相似问列表 ExpireTime int64 `json:"expire_time,omitempty"` // 失效时间 UpdateUser *SearchHelpdeskFAQRespItemUpdateUser `json:"update_user,omitempty"` // 更新用户 CreateUser *SearchHelpdeskFAQRespItemCreateUser `json:"create_user,omitempty"` // 创建用户 }
SearchHelpdeskFAQRespItem ...
type SearchHelpdeskFAQRespItemCreateUser ¶
type SearchHelpdeskFAQRespItemCreateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Department string `json:"department,omitempty"` // 所在部门名称 }
SearchHelpdeskFAQRespItemCreateUser ...
type SearchHelpdeskFAQRespItemUpdateUser ¶
type SearchHelpdeskFAQRespItemUpdateUser struct { ID string `json:"id,omitempty"` // 用户ID AvatarURL string `json:"avatar_url,omitempty"` // 用户头像url Name string `json:"name,omitempty"` // 用户名 Department string `json:"department,omitempty"` // 所在部门名称 }
SearchHelpdeskFAQRespItemUpdateUser ...
type SearchService ¶
type SearchService struct {
// contains filtered or unexported fields
}
func (*SearchService) CreateSearchDataSource ¶
func (r *SearchService) CreateSearchDataSource(ctx context.Context, request *CreateSearchDataSourceReq, options ...MethodOptionFunc) (*CreateSearchDataSourceResp, *Response, error)
CreateSearchDataSource 创建一个数据源
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source/create
func (*SearchService) CreateSearchDataSourceItem ¶
func (r *SearchService) CreateSearchDataSourceItem(ctx context.Context, request *CreateSearchDataSourceItemReq, options ...MethodOptionFunc) (*CreateSearchDataSourceItemResp, *Response, error)
CreateSearchDataSourceItem 索引一条数据记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source-item/create
func (*SearchService) DeleteSearchDataSource ¶
func (r *SearchService) DeleteSearchDataSource(ctx context.Context, request *DeleteSearchDataSourceReq, options ...MethodOptionFunc) (*DeleteSearchDataSourceResp, *Response, error)
DeleteSearchDataSource 删除一个已存在的数据源
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source/delete
func (*SearchService) DeleteSearchDataSourceItem ¶
func (r *SearchService) DeleteSearchDataSourceItem(ctx context.Context, request *DeleteSearchDataSourceItemReq, options ...MethodOptionFunc) (*DeleteSearchDataSourceItemResp, *Response, error)
DeleteSearchDataSourceItem 删除数据记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source-item/delete
func (*SearchService) GetSearchDataSource ¶
func (r *SearchService) GetSearchDataSource(ctx context.Context, request *GetSearchDataSourceReq, options ...MethodOptionFunc) (*GetSearchDataSourceResp, *Response, error)
GetSearchDataSource 获取已经创建的数据源
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source/get
func (*SearchService) GetSearchDataSourceItem ¶
func (r *SearchService) GetSearchDataSourceItem(ctx context.Context, request *GetSearchDataSourceItemReq, options ...MethodOptionFunc) (*GetSearchDataSourceItemResp, *Response, error)
GetSearchDataSourceItem 获取单个数据记录
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source-item/get
func (*SearchService) GetSearchDataSourceList ¶
func (r *SearchService) GetSearchDataSourceList(ctx context.Context, request *GetSearchDataSourceListReq, options ...MethodOptionFunc) (*GetSearchDataSourceListResp, *Response, error)
GetSearchDataSourceList 获取创建的所有数据源信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source/list
func (*SearchService) UpdateSearchDataSource ¶
func (r *SearchService) UpdateSearchDataSource(ctx context.Context, request *UpdateSearchDataSourceReq, options ...MethodOptionFunc) (*UpdateSearchDataSourceResp, *Response, error)
UpdateSearchDataSource 更新一个已经存在的数据源
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/search-v2/data_source/patch
type SearchUserOldReq ¶
type SearchUserOldReq struct { Query string `query:"query" json:"-"` // 要执行搜索的字符串,一般为用户名。 PageSize *int64 `query:"page_size" json:"-"` // 分页大小,最小为 1,最大为 200,默认为 20。 PageToken *string `query:"page_token" json:"-"` // 分页标识,获取首页不需要填写,获取下一页时传入上一页返回的分页标识值。<br>请注意此字段的值并没有特殊含义,请使用每次请求所返回的标识值。 }
SearchUserOldReq ...
type SearchUserOldResp ¶
type SearchUserOldResp struct { HasMore bool `json:"has_more,omitempty"` // 是否还有更多用户,值为 true 表示存在下一页。 PageToken string `json:"page_token,omitempty"` // 分页标识,存在下一页的时候返回。下次请求带上此标识可以获取下一页的用户。 Users []*SearchUserOldRespUser `json:"users,omitempty"` // 搜索到的用户列表。 }
SearchUserOldResp ...
type SearchUserOldRespUser ¶
type SearchUserOldRespUser struct { Avatar *SearchUserOldRespUserAvatar `json:"avatar,omitempty"` // 用户的头像信息。 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所在的部门 ID。 Name string `json:"name,omitempty"` // 用户名。 OpenID string `json:"open_id,omitempty"` // 用户的 open_id。 UserID string `json:"user_id,omitempty"` // 用户的 user_id,只有已申请 `获取用户UserID` 权限的企业自建应用返回此字段。 }
SearchUserOldRespUser ...
type SearchUserOldRespUserAvatar ¶
type SearchUserOldRespUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 用户的头像图片 URL,72×72px。 Avatar240 string `json:"avatar_240,omitempty"` // 用户的头像图片 URL,240×240px。 Avatar640 string `json:"avatar_640,omitempty"` // 用户的头像图片 URL,640×640px。 AvatarOrigin string `json:"avatar_origin,omitempty"` // 用户的头像图片 URL,原始大小。 }
SearchUserOldRespUserAvatar ...
type SendEphemeralMessageReq ¶
type SendEphemeralMessageReq struct { ChatID string `json:"chat_id,omitempty"` // 发送临时消息的群ID可通过事件推送获取 OpenID string `json:"open_id,omitempty"` // 指定发送临时消息卡片的用户,其他人将无法看到临时消息卡片,只需要填 open_id、email、user_id(id介绍详见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)) 中的一个即可。服务端依次读取字段的顺序为 **open_id** > **user_id** > **email** UserID string `json:"user_id,omitempty"` // 指定发送临时消息卡片的用户,其他人将无法看到临时消息卡片,只需要填 open_id、email、user_id(id介绍详见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)) 中的一个即可。服务端依次读取字段的顺序为 **open_id** > **user_id** > **email** Email string `json:"email,omitempty"` // 指定发送临时消息卡片的用户,其他人将无法看到临时消息卡片,只需要填 open_id、email、user_id(id介绍详见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)) 中的一个即可。服务端依次读取字段的顺序为 **open_id** > **user_id** > **email** MsgType MsgType `json:"msg_type,omitempty"` // 消息的类型,此处固定填 "interactive" Card *MessageContentCard `json:"card,omitempty"` // 消息卡片的描述内容,具体参考 [基础结构](https://open.feishu.cn/document/ukTMukTMukTM/uEjNwUjLxYDM14SM2ATN) }
SendEphemeralMessageReq ...
type SendEphemeralMessageResp ¶
type SendEphemeralMessageResp struct {
MessageID string `json:"message_id,omitempty"` // 消息 ID
}
SendEphemeralMessageResp ...
type SendHelpdeskMessageReq ¶
type SendHelpdeskMessageReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MsgType MsgType `json:"msg_type,omitempty"` // 消息类型, 示例值:"post", 可选值有: `text`:普通文本, `post`:富文本, `image`:图片, `interactive`:卡片消息 Content string `json:"content,omitempty"` // 消息内容,json格式结构序列化成string。格式说明参考: [发送消息content说明](https://open.feishu.cn/document/ukTMukTMukTM/uUjNz4SN2MjL1YzM), 示例值:"{\"post\":{\"zh_cn\":{\"title\":\"some title\",\"content\":[[{\"tag\":\"text\",\"text\":\"some content\"}]]}}}" ReceiverID string `json:"receiver_id,omitempty"` // 接收消息用户id, 示例值:"ou_7346484524" ReceiveType *string `json:"receive_type,omitempty"` // 接收消息方式,chat(服务台专属服务群)或user(服务台机器人私聊)。若选择专属服务群,用户有正在处理的工单将会发送失败。默认以chat方式发送。, 示例值:"chat", 可选值有: `chat`:通过服务台专属群发送, `user`:通过服务台机器人私聊发送 }
SendHelpdeskMessageReq ...
type SendHelpdeskMessageResp ¶
type SendHelpdeskMessageResp struct {
MessageID string `json:"message_id,omitempty"` // chat消息open_id
}
SendHelpdeskMessageResp ...
type SendHelpdeskTicketMessageReq ¶
type SendHelpdeskTicketMessageReq struct { TicketID string `path:"ticket_id" json:"-"` // 工单ID, 示例值:"6948728206392295444" MsgType MsgType `json:"msg_type,omitempty"` // 消息类型;text:纯文本;post:富文本, 示例值:"post" Content string `json:"content,omitempty"` // - 纯文本,参考[发送文本消息](https://open.feishu.cn/document/ukTMukTMukTM/uUjNz4SN2MjL1YzM)中的content;, 富文本,参考[发送富文本消息](https://open.feishu.cn/document/ukTMukTMukTM/uMDMxEjLzATMx4yMwETM)中的content, 示例值:"{, "msg_type": "post",, "content": {, "post": {, "zh_cn": {, "title": "this is title",, "content": [, [, {, "tag": "text",, "un_escape": true,, "text": "第一行 :", },, {, "tag": "a",, "text": "超链接",, "href": "http://www.feishu.cn", }, ],, [, {, "tag": "text",, "text": "第二行 :", },, {, "tag": "text",, "text": "文本测试", }, ], ], }, }, },}" }
SendHelpdeskTicketMessageReq ...
type SendHelpdeskTicketMessageResp ¶
type SendHelpdeskTicketMessageResp struct {
MessageID string `json:"message_id,omitempty"` // chat消息open ID
}
SendHelpdeskTicketMessageResp ...
type SendRawMessageOldReq ¶
type SendRawMessageOldReq struct { ChatID string `json:"chat_id,omitempty"` // 给用户发私聊消息,只需要填 open_id、email、user_id 中的一个即可,向群里发消息使用群的 chat_id。服务端依次读取字段的顺序为 chat_id > open_id > user_id > email ( user_id 对应V3接口的 employee_id , chat_id 对应V3的 open_chat_id ) OpenID string `json:"open_id,omitempty"` // 给用户发私聊消息,只需要填 open_id、email、user_id 中的一个即可,向群里发消息使用群的 chat_id。服务端依次读取字段的顺序为 chat_id > open_id > user_id > email ( user_id 对应V3接口的 employee_id , chat_id 对应V3的 open_chat_id ) UserID string `json:"user_id,omitempty"` // 给用户发私聊消息,只需要填 open_id、email、user_id 中的一个即可,向群里发消息使用群的 chat_id。服务端依次读取字段的顺序为 chat_id > open_id > user_id > email ( user_id 对应V3接口的 employee_id , chat_id 对应V3的 open_chat_id ) Email string `json:"email,omitempty"` // 给用户发私聊消息,只需要填 open_id、email、user_id 中的一个即可,向群里发消息使用群的 chat_id。服务端依次读取字段的顺序为 chat_id > open_id > user_id > email ( user_id 对应V3接口的 employee_id , chat_id 对应V3的 open_chat_id ) RootID *string `json:"root_id,omitempty"` // 如果需要回复某条消息,填对应消息的消息 ID MsgType MsgType `json:"msg_type,omitempty"` // 消息类型,此处固定填 "text" Content *SendRawMessageOldReqContent `json:"content,omitempty"` // 消息内容 }
SendRawMessageOldReq ...
type SendRawMessageOldReqContent ¶
type SendRawMessageOldReqContent struct { Text string `json:"text,omitempty"` // 文本消息内容,文本消息中可以 at 个人或全体成员<br>at 全体成员:<at user_id="all"> </at> <br> at 个人:<at user_id="ou_xxxxxxx"></at>,user_id 为用户 user_id或者open_id ImageKey string `json:"image_key,omitempty"` // image_key 可以通过图片上传接口获得 Post *MessageContentPostAll `json:"post,omitempty"` // 富文本消息 }
SendRawMessageOldReqContent ...
type SendRawMessageOldResp ¶
type SendRawMessageOldResp struct {
MessageID string `json:"message_id,omitempty"` // 消息 ID
}
SendRawMessageOldResp ...
type SendRawMessageReq ¶
type SendRawMessageReq struct { ReceiveIDType IDType `query:"receive_id_type" json:"-"` // 消息接收者id类型 open_id/user_id/union_id/email/chat_id, 示例值:"open_id", 可选值有: `open_id`:以open_id来识别用户([什么是 Open ID?](https://open.feishu.cn/document/home/user-identity-introduction/open-id)), `user_id`:以user_id来识别用户。需要有获取用户 userID的权限 ([什么是 User ID?](https://open.feishu.cn/document/home/user-identity-introduction/user-id)), `union_id`:以union_id来识别用户([什么是 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/union-id)), `email`:以email来识别用户。是用户的真实邮箱, `chat_id`:以chat_id来识别群聊。群ID说明请参考:[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) ReceiveID string `json:"receive_id,omitempty"` // 依据receive_id_type的值,填写对应的消息接收者id, 示例值:"ou_7d8a6e6df7621556ce0d21922b676706ccs" Content string `json:"content,omitempty"` // 消息内容,json结构序列化后的字符串。不同msg_type对应不同内容。消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,具体格式说明参考:[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json), 示例值:"{\"text\":\"<at user_id=\\\"ou_155184d1e73cbfb8973e5a9e698e74f2\\\">Tom</at> test content\"}" MsgType MsgType `json:"msg_type,omitempty"` // 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json), 示例值:"text" }
SendRawMessageReq ...
type SendRawMessageResp ¶
type SendRawMessageResp struct { MessageID string `json:"message_id,omitempty"` // 消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) RootID string `json:"root_id,omitempty"` // 根消息id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) ParentID string `json:"parent_id,omitempty"` // 父消息的id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) MsgType MsgType `json:"msg_type,omitempty"` // 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) CreateTime string `json:"create_time,omitempty"` // 消息生成的时间戳(毫秒) UpdateTime string `json:"update_time,omitempty"` // 消息更新的时间戳(毫秒) Deleted bool `json:"deleted,omitempty"` // 消息是否被撤回 Updated bool `json:"updated,omitempty"` // 消息是否被更新 ChatID string `json:"chat_id,omitempty"` // 所属的群 Sender *Sender `json:"sender,omitempty"` // 发送者,可以是用户或应用 Body *MessageBody `json:"body,omitempty"` // 消息内容 Mentions []*Mention `json:"mentions,omitempty"` // 被@的用户或机器人的id列表 UpperMessageID string `json:"upper_message_id,omitempty"` // 合并转发消息中,上一层级的消息id message_id,说明参见:[消息ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/intro#ac79c1c2) }
SendRawMessageResp ...
type SendUrgentAppMessageReq ¶
type SendUrgentAppMessageReq struct { UserIDType IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MessageID string `path:"message_id" json:"-"` // 待加急的消息ID, 示例值:"om_dc13264520392913993dd051dba21dcf" UserIDList []string `json:"user_id_list,omitempty"` // 目标用户的ID。列表不可为空。, 示例值:["ou_6yf8af6bgb9100449565764t3382b168"] }
SendUrgentAppMessageReq ...
type SendUrgentAppMessageResp ¶
type SendUrgentAppMessageResp struct {
InvalidUserIDList []string `json:"invalid_user_id_list,omitempty"` // 无效的用户ID
}
SendUrgentAppMessageResp ...
type SendUrgentPhoneMessageReq ¶
type SendUrgentPhoneMessageReq struct { UserIDType IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MessageID string `path:"message_id" json:"-"` // 待加急的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf" UserIDList []string `json:"user_id_list,omitempty"` // 目标用户的ID。列表不可为空。, 示例值:["ou_6yf8af6bgb9100449565764t3382b168"] }
SendUrgentPhoneMessageReq ...
type SendUrgentPhoneMessageResp ¶
type SendUrgentPhoneMessageResp struct {
InvalidUserIDList []string `json:"invalid_user_id_list,omitempty"` // 无效的用户ID
}
SendUrgentPhoneMessageResp ...
type SendUrgentSmsMessageReq ¶
type SendUrgentSmsMessageReq struct { UserIDType IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MessageID string `path:"message_id" json:"-"` // 待加急的消息ID, 示例值:"om_dc13264520392913993dd051dba21dcf" UserIDList []string `json:"user_id_list,omitempty"` // 目标用户的ID。列表不可为空。, 示例值:["ou_6yf8af6bgb9100449565764t3382b168"] }
SendUrgentSmsMessageReq ...
type SendUrgentSmsMessageResp ¶
type SendUrgentSmsMessageResp struct {
InvalidUserIDList []string `json:"invalid_user_id_list,omitempty"` // 无效的用户ID
}
SendUrgentSmsMessageResp ...
type Sender ¶
type Sender struct { ID string `json:"id,omitempty"` // 该字段标识发送者的id IDType IDType `json:"id_type,omitempty"` // 该字段标识发送者的id类型 SenderType string `json:"sender_type,omitempty"` // 该字段标识发送者的类型 }
Sender sender user
type SetSheetStyleReq ¶
type SetSheetStyleReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,详见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) AppendStyle *SetSheetStyleReqAppendStyle `json:"appendStyle,omitempty"` // 设置单元格样式 }
SetSheetStyleReq ...
type SetSheetStyleReqAppendStyle ¶
type SetSheetStyleReqAppendStyle struct { Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Style *SetSheetStyleReqAppendStyleStyle `json:"style,omitempty"` // 需要更新的样式 }
SetSheetStyleReqAppendStyle ...
type SetSheetStyleReqAppendStyleStyle ¶
type SetSheetStyleReqAppendStyleStyle struct { Font *SetSheetStyleReqAppendStyleStyleFont `json:"font,omitempty"` // 字体相关样式 TextDecoration *int64 `json:"textDecoration,omitempty"` // 文本装饰 ,0 默认,1 下划线,2 删除线 ,3 下划线和删除线 Formatter *string `json:"formatter,omitempty"` // 数字格式,详见附录 [sheet支持数字格式类型](https://open.feishu.cn/document/ukTMukTMukTM/uMjM2UjLzIjN14yMyYTN) HAlign *int64 `json:"hAlign,omitempty"` // 水平对齐,0 左对齐,1 中对齐,2 右对齐 VAlign *int64 `json:"vAlign,omitempty"` // 垂直对齐, 0 上对齐,1 中对齐, 2 下对齐 ForeColor *string `json:"foreColor,omitempty"` // 字体颜色 BackColor *string `json:"backColor,omitempty"` // 背景颜色 BorderType *string `json:"borderType,omitempty"` // 边框类型,可选 "FULL_BORDER","OUTER_BORDER","INNER_BORDER","NO_BORDER","LEFT_BORDER","RIGHT_BORDER","TOP_BORDER","BOTTOM_BORDER" BorderColor *string `json:"borderColor,omitempty"` // 边框颜色 Clean *bool `json:"clean,omitempty"` // 是否清除所有格式,默认 false }
SetSheetStyleReqAppendStyleStyle ...
type SetSheetStyleReqAppendStyleStyleFont ¶
type SetSheetStyleReqAppendStyleStyleFont struct { Bold *bool `json:"bold,omitempty"` // 是否加粗 Italic *bool `json:"italic,omitempty"` // 是否斜体 FontSize *string `json:"fontSize,omitempty"` // 字体大小 字号大小为9~36 行距固定为1.5,如:10pt/1.5 Clean *bool `json:"clean,omitempty"` // 清除 font 格式,默认 false }
SetSheetStyleReqAppendStyleStyleFont ...
type SetSheetStyleResp ¶
type SetSheetStyleResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 设置样式的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 设置样式的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 设置样式的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 设置样式的单元格总数 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 }
SetSheetStyleResp ...
type SetSheetValueImageReq ¶
type SetSheetValueImageReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet的token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Range string `json:"range,omitempty"` // 查询范围 range=<sheetId>!<开始格子>:<结束格子> 如:xxxx!A1:D5,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview)。此处限定为一个格子,如: xxxx!A1:A1 Image []byte `json:"image,omitempty"` // 需要写入的图片二进制流,支持 "PNG", "JPEG", "JPG", "GIF", "BMP", "JFIF", "EXIF", "TIFF", "BPG", "WEBP", "HEIC" 等图片格式 Name string `json:"name,omitempty"` // 写入的图片名字 }
SetSheetValueImageReq ...
type SetSheetValueImageResp ¶
type SetSheetValueImageResp struct {
SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token
}
SetSheetValueImageResp ...
type SetSheetValueReq ¶
type SetSheetValueReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet的token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) ValueRange *SetSheetValueReqValueRange `json:"valueRange,omitempty"` // 值与范围 }
SetSheetValueReq ...
type SetSheetValueReqValueRange ¶
type SetSheetValueReqValueRange struct { Range string `json:"range,omitempty"` // 更新范围,包含 sheetId 与单元格范围两部分,目前支持三种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview),range所表示的范围需要大于等于values占用的范围 Values [][]SheetContent `json:"values,omitempty"` // 需要写入的值,如要写入公式、超链接、email、@人等,可详看附录[sheet 支持写入数据类型](https://open.feishu.cn/document/ukTMukTMukTM/ugjN1UjL4YTN14CO2UTN) }
SetSheetValueReqValueRange ...
type SetSheetValueResp ¶
type SetSheetValueResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token UpdatedRange string `json:"updatedRange,omitempty"` // 写入的范围 UpdatedRows int64 `json:"updatedRows,omitempty"` // 写入的行数 UpdatedColumns int64 `json:"updatedColumns,omitempty"` // 写入的列数 UpdatedCells int64 `json:"updatedCells,omitempty"` // 写入的单元格总数 Revision int64 `json:"revision,omitempty"` // sheet 的版本号 }
SetSheetValueResp ...
type SetVCHostMeetingReq ¶
type SetVCHostMeetingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028" HostUser *SetVCHostMeetingReqHostUser `json:"host_user,omitempty"` // 将要设置的主持人 OldHostUser *SetVCHostMeetingReqOldHostUser `json:"old_host_user,omitempty"` // 当前主持人(CAS并发安全:如果和会中当前主持人不符则会设置失败,可使用返回的最新数据重新设置) }
SetVCHostMeetingReq ...
type SetVCHostMeetingReqHostUser ¶
type SetVCHostMeetingReqHostUser struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType *int64 `json:"user_type,omitempty"` // 用户类型, 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
SetVCHostMeetingReqHostUser ...
type SetVCHostMeetingReqOldHostUser ¶
type SetVCHostMeetingReqOldHostUser struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType *int64 `json:"user_type,omitempty"` // 用户类型, 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
SetVCHostMeetingReqOldHostUser ...
type SetVCHostMeetingResp ¶
type SetVCHostMeetingResp struct {
HostUser *SetVCHostMeetingRespHostUser `json:"host_user,omitempty"` // 会中当前主持人
}
SetVCHostMeetingResp ...
type SetVCHostMeetingRespHostUser ¶
type SetVCHostMeetingRespHostUser struct { ID string `json:"id,omitempty"` // 用户ID UserType int64 `json:"user_type,omitempty"` // 用户类型, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 }
SetVCHostMeetingRespHostUser ...
type SetVCPermissionMeetingRecordingReq ¶
type SetVCPermissionMeetingRecordingReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028" PermissionObjects []*SetVCPermissionMeetingRecordingReqPermissionObject `json:"permission_objects,omitempty"` // 授权对象列表 }
SetVCPermissionMeetingRecordingReq ...
type SetVCPermissionMeetingRecordingReqPermissionObject ¶
type SetVCPermissionMeetingRecordingReqPermissionObject struct { ID *string `json:"id,omitempty"` // 授权对象ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" Type int64 `json:"type,omitempty"` // 授权对象类型, 示例值:1, 可选值有: `1`:用户授权, `2`:群组授权, `3`:租户内授权(id字段不填), `4`:公网授权(id字段不填) Permission int64 `json:"permission,omitempty"` // 权限, 示例值:1, 可选值有: `1`:查看 }
SetVCPermissionMeetingRecordingReqPermissionObject ...
type SetVCPermissionMeetingRecordingResp ¶
type SetVCPermissionMeetingRecordingResp struct{}
SetVCPermissionMeetingRecordingResp ...
type SetVCRoomConfigReq ¶
type SetVCRoomConfigReq struct { Scope int64 `json:"scope,omitempty"` // 设置节点范围, 示例值:5, 可选值有: `1`:租户, `2`:国家/地区, `3`:城市, `4`:建筑, `5`:楼层, `6`:会议室 CountryID *string `json:"country_id,omitempty"` // 国家/地区ID scope为2,3时需要此参数, 示例值:"086" DistrictID *string `json:"district_id,omitempty"` // 城市ID scope为3时需要此参数, 示例值:"223" BuildingID *string `json:"building_id,omitempty"` // 建筑ID scope为4,5时需要此参数, 示例值:"66" FloorName *string `json:"floor_name,omitempty"` // 楼层 scope为5时需要此参数, 示例值:"3" RoomID *string `json:"room_id,omitempty"` // 会议室ID scope为6时需要此参数, 示例值:"67687262867363" RoomConfig *SetVCRoomConfigReqRoomConfig `json:"room_config,omitempty"` // 会议室设置 }
SetVCRoomConfigReq ...
type SetVCRoomConfigReqRoomConfig ¶
type SetVCRoomConfigReqRoomConfig struct { RoomBackground *string `json:"room_background,omitempty"` // 飞书会议室背景图, 示例值:"https://lf1-ttcdn-tos.pstatp.com/obj/xxx" DisplayBackground *string `json:"display_background,omitempty"` // 飞书签到板背景图, 示例值:"https://lf1-ttcdn-tos.pstatp.com/obj/xxx" DigitalSignage *SetVCRoomConfigReqRoomConfigDigitalSignage `json:"digital_signage,omitempty"` // 飞书会议室数字标牌 }
SetVCRoomConfigReqRoomConfig ...
type SetVCRoomConfigReqRoomConfigDigitalSignage ¶
type SetVCRoomConfigReqRoomConfigDigitalSignage struct { Enable *bool `json:"enable,omitempty"` // 是否开启数字标牌功能, 示例值:true Mute *bool `json:"mute,omitempty"` // 是否静音播放, 示例值:true StartDisplay *int64 `json:"start_display,omitempty"` // 日程会议开始前n分钟结束播放, 示例值:3 StopDisplay *int64 `json:"stop_display,omitempty"` // 会议结束后n分钟开始播放, 示例值:3 Materials []*SetVCRoomConfigReqRoomConfigDigitalSignageMaterial `json:"materials,omitempty"` // 素材列表 }
SetVCRoomConfigReqRoomConfigDigitalSignage ...
type SetVCRoomConfigReqRoomConfigDigitalSignageMaterial ¶
type SetVCRoomConfigReqRoomConfigDigitalSignageMaterial struct { ID *string `json:"id,omitempty"` // 素材ID, 示例值:"7847784676276" Name *string `json:"name,omitempty"` // 素材名称, 示例值:"name" MaterialType *int64 `json:"material_type,omitempty"` // 素材类型, 示例值:0, 可选值有: `1`:图片, `2`:视频, `3`:GIF URL *string `json:"url,omitempty"` // 素材url, 示例值:"url" Duration *int64 `json:"duration,omitempty"` // 播放时长(单位sec), 示例值:15 Cover *string `json:"cover,omitempty"` // 素材封面url, 示例值:"url" Md5 *string `json:"md5,omitempty"` // 素材文件md5, 示例值:"md5" }
SetVCRoomConfigReqRoomConfigDigitalSignageMaterial ...
type ShareCardPermission ¶
type ShareCardPermission string
ShareCardPermission 群分享权限
const ()
ShareCardPermissionAllowed ...
func ShareCardPermissionPtr ¶
func ShareCardPermissionPtr(v ShareCardPermission) *ShareCardPermission
ShareCardPermissionPtr ...
type SheetContent ¶
type SheetContent struct { Children *[]*SheetContent `json:"children,omitempty"` String *string `json:"string,omitempty"` // 字符串, `"` Int *int64 `json:"int,omitempty"` // 数字, `0-9` Link *SheetValueLink `json:"link,omitempty"` // 带文本的链接, `{ AtUser *SheetValueAtUser `json:"at_user,omitempty"` // @人, `{ Formula *SheetValueFormula `json:"formula,omitempty"` // 公式, `{ AtDoc *SheetValueAtDoc `json:"at_doc,omitempty"` // @文档, `{ MultiValue *SheetValueMultiValue `json:"multi_value,omitempty"` // 下拉列表, `{ EmbedImage *SheetValueEmbedImage `json:"embed_image,omitempty"` // 内嵌图片, `{ }
SheetContent ...
func (SheetContent) MarshalJSON ¶
func (r SheetContent) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*SheetContent) Type ¶
func (r *SheetContent) Type() SheetContentType
func (*SheetContent) UnmarshalJSON ¶
func (r *SheetContent) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type SheetContentType ¶
type SheetContentType string
const ( SheetContentTypeString SheetContentType = "string" SheetContentTypeInt SheetContentType = "int" SheetContentTypeLink SheetContentType = "link" SheetContentTypeAtUser SheetContentType = "at_user" SheetContentTypeFormula SheetContentType = "formula" SheetContentTypeAtDoc SheetContentType = "at_doc" SheetContentTypeMultiValue SheetContentType = "multi_value" SheetContentTypeEmbedImage SheetContentType = "embed_image" SheetContentTypeList SheetContentType = "list" SheetContentTypeNull SheetContentType = "null" )
type SheetRuleAttr ¶
type SheetRuleAttr struct { Operator SheetRuleAttrOperator `json:"operator"` Formula []string `json:"formula"` Text string `json:"text"` TimePeriod SheetRuleAttrTimePeriod `json:"time_period"` }
SheetRuleAttr sheet rule
type SheetRuleAttrOperator ¶
type SheetRuleAttrOperator string
SheetRuleAttrOperator sheet rule 操作符
const ( // cellIs SheetRuleAttrOperatorEqual SheetRuleAttrOperator = "equal" // 限定值范围:等于 SheetRuleAttrOperatorNotEqual SheetRuleAttrOperator = "notEqual" // 限定值范围:不等于 SheetRuleAttrOperatorGreaterThan SheetRuleAttrOperator = "greaterThan" // 限定值范围:大于 SheetRuleAttrOperatorGreaterThanOrEqual SheetRuleAttrOperator = "greaterThanOrEqual" // 限定值范围:大于或等于 SheetRuleAttrOperatorLessThan SheetRuleAttrOperator = "lessThan" // 限定值范围:小于 SheetRuleAttrOperatorLessThanOrEqual SheetRuleAttrOperator = "lessThanOrEqual" // 限定值范围:小于或等于 SheetRuleAttrOperatorBetween SheetRuleAttrOperator = "between" // 限定值范围:介于 SheetRuleAttrOperatorNotBetween SheetRuleAttrOperator = "notBetween" // 限定值范围:未介于 // containsText SheetRuleAttrOperatorContainsText SheetRuleAttrOperator = "containsText" // 包含以下内容:文本包含 SheetRuleAttrOperatorNotContains SheetRuleAttrOperator = "notContains" // 包含以下内容:文本不包含 SheetRuleAttrOperatorIs SheetRuleAttrOperator = "is" // 包含以下内容:文本为,或者日期为 SheetRuleAttrOperatorBeginsWith SheetRuleAttrOperator = "beginsWith" // 包含以下内容:开头为 SheetRuleAttrOperatorEndsWith SheetRuleAttrOperator = "endsWith" // 包含以下内容:结尾为 )
SheetRuleAttrOperatorEqual ...
type SheetRuleAttrTimePeriod ¶
type SheetRuleAttrTimePeriod string
SheetRuleAttrTimePeriod sheet rule 日期范围
const ( SheetRuleAttrTimePeriodYesterday SheetRuleAttrTimePeriod = "yesterday" // 日期为:昨天 SheetRuleAttrTimePeriodToday SheetRuleAttrTimePeriod = "today" // 日期为:今天 SheetRuleAttrTimePeriodTomorrow SheetRuleAttrTimePeriod = "tomorrow" // 日期为:明天 SheetRuleAttrTimePeriodLast7Days SheetRuleAttrTimePeriod = "last7Days" // 日期为:最近7天 )
SheetRuleAttrTimePeriodYesterday ...
type SheetRuleType ¶
type SheetRuleType string
SheetRuleType sheet rule 类型
const ( SheetRuleTypeContainsBlanks SheetRuleType = "containsBlanks" // 为空 SheetRuleTypeNotContainsBlanks SheetRuleType = "notContainsBlanks" // 不为空 SheetRuleTypeDuplicateValues SheetRuleType = "duplicateValues" // 重复值 SheetRuleTypeUniqueValues SheetRuleType = "uniqueValues" // 唯一值 SheetRuleTypeCellIs SheetRuleType = "cellIs" // 限定值范围 SheetRuleTypeContainsText SheetRuleType = "containsText" // 包含内容 SheetRuleTypeTimePeriod SheetRuleType = "timePeriod" // 日期 )
SheetRuleTypeContainsBlanks ...
type SheetValueAtDoc ¶
type SheetValueAtDoc struct { Type string `json:"type"` // mention TextType string `json:"textType"` // 固定为fileToken Text string `json:"text"` // 文档token ObjType string `json:"objType"` // 文档类型,可选sheet,doc,slide,bitable,mindnote }
@文档
type SheetValueAtUser ¶
type SheetValueAtUser struct { Type string `json:"type"` // mention Text string `json:"text"` // 需要@的人的信息,由textType指定 TextType string `json:"textType"` // 指定text字段的传入的内容,可选email,openId,unionId; Notify bool `json:"notify"` // 是否发送飞书消息,没有阅读权限的用户不会收到飞书消息; GrantReadPermission bool `json:"grantReadPermission"` // 是否赋予该用户阅读权限(仅在独立表格中支持该字段); }
只支持@同租户的用户;最多支持同时@50人;
type SheetValueEmbedImage ¶
type SheetValueEmbedImage struct { FileToken string `json:"fileToken"` Height int `json:"height"` Link string `json:"link"` Text string `json:"text"` Type string `json:"type"` // embed-image Width int `json:"width"` }
SheetValueEmbedImage ...
type SheetValueFormula ¶
type SheetValueFormula struct { Type string `json:"type"` // formula Text string `json:"text"` // text字段为对应的公式 }
公式
type SheetValueLink ¶
type SheetValueLink struct { Text string `json:"text"` Link string `json:"link"` Type string `json:"type"` // url }
SheetValueLink ...
type SheetValueMultiValue ¶
type SheetValueMultiValue struct { Type string `json:"type"` // multipleValue Values []interface{} `json:"values"` // values为数组,可填bool,string,number类型。string类型数据不能包含","。使用前需要先使用设置下拉列表接口设置下拉列表。 }
下拉列表
type StartHelpdeskServiceReq ¶
type StartHelpdeskServiceReq struct { HumanService *bool `json:"human_service,omitempty"` // 是否直接进入人工(若appointed_agents填写了,该值为必填), 示例值:false AppointedAgents []string `json:"appointed_agents,omitempty"` // 客服 open ids (获取方式参考[获取单个用户信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/get)),human_service需要为true, 示例值:[ou_7dab8a3d3cdcc9da365777c7ad535d62] OpenID string `json:"open_id,omitempty"` // 用户 open id,(获取方式参考[获取单个用户信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/get)), 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" CustomizedInfo *string `json:"customized_info,omitempty"` // 工单来源自定义信息,长度限制1024字符,如设置,[获取工单详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/helpdesk-v1/ticket/get)会返回此信息, 示例值:"test customized info" }
StartHelpdeskServiceReq ...
type StartHelpdeskServiceResp ¶
type StartHelpdeskServiceResp struct {
ChatID string `json:"chat_id,omitempty"` // 客服群open ID
}
StartHelpdeskServiceResp ...
type StartVCMeetingRecordingReq ¶
type StartVCMeetingRecordingReq struct { MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028" Timezone *int64 `json:"timezone,omitempty"` // 录制文件时间显示使用的时区[-12,12], 示例值:8 }
StartVCMeetingRecordingReq ...
type StartVCMeetingRecordingResp ¶
type StartVCMeetingRecordingResp struct{}
StartVCMeetingRecordingResp ...
type StopVCMeetingRecordingReq ¶
type StopVCMeetingRecordingReq struct {
MeetingID string `path:"meeting_id" json:"-"` // 会议ID(视频会议的唯一标识,视频会议开始后才会产生), 示例值:"6911188411932033028"
}
StopVCMeetingRecordingReq ...
type StopVCMeetingRecordingResp ¶
type StopVCMeetingRecordingResp struct{}
StopVCMeetingRecordingResp ...
type Store ¶
type Store interface { Get(ctx context.Context, key string) (string, time.Duration, error) Set(ctx context.Context, key, val string, ttl time.Duration) error }
Store ...
type StoreMemory ¶
type StoreMemory struct {
// contains filtered or unexported fields
}
StoreMemory ...
type SubmitApproveHelpdeskNotificationReq ¶
type SubmitApproveHelpdeskNotificationReq struct { NotificationID string `path:"notification_id" json:"-"` // 创建接口返回的唯一id, 示例值:"6985032626234982420" Reason string `json:"reason,omitempty"` // 提交审批理由, 示例值:"测试发送消息" }
SubmitApproveHelpdeskNotificationReq ...
type SubmitApproveHelpdeskNotificationResp ¶
type SubmitApproveHelpdeskNotificationResp struct {
HasAccess bool `json:"has_access,omitempty"` // 是否有权限创建或者管理审批流程 (有两种情况会导致没有权限: 1:用户没有安装服务台小程序,需要在https://app.feishu.cn/app/cli_9f9f8825d53b900d或者https://ftest.feishu.cn/admin/appCenter/manage/cli_9f9f8825d53b900d?lang=zh-CN 安装小程序 2:用户安装的服务台小程序版本过低)
}
SubmitApproveHelpdeskNotificationResp ...
type SubscribeApprovalSubscriptionReq ¶
type SubscribeApprovalSubscriptionReq struct {
ApprovalCode string `json:"approval_code,omitempty"` // 审批定义唯一标识
}
SubscribeApprovalSubscriptionReq ...
type SubscribeApprovalSubscriptionResp ¶
type SubscribeApprovalSubscriptionResp struct{}
SubscribeApprovalSubscriptionResp ...
type SubscribeCalendarACLReq ¶
type SubscribeCalendarACLReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
SubscribeCalendarACLReq ...
type SubscribeCalendarChangeEventReq ¶
type SubscribeCalendarChangeEventReq struct{}
SubscribeCalendarChangeEventReq ...
type SubscribeCalendarChangeEventResp ¶
type SubscribeCalendarChangeEventResp struct{}
SubscribeCalendarChangeEventResp ...
type SubscribeCalendarEventReq ¶
type SubscribeCalendarEventReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
SubscribeCalendarEventReq ...
type SubscribeCalendarEventResp ¶
type SubscribeCalendarEventResp struct{}
SubscribeCalendarEventResp ...
type SubscribeCalendarReq ¶
type SubscribeCalendarReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
SubscribeCalendarReq ...
type SubscribeCalendarResp ¶
type SubscribeCalendarResp struct {
Calendar *SubscribeCalendarRespCalendar `json:"calendar,omitempty"` // 订阅的日历实体
}
SubscribeCalendarResp ...
type SubscribeCalendarRespCalendar ¶
type SubscribeCalendarRespCalendar struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
SubscribeCalendarRespCalendar ...
type SubscribeHelpdeskEventReq ¶
type SubscribeHelpdeskEventReq struct {
Events []*SubscribeHelpdeskEventReqEvent `json:"events,omitempty"` // 可订阅的事件列表
}
SubscribeHelpdeskEventReq ...
type SubscribeHelpdeskEventReqEvent ¶
type SubscribeHelpdeskEventReqEvent struct { Type string `json:"type,omitempty"` // 事件类型, 示例值:"helpdesk.ticket_message" Subtype string `json:"subtype,omitempty"` // 事件子类型, 示例值:"ticket_message.created_v1" }
SubscribeHelpdeskEventReqEvent ...
type SubscribeHelpdeskEventResp ¶
type SubscribeHelpdeskEventResp struct{}
SubscribeHelpdeskEventResp ...
type TaskService ¶
type TaskService struct {
// contains filtered or unexported fields
}
func (*TaskService) CompleteTask ¶
func (r *TaskService) CompleteTask(ctx context.Context, request *CompleteTaskReq, options ...MethodOptionFunc) (*CompleteTaskResp, *Response, error)
CompleteTask 该接口用于将接任务状态修改为已完成
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/complete
func (*TaskService) CreateTask ¶
func (r *TaskService) CreateTask(ctx context.Context, request *CreateTaskReq, options ...MethodOptionFunc) (*CreateTaskResp, *Response, error)
CreateTask 该接口可以创建一个任务(基本信息),如果需要绑定协作者等需要调用别的资源管理接口。其中查询字段 user_id_type 是用于控制返回体中 creator_id 的类型,不传时默认返回 open_id。当使用 tenant_access_token 调用接口时不支持 user_id_type 为 user_id。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/create
func (*TaskService) CreateTaskCollaborator ¶
func (r *TaskService) CreateTaskCollaborator(ctx context.Context, request *CreateTaskCollaboratorReq, options ...MethodOptionFunc) (*CreateTaskCollaboratorResp, *Response, error)
CreateTaskCollaborator 该接口用于新增任务执行者,一个任务最多添加50个执行者
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-collaborator/create
func (*TaskService) CreateTaskComment ¶
func (r *TaskService) CreateTaskComment(ctx context.Context, request *CreateTaskCommentReq, options ...MethodOptionFunc) (*CreateTaskCommentResp, *Response, error)
CreateTaskComment 该接口用于创建和回复任务的评论。当parent_id字段为0时,为创建评论;当parent_id不为0时,为回复某条评论
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/create
func (*TaskService) CreateTaskFollower ¶
func (r *TaskService) CreateTaskFollower(ctx context.Context, request *CreateTaskFollowerReq, options ...MethodOptionFunc) (*CreateTaskFollowerResp, *Response, error)
CreateTaskFollower 该接口用于创建任务关注者,一个任务最多添加50个关注者
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-follower/create
func (*TaskService) CreateTaskReminder ¶
func (r *TaskService) CreateTaskReminder(ctx context.Context, request *CreateTaskReminderReq, options ...MethodOptionFunc) (*CreateTaskReminderResp, *Response, error)
CreateTaskReminder 该接口用于创建任务的提醒时间。提醒时间在截止时间基础上做偏移,但是偏移后的结果不能早于当前时间。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-reminder/create
func (*TaskService) DeleteTask ¶
func (r *TaskService) DeleteTask(ctx context.Context, request *DeleteTaskReq, options ...MethodOptionFunc) (*DeleteTaskResp, *Response, error)
DeleteTask 该接口用于删除任务
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/delete
func (*TaskService) DeleteTaskCollaborator ¶
func (r *TaskService) DeleteTaskCollaborator(ctx context.Context, request *DeleteTaskCollaboratorReq, options ...MethodOptionFunc) (*DeleteTaskCollaboratorResp, *Response, error)
DeleteTaskCollaborator 该接口用于删除任务执行者
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-collaborator/delete
func (*TaskService) DeleteTaskComment ¶
func (r *TaskService) DeleteTaskComment(ctx context.Context, request *DeleteTaskCommentReq, options ...MethodOptionFunc) (*DeleteTaskCommentResp, *Response, error)
DeleteTaskComment 该接口用于通过评论ID删除评论
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/delete
func (*TaskService) DeleteTaskFollower ¶
func (r *TaskService) DeleteTaskFollower(ctx context.Context, request *DeleteTaskFollowerReq, options ...MethodOptionFunc) (*DeleteTaskFollowerResp, *Response, error)
DeleteTaskFollower 该接口用于删除任务关注者
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-follower/delete
func (*TaskService) DeleteTaskReminder ¶
func (r *TaskService) DeleteTaskReminder(ctx context.Context, request *DeleteTaskReminderReq, options ...MethodOptionFunc) (*DeleteTaskReminderResp, *Response, error)
DeleteTaskReminder 删除提醒时间,返回结果状态
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-reminder/delete
func (*TaskService) GetTask ¶
func (r *TaskService) GetTask(ctx context.Context, request *GetTaskReq, options ...MethodOptionFunc) (*GetTaskResp, *Response, error)
GetTask 该接口用于获取任务详情,包括任务标题、描述、时间、来源等信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/get
func (*TaskService) GetTaskCollaboratorList ¶
func (r *TaskService) GetTaskCollaboratorList(ctx context.Context, request *GetTaskCollaboratorListReq, options ...MethodOptionFunc) (*GetTaskCollaboratorListResp, *Response, error)
GetTaskCollaboratorList 该接口用于查询任务执行者列表,支持分页,最大值为50
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-collaborator/list
func (*TaskService) GetTaskComment ¶
func (r *TaskService) GetTaskComment(ctx context.Context, request *GetTaskCommentReq, options ...MethodOptionFunc) (*GetTaskCommentResp, *Response, error)
GetTaskComment 该接口用于通过评论ID获取评论详情
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/get
func (*TaskService) GetTaskFollowerList ¶
func (r *TaskService) GetTaskFollowerList(ctx context.Context, request *GetTaskFollowerListReq, options ...MethodOptionFunc) (*GetTaskFollowerListResp, *Response, error)
GetTaskFollowerList 该接口用于查询任务关注者列表,支持分页,最大值为50
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-follower/list
func (*TaskService) GetTaskList ¶
func (r *TaskService) GetTaskList(ctx context.Context, request *GetTaskListReq, options ...MethodOptionFunc) (*GetTaskListResp, *Response, error)
GetTaskList 该接口通过解析 header 中的 user_access_token 获取与该用户相关的所有任务
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/list
func (*TaskService) GetTaskReminderList ¶
func (r *TaskService) GetTaskReminderList(ctx context.Context, request *GetTaskReminderListReq, options ...MethodOptionFunc) (*GetTaskReminderListResp, *Response, error)
GetTaskReminderList 返回提醒时间列表,支持分页,最大值为50
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-reminder/list
func (*TaskService) UncompleteTask ¶
func (r *TaskService) UncompleteTask(ctx context.Context, request *UncompleteTaskReq, options ...MethodOptionFunc) (*UncompleteTaskResp, *Response, error)
UncompleteTask 该接口用于取消任务的已完成状态
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/uncomplete
func (*TaskService) UpdateTask ¶
func (r *TaskService) UpdateTask(ctx context.Context, request *UpdateTaskReq, options ...MethodOptionFunc) (*UpdateTaskResp, *Response, error)
UpdateTask 该接口用于修改任务的标题、描述、时间、来源等相关信息
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task/patch
func (*TaskService) UpdateTaskComment ¶
func (r *TaskService) UpdateTaskComment(ctx context.Context, request *UpdateTaskCommentReq, options ...MethodOptionFunc) (*UpdateTaskCommentResp, *Response, error)
UpdateTaskComment 该接口用于更新评论内容
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/task-v1/task-comment/update
type TenantService ¶
type TenantService struct {
// contains filtered or unexported fields
}
func (*TenantService) GetTenant ¶
func (r *TenantService) GetTenant(ctx context.Context, request *GetTenantReq, options ...MethodOptionFunc) (*GetTenantResp, *Response, error)
GetTenant 获取企业名称、企业编号等企业信息
如果ISV应用是企业创建时默认安装,并且180天内企业未打开或使用过此应用,则无法通过此接口获取到企业信息。
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/tenant-v2/tenant/query
type TerminateHireApplicationReq ¶
type TerminateHireApplicationReq struct { ApplicationID string `path:"application_id" json:"-"` // 投递ID, 示例值:"12312312312" TerminationType int64 `json:"termination_type,omitempty"` // 终止原因的类型, 示例值:1, 可选值有: `1`:我们拒绝了候选人, `22`:候选人拒绝了我们, `27`:其他 TerminationReasonList []string `json:"termination_reason_list,omitempty"` // 终止的具体原因的id列表 TerminationReasonNote *string `json:"termination_reason_note,omitempty"` // 终止备注, 示例值:"不符合期望" }
TerminateHireApplicationReq ...
type TerminateHireApplicationResp ¶
type TerminateHireApplicationResp struct{}
TerminateHireApplicationResp ...
type TokenExpire ¶
TokenExpire ...
type TransferApprovalInstanceReq ¶
type TransferApprovalInstanceReq struct { ApprovalCode string `json:"approval_code,omitempty"` // 审批定义 Code InstanceCode string `json:"instance_code,omitempty"` // 审批实例 Code UserID string `json:"user_id,omitempty"` // 操作用户 TaskID string `json:"task_id,omitempty"` // 任务 ID Comment *string `json:"comment,omitempty"` // 意见 TransferUserID string `json:"transfer_user_id,omitempty"` // 被转交人唯一 ID OpenID *string `json:"open_id,omitempty"` // 用户open_id <br>如果没有user_id,必须要有open_id TransferOpenID *string `json:"transfer_open_id,omitempty"` // 被转交人open_id <br>如果没有transfer_user_id,必须要有transfer_open_id }
TransferApprovalInstanceReq ...
type TransferApprovalInstanceResp ¶
type TransferApprovalInstanceResp struct{}
TransferApprovalInstanceResp ...
type TransferDriveMemberPermissionReq ¶
type TransferDriveMemberPermissionReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "bitable" or "file" Owner *TransferDriveMemberPermissionReqOwner `json:"owner,omitempty"` // 要转移到的新的文档所有者 RemoveOldOwner *bool `json:"remove_old_owner,omitempty"` // true 为转移后删除旧 owner 的权限,默认为false CancelNotify *bool `json:"cancel_notify,omitempty"` // true为不通知新owner,默认为false }
TransferDriveMemberPermissionReq ...
type TransferDriveMemberPermissionReqOwner ¶
type TransferDriveMemberPermissionReqOwner struct { MemberType string `json:"member_type,omitempty"` // 用户类型,可选 **email、openid、userid、unionid** MemberID string `json:"member_id,omitempty"` // 用户类型下的值,获取方式见 [如何获得 User ID、Open ID 和 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get) }
TransferDriveMemberPermissionReqOwner ...
type TransferDriveMemberPermissionResp ¶
type TransferDriveMemberPermissionResp struct { IsSuccess bool `json:"is_success,omitempty"` // 请求是否成功 Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "file" Token string `json:"token,omitempty"` // 文档的 token Owner *TransferDriveMemberPermissionRespOwner `json:"owner,omitempty"` // 文档当前所有者 }
TransferDriveMemberPermissionResp ...
type TransferDriveMemberPermissionRespOwner ¶
type TransferDriveMemberPermissionRespOwner struct { MemberType string `json:"member_type,omitempty"` // 用户类型,有 **email、openid、userid、unionid** MemberID string `json:"member_id,omitempty"` // 用户类型下的值 }
TransferDriveMemberPermissionRespOwner ...
type TranslateTextReq ¶
type TranslateTextReq struct { SourceLanguage string `json:"source_language,omitempty"` // 源语言, 示例值:"zh" Text string `json:"text,omitempty"` // 源文本, 示例值:"尝试使用一下飞书吧" TargetLanguage string `json:"target_language,omitempty"` // 目标语言, 示例值:"en" Glossary *TranslateTextReqGlossary `json:"glossary,omitempty"` // 请求级术语表,携带术语,仅在本次翻译中生效(最多能携带 128个术语词) }
TranslateTextReq ...
type TranslateTextReqGlossary ¶
type TranslateTextReqGlossary struct { From string `json:"from,omitempty"` // 原文, 示例值:"飞书" To string `json:"to,omitempty"` // 译文, 示例值:"Lark" }
TranslateTextReqGlossary ...
type TranslateTextResp ¶
type TranslateTextResp struct {
Text string `json:"text,omitempty"` // 翻译后的文本
}
TranslateTextResp ...
type UnbindContactUnitDepartmentReq ¶
type UnbindContactUnitDepartmentReq struct { UnitID string `json:"unit_id,omitempty"` // 单位ID, 示例值:"BU121" DepartmentID string `json:"department_id,omitempty"` // 预解除关联的部门ID, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" DepartmentIDType *DepartmentIDType `json:"department_id_type,omitempty"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` }
UnbindContactUnitDepartmentReq ...
type UnbindContactUnitDepartmentResp ¶
type UnbindContactUnitDepartmentResp struct{}
UnbindContactUnitDepartmentResp ...
type UncompleteTaskReq ¶
type UncompleteTaskReq struct {
TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"bb54ab99-d360-434f-bcaa-a4cc4c05840e"
}
UncompleteTaskReq ...
type UnmergeSheetCellReq ¶
type UnmergeSheetCellReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Range string `json:"range,omitempty"` // 查询范围,包含 sheetId 与单元格范围两部分,目前支持四种索引方式,详见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) }
UnmergeSheetCellReq ...
type UnmergeSheetCellResp ¶
type UnmergeSheetCellResp struct {
SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token
}
UnmergeSheetCellResp ...
type UnsubscribeApprovalSubscriptionReq ¶
type UnsubscribeApprovalSubscriptionReq struct {
ApprovalCode string `json:"approval_code,omitempty"` // 审批定义唯一标识
}
UnsubscribeApprovalSubscriptionReq ...
type UnsubscribeApprovalSubscriptionResp ¶
type UnsubscribeApprovalSubscriptionResp struct{}
UnsubscribeApprovalSubscriptionResp ...
type UnsubscribeCalendarReq ¶
type UnsubscribeCalendarReq struct {
CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn"
}
UnsubscribeCalendarReq ...
type UnsubscribeHelpdeskEventReq ¶
type UnsubscribeHelpdeskEventReq struct {
Events []*UnsubscribeHelpdeskEventReqEvent `json:"events,omitempty"` // event list to unsubscribe
}
UnsubscribeHelpdeskEventReq ...
type UnsubscribeHelpdeskEventReqEvent ¶
type UnsubscribeHelpdeskEventReqEvent struct { Type string `json:"type,omitempty"` // 事件类型, 示例值:"helpdesk.ticket_message" Subtype string `json:"subtype,omitempty"` // 事件子类型, 示例值:"ticket_message.created_v1" }
UnsubscribeHelpdeskEventReqEvent ...
type UnsubscribeHelpdeskEventResp ¶
type UnsubscribeHelpdeskEventResp struct{}
UnsubscribeHelpdeskEventResp ...
type UpdateACSUserFaceReq ¶
type UpdateACSUserFaceReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `path:"user_id" json:"-"` // 用户 ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Files io.Reader `json:"files,omitempty"` // 人脸图片内容, 示例值:jpg图片 FileType FileType `json:"file_type,omitempty"` // 文件类型,可选的类型有jpg,png, 示例值:"jpg" FileName string `json:"file_name,omitempty"` // 带后缀的文件名, 示例值:"efeqz12f.jpg" }
UpdateACSUserFaceReq ...
type UpdateACSUserReq ¶
type UpdateACSUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID UserID string `path:"user_id" json:"-"` // 用户 ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Feature *UpdateACSUserReqFeature `json:"feature,omitempty"` // 用户特征 }
UpdateACSUserReq ...
type UpdateACSUserReqFeature ¶
type UpdateACSUserReqFeature struct {
Card *int64 `json:"card,omitempty"` // 卡号, 示例值:123456
}
UpdateACSUserReqFeature ...
type UpdateApplicationAppVisibilityReq ¶
type UpdateApplicationAppVisibilityReq struct { AppID string `json:"app_id,omitempty"` // 目标应用的 ID DelUsers *UpdateApplicationAppVisibilityReqDelUsers `json:"del_users,omitempty"` // 删除的用户列表,元素个数不超过 500,**先增加后删除** AddUsers *UpdateApplicationAppVisibilityReqAddUsers `json:"add_users,omitempty"` // 增加的用户列表,元素个数不超过500,**先增加后删除** IsVisiableToAll *int64 `json:"is_visiable_to_all,omitempty"` // 是否全员可见,0:否;1:是;不填:继续当前状态不改变 AddDepartments []string `json:"add_departments,omitempty"` // 添加的部门列表,元素个数不超过 500,**先增加后删除** DelDepartments []string `json:"del_departments,omitempty"` // 删除的部门列表,元素个数不超过 500,**先增加后删除** }
UpdateApplicationAppVisibilityReq ...
type UpdateApplicationAppVisibilityReqAddUsers ¶
type UpdateApplicationAppVisibilityReqAddUsers struct { OpenID *string `json:"open_id,omitempty"` // 与 user_id 至少给其中之一,user_id 优先于 open_id UserID *string `json:"user_id,omitempty"` }
UpdateApplicationAppVisibilityReqAddUsers ...
type UpdateApplicationAppVisibilityReqDelUsers ¶
type UpdateApplicationAppVisibilityReqDelUsers struct { OpenID *string `json:"open_id,omitempty"` // 与 user_id 至少给其中之一,user_id 优先于 open_id UserID *string `json:"user_id,omitempty"` }
UpdateApplicationAppVisibilityReqDelUsers ...
type UpdateApplicationAppVisibilityResp ¶
type UpdateApplicationAppVisibilityResp struct{}
UpdateApplicationAppVisibilityResp ...
type UpdateApplicationReq ¶
type UpdateApplicationReq struct { Lang string `query:"lang" json:"-"` // 指定返回的语言, 示例值:"zh_cn", 可选值有: `zh_cn`:中文, `en_us`:英文, `ja_jp`:日文 AppID string `path:"app_id" json:"-"` // 应用的 id, 示例值:"cli_9b445f5258795107" CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述, 长度范围:`1` ~ `3` }
UpdateApplicationReq ...
type UpdateApplicationVersionReq ¶
type UpdateApplicationVersionReq struct { UserIDType IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID OperatorID string `query:"operator_id" json:"-"` // 操作者的 open_id, 示例值:"ou_4065981088f8ef67a504ba8bd6b24d85" RejectReason *string `query:"reject_reason" json:"-"` // 当修改版本状态为被驳回时,这一项必填, 示例值:"拒绝理由" AppID string `path:"app_id" json:"-"` // 应用 id, 示例值:"cli_9f3ca975326b501b" VersionID string `path:"version_id" json:"-"` // 唯一标识应用版本的 ID, 示例值:"oav_d317f090b7258ad0372aa53963cda70d" Status *int64 `json:"status,omitempty"` // 版本状态, 示例值:1, 可选值有: `0`:未知状态, `1`:审核通过, `2`:审核拒绝, `3`:审核中, `4`:未提交审核 }
UpdateApplicationVersionReq ...
type UpdateApplicationVersionResp ¶
type UpdateApplicationVersionResp struct{}
UpdateApplicationVersionResp ...
type UpdateApprovalMessageReq ¶
type UpdateApprovalMessageReq struct { MessageID string `json:"message_id,omitempty"` // 卡片 id,发送卡片时会拿到 Status string `json:"status,omitempty"` // 状态类型,用于更新第一个action文字内容,枚举:<br> APPROVED:-已同意<br>REJECTED:-已拒绝<br>CANCELLED:-已撤回<br>FORWARDED:-已转交<br>ROLLBACK:-已回退<br>ADD:-已加签<br>DELETED:-已删除<br>PROCESSED:-已处理 }
UpdateApprovalMessageReq ...
type UpdateApprovalMessageResp ¶
type UpdateApprovalMessageResp struct {
MessageID string `json:"message_id,omitempty"` // 消息 id ,用于卡片更新、撤回
}
UpdateApprovalMessageResp ...
type UpdateAttendanceRemedyApprovalReq ¶
type UpdateAttendanceRemedyApprovalReq struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例 ID ApprovalType string `json:"approval_type,omitempty"` // 审批类型,leave:请假,out:外出,overtime:加班,trip:出差,remedy:补卡 Status int64 `json:"status,omitempty"` // 审批状态,1:不通过,2:通过,4:撤销 }
UpdateAttendanceRemedyApprovalReq ...
type UpdateAttendanceRemedyApprovalResp ¶
type UpdateAttendanceRemedyApprovalResp struct {
ApprovalInfo *UpdateAttendanceRemedyApprovalRespApprovalInfo `json:"approval_info,omitempty"`
}
UpdateAttendanceRemedyApprovalResp ...
type UpdateAttendanceRemedyApprovalRespApprovalInfo ¶
type UpdateAttendanceRemedyApprovalRespApprovalInfo struct { ApprovalID string `json:"approval_id,omitempty"` // 审批实例 ID ApprovalType string `json:"approval_type,omitempty"` // 审批类型,leave:请假,out:外出,overtime:加班,trip:出差,remedy:补卡 Status int64 `json:"status,omitempty"` // 审批状态,1:不通过,2:通过,4:已撤销 }
UpdateAttendanceRemedyApprovalRespApprovalInfo ...
type UpdateAttendanceUserSettingReq ¶
type UpdateAttendanceUserSettingReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 请求体和响应体中的 user_id 的员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserSetting *UpdateAttendanceUserSettingReqUserSetting `json:"user_setting,omitempty"` // 用户设置 }
UpdateAttendanceUserSettingReq ...
type UpdateAttendanceUserSettingReqUserSetting ¶
type UpdateAttendanceUserSettingReqUserSetting struct { UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"abd754f7" FaceKey string `json:"face_key,omitempty"` // 人脸照片文件 ID,获取方式:[文件上传](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/file/upload), 示例值:"xxxxxb306842b1c189bc5212eefxxxxx" FaceKeyUpdateTime *string `json:"face_key_update_time,omitempty"` // 人脸照片更新时间,精确到秒的时间戳, 示例值:"1625681917" }
UpdateAttendanceUserSettingReqUserSetting ...
type UpdateAttendanceUserSettingResp ¶
type UpdateAttendanceUserSettingResp struct {
UserSetting *UpdateAttendanceUserSettingRespUserSetting `json:"user_setting,omitempty"` // 用户设置
}
UpdateAttendanceUserSettingResp ...
type UpdateAttendanceUserSettingRespUserSetting ¶
type UpdateAttendanceUserSettingRespUserSetting struct { UserID string `json:"user_id,omitempty"` // 用户 ID FaceKey string `json:"face_key,omitempty"` // 人脸照片文件 ID,获取方式:[文件上传](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/file/upload) FaceKeyUpdateTime string `json:"face_key_update_time,omitempty"` // 人脸照片更新时间,精确到秒的时间戳 }
UpdateAttendanceUserSettingRespUserSetting ...
type UpdateAttendanceUserStatsViewReq ¶
type UpdateAttendanceUserStatsViewReq struct { EmployeeType EmployeeType `query:"employee_type" json:"-"` // 员工工号类型, 示例值:"employee_id", 可选值有: `employee_id`:员工 employee ID,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的用户 ID, `employee_no`:员工工号,即飞书管理后台 > 组织架构 > 成员与部门 > 成员详情中的工号 UserStatsViewID string `path:"user_stats_view_id" json:"-"` // 用户视图 ID,获取方式:1)[查询统计设置](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_stats_view/query), 示例值:"TmpZNU5qTTJORFF6T1RnNU5UTTNOakV6TWl0dGIyNTBhQT09" View *UpdateAttendanceUserStatsViewReqView `json:"view,omitempty"` // 统计设置 }
UpdateAttendanceUserStatsViewReq ...
type UpdateAttendanceUserStatsViewReqView ¶
type UpdateAttendanceUserStatsViewReqView struct { ViewID string `json:"view_id,omitempty"` // 视图 ID, 示例值:"TmpZNU5qTTJORFF6T1RnNU5UTTNOakV6TWl0dGIyNTBhQT09" StatsType string `json:"stats_type,omitempty"` // 视图类型, 示例值:"month", 可选值有: `daily`:日度统计, `month`:月度统计 UserID string `json:"user_id,omitempty"` // 用户 ID, 示例值:"ec8ddg56" Items []*UpdateAttendanceUserStatsViewReqViewItem `json:"items,omitempty"` // 用户设置字段 }
UpdateAttendanceUserStatsViewReqView ...
type UpdateAttendanceUserStatsViewReqViewItem ¶
type UpdateAttendanceUserStatsViewReqViewItem struct { Code string `json:"code,omitempty"` // 标题编号, 示例值:"522" ChildItems []*UpdateAttendanceUserStatsViewReqViewItemChildItem `json:"child_items,omitempty"` // 子标题 }
UpdateAttendanceUserStatsViewReqViewItem ...
type UpdateAttendanceUserStatsViewReqViewItemChildItem ¶
type UpdateAttendanceUserStatsViewReqViewItemChildItem struct { Code string `json:"code,omitempty"` // 子标题编号, 示例值:"50101" Value string `json:"value,omitempty"` // 开关字段,0:关闭,1:开启(非开关字段场景:code = 51501 可选值为1-6), 示例值:"0" }
UpdateAttendanceUserStatsViewReqViewItemChildItem ...
type UpdateAttendanceUserStatsViewResp ¶
type UpdateAttendanceUserStatsViewResp struct {
View *UpdateAttendanceUserStatsViewRespView `json:"view,omitempty"` // 视图
}
UpdateAttendanceUserStatsViewResp ...
type UpdateAttendanceUserStatsViewRespView ¶
type UpdateAttendanceUserStatsViewRespView struct { ViewID string `json:"view_id,omitempty"` // 视图 ID StatsType string `json:"stats_type,omitempty"` // 视图类型, 可选值有: `daily`:日度统计, `month`:月度统计 UserID string `json:"user_id,omitempty"` // 用户 ID Items []*UpdateAttendanceUserStatsViewRespViewItem `json:"items,omitempty"` // 用户设置字段 }
UpdateAttendanceUserStatsViewRespView ...
type UpdateAttendanceUserStatsViewRespViewItem ¶
type UpdateAttendanceUserStatsViewRespViewItem struct { Code string `json:"code,omitempty"` // 标题编号 Title string `json:"title,omitempty"` // 标题名称 ChildItems []*UpdateAttendanceUserStatsViewRespViewItemChildItem `json:"child_items,omitempty"` // 子标题 }
UpdateAttendanceUserStatsViewRespViewItem ...
type UpdateAttendanceUserStatsViewRespViewItemChildItem ¶
type UpdateAttendanceUserStatsViewRespViewItemChildItem struct { Code string `json:"code,omitempty"` // 子标题编号 Value string `json:"value,omitempty"` // 开关字段,0:关闭,1:开启(非开关字段场景:code = 51501 可选值为1-6) Title string `json:"title,omitempty"` // 子标题名称 ColumnType int64 `json:"column_type,omitempty"` // 列类型 ReadOnly bool `json:"read_only,omitempty"` // 是否只读 MinValue string `json:"min_value,omitempty"` // 最小值 MaxValue string `json:"max_value,omitempty"` // 最大值 }
UpdateAttendanceUserStatsViewRespViewItemChildItem ...
type UpdateBitableFieldReq ¶
type UpdateBitableFieldReq struct { AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" FieldID string `path:"field_id" json:"-"` // field id, 示例值:"fldPTb0U2y" FieldName string `json:"field_name,omitempty"` // 多维表格字段名, 示例值:"多行文本" Type int64 `json:"type,omitempty"` // 多维表格字段类型, 示例值:1, 可选值有: `1`:多行文本, `2`:数字, `3`:单选, `4`:多选, `5`:日期, `7`:复选框, `11`:人员, `15`:超链接, `17`:附件, `18`:关联, `20`:公式, `21`:双向关联, `1001`:创建时间, `1002`:最后更新时间, `1003`:创建人, `1004`:修改人 Property *UpdateBitableFieldReqProperty `json:"property,omitempty"` // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide) }
UpdateBitableFieldReq ...
type UpdateBitableFieldReqProperty ¶
type UpdateBitableFieldReqProperty struct { Options []*UpdateBitableFieldReqPropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 Formatter *string `json:"formatter,omitempty"` // 数字、公式字段的显示格式, 示例值:"0" DateFormatter *string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式, 示例值:"日期格式" AutoFill *bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间, 示例值:false Multiple *bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录, 示例值:false TableID *string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的id, 示例值:"tblsRc9GRRXKqhvW" TableName *string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字, 示例值:""table2"" BackFieldName *string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字, 示例值:""table1-双向关联"" }
UpdateBitableFieldReqProperty ...
type UpdateBitableFieldReqPropertyOption ¶
type UpdateBitableFieldReqPropertyOption struct { Name *string `json:"name,omitempty"` // 选项名, 示例值:"红色" ID *string `json:"id,omitempty"` // 选项id, 示例值:"optKl35lnG" Color *int64 `json:"color,omitempty"` // 选项颜色, 示例值:0, 取值范围:`0` ~ `54` }
UpdateBitableFieldReqPropertyOption ...
type UpdateBitableFieldResp ¶
type UpdateBitableFieldResp struct {
Field *UpdateBitableFieldRespField `json:"field,omitempty"` // 字段
}
UpdateBitableFieldResp ...
type UpdateBitableFieldRespField ¶
type UpdateBitableFieldRespField struct { FieldID string `json:"field_id,omitempty"` // 多维表格字段 id FieldName string `json:"field_name,omitempty"` // 多维表格字段名 Type int64 `json:"type,omitempty"` // 多维表格字段类型, 可选值有: `1`:多行文本, `2`:数字, `3`:单选, `4`:多选, `5`:日期, `7`:复选框, `11`:人员, `15`:超链接, `17`:附件, `18`:关联, `20`:公式, `21`:双向关联, `1001`:创建时间, `1002`:最后更新时间, `1003`:创建人, `1004`:修改人 Property *UpdateBitableFieldRespFieldProperty `json:"property,omitempty"` // 字段属性,具体参考:[字段编辑指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table-field/guide) }
UpdateBitableFieldRespField ...
type UpdateBitableFieldRespFieldProperty ¶
type UpdateBitableFieldRespFieldProperty struct { Options []*UpdateBitableFieldRespFieldPropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 Formatter string `json:"formatter,omitempty"` // 数字、公式字段的显示格式 DateFormatter string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式 AutoFill bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间 Multiple bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录 TableID string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的id TableName string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字 BackFieldName string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字 }
UpdateBitableFieldRespFieldProperty ...
type UpdateBitableFieldRespFieldPropertyOption ¶
type UpdateBitableFieldRespFieldPropertyOption struct { Name string `json:"name,omitempty"` // 选项名 ID string `json:"id,omitempty"` // 选项id Color int64 `json:"color,omitempty"` // 选项颜色 }
UpdateBitableFieldRespFieldPropertyOption ...
type UpdateBitableRecordReq ¶
type UpdateBitableRecordReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID AppToken string `path:"app_token" json:"-"` // bitable app token, 示例值:"appbcbWCzen6D8dezhoCH2RpMAh" TableID string `path:"table_id" json:"-"` // table id, 示例值:"tblsRc9GRRXKqhvW" RecordID string `path:"record_id" json:"-"` // 单条记录的 id, 示例值:"recqwIwhc6" Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
UpdateBitableRecordReq ...
type UpdateBitableRecordResp ¶
type UpdateBitableRecordResp struct {
Record *UpdateBitableRecordRespRecord `json:"record,omitempty"` // {, "fields": {, "人力评估": 2,, "任务执行人": [, {, "id": "ou_debc524b2d8cb187704df652b43d29de", }, ],, "任务描述": "多渠道收集用户反馈",, "对应 OKR": [, "recqwIwhc6",, "recOuEJMvN", ],, "截止日期": 1609516800000,, "是否完成": true,, "状态": "已结束",, "相关部门": [, "销售",, "客服", ], },}
}
UpdateBitableRecordResp ...
type UpdateBitableRecordRespRecord ¶
type UpdateBitableRecordRespRecord struct { RecordID string `json:"record_id,omitempty"` // 记录 id Fields map[string]interface{} `json:"fields,omitempty"` // 记录字段 }
UpdateBitableRecordRespRecord ...
type UpdateCalendarEventReq ¶
type UpdateCalendarEventReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" EventID string `path:"event_id" json:"-"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"00592a0e-7edf-4678-bc9d-1b77383ef08e_0" Summary *string `json:"summary,omitempty"` // 日程标题, 示例值:"日程标题", 最大长度:`1000` 字符 Description *string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失, 示例值:"日程描述", 最大长度:`40960` 字符 NeedNotification *bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true, 示例值:false StartTime *UpdateCalendarEventReqStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *UpdateCalendarEventReqEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *UpdateCalendarEventReqVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility *string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 示例值:"default", 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility *string `json:"attendee_ability,omitempty"` // 参与人权限, 示例值:"can_see_others", 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus *string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 示例值:"busy", 可选值有: `busy`:忙碌, `free`:空闲 Location *UpdateCalendarEventReqLocation `json:"location,omitempty"` // 日程地点 Color *int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。, 示例值:-1 Reminders []*UpdateCalendarEventReqReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence *string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。, 示例值:"FREQ=DAILY;INTERVAL=1", 最大长度:`2000` 字符 Schemas []*UpdateCalendarEventReqSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
UpdateCalendarEventReq ...
type UpdateCalendarEventReqEndTime ¶
type UpdateCalendarEventReqEndTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
UpdateCalendarEventReqEndTime ...
type UpdateCalendarEventReqLocation ¶
type UpdateCalendarEventReqLocation struct { Name *string `json:"name,omitempty"` // 地点名称, 示例值:"地点名称", 长度范围:`1` ~ `512` 字符 Address *string `json:"address,omitempty"` // 地点地址, 示例值:"地点地址", 长度范围:`1` ~ `255` 字符 Latitude *float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准, 示例值:1.100000023841858 Longitude *float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准, 示例值:2.200000047683716 }
UpdateCalendarEventReqLocation ...
type UpdateCalendarEventReqReminder ¶
type UpdateCalendarEventReqReminder struct {
Minutes *int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效, 示例值:5, 取值范围:`-20160` ~ `20160`
}
UpdateCalendarEventReqReminder ...
type UpdateCalendarEventReqSchema ¶
type UpdateCalendarEventReqSchema struct { UiName *string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域, 示例值:"ForwardIcon" UiStatus *string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 示例值:"hide", 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink *string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。**, 示例值:"https://applink.feishu.cn/client/calendar/event/detail?calendarId=xxxxxx&key=xxxxxx&originalTime=xxxxxx&startTime=xxxxxx", 最大长度:`2000` 字符 }
UpdateCalendarEventReqSchema ...
type UpdateCalendarEventReqStartTime ¶
type UpdateCalendarEventReqStartTime struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定, 示例值:"2018-09-01" Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区), 示例值:"1602504000" Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai, 示例值:"Asia/Shanghai" }
UpdateCalendarEventReqStartTime ...
type UpdateCalendarEventReqVchat ¶
type UpdateCalendarEventReqVchat struct { VCType *string `json:"vc_type,omitempty"` // 视频会议类型, 示例值:"third_party", 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType *string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 示例值:"vc", 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description *string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案, 示例值:"发起视频会议", 长度范围:`0` ~ `500` 字符 MeetingURL *string `json:"meeting_url,omitempty"` // 视频会议URL, 示例值:"https://example.com", 长度范围:`1` ~ `2000` 字符 }
UpdateCalendarEventReqVchat ...
type UpdateCalendarEventResp ¶
type UpdateCalendarEventResp struct {
Event *UpdateCalendarEventRespEvent `json:"event,omitempty"` // 更新后的日程实体
}
UpdateCalendarEventResp ...
type UpdateCalendarEventRespEvent ¶
type UpdateCalendarEventRespEvent struct { EventID string `json:"event_id,omitempty"` // 日程ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) OrganizerCalendarID string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日程标题 Description string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 NeedNotification bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true StartTime *UpdateCalendarEventRespEventStartTime `json:"start_time,omitempty"` // 日程开始时间 EndTime *UpdateCalendarEventRespEventEndTime `json:"end_time,omitempty"` // 日程结束时间 Vchat *UpdateCalendarEventRespEventVchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `default`:默认权限,跟随日历权限,默认仅向他人显示是否“忙碌”, `public`:公开,显示日程详情, `private`:私密,仅自己可见详情 AttendeeAbility string `json:"attendee_ability,omitempty"` // 参与人权限, 可选值有: `none`:无法编辑日程、无法邀请其它参与人、无法查看参与人列表, `can_see_others`:无法编辑日程、无法邀请其它参与人、可以查看参与人列表, `can_invite_others`:无法编辑日程、可以邀请其它参与人、可以查看参与人列表, `can_modify_event`:可以编辑日程、可以邀请其它参与人、可以查看参与人列表 FreeBusyStatus string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效, 可选值有: `busy`:忙碌, `free`:空闲 Location *UpdateCalendarEventRespEventLocation `json:"location,omitempty"` // 日程地点 Color int64 `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*UpdateCalendarEventRespEventReminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);, 不支持COUNT和UNTIL同时出现;, 预定会议室重复日程长度不得超过两年。 Status string `json:"status,omitempty"` // 日程状态, 可选值有: `tentative`:未回应, `confirmed`:已确认, `cancelled`:日程已取消 IsException bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventID string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id Schemas []*UpdateCalendarEventRespEventSchema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 }
UpdateCalendarEventRespEvent ...
type UpdateCalendarEventRespEventEndTime ¶
type UpdateCalendarEventRespEventEndTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
UpdateCalendarEventRespEventEndTime ...
type UpdateCalendarEventRespEventLocation ¶
type UpdateCalendarEventRespEventLocation struct { Name string `json:"name,omitempty"` // 地点名称 Address string `json:"address,omitempty"` // 地点地址 Latitude float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
UpdateCalendarEventRespEventLocation ...
type UpdateCalendarEventRespEventReminder ¶
type UpdateCalendarEventRespEventReminder struct {
Minutes int64 `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒,新建或更新日程时传入该字段,仅对当前身份生效
}
UpdateCalendarEventRespEventReminder ...
type UpdateCalendarEventRespEventSchema ¶
type UpdateCalendarEventRespEventSchema struct { UiName string `json:"ui_name,omitempty"` // UI名称。取值范围如下: , ForwardIcon: 日程转发按钮 , MeetingChatIcon: 会议群聊按钮 , MeetingMinutesIcon: 会议纪要按钮 , MeetingVideo: 视频会议区域 , RSVP: 接受/拒绝/待定区域 , Attendee: 参与者区域 , OrganizerOrCreator: 组织者/创建者区域 UiStatus string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide**, 可选值有: `hide`:隐藏显示, `readonly`:只读, `editable`:可编辑, `unknown`:未知UI项自定义状态,仅用于读取时兼容 AppLink string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
UpdateCalendarEventRespEventSchema ...
type UpdateCalendarEventRespEventStartTime ¶
type UpdateCalendarEventRespEventStartTime struct { Date string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
UpdateCalendarEventRespEventStartTime ...
type UpdateCalendarEventRespEventVchat ¶
type UpdateCalendarEventRespEventVchat struct { VCType string `json:"vc_type,omitempty"` // 视频会议类型, 可选值有: `vc`:飞书视频会议,取该类型时,其他字段无效。, `third_party`:第三方链接视频会议,取该类型时,icon_type、description、meeting_url字段生效。, `no_meeting`:无视频会议,取该类型时,其他字段无效。, `lark_live`:飞书直播,内部类型,飞书客户端使用,API不支持创建,只读。, `unknown`:未知类型,做兼容使用,飞书客户端使用,API不支持创建,只读。 IconType string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。, 可选值有: `vc`:飞书视频会议icon, `live`:直播视频会议icon, `default`:默认icon Description string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingURL string `json:"meeting_url,omitempty"` // 视频会议URL }
UpdateCalendarEventRespEventVchat ...
type UpdateCalendarReq ¶
type UpdateCalendarReq struct { CalendarID string `path:"calendar_id" json:"-"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c), 示例值:"feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn" Summary *string `json:"summary,omitempty"` // 日历标题, 示例值:"测试日历", 长度范围:`1` ~ `255` 字符 Description *string `json:"description,omitempty"` // 日历描述, 示例值:"使用开放接口创建日历", 最大长度:`255` 字符 Permissions *CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 示例值:"private", 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color *int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效, 示例值:-1 SummaryAlias *string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效, 示例值:"日历备注名", 最大长度:`255` 字符 }
UpdateCalendarReq ...
type UpdateCalendarResp ¶
type UpdateCalendarResp struct {
Calendar *UpdateCalendarRespCalendar `json:"calendar,omitempty"` // 更新后的日历实体
}
UpdateCalendarResp ...
type UpdateCalendarRespCalendar ¶
type UpdateCalendarRespCalendar struct { CalendarID string `json:"calendar_id,omitempty"` // 日历ID。参见[日历相关ID说明](https://open.feishu.cn/document/ukTMukTMukTM/uETM3YjLxEzN24SMxcjN#f066a96c) Summary string `json:"summary,omitempty"` // 日历标题 Description string `json:"description,omitempty"` // 日历描述 Permissions CalendarPermission `json:"permissions,omitempty"` // 日历公开范围, 可选值有: `private`:私密, `show_only_free_busy`:仅展示忙闲信息, `public`:他人可查看日程详情 Color int64 `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type CalendarType `json:"type,omitempty"` // 日历类型, 可选值有: `unknown`:未知类型, `primary`:用户或应用的主日历, `shared`:由用户或应用创建的共享日历, `google`:用户绑定的谷歌日历, `resource`:会议室日历, `exchange`:用户绑定的Exchange日历 SummaryAlias string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role CalendarRole `json:"role,omitempty"` // 当前身份对于该日历的访问权限, 可选值有: `unknown`:未知权限, `free_busy_reader`:游客,只能看到忙碌/空闲信息, `reader`:订阅者,查看所有日程详情, `writer`:编辑者,创建及修改日程, `owner`:管理员,管理日历及共享设置 }
UpdateCalendarRespCalendar ...
type UpdateChatAnnouncementReq ¶
type UpdateChatAnnouncementReq struct { ChatID string `path:"chat_id" json:"-"` // 待修改公告的群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_5ad11d72b830411d72b836c20" Revision string `json:"revision,omitempty"` // 文档当前版本号 int64 类型,get 接口会返回, 示例值:"12" Requests []string `json:"requests,omitempty"` // 修改文档请求的序列化字段, 示例值:xxx }
UpdateChatAnnouncementReq ...
type UpdateChatAnnouncementResp ¶
type UpdateChatAnnouncementResp struct{}
UpdateChatAnnouncementResp ...
type UpdateChatModerationReq ¶
type UpdateChatModerationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值: "open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`,字段权限要求: 获取用户 user ID ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值: "oc_a0553eda9014c201e6969b478895c230" ModerationSetting *string `json:"moderation_setting,omitempty"` // 群发言模式(all_members/only_owner/moderator_list,其中 moderator_list 表示部分用户可发言的模式), 示例值: "moderator_list" ModeratorAddedList []string `json:"moderator_added_list,omitempty"` // 选择部分用户可发言模式时,添加的可发言用户列表(自动过滤不在群内的用户) ModeratorRemovedList []string `json:"moderator_removed_list,omitempty"` // 选择部分用户可发言模式时,移除的可发言用户列表(自动过滤不在群内的用户) }
UpdateChatModerationReq ...
type UpdateChatReq ¶
type UpdateChatReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ChatID string `path:"chat_id" json:"-"` // 群 ID,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), 示例值:"oc_a0553eda9014c201e6969b478895c230" Avatar *string `json:"avatar,omitempty"` // 群头像对应的 Image Key,可通过[上传图片](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create)获取(注意:上传图片的 [image_type] 需要指定为 [avatar]), 示例值:"default-avatar_44ae0ca3-e140-494b-956f-78091e348435" Name *string `json:"name,omitempty"` // 群名称, 示例值:"群聊" Description *string `json:"description,omitempty"` // 群描述, 示例值:"测试群描述" I18nNames *I18nNames `json:"i18n_names,omitempty"` // 群国际化名称 AddMemberPermission *AddMemberPermission `json:"add_member_permission,omitempty"` // 加 user/bot 入群权限(all_members/only_owner), 示例值:"all_members" AtAllPermission *AtAllPermission `json:"at_all_permission,omitempty"` // at 所有人权限(all_members/only_owner), 示例值:"all_members" EditPermission *EditPermission `json:"edit_permission,omitempty"` // 群编辑权限(all_members/only_owner), 示例值:"all_members" OwnerID *string `json:"owner_id,omitempty"` // 新群主 ID, 示例值:"4d7a3c6g" JoinMessageVisibility *MessageVisibility `json:"join_message_visibility,omitempty"` // 入群消息可见性(only_owner/all_members/not_anyone), 示例值:"only_owner" LeaveMessageVisibility *MessageVisibility `json:"leave_message_visibility,omitempty"` // 出群消息可见性(only_owner/all_members/not_anyone), 示例值:"only_owner" MembershipApproval *MembershipApproval `json:"membership_approval,omitempty"` // 加群审批(no_approval_required/approval_required), 示例值:"no_approval_required" }
UpdateChatReq ...
type UpdateContactGroupReq ¶
type UpdateContactGroupReq struct { GroupID string `path:"group_id" json:"-"` // 用户组ID, 示例值:"g187131" Name *string `json:"name,omitempty"` // 用户组的名字,企业内唯一,最大长度:100 字符, 示例值:"外包 IT 用户组" Description *string `json:"description,omitempty"` // 用户组描述信息,最大长度:500 字, 示例值:"IT 外包用户组,需要进行细粒度权限管控" }
UpdateContactGroupReq ...
type UpdateContactUnitReq ¶
type UpdateContactUnitReq struct { UnitID string `path:"unit_id" json:"-"` // 单位ID, 示例值:"BU121" Name *string `json:"name,omitempty"` // 单位的名字, 示例值:"消费者事业部" }
UpdateContactUnitReq ...
type UpdateDepartmentPatchReq ¶
type UpdateDepartmentPatchReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID string `path:"department_id" json:"-"` // 部门ID,需要与查询参数中传入的department_id_type类型保持一致。, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` Name *string `json:"name,omitempty"` // 部门名称, 示例值:"DemoName", 最小长度:`1` 字符 I18nName *UpdateDepartmentPatchReqI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称 ParentDepartmentID *string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”, 示例值:"D067" LeaderUserID *string `json:"leader_user_id,omitempty"` // 部门主管用户ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Order *string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序, 示例值:"100" UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个, 示例值:custom_unit_id CreateGroupChat *bool `json:"create_group_chat,omitempty"` // 是否创建部门群,默认不创建, 示例值:false }
UpdateDepartmentPatchReq ...
type UpdateDepartmentPatchReqI18nName ¶
type UpdateDepartmentPatchReqI18nName struct { ZhCn *string `json:"zh_cn,omitempty"` // 部门的中文名, 示例值:"Demo名称" JaJp *string `json:"ja_jp,omitempty"` // 部门的日文名, 示例值:"デモ名" EnUs *string `json:"en_us,omitempty"` // 部门的英文名, 示例值:"Demo Name" }
UpdateDepartmentPatchReqI18nName ...
type UpdateDepartmentPatchResp ¶
type UpdateDepartmentPatchResp struct {
Department *UpdateDepartmentPatchRespDepartment `json:"department,omitempty"` // 部门信息
}
UpdateDepartmentPatchResp ...
type UpdateDepartmentPatchRespDepartment ¶
type UpdateDepartmentPatchRespDepartment struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 I18nName *UpdateDepartmentPatchRespDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *UpdateDepartmentPatchRespDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
UpdateDepartmentPatchRespDepartment ...
type UpdateDepartmentPatchRespDepartmentI18nName ¶
type UpdateDepartmentPatchRespDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
UpdateDepartmentPatchRespDepartmentI18nName ...
type UpdateDepartmentPatchRespDepartmentStatus ¶
type UpdateDepartmentPatchRespDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
UpdateDepartmentPatchRespDepartmentStatus ...
type UpdateDepartmentReq ¶
type UpdateDepartmentReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` DepartmentID string `path:"department_id" json:"-"` // 部门ID,需要与查询参数中传入的department_id_type类型保持一致。, 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141", 最大长度:`64` 字符, 正则校验:`^0|[^od][A-Za-z0-9]*` Name string `json:"name,omitempty"` // 部门名称, 示例值:"DemoName", 最小长度:`1` 字符 I18nName *UpdateDepartmentReqI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”, 示例值:"D067" LeaderUserID *string `json:"leader_user_id,omitempty"` // 部门主管用户ID, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Order *string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序, 示例值:"100" UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个, 示例值:custom_unit_id CreateGroupChat *bool `json:"create_group_chat,omitempty"` // 是否创建部门群,默认不创建, 示例值:false }
UpdateDepartmentReq ...
type UpdateDepartmentReqI18nName ¶
type UpdateDepartmentReqI18nName struct { ZhCn *string `json:"zh_cn,omitempty"` // 部门的中文名, 示例值:"Demo名称" JaJp *string `json:"ja_jp,omitempty"` // 部门的日文名, 示例值:"デモ名" EnUs *string `json:"en_us,omitempty"` // 部门的英文名, 示例值:"Demo Name" }
UpdateDepartmentReqI18nName ...
type UpdateDepartmentResp ¶
type UpdateDepartmentResp struct {
Department *UpdateDepartmentRespDepartment `json:"department,omitempty"` // 部门信息
}
UpdateDepartmentResp ...
type UpdateDepartmentRespDepartment ¶
type UpdateDepartmentRespDepartment struct { Name string `json:"name,omitempty"` // 部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 I18nName *UpdateDepartmentRespDepartmentI18nName `json:"i18n_name,omitempty"` // 国际化的部门名称,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 ParentDepartmentID string `json:"parent_department_id,omitempty"` // 父部门的ID,* 创建根部门,该参数值为 “0”,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 DepartmentID string `json:"department_id,omitempty"` // 本部门的自定义部门ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 OpenDepartmentID string `json:"open_department_id,omitempty"` // 部门的open_id LeaderUserID string `json:"leader_user_id,omitempty"` // 部门主管用户ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 ChatID string `json:"chat_id,omitempty"` // 部门群ID,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 Order string `json:"order,omitempty"` // 部门的排序,即部门在其同级部门的展示顺序,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 UnitIDs []string `json:"unit_ids,omitempty"` // 部门单位自定义ID列表,当前只支持一个,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 MemberCount int64 `json:"member_count,omitempty"` // 部门下用户的个数,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门组织架构信息,读取通讯录,以应用身份访问通讯录 Status *UpdateDepartmentRespDepartmentStatus `json:"status,omitempty"` // 部门状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取部门基础信息,读取通讯录,以应用身份访问通讯录 }
UpdateDepartmentRespDepartment ...
type UpdateDepartmentRespDepartmentI18nName ¶
type UpdateDepartmentRespDepartmentI18nName struct { ZhCn string `json:"zh_cn,omitempty"` // 部门的中文名 JaJp string `json:"ja_jp,omitempty"` // 部门的日文名 EnUs string `json:"en_us,omitempty"` // 部门的英文名 }
UpdateDepartmentRespDepartmentI18nName ...
type UpdateDepartmentRespDepartmentStatus ¶
type UpdateDepartmentRespDepartmentStatus struct {
IsDeleted bool `json:"is_deleted,omitempty"` // 是否被删除
}
UpdateDepartmentRespDepartmentStatus ...
type UpdateDriveCommentPatchReq ¶
type UpdateDriveCommentPatchReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnGp4UK1UskrOEJwBXd3****" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6916106822734578184" IsSolved bool `json:"is_solved,omitempty"` // 评论解决标志, 示例值:true }
UpdateDriveCommentPatchReq ...
type UpdateDriveCommentPatchResp ¶
type UpdateDriveCommentPatchResp struct{}
UpdateDriveCommentPatchResp ...
type UpdateDriveCommentReq ¶
type UpdateDriveCommentReq struct { FileType FileType `query:"file_type" json:"-"` // 文档类型, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:表格, `file`:文件 FileToken string `path:"file_token" json:"-"` // 文档token, 示例值:"doccnHh7U87HOFpii5u5G*****" CommentID string `path:"comment_id" json:"-"` // 评论ID, 示例值:"6916106822734578184" ReplyID string `path:"reply_id" json:"-"` // 回复ID, 示例值:"6916106822734594568" Content *UpdateDriveCommentReqContent `json:"content,omitempty"` // 回复内容 }
UpdateDriveCommentReq ...
type UpdateDriveCommentReqContent ¶
type UpdateDriveCommentReqContent struct {
Elements []*UpdateDriveCommentReqContentElement `json:"elements,omitempty"` // 回复的内容
}
UpdateDriveCommentReqContent ...
type UpdateDriveCommentReqContentElement ¶
type UpdateDriveCommentReqContentElement struct { Type string `json:"type,omitempty"` // 回复的内容元素, 示例值:"text_run", 可选值有: `text_run`:普通文本, `docs_link`:at 云文档链接, `person`:at 联系人 TextRun *UpdateDriveCommentReqContentElementTextRun `json:"text_run,omitempty"` // 文本内容 DocsLink *UpdateDriveCommentReqContentElementDocsLink `json:"docs_link,omitempty"` // 文本内容 Person *UpdateDriveCommentReqContentElementPerson `json:"person,omitempty"` // 文本内容 }
UpdateDriveCommentReqContentElement ...
type UpdateDriveCommentReqContentElementDocsLink ¶
type UpdateDriveCommentReqContentElementDocsLink struct {
URL string `json:"url,omitempty"` // 回复 at云文档, 示例值:"https://bytedance.feishu.cn/docs/doccnHh7U87HOFpii5u5G*****"
}
UpdateDriveCommentReqContentElementDocsLink ...
type UpdateDriveCommentReqContentElementPerson ¶
type UpdateDriveCommentReqContentElementPerson struct {
UserID string `json:"user_id,omitempty"` // 回复 at联系人, 示例值:"ou_cc19b2bfb93f8a44db4b4d6eab*****"
}
UpdateDriveCommentReqContentElementPerson ...
type UpdateDriveCommentReqContentElementTextRun ¶
type UpdateDriveCommentReqContentElementTextRun struct {
Text string `json:"text,omitempty"` // 回复 普通文本, 示例值:"comment text"
}
UpdateDriveCommentReqContentElementTextRun ...
type UpdateDriveMemberPermissionOldReq ¶
type UpdateDriveMemberPermissionOldReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "file" MemberType string `json:"member_type,omitempty"` // 用户类型,可选 **"openid"、"openchat"、"userid"** MemberID string `json:"member_id,omitempty"` // 用户类型下的值 Perm string `json:"perm,omitempty"` // 权限,"view" or "edit" NotifyLark bool `json:"notify_lark,omitempty"` // 修改权限后是否飞书/lark通知对方<br>true 通知 or false 不通知 }
UpdateDriveMemberPermissionOldReq ...
type UpdateDriveMemberPermissionOldResp ¶
type UpdateDriveMemberPermissionOldResp struct {
IsSuccess bool `json:"is_success,omitempty"` // 是否操作成功
}
UpdateDriveMemberPermissionOldResp ...
type UpdateDriveMemberPermissionReq ¶
type UpdateDriveMemberPermissionReq struct { NeedNotification *bool `query:"need_notification" json:"-"` // 更新权限后是否通知对方,**注意:** 使用`tenant_access_token`访问不支持该参数, 示例值:false, 默认值: `false` Type string `query:"type" json:"-"` // 文件类型,放于query参数中,如:`?type=doc`, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:电子表格, `file`:云空间文件, `wiki`:知识库节点(部分支持), `bitable`:多维表格, `docx`:文档(暂不支持) Token string `path:"token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"doccnBKgoMyY5OMbUG6FioTXuBe" MemberID string `path:"member_id" json:"-"` // 权限成员的ID,与`member_type`相对应, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" MemberType string `json:"member_type,omitempty"` // 用户类型,与请求体中的`member_id`要对应, 可选值有: , `email`: 飞书邮箱, `openid`: [开放平台ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get), `openchat`: [开放平台群组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), `opendepartmentid`:[开放平台部门ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), `userid`: [用户自定义ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get),**注意:** 使用`tenant_access_token`访问不支持添加`opendepartmentid`, 示例值:"openid" Perm string `json:"perm,omitempty"` // 需要更新的权限,可选值有:, `view`: 可阅读, `edit`: 可编辑, `full_access`: 所有权限, 示例值:"view" }
UpdateDriveMemberPermissionReq ...
type UpdateDriveMemberPermissionResp ¶
type UpdateDriveMemberPermissionResp struct {
Member *UpdateDriveMemberPermissionRespMember `json:"member,omitempty"` // 本次更新权限的用户信息
}
UpdateDriveMemberPermissionResp ...
type UpdateDriveMemberPermissionRespMember ¶
type UpdateDriveMemberPermissionRespMember struct { MemberType string `json:"member_type,omitempty"` // 用户类型,与请求体中的`member_id`要对应, 可选值有: , `email`: 飞书邮箱, `openid`: [开放平台ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get), `openchat`: [开放平台群组](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description), `opendepartmentid`:[开放平台部门ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), `userid`: [用户自定义ID](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get),**注意:** 使用`tenant_access_token`访问不支持添加`opendepartmentid` MemberID string `json:"member_id,omitempty"` // 用户类型下的值 Perm string `json:"perm,omitempty"` // 需要更新的权限,可选值有:, `view`: 可阅读, `edit`: 可编辑, `full_access`: 所有权限 }
UpdateDriveMemberPermissionRespMember ...
type UpdateDrivePublicPermissionReq ¶
type UpdateDrivePublicPermissionReq struct { Type string `query:"type" json:"-"` // 权限客体类型,放于query参数中,如:`?type=doc`, 示例值:"doc", 可选值有: `doc`:文档, `sheet`:电子表格, `file`:云空间文件, `wiki`:知识库节点(部分支持), `bitable`:多维表格, `docx`:文档(暂不支持) Token string `path:"token" json:"-"` // 文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"doccnBKgoMyY5OMbUG6FioTXuBe" ExternalAccess *bool `json:"external_access,omitempty"` // 是否允许分享到租户外开关, 示例值:true SecurityEntity *string `json:"security_entity,omitempty"` // 可创建副本/打印/导出/复制设置, 示例值:"anyone_can_view", 可选值有: `anyone_can_view`:所有可访问此文档的用户, `anyone_can_edit`:有编辑权限的用户 CommentEntity *string `json:"comment_entity,omitempty"` // 可评论设置, 示例值:"anyone_can_view", 可选值有: `anyone_can_view`:所有可访问此文档的用户, `anyone_can_edit`:有编辑权限的用户 InviteExternal *bool `json:"invite_external,omitempty"` // 非所有权限者/所有者是否允许邀请外部人, 示例值:true }
UpdateDrivePublicPermissionReq ...
type UpdateDrivePublicPermissionResp ¶
type UpdateDrivePublicPermissionResp struct {
PermissionPublic *UpdateDrivePublicPermissionRespPermissionPublic `json:"permission_public,omitempty"` // 本次更新后的文档公共设置
}
UpdateDrivePublicPermissionResp ...
type UpdateDrivePublicPermissionRespPermissionPublic ¶
type UpdateDrivePublicPermissionRespPermissionPublic struct { ExternalAccess bool `json:"external_access,omitempty"` // 是否允许分享到租户外开关 SecurityEntity string `json:"security_entity,omitempty"` // 可创建副本/打印/导出/复制设置, 可选值有: `anyone_can_view`:所有可访问此文档的用户, `anyone_can_edit`:有编辑权限的用户 CommentEntity string `json:"comment_entity,omitempty"` // 可评论设置, 可选值有: `anyone_can_view`:所有可访问此文档的用户, `anyone_can_edit`:有编辑权限的用户 InviteExternal bool `json:"invite_external,omitempty"` // 非所有权限者/所有者是否允许邀请外部人 }
UpdateDrivePublicPermissionRespPermissionPublic ...
type UpdateDrivePublicPermissionV1OldReq ¶
type UpdateDrivePublicPermissionV1OldReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" CopyPrintExportStatus *bool `json:"copy_print_export_status,omitempty"` // 可创建副本/打印/导出/复制设置(不传则保持原值):<br>true - 所有可访问此文档的用户<br>false - 有编辑权限的用户 Comment *bool `json:"comment,omitempty"` // 可评论设置(不传则保持原值):<br>true - 所有可访问此文档的用户<br>false - 有编辑权限的用户 ExternalAccess *bool `json:"external_access,omitempty"` // 是否允许分享到租户外开关(不传则保持原值) InviteExternal *bool `json:"invite_external,omitempty"` // 非owner是否允许邀请外部人(不传则保持原值) }
UpdateDrivePublicPermissionV1OldReq ...
type UpdateDrivePublicPermissionV1OldResp ¶
type UpdateDrivePublicPermissionV1OldResp struct {
IsSuccess bool `json:"is_success,omitempty"` // 是否成功
}
UpdateDrivePublicPermissionV1OldResp ...
type UpdateDrivePublicPermissionV2OldReq ¶
type UpdateDrivePublicPermissionV2OldReq struct { Token string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type string `json:"type,omitempty"` // 文档类型 "doc" or "sheet" or "file" SecurityEntity *string `json:"security_entity,omitempty"` // 可创建副本/打印/导出/复制设置(不传则保持原值):<br>"anyone_can_view" - 所有可访问此文档的用户<br>"anyone_can_edit" - 有编辑权限的用户 CommentEntity *string `json:"comment_entity,omitempty"` // 可评论设置(不传则保持原值):<br>"anyone_can_view" - 所有可访问此文档的用户<br>"anyone_can_edit" - 有编辑权限的用户 ExternalAccess *bool `json:"external_access,omitempty"` // 是否允许分享到租户外开关(不传则保持原值) InviteExternal *bool `json:"invite_external,omitempty"` // 非owner是否允许邀请外部人(不传则保持原值) }
UpdateDrivePublicPermissionV2OldReq ...
type UpdateDrivePublicPermissionV2OldResp ¶
type UpdateDrivePublicPermissionV2OldResp struct{}
UpdateDrivePublicPermissionV2OldResp ...
type UpdateEmployeeTypeEnumPatchReq ¶
type UpdateEmployeeTypeEnumPatchReq struct { EnumID string `path:"enum_id" json:"-"` // 枚举值id, 示例值:"exGeIjow7zIqWMy+ONkFxA==" Content string `json:"content,omitempty"` // 枚举内容, 示例值:"专家", 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 示例值:2, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 示例值:1, 可选值有: `1`:激活, `2`:未激活 I18nContent *UpdateEmployeeTypeEnumPatchReqI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
UpdateEmployeeTypeEnumPatchReq ...
type UpdateEmployeeTypeEnumPatchReqI18nContent ¶
type UpdateEmployeeTypeEnumPatchReqI18nContent struct { Locale *string `json:"locale,omitempty"` // 语言版本, 示例值:"zh_cn" Value *string `json:"value,omitempty"` // 字段名, 示例值:"专家" }
UpdateEmployeeTypeEnumPatchReqI18nContent ...
type UpdateEmployeeTypeEnumPatchResp ¶
type UpdateEmployeeTypeEnumPatchResp struct {
EmployeeTypeEnum *UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnum `json:"employee_type_enum,omitempty"` // 更新后的人员类型字段
}
UpdateEmployeeTypeEnumPatchResp ...
type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnum ¶
type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnum struct { EnumID string `json:"enum_id,omitempty"` // 枚举值id EnumValue string `json:"enum_value,omitempty"` // 枚举的编号值,创建新的人员类型后,系统生成对应编号。对应[创建用户接口](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/create)中用户信息的employee_type字段值 Content string `json:"content,omitempty"` // 枚举内容, 长度范围:`1` ~ `100` 字符 EnumType int64 `json:"enum_type,omitempty"` // 类型, 可选值有: `1`:内置类型, `2`:自定义 EnumStatus int64 `json:"enum_status,omitempty"` // 使用状态, 可选值有: `1`:激活, `2`:未激活 I18nContent *UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnumI18nContent `json:"i18n_content,omitempty"` // i18n定义 }
UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnum ...
type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnumI18nContent ¶
type UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnumI18nContent struct { Locale string `json:"locale,omitempty"` // 语言版本 Value string `json:"value,omitempty"` // 字段名 }
UpdateEmployeeTypeEnumPatchRespEmployeeTypeEnumI18nContent ...
type UpdateHelpdeskAgentReq ¶
type UpdateHelpdeskAgentReq struct { AgentID string `path:"agent_id" json:"-"` // 客服id, 示例值:"ou_14777d82ffef0f707de5a8c7ff2c5ebe" Status *int64 `json:"status,omitempty"` // agent status, 示例值:1:在线;2:离线 }
UpdateHelpdeskAgentReq ...
type UpdateHelpdeskAgentScheduleReq ¶
type UpdateHelpdeskAgentScheduleReq struct { AgentID string `path:"agent_id" json:"-"` // 客服 id, 示例值:"123456" AgentSchedule *UpdateHelpdeskAgentScheduleReqAgentSchedule `json:"agent_schedule,omitempty"` // 工作日程列表 }
UpdateHelpdeskAgentScheduleReq ...
type UpdateHelpdeskAgentScheduleReqAgentSchedule ¶
type UpdateHelpdeskAgentScheduleReqAgentSchedule struct { Schedule *UpdateHelpdeskAgentScheduleReqAgentScheduleSchedule `json:"schedule,omitempty"` // 工作日程列表 AgentSkillIDs []string `json:"agent_skill_ids,omitempty"` // 客服技能 ids }
UpdateHelpdeskAgentScheduleReqAgentSchedule ...
type UpdateHelpdeskAgentScheduleReqAgentScheduleSchedule ¶
type UpdateHelpdeskAgentScheduleReqAgentScheduleSchedule struct { StartTime *string `json:"start_time,omitempty"` // 开始时间, format 00:00 - 23:59, 示例值:"00:00" EndTime *string `json:"end_time,omitempty"` // 结束时间, format 00:00 - 23:59, 示例值:"24:00" Weekday *int64 `json:"weekday,omitempty"` // 星期几, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, 6 - Saturday, 7 - Sunday, 9 - Everday, 10 - Weekday, 11 - Weekend, 示例值:9 }
UpdateHelpdeskAgentScheduleReqAgentScheduleSchedule ...
type UpdateHelpdeskAgentScheduleResp ¶
type UpdateHelpdeskAgentScheduleResp struct{}
UpdateHelpdeskAgentScheduleResp ...
type UpdateHelpdeskAgentSkillReq ¶
type UpdateHelpdeskAgentSkillReq struct { AgentSkillID string `path:"agent_skill_id" json:"-"` // agent skill id, 示例值:"test-skill-id" AgentSkill *UpdateHelpdeskAgentSkillReqAgentSkill `json:"agent_skill,omitempty"` // 更新技能 }
UpdateHelpdeskAgentSkillReq ...
type UpdateHelpdeskAgentSkillReqAgentSkill ¶
type UpdateHelpdeskAgentSkillReqAgentSkill struct { Name *string `json:"name,omitempty"` // 技能名, 示例值:"skill-name" Rules *UpdateHelpdeskAgentSkillReqAgentSkillRules `json:"rules,omitempty"` // 技能rules AgentIDs []string `json:"agent_ids,omitempty"` // 具有此技能的客服ids }
UpdateHelpdeskAgentSkillReqAgentSkill ...
type UpdateHelpdeskAgentSkillReqAgentSkillRules ¶
type UpdateHelpdeskAgentSkillReqAgentSkillRules struct { ID *string `json:"id,omitempty"` // rule id, 看[获取客服技能rules](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/list-agent-skill-rules) 用于获取rules options, 示例值:"test-skill-id" SelectedOperator *int64 `json:"selected_operator,omitempty"` // 运算符compare, 看[客服技能运算符options](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options), 示例值:3 OperatorOptions []int64 `json:"operator_options,omitempty"` // rule操作数value,[客服技能及运算符](https://open.feishu.cn/document/ukTMukTMukTM/ucDOyYjL3gjM24yN4IjN/operator-options) Operand *string `json:"operand,omitempty"` // rule操作数value, 示例值:" {, "selected": ["6883005079188668418"],, "options": [, {, "id": "6883005079188668418",, "name": {, "en_us": "小程序及应用",, "ja_jp": "小程序及应用",, "zh_cn": "小程序及应用", }, },, {, "children": [, {, "id": "6883005086914625538",, "name": {, "en_us": "消息提醒",, "ja_jp": "消息提醒",, "zh_cn": "消息提醒", }, },, {, "id": "6883005092723802114",, "name": {, "en_us": "其他",, "ja_jp": "其他",, "zh_cn": "其他", }, }, ],, "id": "6883005085605986306",, "name": {, "en_us": "聊天和群组",, "ja_jp": "聊天和群组",, "zh_cn": "聊天和群组", }, },, ],, }" }
UpdateHelpdeskAgentSkillReqAgentSkillRules ...
type UpdateHelpdeskAgentSkillResp ¶
type UpdateHelpdeskAgentSkillResp struct{}
UpdateHelpdeskAgentSkillResp ...
type UpdateHelpdeskCategoryReq ¶
type UpdateHelpdeskCategoryReq struct { ID string `path:"id" json:"-"` // category id, 示例值:"6948728206392295444" Name *string `json:"name,omitempty"` // 名称, 示例值:"创建团队和邀请成员" ParentID *string `json:"parent_id,omitempty"` // 父知识库分类ID, 示例值:"0" }
UpdateHelpdeskCategoryReq ...
type UpdateHelpdeskCategoryResp ¶
type UpdateHelpdeskCategoryResp struct{}
UpdateHelpdeskCategoryResp ...
type UpdateHelpdeskFAQReq ¶
type UpdateHelpdeskFAQReq struct { ID string `path:"id" json:"-"` // 知识库ID, 示例值:"6856395634652479491" FAQ *UpdateHelpdeskFAQReqFAQ `json:"faq,omitempty"` // 修改的知识库内容 }
UpdateHelpdeskFAQReq ...
type UpdateHelpdeskFAQReqFAQ ¶
type UpdateHelpdeskFAQReqFAQ struct { CategoryID *string `json:"category_id,omitempty"` // 知识库分类ID, 示例值:"6836004780707807251" Question string `json:"question,omitempty"` // 问题, 示例值:"问题" Answer *string `json:"answer,omitempty"` // 答案, 示例值:"答案" AnswerRichtext *string `json:"answer_richtext,omitempty"` // 富文本答案和答案必须有一个必填。Json Array格式,富文本结构请见[了解更多: 富文本](https://open.feishu.cn/document/ukTMukTMukTM/uITM0YjLyEDN24iMxQjN), 示例值:"[{, "content": "这只是一个测试,医保问题",, "type": "text", }]" Tags []string `json:"tags,omitempty"` // 相似问 }
UpdateHelpdeskFAQReqFAQ ...
type UpdateHelpdeskNotificationReq ¶
type UpdateHelpdeskNotificationReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`,, 当值为 `user_id`, 字段权限要求: 获取用户 user ID NotificationID string `path:"notification_id" json:"-"` // push任务唯一id, 示例值:"6985032626234982420" ID *string `json:"id,omitempty"` // 非必填,创建成功后返回, 示例值:"6981801914270744596" JobName *string `json:"job_name,omitempty"` // 必填,任务名称, 示例值:"测试推送任务" Status *int64 `json:"status,omitempty"` // 非必填,创建成功后返回, 示例值:0 CreateUser *UpdateHelpdeskNotificationReqCreateUser `json:"create_user,omitempty"` // 非必填,创建人 CreatedAt *string `json:"created_at,omitempty"` // 非必填,创建时间(毫秒时间戳), 示例值:"1626332244719" UpdateUser *UpdateHelpdeskNotificationReqUpdateUser `json:"update_user,omitempty"` // 非必填,更新用户 UpdatedAt *string `json:"updated_at,omitempty"` // 非必填,更新时间(毫秒时间戳), 示例值:"1626332244719" TargetUserCount *int64 `json:"target_user_count,omitempty"` // 非必填,目标推送用户总数, 示例值:1 SentUserCount *int64 `json:"sent_user_count,omitempty"` // 非必填,已推送用户总数, 示例值:1 ReadUserCount *int64 `json:"read_user_count,omitempty"` // 非必填,已读用户总数, 示例值:1 SendAt *string `json:"send_at,omitempty"` // 非必填,推送任务触发时间(毫秒时间戳), 示例值:"1626332244719" PushContent *string `json:"push_content,omitempty"` // 必填,推送内容,详见:https://open.feishu.cn/tool/cardbuilder?from=howtoguide, 示例值:"{ \"config\": { \"wide_screen_mode\": true }, \"elements\": [ { \"tag\": \"div\", \"text\": { \"tag\": \"lark_md\", \"content\": \"[飞书](https://www.feishu.cn)整合即时沟通、日历、音视频会议、云文档、云盘、工作台等功能于一体,成就组织和个人,更高效、更愉悦。\" } } ] }" PushType *int64 `json:"push_type,omitempty"` // 必填,,0(定时推送:push_scope不能等于3) 1(新人入职推送:push_scope必须等于1或者3;new_staff_scope_type不能为空), 示例值:0 PushScopeType *int64 `json:"push_scope_type,omitempty"` // 必填,,推送范围(服务台私信) 0:组织内全部成员(user_list和department_list必须为空) 1:不推送任何成员(user_list和department_list必须为空,chat_list不可为空) 2:推送到部分成员(user_list或department_list不能为空) 3:入职新人 以上四种状态,chat_list都相对独立,只有在推送范围为1时,必须需要设置chat_list, 示例值:0 NewStaffScopeType *int64 `json:"new_staff_scope_type,omitempty"` // 非必填,,新人入职范围类型(push_type为1时生效) 0:组织内所有新人 1:组织内特定的部门(new_staff_scope_department_list 字段不能为空), 示例值:0 NewStaffScopeDepartmentList []*UpdateHelpdeskNotificationReqNewStaffScopeDepartment `json:"new_staff_scope_department_list,omitempty"` // 非必填,新人入职生效部门列表 UserList []*UpdateHelpdeskNotificationReqUser `json:"user_list,omitempty"` // 非必填,push推送到成员列表 DepartmentList []*UpdateHelpdeskNotificationReqDepartment `json:"department_list,omitempty"` // 非必填,push推送到的部门信息列表 ChatList []*UpdateHelpdeskNotificationReqChat `json:"chat_list,omitempty"` // 非必填,push推送到的会话列表(群) Ext *string `json:"ext,omitempty"` // 非必填,预留扩展字段, 示例值:"{}" }
UpdateHelpdeskNotificationReq ...
type UpdateHelpdeskNotificationReqChat ¶
type UpdateHelpdeskNotificationReqChat struct { ChatID *string `json:"chat_id,omitempty"` // 非必填,会话ID, 示例值:"oc_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,会话名称, 示例值:"测试群聊" }
UpdateHelpdeskNotificationReqChat ...
type UpdateHelpdeskNotificationReqCreateUser ¶
type UpdateHelpdeskNotificationReqCreateUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
UpdateHelpdeskNotificationReqCreateUser ...
type UpdateHelpdeskNotificationReqDepartment ¶
type UpdateHelpdeskNotificationReqDepartment struct { DepartmentID *string `json:"department_id,omitempty"` // 部门ID, 示例值:"od_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,部门名称, 示例值:"测试部门" }
UpdateHelpdeskNotificationReqDepartment ...
type UpdateHelpdeskNotificationReqNewStaffScopeDepartment ¶
type UpdateHelpdeskNotificationReqNewStaffScopeDepartment struct { DepartmentID *string `json:"department_id,omitempty"` // 部门ID, 示例值:"od_7277fd1262bfafc363d5b2a1f9c2ac90" Name *string `json:"name,omitempty"` // 非必填,部门名称, 示例值:"测试部门" }
UpdateHelpdeskNotificationReqNewStaffScopeDepartment ...
type UpdateHelpdeskNotificationReqUpdateUser ¶
type UpdateHelpdeskNotificationReqUpdateUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
UpdateHelpdeskNotificationReqUpdateUser ...
type UpdateHelpdeskNotificationReqUser ¶
type UpdateHelpdeskNotificationReqUser struct { UserID *string `json:"user_id,omitempty"` // 非必填,用户id, 示例值:"ou_7277fd1262bfafc363d5b2a1f9c2ac90" AvatarURL *string `json:"avatar_url,omitempty"` // 非必填,头像地址, 示例值:"http://*.com/*.png" Name *string `json:"name,omitempty"` // 非必填,用户名称, 示例值:"test" }
UpdateHelpdeskNotificationReqUser ...
type UpdateHelpdeskNotificationResp ¶
type UpdateHelpdeskNotificationResp struct{}
UpdateHelpdeskNotificationResp ...
type UpdateHelpdeskTicketCustomizedFieldReq ¶
type UpdateHelpdeskTicketCustomizedFieldReq struct { TicketCustomizedFieldID string `path:"ticket_customized_field_id" json:"-"` // 工单自定义字段ID, 示例值:"6948728206392295444" DisplayName *string `json:"display_name,omitempty"` // 名称, 示例值:"test dropdown" Position *string `json:"position,omitempty"` // 字段在列表后台管理列表中的位置, 示例值:"3" Description *string `json:"description,omitempty"` // 描述, 示例值:"下拉示例" Visible *bool `json:"visible,omitempty"` // 是否可见, 示例值:true Required *bool `json:"required,omitempty"` // 是否必填, 示例值:false DropdownOptions *HelpdeskDropdownOption `json:"dropdown_options,omitempty"` // 下拉列表选项 }
UpdateHelpdeskTicketCustomizedFieldReq ...
type UpdateHelpdeskTicketCustomizedFieldResp ¶
type UpdateHelpdeskTicketCustomizedFieldResp struct{}
UpdateHelpdeskTicketCustomizedFieldResp ...
type UpdateHelpdeskTicketReq ¶
type UpdateHelpdeskTicketReq struct { TicketID string `path:"ticket_id" json:"-"` // 工单ID, 示例值:"6945345902185807891" Status *int64 `json:"status,omitempty"` // new status, 1: 已创建, 2: 处理中, 3: 排队中, 5: 待定, 50: 机器人关闭工单, 51: 关闭工单, 示例值:1 TagNames []string `json:"tag_names,omitempty"` // 新标签名 Comment *string `json:"comment,omitempty"` // 新评论, 示例值:"good" CustomizedFields []*UpdateHelpdeskTicketReqCustomizedField `json:"customized_fields,omitempty"` // 自定义字段 TicketType *int64 `json:"ticket_type,omitempty"` // ticket stage, 示例值:1 Solved *int64 `json:"solved,omitempty"` // 工单是否解决,1: 未解决, 2: 已解决, 示例值:1 Channel *int64 `json:"channel,omitempty"` // 工单来源渠道ID, 示例值:1 }
UpdateHelpdeskTicketReq ...
type UpdateHelpdeskTicketReqCustomizedField ¶
type UpdateHelpdeskTicketReqCustomizedField struct { ID *string `json:"id,omitempty"` // 自定义字段ID, 示例值:"123" Value *string `json:"value,omitempty"` // 自定义字段值, 示例值:"value" KeyName *string `json:"key_name,omitempty"` // 键名, 示例值:"key" }
UpdateHelpdeskTicketReqCustomizedField ...
type UpdateHireEmployeeReq ¶
type UpdateHireEmployeeReq struct { EmployeeID string `path:"employee_id" json:"-"` // 员工ID, 示例值:"123" Operation int64 `json:"operation,omitempty"` // 修改状态操作, 示例值:1, 可选值有: `1`:转正, `2`:离职 ConversionInfo *UpdateHireEmployeeReqConversionInfo `json:"conversion_info,omitempty"` // 转正信息 OverboardInfo *UpdateHireEmployeeReqOverboardInfo `json:"overboard_info,omitempty"` // 离职信息 }
UpdateHireEmployeeReq ...
type UpdateHireEmployeeReqConversionInfo ¶
type UpdateHireEmployeeReqConversionInfo struct {
ActualConversionTime *int64 `json:"actual_conversion_time,omitempty"` // 实际转正日期, 示例值:1637596800000
}
UpdateHireEmployeeReqConversionInfo ...
type UpdateHireEmployeeReqOverboardInfo ¶
type UpdateHireEmployeeReqOverboardInfo struct { ActualOverboardTime *int64 `json:"actual_overboard_time,omitempty"` // 实际离职日期, 示例值:1637596800000 OverboardNote *string `json:"overboard_note,omitempty"` // 离职原因, 示例值:"职业发展考虑" }
UpdateHireEmployeeReqOverboardInfo ...
type UpdateHireEmployeeResp ¶
type UpdateHireEmployeeResp struct {
Employee *UpdateHireEmployeeRespEmployee `json:"employee,omitempty"` // 员工信息
}
UpdateHireEmployeeResp ...
type UpdateHireEmployeeRespEmployee ¶
type UpdateHireEmployeeRespEmployee struct { ID string `json:"id,omitempty"` // 员工ID ApplicationID string `json:"application_id,omitempty"` // 投递ID OnboardStatus int64 `json:"onboard_status,omitempty"` // 入职状态, 可选值有: `1`:已入职, `2`:已离职 ConversionStatus int64 `json:"conversion_status,omitempty"` // 转正状态, 可选值有: `1`:未转正, `2`:已转正 OnboardTime int64 `json:"onboard_time,omitempty"` // 实际入职时间 ExpectedConversionTime int64 `json:"expected_conversion_time,omitempty"` // 预期转正时间 ActualConversionTime int64 `json:"actual_conversion_time,omitempty"` // 实际转正时间 OverboardTime int64 `json:"overboard_time,omitempty"` // 离职时间 OverboardNote string `json:"overboard_note,omitempty"` // 离职原因 }
UpdateHireEmployeeRespEmployee ...
type UpdateHireNoteReq ¶
type UpdateHireNoteReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, `people_admin_id`:以people_admin_id来识别用户, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID NoteID string `path:"note_id" json:"-"` // 备注 ID, 示例值:"6960663240925956401" Content string `json:"content,omitempty"` // 备注内容, 示例值:"111" }
UpdateHireNoteReq ...
type UpdateHireNoteResp ¶
type UpdateHireNoteResp struct {
Note *UpdateHireNoteRespNote `json:"note,omitempty"` // 备注数据
}
UpdateHireNoteResp ...
type UpdateHireNoteRespNote ¶
type UpdateHireNoteRespNote struct { ID string `json:"id,omitempty"` // 备注ID TalentID string `json:"talent_id,omitempty"` // 人才ID ApplicationID string `json:"application_id,omitempty"` // 投递ID IsPrivate bool `json:"is_private,omitempty"` // 是否私密 CreateTime int64 `json:"create_time,omitempty"` // 创建时间 ModifyTime int64 `json:"modify_time,omitempty"` // 更新时间 CreatorID string `json:"creator_id,omitempty"` // 创建人ID Content string `json:"content,omitempty"` // 内容 }
UpdateHireNoteRespNote ...
type UpdateMailGroupPatchReq ¶
type UpdateMailGroupPatchReq struct { MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" Name *string `json:"name,omitempty"` // 邮件组名称, 示例值:"test mail group" Description *string `json:"description,omitempty"` // 邮件组描述, 示例值:"mail group for testing" WhoCanSendMail *string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 示例值:"ALL_INTERNAL_USERS", 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
UpdateMailGroupPatchReq ...
type UpdateMailGroupPatchResp ¶
type UpdateMailGroupPatchResp struct { MailGroupID string `json:"mailgroup_id,omitempty"` // 邮件组ID Email string `json:"email,omitempty"` // 邮件组地址 Name string `json:"name,omitempty"` // 邮件组名称 Description string `json:"description,omitempty"` // 邮件组描述 DirectMembersCount string `json:"direct_members_count,omitempty"` // 邮件组成员数量 IncludeExternalMember bool `json:"include_external_member,omitempty"` // 是否包含外部成员 IncludeAllCompanyMember bool `json:"include_all_company_member,omitempty"` // 是否是全员邮件组 WhoCanSendMail string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
UpdateMailGroupPatchResp ...
type UpdateMailGroupReq ¶
type UpdateMailGroupReq struct { MailGroupID string `path:"mailgroup_id" json:"-"` // 邮件组ID或者邮件组地址, 示例值:"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx" Name *string `json:"name,omitempty"` // 邮件组名称, 示例值:"test mail group" Description *string `json:"description,omitempty"` // 邮件组描述, 示例值:"mail group for testing" WhoCanSendMail *string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 示例值:"ALL_INTERNAL_USERS", 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
UpdateMailGroupReq ...
type UpdateMailGroupResp ¶
type UpdateMailGroupResp struct { MailGroupID string `json:"mailgroup_id,omitempty"` // 邮件组ID Email string `json:"email,omitempty"` // 邮件组地址 Name string `json:"name,omitempty"` // 邮件组名称 Description string `json:"description,omitempty"` // 邮件组描述 DirectMembersCount string `json:"direct_members_count,omitempty"` // 邮件组成员数量 IncludeExternalMember bool `json:"include_external_member,omitempty"` // 是否包含外部成员 IncludeAllCompanyMember bool `json:"include_all_company_member,omitempty"` // 是否是全员邮件组 WhoCanSendMail string `json:"who_can_send_mail,omitempty"` // 谁可发送邮件到此邮件组, 可选值有: `ANYONE`:任何人, `ALL_INTERNAL_USERS`:仅组织内部成员, `ALL_GROUP_MEMBERS`:仅邮件组成员, `CUSTOM_MEMBERS`:自定义成员 }
UpdateMailGroupResp ...
type UpdateMeetingRoomBuildingReq ¶
type UpdateMeetingRoomBuildingReq struct { BuildingID string `json:"building_id,omitempty"` // 要更新的建筑ID Name *string `json:"name,omitempty"` // 建筑名称 Floors []string `json:"floors,omitempty"` // 楼层列表 CountryID *string `json:"country_id,omitempty"` // 国家/地区ID DistrictID *string `json:"district_id,omitempty"` // 城市ID CustomBuildingID *string `json:"custom_building_id,omitempty"` // 租户自定义建筑ID }
UpdateMeetingRoomBuildingReq ...
type UpdateMeetingRoomBuildingResp ¶
type UpdateMeetingRoomBuildingResp struct{}
UpdateMeetingRoomBuildingResp ...
type UpdateMeetingRoomRoomReq ¶
type UpdateMeetingRoomRoomReq struct { RoomID string `json:"room_id,omitempty"` // 要更新的会议室ID Name *string `json:"name,omitempty"` // 会议室名称 Capacity *int64 `json:"capacity,omitempty"` // 容量 CustomRoomID *string `json:"custom_room_id,omitempty"` // 租户自定义会议室ID }
UpdateMeetingRoomRoomReq ...
type UpdateMeetingRoomRoomResp ¶
type UpdateMeetingRoomRoomResp struct{}
UpdateMeetingRoomRoomResp ...
type UpdateMessageDelayReq ¶
type UpdateMessageDelayReq struct { Token string `json:"token,omitempty"` // 用于更新卡片的token,不是tenant_access_token(可通过[卡片交互返回内容](https://open.feishu.cn/document/ukTMukTMukTM/uEzNwUjLxcDM14SM3ATN)获取) Card *UpdateMessageDelayReqCard `json:"card,omitempty"` // 消息卡片的描述内容,具体参考[卡片结构](https://open.feishu.cn/document/ukTMukTMukTM/uEjNwUjLxYDM14SM2ATN) }
UpdateMessageDelayReq ...
type UpdateMessageDelayReqCard ¶
type UpdateMessageDelayReqCard struct { Card interface{} `json:"card,omitempty"` // 消息卡片内容 OpenIDs []string `json:"open_ids,omitempty"` // 指定需要更新的用户,共享卡片默认更新所有人卡片,无需填写该字段 }
UpdateMessageDelayReqCard ...
func (UpdateMessageDelayReqCard) MarshalJSON ¶
func (r UpdateMessageDelayReqCard) MarshalJSON() ([]byte, error)
type UpdateMessageDelayReqCardCard ¶
type UpdateMessageDelayReqCardCard struct{}
UpdateMessageDelayReqCardCard ...
type UpdateMessageReq ¶
type UpdateMessageReq struct { MessageID string `path:"message_id" json:"-"` // 待更新的消息的ID, 示例值:"om_dc13264520392913993dd051dba21dcf" Content string `json:"content,omitempty"` // 消息内容 json 格式,[发送消息 content 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json),参考文档中的卡片格式, 示例值:"参考链接" }
UpdateMessageReq ...
type UpdatePublicMailboxPatchReq ¶
type UpdatePublicMailboxPatchReq struct { PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx" Name *string `json:"name,omitempty"` // 公共邮箱名称, 示例值:"test public mailbox" }
UpdatePublicMailboxPatchReq ...
type UpdatePublicMailboxPatchResp ¶
type UpdatePublicMailboxPatchResp struct { PublicMailboxID string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识 Email string `json:"email,omitempty"` // 公共邮箱地址 Name string `json:"name,omitempty"` // 公共邮箱名称 }
UpdatePublicMailboxPatchResp ...
type UpdatePublicMailboxReq ¶
type UpdatePublicMailboxReq struct { PublicMailboxID string `path:"public_mailbox_id" json:"-"` // 公共邮箱唯一标识或公共邮箱地址, 示例值:"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx" Name *string `json:"name,omitempty"` // 公共邮箱名称, 示例值:"test public mailbox" }
UpdatePublicMailboxReq ...
type UpdatePublicMailboxResp ¶
type UpdatePublicMailboxResp struct { PublicMailboxID string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识 Email string `json:"email,omitempty"` // 公共邮箱地址 Name string `json:"name,omitempty"` // 公共邮箱名称 }
UpdatePublicMailboxResp ...
type UpdateSearchDataSourceReq ¶
type UpdateSearchDataSourceReq struct { DataSourceID string `path:"data_source_id" json:"-"` // 数据源的唯一标识, 示例值:"service_ticket" Name *string `json:"name,omitempty"` // 数据源的展示名称, 示例值:"客服工单" State *int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 示例值:0, 可选值有: `0`:未上线, `1`:已上线 Description *string `json:"description,omitempty"` // 对于数据源的描述, 示例值:"搜索客服工单" }
UpdateSearchDataSourceReq ...
type UpdateSearchDataSourceResp ¶
type UpdateSearchDataSourceResp struct {
DataSource *UpdateSearchDataSourceRespDataSource `json:"data_source,omitempty"` // 数据源
}
UpdateSearchDataSourceResp ...
type UpdateSearchDataSourceRespDataSource ¶
type UpdateSearchDataSourceRespDataSource struct { ID string `json:"id,omitempty"` // 数据源的唯一标识 Name string `json:"name,omitempty"` // data_source的展示名称 State int64 `json:"state,omitempty"` // 数据源状态,0-未上线,1-已上线, 可选值有: `0`:未上线, `1`:已上线 Description string `json:"description,omitempty"` // 对于数据源的描述 CreateTime string `json:"create_time,omitempty"` // 创建时间,使用Unix时间戳,单位为“秒” UpdateTime string `json:"update_time,omitempty"` // 更新时间,使用Unix时间戳,单位为“秒” IsExceedQuota bool `json:"is_exceed_quota,omitempty"` // 是否超限 }
UpdateSearchDataSourceRespDataSource ...
type UpdateSheetConditionFormatReq ¶
type UpdateSheetConditionFormatReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // sheet 的 token,获取方式见 [在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) SheetConditionFormats *UpdateSheetConditionFormatReqSheetConditionFormats `json:"sheet_condition_formats,omitempty"` // 表格的条件格式信息 }
UpdateSheetConditionFormatReq ...
type UpdateSheetConditionFormatReqSheetConditionFormats ¶
type UpdateSheetConditionFormatReqSheetConditionFormats struct { SheetID string `json:"sheet_id,omitempty"` // sheet的id ConditionFormat *UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormat `json:"condition_format,omitempty"` // 一个条件格式的详细信息 }
UpdateSheetConditionFormatReqSheetConditionFormats ...
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormat ¶
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormat struct { CfID string `json:"cf_id,omitempty"` // 需要更新的条件格式id,会校验id是否存在 Ranges []string `json:"ranges,omitempty"` // 条件格式应用的范围,支持:sheetId(整表);sheetId!1:2(整行);sheetId!A:B(整列);sheetId!A1:B2(普通范围);sheetId!A1:C(应用至最后一行)。应用范围不能超过表格的行总数和列总数,sheetId要与参数的sheetId一致 RuleType string `json:"rule_type,omitempty"` // 条件格式规则类型,目前只有7种:***containsBlanks(为空)、notContainsBlanks(不为空)、duplicateValues(重复值)、uniqueValues(唯一值)、cellIs(限定值范围)、containsText(包含内容)、timePeriod(日期)*** Attrs []*UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatAttr `json:"attrs,omitempty"` // rule_type对应的具体属性信息,详见 [条件格式指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/conditionformat/condition-format-guide) Style *UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyle `json:"style,omitempty"` // 条件格式样式,只支持以下样式,以下样式每个参数都可选,但是不能设置空的style }
UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormat ...
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatAttr ¶
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatAttr struct { Operator *string `json:"operator,omitempty"` // 操作方法 TimePeriod *string `json:"time_period,omitempty"` // 时间范围 Formula []string `json:"formula,omitempty"` // 格式 Text *string `json:"text,omitempty"` // 文本 }
UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatAttr ...
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyle ¶
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyle struct { Font *UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyleFont `json:"font,omitempty"` // 字体样式 TextDecoration *int64 `json:"text_decoration,omitempty"` // 文本装饰 ,0 默认,1 下划线,2 删除线 ,3 下划线和删除线 ForeColor *string `json:"fore_color,omitempty"` // 字体颜色 BackColor *string `json:"back_color,omitempty"` // 背景颜色 }
UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyle ...
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyleFont ¶
type UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyleFont struct { Bold *bool `json:"bold,omitempty"` // 加粗 Italic *bool `json:"italic,omitempty"` // 斜体 }
UpdateSheetConditionFormatReqSheetConditionFormatsConditionFormatStyleFont ...
type UpdateSheetConditionFormatResp ¶
type UpdateSheetConditionFormatResp struct {
Responses []*UpdateSheetConditionFormatRespResponse `json:"responses,omitempty"` // 响应
}
UpdateSheetConditionFormatResp ...
type UpdateSheetConditionFormatRespResponse ¶
type UpdateSheetConditionFormatRespResponse struct { SheetID string `json:"sheet_id,omitempty"` // sheet的Id CfID string `json:"cf_id,omitempty"` // 更新的条件格式id ResCode int64 `json:"res_code,omitempty"` // 条件格式更新状态码,0表示成功,非0表示失败 ResMsg string `json:"res_msg,omitempty"` // 条件格式更新返回的状态信息,空表示成功,不空表示失败原因 }
UpdateSheetConditionFormatRespResponse ...
type UpdateSheetDataValidationDropdownReq ¶
type UpdateSheetDataValidationDropdownReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) SheetID string `path:"sheetId" json:"-"` // 子sheet唯一识别参数 DataValidationID int64 `path:"dataValidationId" json:"-"` // sheet中下拉列表的唯一标示id DataValidationType string `json:"dataValidationType,omitempty"` // 下拉列表填"list" DataValidation *UpdateSheetDataValidationDropdownReqDataValidation `json:"dataValidation,omitempty"` // 下拉列表规则属性 }
UpdateSheetDataValidationDropdownReq ...
type UpdateSheetDataValidationDropdownReqDataValidation ¶
type UpdateSheetDataValidationDropdownReqDataValidation struct { ConditionValues []string `json:"conditionValues,omitempty"` // 下拉列表选项值, 需为字符串,不能包含",",选项值最长100字符,选项个数最多500个 Options *UpdateSheetDataValidationDropdownReqDataValidationOptions `json:"options,omitempty"` // 可选属性 }
UpdateSheetDataValidationDropdownReqDataValidation ...
type UpdateSheetDataValidationDropdownReqDataValidationOptions ¶
type UpdateSheetDataValidationDropdownReqDataValidationOptions struct { MultipleValues *bool `json:"multipleValues,omitempty"` // 单选填false, 多选填true,不填默认为false HighlightValidData *bool `json:"highlightValidData,omitempty"` // 是否设置颜色和胶囊样式, 不填默认为false Colors []string `json:"colors,omitempty"` // 当highlightValidData为true时,color需填颜色,与conditionValues中的值一一对应。需是RGB16进制格式,如"#fffd00" }
UpdateSheetDataValidationDropdownReqDataValidationOptions ...
type UpdateSheetDataValidationDropdownResp ¶
type UpdateSheetDataValidationDropdownResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet的token SheetID string `json:"sheetId,omitempty"` // 工作表 sheet 的 id DataValidation *UpdateSheetDataValidationDropdownRespDataValidation `json:"dataValidation,omitempty"` }
UpdateSheetDataValidationDropdownResp ...
type UpdateSheetDataValidationDropdownRespDataValidation ¶
type UpdateSheetDataValidationDropdownRespDataValidation struct { DataValidationID int64 `json:"dataValidationId,omitempty"` // 唯一标示id DataValidationType string `json:"dataValidationType,omitempty"` // 下拉列表为"list" ConditionValues []string `json:"conditionValues,omitempty"` // 下拉列表选项值 Options *UpdateSheetDataValidationDropdownRespDataValidationOptions `json:"options,omitempty"` // 可选属性 }
UpdateSheetDataValidationDropdownRespDataValidation ...
type UpdateSheetDataValidationDropdownRespDataValidationOptions ¶
type UpdateSheetDataValidationDropdownRespDataValidationOptions struct { MultipleValues *bool `json:"multipleValues,omitempty"` // 单选填false, 多选填true HighlightValidData *bool `json:"highlightValidData,omitempty"` // 是否设置颜色和胶囊样式 ColorValueMap map[string]string `json:"colorValueMap,omitempty"` // 当highlightValidData为true时,colorValueMap的key与conditionValues中的值一一对应,value为对应的颜色参数。 }
UpdateSheetDataValidationDropdownRespDataValidationOptions ...
type UpdateSheetDimensionRangeReq ¶
type UpdateSheetDimensionRangeReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Dimension *UpdateSheetDimensionRangeReqDimension `json:"dimension,omitempty"` // 需要更新行列的维度信息 DimensionProperties *UpdateSheetDimensionRangeReqDimensionProperties `json:"dimensionProperties,omitempty"` // 需要更新行列的属性 }
UpdateSheetDimensionRangeReq ...
type UpdateSheetDimensionRangeReqDimension ¶
type UpdateSheetDimensionRangeReqDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId MajorDimension *string `json:"majorDimension,omitempty"` // 默认 ROWS ,可选 ROWS、COLUMNS StartIndex int64 `json:"startIndex"` // 开始的位置 EndIndex int64 `json:"endIndex,omitempty"` // 结束的位置 }
UpdateSheetDimensionRangeReqDimension ...
type UpdateSheetDimensionRangeReqDimensionProperties ¶
type UpdateSheetDimensionRangeReqDimensionProperties struct { Visible *bool `json:"visible,omitempty"` // true 为显示,false 为隐藏行列 FixedSize *int64 `json:"fixedSize,omitempty"` // 行/列的大小 }
UpdateSheetDimensionRangeReqDimensionProperties ...
type UpdateSheetDimensionRangeResp ¶
type UpdateSheetDimensionRangeResp struct{}
UpdateSheetDimensionRangeResp ...
type UpdateSheetFilterReq ¶
type UpdateSheetFilterReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA\*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b\**12" Col string `json:"col,omitempty"` // 更新筛选条件的列, 示例值:"E" Condition *UpdateSheetFilterReqCondition `json:"condition,omitempty"` // 筛选条件 }
UpdateSheetFilterReq ...
type UpdateSheetFilterReqCondition ¶
type UpdateSheetFilterReqCondition struct { FilterType string `json:"filter_type,omitempty"` // 筛选类型, 示例值:"number" CompareType *string `json:"compare_type,omitempty"` // 比较类型, 示例值:"less" Expected []string `json:"expected,omitempty"` // 筛选参数, 示例值:6 }
UpdateSheetFilterReqCondition ...
type UpdateSheetFilterViewConditionReq ¶
type UpdateSheetFilterViewConditionReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" ConditionID string `path:"condition_id" json:"-"` // 列字母号, 示例值:"E" FilterType *string `json:"filter_type,omitempty"` // 筛选类型, 示例值:"number" CompareType *string `json:"compare_type,omitempty"` // 比较类型, 示例值:"less" Expected []string `json:"expected,omitempty"` // 筛选参数, 示例值:6 }
UpdateSheetFilterViewConditionReq ...
type UpdateSheetFilterViewConditionResp ¶
type UpdateSheetFilterViewConditionResp struct {
Condition *UpdateSheetFilterViewConditionRespCondition `json:"condition,omitempty"` // 更新后的筛选条件
}
UpdateSheetFilterViewConditionResp ...
type UpdateSheetFilterViewConditionRespCondition ¶
type UpdateSheetFilterViewConditionRespCondition struct { ConditionID string `json:"condition_id,omitempty"` // 设置筛选条件的列,使用字母号 FilterType string `json:"filter_type,omitempty"` // 筛选类型 CompareType string `json:"compare_type,omitempty"` // 比较类型 Expected []string `json:"expected,omitempty"` // 筛选参数 }
UpdateSheetFilterViewConditionRespCondition ...
type UpdateSheetFilterViewReq ¶
type UpdateSheetFilterViewReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FilterViewID string `path:"filter_view_id" json:"-"` // 筛选视图 id, 示例值:"pH9hbVcCXA" FilterViewName *string `json:"filter_view_name,omitempty"` // 筛选视图名字, 示例值:"筛选视图 1" Range *string `json:"range,omitempty"` // 筛选视图的筛选范围, 示例值:"0b**12!C1:H14" }
UpdateSheetFilterViewReq ...
type UpdateSheetFilterViewResp ¶
type UpdateSheetFilterViewResp struct {
FilterView *UpdateSheetFilterViewRespFilterView `json:"filter_view,omitempty"` // 更新后的筛选视图的 id 、name、range
}
UpdateSheetFilterViewResp ...
type UpdateSheetFilterViewRespFilterView ¶
type UpdateSheetFilterViewRespFilterView struct { FilterViewID string `json:"filter_view_id,omitempty"` // 筛选视图 id FilterViewName string `json:"filter_view_name,omitempty"` // 筛选视图名字 Range string `json:"range,omitempty"` // 筛选视图的筛选范围 }
UpdateSheetFilterViewRespFilterView ...
type UpdateSheetFloatImageReq ¶
type UpdateSheetFloatImageReq struct { SpreadSheetToken string `path:"spreadsheet_token" json:"-"` // 表格 token, 示例值:"shtcnmBA*****yGehy8" SheetID string `path:"sheet_id" json:"-"` // 子表 id, 示例值:"0b**12" FloatImageID string `path:"float_image_id" json:"-"` // 浮动图片 id, 示例值:"ye06SS14ph" FloatImageToken *string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作, 示例值:"boxbcbQsaSqIXsxxxxx1HCPJFbh" Range *string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格, 示例值:"0b**12!A1:A1" Width *float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px, 示例值:100 Height *float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px, 示例值:100 OffsetX *float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度, 示例值:0 OffsetY *float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度, 示例值:0 }
UpdateSheetFloatImageReq ...
type UpdateSheetFloatImageResp ¶
type UpdateSheetFloatImageResp struct {
FloatImage *UpdateSheetFloatImageRespFloatImage `json:"float_image,omitempty"` // 浮动图片信息
}
UpdateSheetFloatImageResp ...
type UpdateSheetFloatImageRespFloatImage ¶
type UpdateSheetFloatImageRespFloatImage struct { FloatImageID string `json:"float_image_id,omitempty"` // 浮动图片 id FloatImageToken string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作 Range string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格 Width float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px Height float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px OffsetX float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度 OffsetY float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 }
UpdateSheetFloatImageRespFloatImage ...
type UpdateSheetPropertyReq ¶
type UpdateSheetPropertyReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // spreadsheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Properties *UpdateSheetPropertyReqProperties `json:"properties,omitempty"` // spreadsheet 的属性 }
UpdateSheetPropertyReq ...
type UpdateSheetPropertyReqProperties ¶
type UpdateSheetPropertyReqProperties struct {
Title string `json:"title,omitempty"` // spreadsheet 的标题,最大长度100个字符
}
UpdateSheetPropertyReqProperties ...
type UpdateSheetPropertyResp ¶
type UpdateSheetPropertyResp struct { SpreadSheetToken string `json:"spreadsheetToken,omitempty"` // spreadsheet 的 token Title string `json:"title,omitempty"` // spreadsheet 的标题 }
UpdateSheetPropertyResp ...
type UpdateSheetProtectedDimensionReq ¶
type UpdateSheetProtectedDimensionReq struct { SpreadSheetToken string `path:"spreadsheetToken" json:"-"` // sheet 的 token,获取方式见[在线表格开发指南](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) Requests *UpdateSheetProtectedDimensionReqRequests `json:"requests,omitempty"` // 请求 }
UpdateSheetProtectedDimensionReq ...
type UpdateSheetProtectedDimensionReqRequests ¶
type UpdateSheetProtectedDimensionReqRequests struct { ProtectID string `json:"protectId,omitempty"` // 保护范围ID,可以通过[获取表格元数据](https://open.feishu.cn/document/ukTMukTMukTM/uETMzUjLxEzM14SMxMTN) 接口获取 Dimension *UpdateSheetProtectedDimensionReqRequestsDimension `json:"dimension,omitempty"` // 行列保护信息 Editors *UpdateSheetProtectedDimensionReqRequestsEditors `json:"editors,omitempty"` // 可编辑保护范围的用户 LockInfo *string `json:"lockInfo,omitempty"` // 保护说明 }
UpdateSheetProtectedDimensionReqRequests ...
type UpdateSheetProtectedDimensionReqRequestsDimension ¶
type UpdateSheetProtectedDimensionReqRequestsDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId StartIndex int64 `json:"startIndex,omitempty"` // 保护行列起始下标,下标从1开始 EndIndex int64 `json:"endIndex,omitempty"` // 保护行列终止下标,下标从1开始 MajorDimension string `json:"majorDimension,omitempty"` // 保护范围ID对应的保护范围的维度,COLUMNS为保护列,ROWS为保护行 }
UpdateSheetProtectedDimensionReqRequestsDimension ...
type UpdateSheetProtectedDimensionReqRequestsEditors ¶
type UpdateSheetProtectedDimensionReqRequestsEditors struct { AddEditors *UpdateSheetProtectedDimensionReqRequestsEditorsAddEditors `json:"addEditors,omitempty"` // 需要增加的用户的列表,用户需要有文档的编辑权限 DelEditors *UpdateSheetProtectedDimensionReqRequestsEditorsDelEditors `json:"delEditors,omitempty"` // 需要删除的用户的列表 }
UpdateSheetProtectedDimensionReqRequestsEditors ...
type UpdateSheetProtectedDimensionReqRequestsEditorsAddEditors ¶
type UpdateSheetProtectedDimensionReqRequestsEditorsAddEditors struct { MemberType string `json:"memberType,omitempty"` // 用户类型,支持userId,openId,unionId MemberID string `json:"memberId,omitempty"` // 用户类型对应的用户ID }
UpdateSheetProtectedDimensionReqRequestsEditorsAddEditors ...
type UpdateSheetProtectedDimensionReqRequestsEditorsDelEditors ¶
type UpdateSheetProtectedDimensionReqRequestsEditorsDelEditors struct { MemberType string `json:"memberType,omitempty"` // 用户类型,支持userId,openId,unionId MemberID string `json:"memberId,omitempty"` // 用户类型对应的用户ID }
UpdateSheetProtectedDimensionReqRequestsEditorsDelEditors ...
type UpdateSheetProtectedDimensionResp ¶
type UpdateSheetProtectedDimensionResp struct {
Replies []*UpdateSheetProtectedDimensionRespReply `json:"replies,omitempty"` // 响应
}
UpdateSheetProtectedDimensionResp ...
type UpdateSheetProtectedDimensionRespReply ¶
type UpdateSheetProtectedDimensionRespReply struct { SheetID string `json:"sheetId,omitempty"` // sheet的id Dimension *UpdateSheetProtectedDimensionRespReplyDimension `json:"dimension,omitempty"` // 成功修改的保护行列信息 Editors *UpdateSheetProtectedDimensionRespReplyEditors `json:"editors,omitempty"` // 可编辑保护范围的用户 LockInfo string `json:"lockInfo,omitempty"` // 成功修改的保护说明 }
UpdateSheetProtectedDimensionRespReply ...
type UpdateSheetProtectedDimensionRespReplyDimension ¶
type UpdateSheetProtectedDimensionRespReplyDimension struct { SheetID string `json:"sheetId,omitempty"` // sheetId StartIndex int64 `json:"startIndex,omitempty"` // 保护行列起始下标,下标从1开始 EndIndex int64 `json:"endIndex,omitempty"` // 保护行列终止下标,下标从1开始 MajorDimension string `json:"majorDimension,omitempty"` // 保护范围的维度 }
UpdateSheetProtectedDimensionRespReplyDimension ...
type UpdateSheetProtectedDimensionRespReplyEditors ¶
type UpdateSheetProtectedDimensionRespReplyEditors struct { AddEditors []*UpdateSheetProtectedDimensionRespReplyEditorsAddEditor `json:"addEditors,omitempty"` // 成功增加的用户的列表 DelEditors []*UpdateSheetProtectedDimensionRespReplyEditorsDelEditor `json:"delEditors,omitempty"` // 成功删除的用户的列表 }
UpdateSheetProtectedDimensionRespReplyEditors ...
type UpdateSheetProtectedDimensionRespReplyEditorsAddEditor ¶
type UpdateSheetProtectedDimensionRespReplyEditorsAddEditor struct { MemberType string `json:"memberType,omitempty"` // 用户类型 MemberID string `json:"memberId,omitempty"` // 用户类型对应的用户ID }
UpdateSheetProtectedDimensionRespReplyEditorsAddEditor ...
type UpdateSheetProtectedDimensionRespReplyEditorsDelEditor ¶
type UpdateSheetProtectedDimensionRespReplyEditorsDelEditor struct { MemberType string `json:"memberType,omitempty"` // 用户类型 MemberID string `json:"memberId,omitempty"` // 用户类型对应的用户ID }
UpdateSheetProtectedDimensionRespReplyEditorsDelEditor ...
type UpdateTaskCommentReq ¶
type UpdateTaskCommentReq struct { TaskID string `path:"task_id" json:"-"` // 任务ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" CommentID string `path:"comment_id" json:"-"` // 评论 ID, 示例值:"6937231762296684564" Content string `json:"content,omitempty"` // 新的评论内容, 示例值:"飞流直下三千尺,疑是银河落九天" }
UpdateTaskCommentReq ...
type UpdateTaskCommentResp ¶
type UpdateTaskCommentResp struct {
Comment *UpdateTaskCommentRespComment `json:"comment,omitempty"` // 返回修改后的任务评论详情
}
UpdateTaskCommentResp ...
type UpdateTaskCommentRespComment ¶
type UpdateTaskCommentRespComment struct { Content string `json:"content,omitempty"` // 评论内容 ParentID string `json:"parent_id,omitempty"` // 评论的父ID,创建评论时若不为空则为某条评论的回复,若不为空则不是回复 ID string `json:"id,omitempty"` // 评论ID,由飞书服务器发号 }
UpdateTaskCommentRespComment ...
type UpdateTaskReq ¶
type UpdateTaskReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID TaskID string `path:"task_id" json:"-"` // 任务 ID, 示例值:"83912691-2e43-47fc-94a4-d512e03984fa" Task *UpdateTaskReqTask `json:"task,omitempty"` // 被更新的任务实体基础信息 UpdateFields []string `json:"update_fields,omitempty"` // 指定需要更新的字段(目前可选更新的字段为:summary, description, due, extra),否则服务端将不知道更新哪些字段, 示例值:["summary"] }
UpdateTaskReq ...
type UpdateTaskReqTask ¶
type UpdateTaskReqTask struct { Summary *string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务, 示例值:"每天喝八杯水,保持身心愉悦", 长度范围:`1` ~ `256` 字符 Description *string `json:"description,omitempty"` // 任务备注, 示例值:"多吃水果,多运动,健康生活,快乐工作。", 长度范围:`0` ~ `65536` 字符 Extra *string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定, 示例值:"dGVzdA==", 长度范围:`0` ~ `65536` 字符 Due *UpdateTaskReqTaskDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *UpdateTaskReqTaskOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit *bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息, 示例值:true, 默认值: `false` Custom *string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递, 示例值:"{\"custom_complete\":{\"android\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}},\"ios\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}},\"pc\":{\"href\":\"https://www.google.com.hk/\",\"tip\":{\"zh_cn\":\"你好\",\"en_us\":\"hello\"}}}}", 长度范围:`0` ~ `65536` 字符 }
UpdateTaskReqTask ...
type UpdateTaskReqTaskDue ¶
type UpdateTaskReqTaskDue struct { Time *string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒), 示例值:"1623124318" Timezone *string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai, 示例值:"Asia/Shanghai", 默认值: `Asia/Shanghai` IsAllDay *bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点), 示例值:false, 默认值: `false` }
UpdateTaskReqTaskDue ...
type UpdateTaskReqTaskOrigin ¶
type UpdateTaskReqTaskOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn, 示例值:"{\"zh_cn\": \"IT 工作台\", \"en_us\": \"IT Workspace\"}", 长度范围:`0` ~ `1024` 字符 Href *UpdateTaskReqTaskOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
UpdateTaskReqTaskOrigin ...
type UpdateTaskReqTaskOriginHref ¶
type UpdateTaskReqTaskOriginHref struct { URL *string `json:"url,omitempty"` // 具体链接地址, 示例值:"https://support.feishu.com/internal/foo-bar", 长度范围:`0` ~ `1024` 字符 Title *string `json:"title,omitempty"` // 链接对应的标题, 示例值:"反馈一个问题,需要协助排查", 长度范围:`0` ~ `512` 字符 }
UpdateTaskReqTaskOriginHref ...
type UpdateTaskResp ¶
type UpdateTaskResp struct {
Task *UpdateTaskRespTask `json:"task,omitempty"` // 返回修改后的任务详情
}
UpdateTaskResp ...
type UpdateTaskRespTask ¶
type UpdateTaskRespTask struct { ID string `json:"id,omitempty"` // 任务 ID,由飞书任务服务器发号 Summary string `json:"summary,omitempty"` // 任务标题。创建任务时,如果没有标题填充,飞书服务器会将其视为无主题的任务 Description string `json:"description,omitempty"` // 任务备注 CompleteTime string `json:"complete_time,omitempty"` // 任务的完成时间戳(单位为秒),如果完成时间为 0,则表示任务尚未完成 CreatorID string `json:"creator_id,omitempty"` // 任务的创建者 ID。在创建任务时无需填充该字段 Extra string `json:"extra,omitempty"` // 接入方可以自定义的附属信息二进制格式,采用 base64 编码,解析方式由接入方自己决定 CreateTime string `json:"create_time,omitempty"` // 任务的创建时间戳(单位为秒) UpdateTime string `json:"update_time,omitempty"` // 任务的更新时间戳(单位为秒) Due *UpdateTaskRespTaskDue `json:"due,omitempty"` // 任务的截止时间设置 Origin *UpdateTaskRespTaskOrigin `json:"origin,omitempty"` // 任务关联的第三方平台来源信息 CanEdit bool `json:"can_edit,omitempty"` // 此字段用于控制该任务在飞书任务中心是否可编辑,默认为false,若为true则第三方需考虑是否需要接入事件来接收任务在任务中心的变更信息 Custom string `json:"custom,omitempty"` // 此字段用于存储第三方需透传到端上的自定义数据,Json格式。取值举例中custom_complete字段存储「完成」按钮的跳转链接(href)或提示信息(tip),pc、ios、android三端均可自定义,其中tip字段的key为语言类型,value为提示信息,可自行增加或减少语言类型,支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn。href的优先级高于tip,href和tip同时不为空时只跳转不提示。链接和提示信息可自定义,其余的key需按举例中的结构传递 Source int64 `json:"source,omitempty"` // 任务创建的来源, 可选值有: `0`:未知类型, `1`:来源任务中心创建, `2`:来源消息转任务, `3`:来源云文档, `4`:来源文档单品, `5`:来源PANO, `6`:来源tenant_access_token创建的任务, `7`:来源user_access_token创建的任务, `8`:来源新版云文档 }
UpdateTaskRespTask ...
type UpdateTaskRespTaskDue ¶
type UpdateTaskRespTaskDue struct { Time string `json:"time,omitempty"` // 截止时间的时间戳(单位为秒) Timezone string `json:"timezone,omitempty"` // 截止时间对应的时区,使用IANA Time Zone Database标准,如Asia/Shanghai IsAllDay bool `json:"is_all_day,omitempty"` // 标记任务是否为全天任务(全天任务的截止时间为当天 UTC 时间的 0 点) }
UpdateTaskRespTaskDue ...
type UpdateTaskRespTaskOrigin ¶
type UpdateTaskRespTaskOrigin struct { PlatformI18nName string `json:"platform_i18n_name,omitempty"` // 任务导入来源的名称,用于在任务中心详情页展示。请提供一个字典,多种语言名称映射。支持的各地区语言名:it_it, th_th, ko_kr, es_es, ja_jp, zh_cn, id_id, zh_hk, pt_br, de_de, fr_fr, zh_tw, ru_ru, en_us, hi_in, vi_vn Href *UpdateTaskRespTaskOriginHref `json:"href,omitempty"` // 任务关联的来源平台详情页链接 }
UpdateTaskRespTaskOrigin ...
type UpdateTaskRespTaskOriginHref ¶
type UpdateTaskRespTaskOriginHref struct { URL string `json:"url,omitempty"` // 具体链接地址 Title string `json:"title,omitempty"` // 链接对应的标题 }
UpdateTaskRespTaskOriginHref ...
type UpdateUserPatchReq ¶
type UpdateUserPatchReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` UserID string `path:"user_id" json:"-"` // 用户ID,需要与查询参数中的user_id_type类型保持一致。, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Name *string `json:"name,omitempty"` // 用户名, 示例值:"张三", 最小长度:`1` 字符 EnName *string `json:"en_name,omitempty"` // 英文名, 示例值:"San Zhang" Nickname *string `json:"nickname,omitempty"` // 别名, 示例值:"Alex Zhang" Email *string `json:"email,omitempty"` // 邮箱, 示例值:"zhangsan@gmail.com" Mobile *string `json:"mobile,omitempty"` // 手机号, 示例值:"13011111111" MobileVisible *bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码, 示例值:false Gender *int64 `json:"gender,omitempty"` // 性别, 示例值:1, 可选值有: `0`:保密, `1`:男, `2`:女 AvatarKey *string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key, 示例值:"2500c7a9-5fff-4d9a-a2de-3d59614ae28g" DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0), 示例值:od-4e6ac4d14bcd5071a37a39de902c7141 LeaderUserID *string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" City *string `json:"city,omitempty"` // 城市, 示例值:"杭州" Country *string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description), 示例值:"CN" WorkStation *string `json:"work_station,omitempty"` // 工位, 示例值:"北楼-H34" JoinTime *int64 `json:"join_time,omitempty"` // 入职时间, 示例值:2147483647 EmployeeNo *string `json:"employee_no,omitempty"` // 工号, 示例值:"1" EmployeeType *int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list), 示例值:1 Orders []*UpdateUserPatchReqOrder `json:"orders,omitempty"` // 用户排序信息 CustomAttrs []*UpdateUserPatchReqCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。 EnterpriseEmail *string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务, 示例值:"demo@mail.com" JobTitle *string `json:"job_title,omitempty"` // 职务, 示例值:"xxxxx" IsFrozen *bool `json:"is_frozen,omitempty"` // 是否暂停用户, 示例值:false }
UpdateUserPatchReq ...
type UpdateUserPatchReqCustomAttr ¶
type UpdateUserPatchReqCustomAttr struct { Type *string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN), 示例值:"TEXT" ID *string `json:"id,omitempty"` // 自定义字段ID, 示例值:"DemoId" Value *UpdateUserPatchReqCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
UpdateUserPatchReqCustomAttr ...
type UpdateUserPatchReqCustomAttrValue ¶
type UpdateUserPatchReqCustomAttrValue struct { Text *string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填, 示例值:"DemoText" URL *string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL, 示例值:"http://www.feishu.cn" PcURL *string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL, 示例值:"http://www.feishu.cn" OptionID *string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值, 示例值:"edcvfrtg" GenericUser *UpdateUserPatchReqCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
UpdateUserPatchReqCustomAttrValue ...
type UpdateUserPatchReqCustomAttrValueGenericUser ¶
type UpdateUserPatchReqCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id, 示例值:"9b2fabg5" Type int64 `json:"type,omitempty"` // 用户类型 1:用户, 示例值:1 }
UpdateUserPatchReqCustomAttrValueGenericUser ...
type UpdateUserPatchReqOrder ¶
type UpdateUserPatchReqOrder struct { DepartmentID *string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" UserOrder *int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前, 示例值:100 DepartmentOrder *int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前, 示例值:100 }
UpdateUserPatchReqOrder ...
type UpdateUserPatchResp ¶
type UpdateUserPatchResp struct {
User *UpdateUserPatchRespUser `json:"user,omitempty"` // 用户信息
}
UpdateUserPatchResp ...
type UpdateUserPatchRespUser ¶
type UpdateUserPatchRespUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 AvatarKey string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key Avatar *UpdateUserPatchRespUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *UpdateUserPatchRespUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*UpdateUserPatchRespUserOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*UpdateUserPatchRespUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
UpdateUserPatchRespUser ...
type UpdateUserPatchRespUserAvatar ¶
type UpdateUserPatchRespUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
UpdateUserPatchRespUserAvatar ...
type UpdateUserPatchRespUserCustomAttr ¶
type UpdateUserPatchRespUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *UpdateUserPatchRespUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
UpdateUserPatchRespUserCustomAttr ...
type UpdateUserPatchRespUserCustomAttrValue ¶
type UpdateUserPatchRespUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *UpdateUserPatchRespUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
UpdateUserPatchRespUserCustomAttrValue ...
type UpdateUserPatchRespUserCustomAttrValueGenericUser ¶
type UpdateUserPatchRespUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
UpdateUserPatchRespUserCustomAttrValueGenericUser ...
type UpdateUserPatchRespUserOrder ¶
type UpdateUserPatchRespUserOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
UpdateUserPatchRespUserOrder ...
type UpdateUserPatchRespUserStatus ¶
type UpdateUserPatchRespUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
UpdateUserPatchRespUserStatus ...
type UpdateUserReq ¶
type UpdateUserReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID DepartmentIDType *DepartmentIDType `query:"department_id_type" json:"-"` // 此次调用中使用的部门ID的类型, 示例值:"open_department_id", 可选值有: `department_id`:以自定义department_id来标识部门, `open_department_id`:以open_department_id来标识部门, 默认值: `open_department_id` UserID string `path:"user_id" json:"-"` // 用户ID,需要与查询参数中的user_id_type类型保持一致。, 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" Name string `json:"name,omitempty"` // 用户名, 示例值:"张三", 最小长度:`1` 字符 EnName *string `json:"en_name,omitempty"` // 英文名, 示例值:"San Zhang" Nickname *string `json:"nickname,omitempty"` // 别名, 示例值:"Alex Zhang" Email *string `json:"email,omitempty"` // 邮箱, 示例值:"zhangsan@gmail.com" Mobile string `json:"mobile,omitempty"` // 手机号, 示例值:"13011111111" MobileVisible *bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码, 示例值:false Gender *int64 `json:"gender,omitempty"` // 性别, 示例值:1, 可选值有: `0`:保密, `1`:男, `2`:女 AvatarKey *string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key, 示例值:"2500c7a9-5fff-4d9a-a2de-3d59614ae28g" DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0), 示例值:od-4e6ac4d14bcd5071a37a39de902c7141 LeaderUserID *string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 示例值:"ou_7dab8a3d3cdcc9da365777c7ad535d62" City *string `json:"city,omitempty"` // 城市, 示例值:"杭州" Country *string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description), 示例值:"CN" WorkStation *string `json:"work_station,omitempty"` // 工位, 示例值:"北楼-H34" JoinTime *int64 `json:"join_time,omitempty"` // 入职时间, 示例值:2147483647 EmployeeNo *string `json:"employee_no,omitempty"` // 工号, 示例值:"1" EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list), 示例值:1 Orders []*UpdateUserReqOrder `json:"orders,omitempty"` // 用户排序信息 CustomAttrs []*UpdateUserReqCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。 EnterpriseEmail *string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务, 示例值:"demo@mail.com" JobTitle *string `json:"job_title,omitempty"` // 职务, 示例值:"xxxxx" IsFrozen *bool `json:"is_frozen,omitempty"` // 是否暂停用户, 示例值:false }
UpdateUserReq ...
type UpdateUserReqCustomAttr ¶
type UpdateUserReqCustomAttr struct { Type *string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN), 示例值:"TEXT" ID *string `json:"id,omitempty"` // 自定义字段ID, 示例值:"DemoId" Value *UpdateUserReqCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
UpdateUserReqCustomAttr ...
type UpdateUserReqCustomAttrValue ¶
type UpdateUserReqCustomAttrValue struct { Text *string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填, 示例值:"DemoText" URL *string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL, 示例值:"http://www.feishu.cn" PcURL *string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL, 示例值:"http://www.feishu.cn" OptionID *string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值, 示例值:"edcvfrtg" GenericUser *UpdateUserReqCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
UpdateUserReqCustomAttrValue ...
type UpdateUserReqCustomAttrValueGenericUser ¶
type UpdateUserReqCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id, 示例值:"9b2fabg5" Type int64 `json:"type,omitempty"` // 用户类型 1:用户, 示例值:1 }
UpdateUserReqCustomAttrValueGenericUser ...
type UpdateUserReqOrder ¶
type UpdateUserReqOrder struct { DepartmentID *string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview), 示例值:"od-4e6ac4d14bcd5071a37a39de902c7141" UserOrder *int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前, 示例值:100 DepartmentOrder *int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前, 示例值:100 }
UpdateUserReqOrder ...
type UpdateUserResp ¶
type UpdateUserResp struct {
User *UpdateUserRespUser `json:"user,omitempty"` // 用户信息
}
UpdateUserResp ...
type UpdateUserRespUser ¶
type UpdateUserRespUser struct { UnionID string `json:"union_id,omitempty"` // 用户的union_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) UserID string `json:"user_id,omitempty"` // 租户内用户的唯一标识,用户的user_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction), 字段权限要求: 获取用户 user ID OpenID string `json:"open_id,omitempty"` // 用户的open_id,不同ID的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Name string `json:"name,omitempty"` // 用户名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 EnName string `json:"en_name,omitempty"` // 英文名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Nickname string `json:"nickname,omitempty"` // 别名,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Email string `json:"email,omitempty"` // 邮箱, 字段权限要求: 获取用户邮箱信息 Mobile string `json:"mobile,omitempty"` // 手机号, 字段权限要求: 获取用户手机号 MobileVisible bool `json:"mobile_visible,omitempty"` // 手机号码可见性,true 为可见,false 为不可见,目前默认为 true。不可见时,组织员工将无法查看该员工的手机号码 Gender int64 `json:"gender,omitempty"` // 性别, 可选值有: `0`:保密, `1`:男, `2`:女,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户性别,以应用身份访问通讯录,读取通讯录 AvatarKey string `json:"avatar_key,omitempty"` // 头像的文件Key,可通过“消息与群组/消息/图片信息”中的“上传图片”接口上传并获取头像文件 Key Avatar *UpdateUserRespUserAvatar `json:"avatar,omitempty"` // 用户头像信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户基本信息,以应用身份访问通讯录,读取通讯录 Status *UpdateUserRespUserStatus `json:"status,omitempty"` // 用户状态,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 DepartmentIDs []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表,一个用户可属于多个部门。,ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview#23857fe0),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 LeaderUserID string `json:"leader_user_id,omitempty"` // 用户的直接主管的用户ID,ID值与查询参数中的user_id_type 对应。,不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 City string `json:"city,omitempty"` // 城市,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Country string `json:"country,omitempty"` // 国家或地区Code缩写,具体写入格式请参考 [国家/地区码表](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/user/country-code-description),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 WorkStation string `json:"work_station,omitempty"` // 工位,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JoinTime int64 `json:"join_time,omitempty"` // 入职时间,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsTenantManager bool `json:"is_tenant_manager,omitempty"` // 是否是租户超级管理员,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeNo string `json:"employee_no,omitempty"` // 工号,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EmployeeType int64 `json:"employee_type,omitempty"` // 员工类型,可选值有:, `1`:正式员工, `2`:实习生, `3`:外包, `4`:劳务, `5`:顾问 ,同时可读取到自定义员工类型的 int 值,可通过下方接口获取到该租户的自定义员工类型的名称 ,[获取人员类型](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/employee_type_enum/list),**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 Orders []*UpdateUserRespUserOrder `json:"orders,omitempty"` // 用户排序信息,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户组织架构信息,以应用身份访问通讯录,读取通讯录 CustomAttrs []*UpdateUserRespUserCustomAttr `json:"custom_attrs,omitempty"` // 自定义字段,请确保你的组织管理员已在管理后台/组织架构/成员字段管理/自定义字段管理/全局设置中开启了“允许开放平台 API 调用“,否则该字段不会生效/返回。,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 EnterpriseEmail string `json:"enterprise_email,omitempty"` // 企业邮箱,请先确保已在管理后台启用飞书邮箱服务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 JobTitle string `json:"job_title,omitempty"` // 职务,**字段权限要求(满足任一)**:,以应用身份读取通讯录,获取用户雇佣信息,以应用身份访问通讯录,读取通讯录 IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停用户 }
UpdateUserRespUser ...
type UpdateUserRespUserAvatar ¶
type UpdateUserRespUserAvatar struct { Avatar72 string `json:"avatar_72,omitempty"` // 72*72像素头像链接 Avatar240 string `json:"avatar_240,omitempty"` // 240*240像素头像链接 Avatar640 string `json:"avatar_640,omitempty"` // 640*640像素头像链接 AvatarOrigin string `json:"avatar_origin,omitempty"` // 原始头像链接 }
UpdateUserRespUserAvatar ...
type UpdateUserRespUserCustomAttr ¶
type UpdateUserRespUserCustomAttr struct { Type string `json:"type,omitempty"` // 自定义字段类型 , `TEXT`:文本, `HREF`:网页, `ENUMERATION`:枚举, `PICTURE_ENUM`:图片, `GENERIC_USER`:用户,[自定义字段相关常见问题](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN) ID string `json:"id,omitempty"` // 自定义字段ID Value *UpdateUserRespUserCustomAttrValue `json:"value,omitempty"` // 自定义字段取值 }
UpdateUserRespUserCustomAttr ...
type UpdateUserRespUserCustomAttrValue ¶
type UpdateUserRespUserCustomAttrValue struct { Text string `json:"text,omitempty"` // 字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填 URL string `json:"url,omitempty"` // 字段类型为 HREF 时,该参数定义默认 URL PcURL string `json:"pc_url,omitempty"` // 字段类型为 HREF 时,该参数定义PC端 URL OptionID string `json:"option_id,omitempty"` // 字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值 OptionValue string `json:"option_value,omitempty"` // 选项值 Name string `json:"name,omitempty"` // 名称 PictureURL string `json:"picture_url,omitempty"` // 图片链接 GenericUser *UpdateUserRespUserCustomAttrValueGenericUser `json:"generic_user,omitempty"` // 字段类型为 GENERIC_USER 时,该参数定义引用人员 }
UpdateUserRespUserCustomAttrValue ...
type UpdateUserRespUserCustomAttrValueGenericUser ¶
type UpdateUserRespUserCustomAttrValueGenericUser struct { ID string `json:"id,omitempty"` // 用户的user_id Type int64 `json:"type,omitempty"` // 用户类型 1:用户 }
UpdateUserRespUserCustomAttrValueGenericUser ...
type UpdateUserRespUserOrder ¶
type UpdateUserRespUserOrder struct { DepartmentID string `json:"department_id,omitempty"` // 排序信息对应的部门ID, ID值与查询参数中的department_id_type 对应。,不同 ID 的说明参见 [部门ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview) UserOrder int64 `json:"user_order,omitempty"` // 用户在其直属部门内的排序,数值越大,排序越靠前 DepartmentOrder int64 `json:"department_order,omitempty"` // 用户所属的多个部门间的排序,数值越大,排序越靠前 }
UpdateUserRespUserOrder ...
type UpdateUserRespUserStatus ¶
type UpdateUserRespUserStatus struct { IsFrozen bool `json:"is_frozen,omitempty"` // 是否暂停 IsResigned bool `json:"is_resigned,omitempty"` // 是否离职 IsActivated bool `json:"is_activated,omitempty"` // 是否激活 IsExited bool `json:"is_exited,omitempty"` // 是否主动退出,主动退出一段时间后用户会自动转为已离职 IsUnjoin bool `json:"is_unjoin,omitempty"` // 是否未加入,需要用户自主确认才能加入团队 }
UpdateUserRespUserStatus ...
type UpdateVCReserveReq ¶
type UpdateVCReserveReq struct { UserIDType *IDType `query:"user_id_type" json:"-"` // 用户 ID 类型, 示例值:"open_id", 可选值有: `open_id`:用户的 open id, `union_id`:用户的 union id, `user_id`:用户的 user id, 默认值: `open_id`, 当值为 `user_id`, 字段权限要求: 获取用户 user ID ReserveID string `path:"reserve_id" json:"-"` // 预约ID(预约的唯一标识), 示例值:"6911188411932033028" EndTime *string `json:"end_time,omitempty"` // 预约到期时间(unix时间,单位sec), 示例值:"1608888867" MeetingSettings *UpdateVCReserveReqMeetingSettings `json:"meeting_settings,omitempty"` // 会议设置 }
UpdateVCReserveReq ...
type UpdateVCReserveReqMeetingSettings ¶
type UpdateVCReserveReqMeetingSettings struct { Topic *string `json:"topic,omitempty"` // 会议主题, 示例值:"my meeting" ActionPermissions []*UpdateVCReserveReqMeetingSettingsActionPermission `json:"action_permissions,omitempty"` // 会议权限配置列表,如果存在相同的权限配置项则它们之间为"逻辑或"的关系(即 有一个为true则拥有该权限) MeetingInitialType *int64 `json:"meeting_initial_type,omitempty"` // 会议初始类型, 示例值:1, 可选值有: `1`:多人会议, `2`:1v1呼叫 CallSetting *UpdateVCReserveReqMeetingSettingsCallSetting `json:"call_setting,omitempty"` // 1v1呼叫相关参数 }
UpdateVCReserveReqMeetingSettings ...
type UpdateVCReserveReqMeetingSettingsActionPermission ¶
type UpdateVCReserveReqMeetingSettingsActionPermission struct { Permission int64 `json:"permission,omitempty"` // 权限项, 示例值:1, 可选值有: `1`:是否能成为主持人, `2`:是否能邀请参会人, `3`:是否能加入会议 PermissionCheckers []*UpdateVCReserveReqMeetingSettingsActionPermissionPermissionChecker `json:"permission_checkers,omitempty"` // 权限检查器列表,权限检查器之间为"逻辑或"的关系(即 有一个为true则拥有该权限) }
UpdateVCReserveReqMeetingSettingsActionPermission ...
type UpdateVCReserveReqMeetingSettingsActionPermissionPermissionChecker ¶
type UpdateVCReserveReqMeetingSettingsActionPermissionPermissionChecker struct { CheckField int64 `json:"check_field,omitempty"` // 检查字段类型, 示例值:1, 可选值有: `1`:用户ID, `2`:用户类型, `3`:租户ID CheckMode int64 `json:"check_mode,omitempty"` // 检查方式, 示例值:1, 可选值有: `1`:在check_list中为有权限(白名单), `2`:不在check_list中为有权限(黑名单) CheckList []string `json:"check_list,omitempty"` // 检查字段列表 }
UpdateVCReserveReqMeetingSettingsActionPermissionPermissionChecker ...
type UpdateVCReserveReqMeetingSettingsCallSetting ¶
type UpdateVCReserveReqMeetingSettingsCallSetting struct {
Callee *UpdateVCReserveReqMeetingSettingsCallSettingCallee `json:"callee,omitempty"` // 被呼叫的用户
}
UpdateVCReserveReqMeetingSettingsCallSetting ...
type UpdateVCReserveReqMeetingSettingsCallSettingCallee ¶
type UpdateVCReserveReqMeetingSettingsCallSettingCallee struct { ID *string `json:"id,omitempty"` // 用户ID, 示例值:"ou_3ec3f6a28a0d08c45d895276e8e5e19b" UserType int64 `json:"user_type,omitempty"` // 用户类型,当前仅支持用户类型6(pstn用户), 示例值:1, 可选值有: `1`:lark用户, `2`:rooms用户, `3`:文档用户, `4`:neo单品用户, `5`:neo单品游客用户, `6`:pstn用户, `7`:sip用户 PstnSipInfo *UpdateVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo `json:"pstn_sip_info,omitempty"` // pstn/sip信息 }
UpdateVCReserveReqMeetingSettingsCallSettingCallee ...
type UpdateVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo ¶
type UpdateVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo struct { Nickname *string `json:"nickname,omitempty"` // 给pstn/sip用户设置的临时昵称, 示例值:"dodo" MainAddress string `json:"main_address,omitempty"` // pstn/sip主机号,格式为:[国际冠字]-[电话区号][电话号码],当前仅支持国内手机及固定电话号码, 示例值:"+86-02187654321" }
UpdateVCReserveReqMeetingSettingsCallSettingCalleePstnSipInfo ...
type UpdateVCReserveResp ¶
type UpdateVCReserveResp struct {
Reserve *UpdateVCReserveRespReserve `json:"reserve,omitempty"` // 预约数据
}
UpdateVCReserveResp ...
type UpdateVCReserveRespReserve ¶
type UpdateVCReserveRespReserve struct { ID string `json:"id,omitempty"` // 预约ID(预约的唯一标识) MeetingNo string `json:"meeting_no,omitempty"` // 9位会议号(飞书用户可通过输入9位会议号快捷入会) URL string `json:"url,omitempty"` // 会议链接(飞书用户可通过点击会议链接快捷入会) EndTime string `json:"end_time,omitempty"` // 预约到期时间(unix时间,单位sec) ExpireStatus int64 `json:"expire_status,omitempty"` // 过期状态, 可选值有: `1`:未过期, `2`:已过期 }
UpdateVCReserveRespReserve ...
type UpdateWikiSpaceSettingReq ¶
type UpdateWikiSpaceSettingReq struct { SpaceID string `path:"space_id" json:"-"` // 知识空间id, 示例值:"1565676577122621" CreateSetting *string `json:"create_setting,omitempty"` // 谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员, 示例值:"admin/admin_and_member" SecuritySetting *string `json:"security_setting,omitempty"` // 可阅读用户可否创建副本/打印/导出/复制: "allow" - 允许 "not_allow" - 不允许, 示例值:"allow/not_allow" CommentSetting *string `json:"comment_setting,omitempty"` // 可阅读用户可否评论: "allow" - 允许 "not_allow" - 不允许, 示例值:"allow/not_allow" }
UpdateWikiSpaceSettingReq ...
type UpdateWikiSpaceSettingResp ¶
type UpdateWikiSpaceSettingResp struct {
Setting *UpdateWikiSpaceSettingRespSetting `json:"setting,omitempty"` // 知识空间设置
}
UpdateWikiSpaceSettingResp ...
type UpdateWikiSpaceSettingRespSetting ¶
type UpdateWikiSpaceSettingRespSetting struct { CreateSetting string `json:"create_setting,omitempty"` // 谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员 SecuritySetting string `json:"security_setting,omitempty"` // 可阅读用户可否创建副本/打印/导出/复制: "allow" - 允许 "not_allow" - 不允许 CommentSetting string `json:"comment_setting,omitempty"` // 可阅读用户可否评论: "allow" - 允许 "not_allow" - 不允许 }
UpdateWikiSpaceSettingRespSetting ...
type UploadApprovalFileReq ¶
type UploadApprovalFileReq struct { Name string `json:"name,omitempty"` // 文件名(需包含文件扩展名,如“文件.doc” Type string `json:"type,omitempty"` // 文件类型(image 或 attachment) Content io.Reader `json:"content,omitempty"` // 文件 }
UploadApprovalFileReq ...
type UploadApprovalFileResp ¶
type UploadApprovalFileResp struct { Code string `json:"code,omitempty"` // 文件标识码(用于创建审批实例) URL string `json:"url,omitempty"` // 文件 url XExpires string `json:"x-expires,omitempty"` // 时间有效期 }
UploadApprovalFileResp ...
type UploadAttendanceFileReq ¶
type UploadAttendanceFileReq struct { FileName string `query:"file_name" json:"-"` // 带后缀的文件名, 示例值:"人脸照片.jpg" File io.Reader `json:"file,omitempty"` // 文件内容, 示例值:二进制文件 }
UploadAttendanceFileReq ...
type UploadAttendanceFileResp ¶
type UploadAttendanceFileResp struct {
File *UploadAttendanceFileRespFile `json:"file,omitempty"` // 文件
}
UploadAttendanceFileResp ...
type UploadAttendanceFileRespFile ¶
type UploadAttendanceFileRespFile struct {
FileID string `json:"file_id,omitempty"` // 文件 ID
}
UploadAttendanceFileRespFile ...
type UploadDriveFileReq ¶
type UploadDriveFileReq struct { FileName string `json:"file_name,omitempty"` // 文件名, 示例值:"test.txt", 最大长度:`250` 字符 ParentType string `json:"parent_type,omitempty"` // 上传点类型, 示例值:"explorer", 可选值有: `explorer`:云空间 ParentNode string `json:"parent_node,omitempty"` // 文件夹token,,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction), 示例值:"fldcn77hdDT5" Size int64 `json:"size,omitempty"` // 文件大小,全量上传最大20M, 示例值:1024, 最大值:`20971520` Checksum *string `json:"checksum,omitempty"` // 文件adler32校验和(可选), 示例值:"123423882374238957235" File io.Reader `json:"file,omitempty"` // 文件数据, 示例值:file binary }
UploadDriveFileReq ...
type UploadDriveFileResp ¶
type UploadDriveFileResp struct {
FileToken string `json:"file_token,omitempty"` // 新创建文件的 token
}
UploadDriveFileResp ...
type UploadDriveMediaReq ¶
type UploadDriveMediaReq struct { FileName string `json:"file_name,omitempty"` // 文件名, 示例值:"test.txt", 最大长度:`250` 字符 ParentType string `json:"parent_type,omitempty"` // 上传点类型, 示例值:"doc_image", 可选值有: `doc_image`:docs图片, `docx_image`:docx图片(灰度中,暂未开放), `sheet_image`:sheet图片, `doc_file`:doc文件, `docx_file`:docx文件(灰度中,暂未开放), `sheet_file`:sheet文件, `vc_virtual_background`:vc虚拟背景(灰度中,暂未开放), `bitable_image`:多维表格图片, `bitable_file`:多维表格文件, `moments`:同事圈(灰度中,暂未开放), `ccm_import_open`:云文档导入文件 ParentNode string `json:"parent_node,omitempty"` // 上传点的token, 示例值:"doccn123456" Size int64 `json:"size,omitempty"` // 文件大小,全量上传最大20M, 示例值:1024, 最大值:`20971520` Checksum *string `json:"checksum,omitempty"` // 文件adler32校验和(可选), 示例值:"12345678" Extra *string `json:"extra,omitempty"` // 扩展信息(可选), 示例值:"{"test":"test"}" File io.Reader `json:"file,omitempty"` // 文件内容, 示例值:file binary }
UploadDriveMediaReq ...
type UploadDriveMediaResp ¶
type UploadDriveMediaResp struct {
FileToken string `json:"file_token,omitempty"` // 新创建文件的 token
}
UploadDriveMediaResp ...
type UploadFaceVerifyImageReq ¶
type UploadFaceVerifyImageReq struct { OpenID *string `query:"open_id" json:"-"` // 用户应用标识, 与employee_id二选其一 EmployeeID *string `query:"employee_id" json:"-"` // 用户租户标识, 与open_id二选其一 Image io.Reader `json:"image,omitempty"` // 带有头像的人脸照片 }
UploadFaceVerifyImageReq ...
type UploadFaceVerifyImageResp ¶
type UploadFaceVerifyImageResp struct {
FaceUid string `json:"face_uid,omitempty"` // 人脸图片用户Uid,需返回给应用小程序,作为小程序调起人脸识别接口的uid参数
}
UploadFaceVerifyImageResp ...
type UploadFileReq ¶
type UploadFileReq struct { FileType FileType `json:"file_type,omitempty"` // 文件类型, 示例值:"mp4", 可选值有: `opus`:上传opus音频文件;,其他格式的音频文件,请转为opus格式后上传,转换方式可参考:ffmpeg -i SourceFile.mp3 -acodec libopus -ac 1 -ar 16000 TargetFile.opus, `mp4`:上传mp4视频文件, `pdf`:上传pdf格式文件, `doc`:上传doc格式文件, `xls`:上传xls格式文件, `ppt`:上传ppt格式文件, `stream`:上传stream格式文件。以上类型之外,可以使用stream格式 FileName string `json:"file_name,omitempty"` // 带后缀的文件名, 示例值:"测试视频.mp4" Duration *int64 `json:"duration,omitempty"` // 文件的时长(视频,音频),单位:毫秒。不填充时无法显示具体时长。, 示例值:3000 File io.Reader `json:"file,omitempty"` // 文件内容, 示例值:二进制文件 }
UploadFileReq ...
type UploadFileResp ¶
type UploadFileResp struct {
FileKey string `json:"file_key,omitempty"` // 文件的key
}
UploadFileResp ...
type UploadImageReq ¶
type UploadImageReq struct { ImageType ImageType `json:"image_type,omitempty"` // 图片类型, 示例值:"message", 可选值有: `message`:用于发送消息, `avatar`:用于设置头像 Image io.Reader `json:"image,omitempty"` // 图片内容, 示例值:二进制文件 }
UploadImageReq ...
type UploadImageResp ¶
type UploadImageResp struct {
ImageKey string `json:"image_key,omitempty"` // 图片的key
}
UploadImageResp ...
type VCService ¶
type VCService struct {
// contains filtered or unexported fields
}
func (*VCService) ApplyVCReserve ¶
func (r *VCService) ApplyVCReserve(ctx context.Context, request *ApplyVCReserveReq, options ...MethodOptionFunc) (*ApplyVCReserveResp, *Response, error)
ApplyVCReserve 创建一个会议预约。
支持预约最近30天内的会议(到期时间距离当前时间不超过30天),预约到期后会议号将被释放,如需继续使用可通过"更新预约"接口进行续期;预约会议时可配置参会人在会中的权限,以达到控制会议的目的
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/apply
func (*VCService) DeleteVCReserve ¶
func (r *VCService) DeleteVCReserve(ctx context.Context, request *DeleteVCReserveReq, options ...MethodOptionFunc) (*DeleteVCReserveResp, *Response, error)
DeleteVCReserve 删除一个预约
只能删除归属于自己的预约;删除后数据不可恢复
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/delete
func (*VCService) EndVCMeeting ¶
func (r *VCService) EndVCMeeting(ctx context.Context, request *EndVCMeetingReq, options ...MethodOptionFunc) (*EndVCMeetingResp, *Response, error)
EndVCMeeting 结束一个进行中的会议
会议正在进行中,且操作者须具有相应的权限(如果操作者为用户,必须是会中当前主持人)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/end
func (*VCService) GetVCDailyReport ¶
func (r *VCService) GetVCDailyReport(ctx context.Context, request *GetVCDailyReportReq, options ...MethodOptionFunc) (*GetVCDailyReportResp, *Response, error)
GetVCDailyReport 获取一段时间内组织的每日会议使用报告。
支持最近90天内的数据查询
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_daily
func (*VCService) GetVCMeeting ¶
func (r *VCService) GetVCMeeting(ctx context.Context, request *GetVCMeetingReq, options ...MethodOptionFunc) (*GetVCMeetingResp, *Response, error)
GetVCMeeting 获取一个会议的详细数据
只能获取归属于自己的会议,支持查询最近90天内的会议
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/get
func (*VCService) GetVCMeetingRecording ¶
func (r *VCService) GetVCMeetingRecording(ctx context.Context, request *GetVCMeetingRecordingReq, options ...MethodOptionFunc) (*GetVCMeetingRecordingResp, *Response, error)
GetVCMeetingRecording 获取一个会议的录制文件。
会议结束后并且收到了"录制完成"的事件方可获取录制文件;只有会议owner(通过开放平台预约的会议即为预约人)有权限获取;录制时间太短(<5s)有可能无法生成录制文件
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/get
func (*VCService) GetVCReserve ¶
func (r *VCService) GetVCReserve(ctx context.Context, request *GetVCReserveReq, options ...MethodOptionFunc) (*GetVCReserveResp, *Response, error)
GetVCReserve 获取一个预约的详情
只能获取归属于自己的预约
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get
func (*VCService) GetVCReserveActiveMeeting ¶
func (r *VCService) GetVCReserveActiveMeeting(ctx context.Context, request *GetVCReserveActiveMeetingReq, options ...MethodOptionFunc) (*GetVCReserveActiveMeetingResp, *Response, error)
GetVCReserveActiveMeeting 获取一个预约的当前活跃会议
只能获取归属于自己的预约的活跃会议(一个预约最多有一个正在进行中的会议)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get_active_meeting
func (*VCService) GetVCRoomConfig ¶
func (r *VCService) GetVCRoomConfig(ctx context.Context, request *GetVCRoomConfigReq, options ...MethodOptionFunc) (*GetVCRoomConfigResp, *Response, error)
GetVCRoomConfig 查询一个范围内的会议室配置。
根据查询范围传入对应的参数
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/query
func (*VCService) GetVCTopUserReport ¶
func (r *VCService) GetVCTopUserReport(ctx context.Context, request *GetVCTopUserReportReq, options ...MethodOptionFunc) (*GetVCTopUserReportResp, *Response, error)
GetVCTopUserReport 获取一段时间内组织内会议使用的top用户列表。
支持最近90天内的数据查询;默认返回前10位,最多可查询前100位
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_top_user
func (*VCService) InviteVCMeeting ¶
func (r *VCService) InviteVCMeeting(ctx context.Context, request *InviteVCMeetingReq, options ...MethodOptionFunc) (*InviteVCMeetingResp, *Response, error)
InviteVCMeeting 邀请参会人进入会议
发起邀请的操作者必须具有相应的权限(如果操作者为用户,则必须在会中),如果会议被锁定、或参会人数如果达到上限,则会邀请失败
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/invite
func (*VCService) KickoutVCMeeting ¶
func (r *VCService) KickoutVCMeeting(ctx context.Context, request *KickoutVCMeetingReq, options ...MethodOptionFunc) (*KickoutVCMeetingResp, *Response, error)
KickoutVCMeeting 将参会人从会议中移除
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/kickout
func (*VCService) ListVCMeetingByNo ¶
func (r *VCService) ListVCMeetingByNo(ctx context.Context, request *ListVCMeetingByNoReq, options ...MethodOptionFunc) (*ListVCMeetingByNoResp, *Response, error)
ListVCMeetingByNo 获取指定时间范围(90天内)会议号关联的会议简要信息列表
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/list_by_no
func (*VCService) SetVCHostMeeting ¶
func (r *VCService) SetVCHostMeeting(ctx context.Context, request *SetVCHostMeetingReq, options ...MethodOptionFunc) (*SetVCHostMeetingResp, *Response, error)
SetVCHostMeeting 设置会议的主持人
发起设置主持人的操作者必须具有相应的权限(如果操作者为用户,必须是会中当前主持人);该操作使用CAS并发安全机制,需传入会中当前主持人,如果操作失败可使用返回的最新数据重试
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/set_host
func (*VCService) SetVCPermissionMeetingRecording ¶
func (r *VCService) SetVCPermissionMeetingRecording(ctx context.Context, request *SetVCPermissionMeetingRecordingReq, options ...MethodOptionFunc) (*SetVCPermissionMeetingRecordingResp, *Response, error)
SetVCPermissionMeetingRecording 将一个会议的录制文件授权给组织、用户或公开到公网
会议结束后并且收到了"录制完成"的事件方可进行授权;会议owner(通过开放平台预约的会议即为预约人)才有权限操作
func (*VCService) SetVCRoomConfig ¶
func (r *VCService) SetVCRoomConfig(ctx context.Context, request *SetVCRoomConfigReq, options ...MethodOptionFunc) (*SetVCRoomConfigResp, *Response, error)
SetVCRoomConfig 设置一个范围内的会议室配置。
根据设置范围传入对应的参数
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set
func (*VCService) StartVCMeetingRecording ¶
func (r *VCService) StartVCMeetingRecording(ctx context.Context, request *StartVCMeetingRecordingReq, options ...MethodOptionFunc) (*StartVCMeetingRecordingResp, *Response, error)
StartVCMeetingRecording 在会议中开始录制。
会议正在进行中,且操作者具有相应权限(如果操作者为用户,必须是会中当前主持人)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/start
func (*VCService) StopVCMeetingRecording ¶
func (r *VCService) StopVCMeetingRecording(ctx context.Context, request *StopVCMeetingRecordingReq, options ...MethodOptionFunc) (*StopVCMeetingRecordingResp, *Response, error)
StopVCMeetingRecording 在会议中停止录制。
会议正在录制中,且操作者具有相应权限(如果操作者为用户,必须是会中当前主持人)
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/stop
func (*VCService) UpdateVCReserve ¶
func (r *VCService) UpdateVCReserve(ctx context.Context, request *UpdateVCReserveReq, options ...MethodOptionFunc) (*UpdateVCReserveResp, *Response, error)
UpdateVCReserve 更新一个预约
只能更新归属于自己的预约,不需要更新的字段不传(如果传空则会被更新为空);可用于续期操作,到期时间距离当前时间不超过30天
doc: https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/update
Source Files ¶
- api_acs.merged.go
- api_admin.merged.go
- api_ai.merged.go
- api_application.merged.go
- api_approval.merged.go
- api_attendance.merged.go
- api_auth.merged.go
- api_auth_app_access_token_get.go
- api_auth_app_ticket.go
- api_auth_oauth_url.go
- api_auth_tenant_access_token_get.go
- api_bitable.merged.go
- api_bot.merged.go
- api_calendar.merged.go
- api_chat.merged.go
- api_contact.merged.go
- api_drive.merged.go
- api_ehr.merged.go
- api_event.merged.go
- api_event_callback.go
- api_event_callback_module.go
- api_file.merged.go
- api_helpdesk.merged.go
- api_hire.merged.go
- api_human.merged.go
- api_jssdk_ticket_get_wrap.go
- api_mail.merged.go
- api_meeting.merged.go
- api_message.merged.go
- api_message_send_wrap.go
- api_okr.merged.go
- api_search.merged.go
- api_task.merged.go
- api_vc.merged.go
- app_link.merged.go
- helper.go
- impl.go
- impl_request.go
- lark.go
- logger.go
- mock.go
- store.go
- type.go
- type_approval_define.go
- type_approval_widget_value.go
- type_builder_at.go
- type_builder_md.go
- type_doc_content.go
- type_emoji.go
- type_message_card.go
- type_message_content.go
- type_message_post.go
- type_sheet_condition.go
- type_sheet_content.go
- version.go
Directories ¶
Path | Synopsis |
---|---|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
file
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
message
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* * Copyright 2022 chyroc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |