Documentation
¶
Index ¶
- type AclScope
- type ActionButton
- type ActionDatePicker
- type ActionOverflow
- type ActionSelectMenu
- type AddCalendarAclRespData
- type AddCalendarAclV4Req
- type AddCalendarAclV4Resp
- type AddCalendarAttendeesAclReq
- type AddCalendarEventAttendeesDataV4
- type AddCalendarEventAttendeesV4Req
- type AddCalendarEventAttendeesV4Resp
- type AdminUserData
- type AdminUserListResp
- type AdminUserListRespData
- type AppAccessTokenInternalRespVo
- type AppAccessTokenRespVo
- type ApplyScopesResp
- type ApplyScopesRespData
- type Attendees
- type AttendeesResp
- type AttendeesV4
- type BatchDeleteBitable
- type BatchDeleteBitableData
- type BatchDeleteBitableReq
- type BatchDeleteBitableResp
- type BatchGetIdData
- type BatchGetIdResp
- type BatchMsgVo
- type BatchUpdateBitable
- type BatchUpdateBitableReq
- type BatchUpdateBitableResp
- type BitableRecords
- type Calendar
- type CalendarAttendeesAcl
- type CalendarEvent
- type CalendarEventDataV4
- type CalendarEventInfoV4Resp
- type CalendarEventListResp
- type CalendarEventReminder
- type CalendarEventSchema
- type CalendarEventTime
- type CalendarEventV4
- type CalendarList
- type CalendarListResp
- type CalendarScope
- type CalendarV4
- type CalendarV4Data
- type Card
- type CardConfig
- type CardElementAction
- type CardElementActionModule
- type CardElementBrModule
- type CardElementConfirm
- type CardElementContentModule
- type CardElementExtra
- type CardElementField
- type CardElementImageModule
- type CardElementNote
- type CardElementOption
- type CardElementText
- type CardElementTextAlt
- type CardElementUrl
- type CardHeader
- type CardHeaderTitle
- type CardI18n
- type ChatGroupData
- type ChatInfoData
- type ChatInfoRespVo
- type ChatMemberData
- type ChatMembersRespVo
- type CheckUserData
- type CheckUserReq
- type CheckUserResp
- type CommonCalendarEventResp
- type CommonCalendarResp
- type CommonCalendarV4Resp
- type CommonVo
- type CreateCalendarEventReq
- type CreateCalendarEventV4Req
- type CreateCalendarReq
- type CreateCalendarV4Req
- type CreateChatData
- type CreateChatReqVo
- type CreateChatRespVo
- type CustomAttr
- type CustomAttrValue
- type DeleteCalendarEventAttendeesV4Req
- type DeleteCalendarV4Req
- type DepartmentDetailInfo
- type DepartmentDetailInfoVo
- type DepartmentRestInfoVo
- type DocEntities
- type DocMetaData
- type Entry
- type GetBitableRecords
- type GetBitableRecordsResp
- type GetCalendarAclListV4Data
- type GetCalendarAclListV4Resp
- type GetCalendarAttendeesResp
- type GetCalendarEventAttendeesDataV4
- type GetCalendarEventAttendeesV4Resp
- type GetCalendarEventListV4
- type GetCalendarEventListV4Resp
- type GetCalendarListV4Req
- type GetCalendarListV4Resp
- type GetCalendarListV4RespData
- type GetCalendarListV4RespDataCalendarItem
- type GetCalendarV4Req
- type GetCalendarV4Resp
- type GetDepartmentInfoBatchRespData
- type GetDepartmentInfoBatchRespVo
- type GetDepartmentInfoRespVo
- type GetDepartmentInfoRespVoData
- type GetDepartmentSimpleListRespVo
- type GetDepartmentSimpleListRespVoData
- type GetDepartmentSimpleListV2RespVo
- type GetDepartmentSimpleListV2RespVoData
- type GetDepartmentUserDetailListRespVo
- type GetDepartmentUserDetailListRespVoData
- type GetDepartmentUserListRespVo
- type GetDepartmentUserListRespVoData
- type GetDepartmentUserListV2RespVo
- type GetDepartmentUserListV2RespVoData
- type GetDocMetaRespVo
- type GetOrderListData
- type GetOrderListReq
- type GetOrderListResp
- type GetScopeRespData
- type GetScopeRespV2Data
- type GetScopeRespV2Vo
- type GetScopeRespVo
- type GetScopesResp
- type GetScopesRespData
- type GetScopesRespDataScopes
- type GetUserBatchError
- type GetUserBatchGetRespVo
- type GetUserBatchGetRespVoData
- type GetUserBatchGetV2Resp
- type GetUserBatchGetV2RespData
- type GetUsersV3Resp
- type GetUsersV3RespData
- type GroupData
- type GroupListRespVo
- type I18nElement
- type IsUserAdminResp
- type IsUserAdminRespData
- type Leader
- type Location
- type MemberData
- type MsgContent
- type MsgPost
- type MsgPostContentA
- type MsgPostContentAt
- type MsgPostContentImage
- type MsgPostContentText
- type MsgPostValue
- type MsgResp
- type MsgRespData
- type MsgVo
- type OAuth2AccessTokenReqVo
- type OAuth2AccessTokenRespVo
- type OAuth2UserInfoRespVo
- type Order
- type OrderInfo
- type OrderInfoData
- type OrderInfoResp
- type OrgInfoData
- type OrgInfoResp
- type Position
- type RefreshAccessTokenResp
- type RefreshAccessTokenRespData
- type Role
- type RoleListResp
- type RoleListRespData
- type RoleMemberListResp
- type RoleMemberListRespData
- type ScopeUser
- type SearchCalendarV4Req
- type SearchCalendarV4Resp
- type SearchCalendarV4RespData
- type SearchCalendarV4RespDataItem
- type SearchDocsData
- type SearchDocsReqVo
- type SearchDocsRespVo
- type SearchUserInfo
- type SearchUserResp
- type SearchUserRespData
- type SimpleIdInfo
- type SubscribeCalendarV4Req
- type SubscribeCalendarV4Resp
- type SubscribeCalendarV4RespData
- type SubscribeCalendarV4RespDataCalendar
- type TenantAccessTokenRespVo
- type TenantData
- type TimeFormat
- type TokenLoginValidateResp
- type TokenLoginValidateRespData
- type UnsubscribeCalendarV4Req
- type UpdateCalendarEventAtendeesReq
- type UpdateCalendarEventAtendeesResp
- type UpdateCalendarEventV4Req
- type UpdateCalendarReq
- type UpdateCalendarV4Req
- type UpdateChatData
- type UpdateChatMemberReqVo
- type UpdateChatMemberRespData
- type UpdateChatMemberRespVo
- type UpdateChatReqVo
- type UpdateChatRespVo
- type UpdateImageVo
- type UserAvatar
- type UserDetailInfo
- type UserDetailInfoV2
- type UserDetailInfoV3
- type UserGroupListData
- type UserRestInfoVo
- type UserStatus
- type Vchat
- type VoidV4Resp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionButton ¶
type ActionButton struct {
Tag string `json:"tag"`
Text CardElementText `json:"text"`
Url string `json:"url,omitempty"`
MultiUrl *CardElementUrl `json:"multi_url"`
Type string `json:"type,omitempty"`
Value map[string]interface{} `json:"value,omitempty"`
Confirm *CardElementConfirm `json:"confirm,omitempty"`
}
type ActionDatePicker ¶
type ActionDatePicker struct {
Tag string `json:"tag"`
InitialDate string `json:"initial_date,omitempty"`
InitialTime string `json:"initial_time,omitempty"`
InitialDatetime string `json:"initial_datetime,omitempty"`
Placeholder *CardElementText `json:"placeholder,omitempty"`
Value map[string]interface{} `json:"value,omitempty"`
Confirm *CardElementConfirm `json:"confirm,omitempty"`
}
type ActionOverflow ¶
type ActionOverflow struct {
Tag string `json:"tag"`
Options []CardElementOption `json:"options"`
Value map[string]interface{} `json:"value,omitempty"`
Confirm *CardElementConfirm `json:"confirm,omitempty"`
}
type ActionSelectMenu ¶
type ActionSelectMenu struct {
Tag string `json:"tag"`
Placeholder *CardElementText `json:"placeholder,omitempty"`
InitialOption string `json:"initial_option,omitempty"`
Options []CardElementOption `json:"options"`
Value map[string]interface{} `json:"value,omitempty"`
Confirm *CardElementConfirm `json:"confirm,omitempty"`
}
type AddCalendarAclRespData ¶
type AddCalendarAclV4Req ¶
type AddCalendarAclV4Resp ¶
type AddCalendarAclV4Resp struct {
CommonVo
Data AddCalendarAclRespData `json:"data"`
}
type AddCalendarAttendeesAclReq ¶
type AddCalendarAttendeesAclReq struct {
Role string `json:"role"`
Scope CalendarScope `json:"scope"`
}
type AddCalendarEventAttendeesDataV4 ¶
type AddCalendarEventAttendeesDataV4 struct {
Attendees []AttendeesV4 `json:"attendees"`
}
type AddCalendarEventAttendeesV4Req ¶
type AddCalendarEventAttendeesV4Req struct {
Attendees []AttendeesV4 `json:"attendees"`
}
type AddCalendarEventAttendeesV4Resp ¶
type AddCalendarEventAttendeesV4Resp struct {
CommonVo
Data AddCalendarEventAttendeesDataV4 `json:"data"`
}
type AdminUserData ¶
type AdminUserListResp ¶
type AdminUserListResp struct {
CommonVo
Data AdminUserListRespData `json:"data"`
}
type AdminUserListRespData ¶
type AdminUserListRespData struct {
UserList []AdminUserData `json:"user_list"`
}
type AppAccessTokenRespVo ¶
type ApplyScopesResp ¶
type ApplyScopesResp struct {
CommonVo
Data ApplyScopesRespData `json:"data"`
}
type ApplyScopesRespData ¶
type ApplyScopesRespData struct {
}
type AttendeesResp ¶
type AttendeesV4 ¶
type AttendeesV4 struct {
Type string `json:"type"`
IsOptional bool `json:"is_optional"`
UserId string `json:"user_id"`
AttendeeId string `json:"attendee_id"`
RsvpStatus string `json:"rsvp_status"`
IsOrganizer bool `json:"is_organizer"`
IsExternal bool `json:"is_external"`
DisplayName string `json:"display_name"`
}
type BatchDeleteBitable ¶
type BatchDeleteBitableData ¶
type BatchDeleteBitableData struct {
Records []BatchDeleteBitable `json:"records"`
}
type BatchDeleteBitableReq ¶
type BatchDeleteBitableReq struct {
Data []string `json:"records"`
}
type BatchDeleteBitableResp ¶
type BatchDeleteBitableResp struct {
CommonVo
Data BatchDeleteBitableData `json:"data"`
}
type BatchGetIdData ¶
type BatchGetIdData struct {
EmailUsers map[string][]SimpleIdInfo `json:"email_users"`
EmailsNotExist []string `json:"emails_not_exist"`
MobileUsers map[string][]SimpleIdInfo `json:"mobile_users"`
MobilesNotExist []string `json:"mobiles_not_exist"`
}
type BatchGetIdResp ¶
type BatchGetIdResp struct {
CommonVo
Data BatchGetIdData `json:"data"`
}
type BatchMsgVo ¶
type BatchUpdateBitable ¶
type BatchUpdateBitable struct {
Items []BitableRecords `json:"records"`
}
type BatchUpdateBitableReq ¶
type BatchUpdateBitableReq struct {
Data []BitableRecords `json:"records"`
}
type BatchUpdateBitableResp ¶
type BatchUpdateBitableResp struct {
CommonVo
Data BatchUpdateBitable `json:"data"`
}
type BitableRecords ¶
type CalendarAttendeesAcl ¶
type CalendarAttendeesAcl struct {
Role string `json:"role"`
Scope CalendarScope `json:"scope"`
}
type CalendarEvent ¶
type CalendarEvent struct {
Id string `json:"id"`
Summary string `json:"summary"`
Description string `json:"description"`
Start TimeFormat `json:"start"`
End TimeFormat `json:"end"`
Attendees []Attendees `json:"attendees"`
Visibility string `json:"visibility"`
}
type CalendarEventDataV4 ¶
type CalendarEventDataV4 struct {
EventId string `json:"event_id"`
Summary string `json:"summary"`
Description string `json:"description"`
StartTime CalendarEventTime `json:"start_time"`
EndTime CalendarEventTime `json:"end_time"`
Vchat Vchat `json:"vchat"`
Visibility string `json:"visibility"`
AttendeeAbility string `json:"attendee_ability"`
FreeBusyStatus string `json:"free_busy_status"`
Location Location `json:"location"`
Color int32 `json:"color"`
Reminders []CalendarEventReminder `json:"reminders"`
Recurrence string `json:"recurrence"`
Schemas []CalendarEventSchema `json:"schemas"`
}
type CalendarEventInfoV4Resp ¶
type CalendarEventInfoV4Resp struct {
CommonVo
Data CalendarEventV4 `json:"data"`
}
type CalendarEventListResp ¶
type CalendarEventListResp struct {
CommonVo
PageToken string `json:"page_token"`
SyncToken string `json:"sync_token"`
Data []CalendarEvent `json:"data"`
}
type CalendarEventReminder ¶
type CalendarEventReminder struct {
Minutes int64 `json:"minutes"`
}
type CalendarEventSchema ¶
type CalendarEventTime ¶
type CalendarEventV4 ¶
type CalendarEventV4 struct {
Event CalendarEventDataV4 `json:"event"`
}
type CalendarList ¶
type CalendarList struct {
Items []Calendar `json:"items"`
}
type CalendarListResp ¶
type CalendarListResp struct {
CommonVo
PageToken string `json:"page_token"`
SyncToken string `json:"sync_token"`
Data CalendarList `json:"data"`
}
type CalendarScope ¶
type CalendarV4 ¶
type CalendarV4 struct {
Calendar CalendarV4Data `json:"calendar"`
}
type CalendarV4Data ¶
type CalendarV4Data struct {
Description string `json:"description"`
Type string `json:"type"`
Summary string `json:"summary"`
Permissions string `json:"permissions"`
Color int32 `json:"color"`
SummaryAlias string `json:"summary_alias"`
IsDeleted bool `json:"is_deleted"`
Role string `json:"role"`
IsThirdParty bool `json:"is_third_party"`
CalendarId string `json:"calendar_id"`
}
type Card ¶
type Card struct {
Config *CardConfig `json:"config,omitempty"`
CardLink *CardElementUrl `json:"card_link,omitempty"`
Header *CardHeader `json:"header,omitempty"`
Elements []interface{} `json:"elements"`
I18nElements *I18nElement `json:"i18n_elements,omitempty"`
}
机器人消息Card字段数据格式定义
type CardConfig ¶
type CardElementAction ¶
type CardElementAction struct {
Tag string `json:"tag"`
Text *CardElementText `json:"text,omitempty"`
Type string `json:"type"`
}
type CardElementActionModule ¶
type CardElementBrModule ¶
type CardElementBrModule struct {
Tag string `json:"tag"`
}
type CardElementConfirm ¶
type CardElementConfirm struct {
Title *CardHeaderTitle `json:"title,omitempty"`
Text *CardElementText `json:"text,omitempty"`
}
type CardElementContentModule ¶
type CardElementContentModule struct {
Tag string `json:"tag"`
Text *CardElementText `json:"text"`
Fields []CardElementField `json:"fields"`
Extra *CardElementExtra `json:"extra,omitempty"`
}
type CardElementExtra ¶
type CardElementExtra struct {
Tag string `json:"tag"`
ImgKey string `json:"img_key"`
Alt *CardElementText `json:"alt,omitempty"`
}
type CardElementField ¶
type CardElementField struct {
IsShort bool `json:"is_short"`
Text CardElementText `json:"text,omitempty"`
}
type CardElementImageModule ¶
type CardElementImageModule struct {
Tag string `json:"tag"`
CustomWidth int `json:"custom_width"`
CompactWidth bool `json:"compact_width"`
Mode string `json:"mode"`
Preview bool `json:"preview"`
ImgKey string `json:"img_key"`
Alt CardElementText `json:"alt"`
Title *CardElementText `json:"title,omitempty"`
}
type CardElementNote ¶
type CardElementNote struct {
Tag string `json:"tag"`
Elements []interface{} `json:"elements"`
}
type CardElementOption ¶
type CardElementOption struct {
Text *CardElementText `json:"text,omitempty"`
Value string `json:"value"`
Url string `json:"url,omitempty"`
MultiUrl *CardElementUrl `json:"multi_url,omitempty"`
}
type CardElementText ¶
type CardElementText struct {
Tag string `json:"tag"`
Content string `json:"content"`
Lines int `json:"lines,omitempty"`
Href map[string]CardElementUrl `json:"href,omitempty"`
}
type CardElementTextAlt ¶
type CardElementTextAlt struct {
Tag string `json:"tag"`
Content string `json:"content"`
Lines int `json:"lines,omitempty"`
Href map[string]CardElementUrl `json:"href,omitempty"`
}
type CardElementUrl ¶
type CardHeader ¶
type CardHeader struct {
Title *CardHeaderTitle `json:"title,omitempty"`
Template string `json:"template"`
}
type CardHeaderTitle ¶
type ChatGroupData ¶
type ChatGroupData struct {
ChatId string `json:"chat_id"`
HasMore bool `json:"has_more"`
Members []MemberData `json:"members"`
}
type ChatInfoData ¶
type ChatInfoData struct {
Avatar string `json:"avatar"`
ChatId string `json:"chat_id"`
Description string `json:"description"`
I18nNames map[string]string `json:"i18n_names"`
Members []ChatMemberData `json:"members"`
Name string `json:"name"`
Type string `json:"type"`
OwnerOpenId string `json:"owner_open_id"`
OwnerUserId string `json:"owner_user_id"`
}
type ChatInfoRespVo ¶
type ChatInfoRespVo struct {
CommonVo
Data ChatInfoData `json:"data"`
}
type ChatMemberData ¶
type ChatMembersRespVo ¶
type ChatMembersRespVo struct {
CommonVo
Data *ChatGroupData `json:"data"`
}
type CheckUserData ¶
type CheckUserReq ¶
type CheckUserResp ¶
type CheckUserResp struct {
CommonVo
Data CheckUserData `json:"data"`
}
type CommonCalendarEventResp ¶
type CommonCalendarEventResp struct {
CommonVo
Data CalendarEvent `json:"data"`
}
type CommonCalendarResp ¶
type CommonCalendarV4Resp ¶
type CommonCalendarV4Resp struct {
CommonVo
Data CalendarV4 `json:"data"`
}
type CreateCalendarEventReq ¶
type CreateCalendarEventReq struct {
Summary string `json:"summary"`
Description string `json:"description,omitempty"`
Start TimeFormat `json:"start"`
End TimeFormat `json:"end"`
Attendees *[]Attendees `json:"attendees,omitempty"`
Visibility string `json:"visibility,omitempty"`
}
type CreateCalendarEventV4Req ¶
type CreateCalendarEventV4Req struct {
Summary string `json:"summary"`
Description string `json:"description"`
StartTime CalendarEventTime `json:"start_time"`
EndTime CalendarEventTime `json:"end_time"`
Vchat *Vchat `json:"vchat"`
Visibility *string `json:"visibility"` //default(忙碌),public(公开),private(私密)
AttendeeAbility *string `json:"attendee_ability"` //none,can_see_other,can_invite_others,can_modify_event
FreeBusyStatus *string `json:"free_busy_status"`
Location *Location `json:"location"`
Color int32 `json:"color"`
Reminders []CalendarEventReminder `json:"reminders"`
Recurrence string `json:"recurrence"`
Schemas []CalendarEventSchema `json:"schemas"`
}
type CreateCalendarReq ¶
type CreateCalendarV4Req ¶
type CreateChatData ¶
type CreateChatReqVo ¶
type CreateChatRespVo ¶
type CreateChatRespVo struct {
CommonVo
Data CreateChatData `json:"data"`
}
type CustomAttr ¶
type CustomAttr struct {
Id string `json:"id"`
Type string `json:"type"`
Value CustomAttrValue `json:"value"`
}
type CustomAttrValue ¶
type DeleteCalendarEventAttendeesV4Req ¶
type DeleteCalendarEventAttendeesV4Req struct {
AttendeeIds []string `json:"attendee_ids"`
}
type DeleteCalendarV4Req ¶
type DeleteCalendarV4Req struct {
CalendarId string `json:"calendar_id"`
}
type DepartmentDetailInfo ¶
type DepartmentDetailInfoVo ¶
type DepartmentDetailInfoVo struct {
Id string `json:"id"`
LeaderEmployeeId string `json:"leader_employee_id"`
LeaderOpenId string `json:"leader_open_id"`
ChatId string `json:"chat_id"`
MemberCount int `json:"member_count"`
Name string `json:"name"`
ParentId string `json:"parent_id"`
Status int `json:"status"`
}
type DepartmentRestInfoVo ¶
type DocEntities ¶
type DocMetaData ¶
type DocMetaData struct {
CreateDate string `json:"create_date"`
CreateTime int64 `json:"create_time"`
CreateUid string `json:"create_uid"`
CreateUserName string `json:"create_user_name"`
DeleteFlag int `json:"delete_flag"`
EditTime int64 `json:"edit_time"`
EditUserName string `json:"edit_user_name"`
IsExternal bool `json:"is_external"`
IsPined bool `json:"is_pined"`
IsStared bool `json:"is_stared"`
ObjType string `json:"obj_type"`
OwnerId string `json:"owner_id"`
OwnerUserName string `json:"owner_user_name"`
ServerTime int64 `json:"server_time"`
TenantId string `json:"tenant_id"`
Title string `json:"title"`
Type int `json:"type"`
Url string `json:"url"`
}
type GetBitableRecords ¶
type GetBitableRecords struct {
PageToken string `json:"page_token"`
Total int64 `json:"total"`
HasMore bool `json:"has_more"`
Items []BitableRecords `json:"items"`
}
type GetBitableRecordsResp ¶
type GetBitableRecordsResp struct {
CommonVo
Data GetBitableRecords `json:"data"`
}
type GetCalendarAclListV4Data ¶
type GetCalendarAclListV4Data struct {
Acls []AddCalendarAclRespData `json:"acls"`
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
}
type GetCalendarAclListV4Resp ¶
type GetCalendarAclListV4Resp struct {
CommonVo
Data GetCalendarAclListV4Data `json:"data"`
}
type GetCalendarAttendeesResp ¶
type GetCalendarAttendeesResp struct {
CommonVo
Data []CalendarAttendeesAcl `json:"data"`
}
type GetCalendarEventAttendeesDataV4 ¶
type GetCalendarEventAttendeesDataV4 struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
Items []AttendeesV4 `json:"items"`
}
type GetCalendarEventAttendeesV4Resp ¶
type GetCalendarEventAttendeesV4Resp struct {
CommonVo
Data GetCalendarEventAttendeesDataV4 `json:"data"`
}
type GetCalendarEventListV4 ¶
type GetCalendarEventListV4 struct {
PageToken string `json:"page_token"`
SyncToken string `json:"sync_token"`
HasMore bool `json:"has_more"`
Items []CalendarEventDataV4 `json:"items"`
}
type GetCalendarEventListV4Resp ¶
type GetCalendarEventListV4Resp struct {
CommonVo
Data GetCalendarEventListV4 `json:"data"`
}
type GetCalendarListV4Req ¶
type GetCalendarListV4Resp ¶
type GetCalendarListV4Resp struct {
CommonVo
Data GetCalendarListV4RespData `json:"data"`
}
type GetCalendarListV4RespData ¶
type GetCalendarListV4RespData struct {
PageToken string `json:"page_token"`
SyncToken string `json:"sync_token"`
HasMore bool `json:"has_more"`
CalendarList []GetCalendarListV4RespDataCalendarItem `json:"calendar_list"`
}
type GetCalendarV4Req ¶
type GetCalendarV4Req struct {
CalendarId string `json:"calendar_id"`
}
type GetCalendarV4Resp ¶
type GetCalendarV4Resp struct {
CommonVo
Data CalendarV4Data `json:"data"`
}
type GetDepartmentInfoBatchRespData ¶
type GetDepartmentInfoBatchRespData struct {
Departments []DepartmentDetailInfo `json:"departments"`
Errors []GetUserBatchError `json:"errors"`
}
type GetDepartmentInfoBatchRespVo ¶
type GetDepartmentInfoBatchRespVo struct {
CommonVo
Data GetDepartmentInfoBatchRespData `json:"data"`
}
type GetDepartmentInfoRespVo ¶
type GetDepartmentInfoRespVo struct {
CommonVo
Data *GetDepartmentInfoRespVoData `json:"data"`
}
type GetDepartmentInfoRespVoData ¶
type GetDepartmentInfoRespVoData struct {
DepartmentInfo *DepartmentDetailInfoVo `json:"department_info"`
}
type GetDepartmentSimpleListRespVo ¶
type GetDepartmentSimpleListRespVo struct {
CommonVo
Data *GetDepartmentSimpleListRespVoData `json:"data"`
}
type GetDepartmentSimpleListRespVoData ¶
type GetDepartmentSimpleListRespVoData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
DepartmentInfos []DepartmentRestInfoVo `json:"department_infos"`
}
type GetDepartmentSimpleListV2RespVo ¶
type GetDepartmentSimpleListV2RespVo struct {
CommonVo
Data *GetDepartmentSimpleListV2RespVoData `json:"data"`
}
type GetDepartmentSimpleListV2RespVoData ¶
type GetDepartmentSimpleListV2RespVoData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
DepartmentInfos []DepartmentRestInfoVo `json:"departments"`
}
type GetDepartmentUserDetailListRespVo ¶
type GetDepartmentUserDetailListRespVo struct {
CommonVo
Data *GetDepartmentUserDetailListRespVoData `json:"data"`
}
type GetDepartmentUserDetailListRespVoData ¶
type GetDepartmentUserDetailListRespVoData struct {
HasMore bool `json:"has_more"`
UserInfos []UserDetailInfo `json:"user_infos"`
}
type GetDepartmentUserListRespVo ¶
type GetDepartmentUserListRespVo struct {
CommonVo
Data *GetDepartmentUserListRespVoData `json:"data"`
}
type GetDepartmentUserListRespVoData ¶
type GetDepartmentUserListRespVoData struct {
HasMore bool `json:"has_more"`
UserList []UserRestInfoVo `json:"user_list"`
}
type GetDepartmentUserListV2RespVo ¶
type GetDepartmentUserListV2RespVo struct {
CommonVo
Data *GetDepartmentUserListV2RespVoData `json:"data"`
}
type GetDepartmentUserListV2RespVoData ¶
type GetDepartmentUserListV2RespVoData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
UserList []UserRestInfoVo `json:"users"`
}
type GetDocMetaRespVo ¶
type GetDocMetaRespVo struct {
CommonVo
Data DocMetaData `json:"data"`
}
type GetOrderListData ¶
type GetOrderListReq ¶
type GetOrderListResp ¶
type GetOrderListResp struct {
CommonVo
Data GetOrderListData `json:"data"`
}
type GetScopeRespData ¶
type GetScopeRespV2Data ¶
type GetScopeRespV2Vo ¶
type GetScopeRespV2Vo struct {
CommonVo
Data *GetScopeRespV2Data `json:"data"`
}
type GetScopeRespVo ¶
type GetScopeRespVo struct {
CommonVo
Data *GetScopeRespData `json:"data"`
}
type GetScopesResp ¶
type GetScopesResp struct {
CommonVo
Data GetScopesRespData `json:"data"`
}
type GetScopesRespData ¶
type GetScopesRespData struct {
Scopes []GetScopesRespDataScopes `json:"scopes"`
}
type GetScopesRespDataScopes ¶
type GetUserBatchError ¶
type GetUserBatchGetRespVo ¶
type GetUserBatchGetRespVo struct {
CommonVo
Data *GetUserBatchGetRespVoData `json:"data"`
}
type GetUserBatchGetRespVoData ¶
type GetUserBatchGetRespVoData struct {
UserInfos []UserDetailInfo `json:"user_infos"`
}
type GetUserBatchGetV2Resp ¶
type GetUserBatchGetV2Resp struct {
CommonVo
Data GetUserBatchGetV2RespData `json:"data"`
}
type GetUserBatchGetV2RespData ¶
type GetUserBatchGetV2RespData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
Users []UserDetailInfoV2 `json:"users"`
Errors []GetUserBatchError `json:"errors"`
}
type GetUsersV3Resp ¶
type GetUsersV3Resp struct {
CommonVo
Data GetUsersV3RespData `json:"data"`
}
type GetUsersV3RespData ¶
type GetUsersV3RespData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
Items []UserDetailInfoV3 `json:"items"`
}
type GroupListRespVo ¶
type GroupListRespVo struct {
CommonVo
Data *UserGroupListData `json:"data"`
}
type I18nElement ¶
type I18nElement struct {
ZhCn []interface{} `json:"zh_cn"`
EnUs []interface{} `json:"en_us"`
JaJp []interface{} `json:"ja_jp"`
}
type IsUserAdminResp ¶
type IsUserAdminResp struct {
CommonVo
Data IsUserAdminRespData `json:"data"`
}
type IsUserAdminRespData ¶
type IsUserAdminRespData struct {
IsAppAdmin bool `json:"is_app_admin"`
}
type MemberData ¶
type MsgContent ¶
type MsgPost ¶
type MsgPost struct {
ZhCn *MsgPostValue `json:"zh_cn,omitempty"`
EnUs *MsgPostValue `json:"en_us,omitempty"`
JaJp *MsgPostValue `json:"ja_jp,omitempty"`
}
type MsgPostContentA ¶
type MsgPostContentAt ¶
type MsgPostContentImage ¶
type MsgPostContentText ¶
type MsgPostValue ¶
type MsgPostValue struct {
Title string `json:"title"`
Content interface{} `json:"content"`
}
type MsgResp ¶
type MsgResp struct {
CommonVo
Data MsgRespData `json:"data"`
}
type MsgRespData ¶
type MsgRespData struct {
MessageId string `json:"message_id"`
}
type MsgVo ¶
type MsgVo struct {
OpenId string `json:"open_id,omitempty"`
UserId string `json:"user_id,omitempty"`
Email string `json:"email,omitempty"`
ChatId string `json:"chat_id,omitempty"`
MsgType string `json:"msg_type"`
RootId string `json:"root_id,omitempty"`
UpdateMulti bool `json:"update_multi"`
Card *Card `json:"card,omitempty"`
Content *MsgContent `json:"content,omitempty"`
}
type OAuth2AccessTokenReqVo ¶
type OAuth2AccessTokenRespVo ¶
type OAuth2AccessTokenRespVo struct {
AccessToken string `json:"access_token"`
AvatarUrl string `json:"avatar_url"`
ExpiresIn int64 `json:"expires_in"`
Name string `json:"name"`
EnName string `json:"en_name"`
OpenId string `json:"open_id"`
TenantKey string `json:"tenant_key"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
Code int `json:"code"`
Message string `json:"message"`
}
type OAuth2UserInfoRespVo ¶
type OrderInfo ¶
type OrderInfo struct {
OrderId string `json:"order_id"`
PricePlanId string `json:"price_plan_id"`
PricePlanType string `json:"price_plan_type"`
Seats int `json:"seats"`
BuyCount int `json:"buy_count"`
CreateTime string `json:"create_time"`
PayTime string `json:"pay_time"`
Status string `json:"status"`
BuyType string `json:"buy_type"`
SrcOrderId string `json:"src_order_id"`
DstOrderId string `json:"dst_order_id"`
OrderPayPrice int64 `json:"order_pay_price"`
TenantKey string `json:"tenant_key"`
}
type OrderInfoData ¶
type OrderInfoData struct {
Order OrderInfo `json:"order"`
}
type OrderInfoResp ¶
type OrderInfoResp struct {
CommonVo
Data OrderInfoData `json:"data"`
}
type OrgInfoData ¶
type OrgInfoData struct {
Tenant TenantData `json:"tenant"`
}
type OrgInfoResp ¶
type OrgInfoResp struct {
CommonVo
Data OrgInfoData `json:"data"`
}
type RefreshAccessTokenResp ¶
type RefreshAccessTokenResp struct {
CommonVo
Data RefreshAccessTokenRespData `json:"data"`
}
type RefreshAccessTokenRespData ¶
type RefreshAccessTokenRespData struct {
AccessToken string `json:"access_token"`
AvatarUrl string `json:"avatar_url"`
ExpiresIn int64 `json:"expires_in"`
Name string `json:"name"`
EnName string `json:"en_name"`
OpenId string `json:"open_id"`
TenantKey string `json:"tenant_key"`
RefreshExpiresIn int64 `json:"refresh_expires_in"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
}
type RoleListResp ¶
type RoleListResp struct {
CommonVo
Data RoleListRespData `json:"data"`
}
type RoleListRespData ¶
type RoleListRespData struct {
RoleList []Role `json:"role_list"`
}
type RoleMemberListResp ¶
type RoleMemberListResp struct {
CommonVo
Data RoleMemberListRespData `json:"data"`
}
type RoleMemberListRespData ¶
type RoleMemberListRespData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
UserList []UserRestInfoVo `json:"user_list"`
}
type SearchCalendarV4Req ¶
type SearchCalendarV4Req struct {
Query string `json:"query"`
}
type SearchCalendarV4Resp ¶
type SearchCalendarV4Resp struct {
CommonVo
Data SearchCalendarV4RespData `data`
}
type SearchCalendarV4RespData ¶
type SearchCalendarV4RespData struct {
PageToken string `json:"page_token"`
Items []SearchCalendarV4RespDataItem `json:"items"`
}
type SearchDocsData ¶
type SearchDocsData struct {
HasMore bool `json:"has_more"`
Total int64 `json:"total"`
DocsEntities []DocEntities `json:"docs_entities"`
}
type SearchDocsReqVo ¶
type SearchDocsRespVo ¶
type SearchDocsRespVo struct {
CommonVo
Data SearchDocsData `json:"data"`
}
type SearchUserInfo ¶
type SearchUserInfo struct {
Avatar UserAvatar `json:"avatar"`
DepartmentIds []string `json:"department_ids"`
Name string `json:"name"`
OpenId string `json:"open_id"`
UserId string `json:"user_id"`
}
type SearchUserResp ¶
type SearchUserResp struct {
CommonVo
Data *SearchUserRespData `json:"data"`
}
type SearchUserRespData ¶
type SearchUserRespData struct {
HasMore bool `json:"has_more"`
PageToken string `json:"page_token"`
Users []SearchUserInfo `json:"users"`
}
type SimpleIdInfo ¶
type SubscribeCalendarV4Req ¶
type SubscribeCalendarV4Req struct {
CalendarId string `json:"calendar_id"`
}
type SubscribeCalendarV4Resp ¶
type SubscribeCalendarV4Resp struct {
CommonVo
Data SubscribeCalendarV4RespData `json:"data"`
}
type SubscribeCalendarV4RespData ¶
type SubscribeCalendarV4RespData struct {
Calendar SubscribeCalendarV4RespDataCalendar `json:"calendar"`
}
type TenantAccessTokenRespVo ¶
type TenantData ¶
type TenantData struct {
Name string `json:"name"`
DisplayId string `json:"display_id"`
TenantTag int `json:"tenant_tag"`
TenantKey string `json:"tenant_key"`
Avatar UserAvatar `json:"avatar"`
}
type TimeFormat ¶
type TokenLoginValidateResp ¶
type TokenLoginValidateResp struct {
Data TokenLoginValidateRespData `json:"data"`
CommonVo
}
type TokenLoginValidateRespData ¶
type TokenLoginValidateRespData struct {
Uid string `json:"uid"`
OpenId string `json:"open_id"`
UnionId string `json:"union_id"`
SessionKey string `json:"session_key"`
TenantKey string `json:"tenant_key"`
EmployeeId string `json:"employee_id"`
TokenType string `json:"token_type"`
AccessToken string `json:"access_token"`
ExpiresIn int64 `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
}
type UnsubscribeCalendarV4Req ¶
type UnsubscribeCalendarV4Req struct {
CalendarId string `json:"calendar_id"`
}
type UpdateCalendarEventAtendeesReq ¶
type UpdateCalendarEventAtendeesReq struct {
Attendees []AttendeesResp `json:"attendees"`
}
type UpdateCalendarEventV4Req ¶
type UpdateCalendarEventV4Req struct {
Summary *string `json:"summary"`
Description *string `json:"description"`
StartTime *CalendarEventTime `json:"start_time"`
EndTime *CalendarEventTime `json:"end_time"`
Vchat *Vchat `json:"vchat"`
Visibility *string `json:"visibility"` //default(忙碌),public(公开),private(私密)
AttendeeAbility *string `json:"attendee_ability"` //none,can_see_other,can_invite_others,can_modify_event
FreeBusyStatus *string `json:"free_busy_status"`
Location *Location `json:"location"`
Color *int32 `json:"color"`
Reminders *[]CalendarEventReminder `json:"reminders"`
Recurrence *string `json:"recurrence"`
Schemas *[]CalendarEventSchema `json:"schemas"`
}
type UpdateCalendarReq ¶
type UpdateCalendarV4Req ¶
type UpdateChatData ¶
type UpdateChatData struct {
ChatId string `json:"chat_id"`
}
type UpdateChatMemberReqVo ¶
type UpdateChatMemberRespVo ¶
type UpdateChatMemberRespVo struct {
CommonVo
Data UpdateChatMemberRespData `json:"data"`
}
type UpdateChatReqVo ¶
type UpdateChatRespVo ¶
type UpdateChatRespVo struct {
CommonVo
Data UpdateChatData `json:"data"`
}
type UpdateImageVo ¶
type UserAvatar ¶
type UserDetailInfo ¶
type UserDetailInfo struct {
Name string `json:"name"`
NamePy string `json:"name_py"`
EnName string `json:"en_name"`
EmployeeId string `json:"employee_id"`
EmployeeNo string `json:"employee_no"`
OpenId string `json:"open_id"`
Status int `json:"status"`
EmployeeType int `json:"employee_type"`
Avatar71 string `json:"avatar_71"`
Avatar240 string `json:"avatar_240"`
Avatar640 string `json:"avatar_640"`
AvatarUrl string `json:"avatar_url"`
Gender int `json:"gender"`
Email string `json:"email"`
Mobile string `json:"mobile"`
Description string `json:"description"`
Country string `json:"country"`
City string `json:"city"`
WorkStation string `json:"work_station"`
IsTenantManager bool `json:"is_tenant_manager"`
JoinTime int64 `json:"join_time"`
UpdateTime int64 `json:"update_time"`
LeaderEmployeeId string `json:"leader_employee_id"`
LeaderOpenId string `json:"leader_open_id"`
Departments []string `json:"departments"`
CustomAttr map[string]Entry `json:"custom_attr"`
}
type UserDetailInfoV2 ¶
type UserDetailInfoV2 struct {
Name string `json:"name"`
NamePy string `json:"name_py"`
EnName string `json:"en_name"`
EmployeeId string `json:"employee_id"`
EmployeeNo string `json:"employee_no"`
OpenId string `json:"open_id"`
UserId string `json:"user_id"`
UnionId string `json:"union_id"`
Status UserStatus `json:"status"`
EmployeeType int `json:"employee_type"`
Avatar UserAvatar `json:"avatar"`
Gender int `json:"gender"`
Email string `json:"email"`
Mobile string `json:"mobile"`
Description string `json:"description"`
Country string `json:"country"`
City string `json:"city"`
WorkStation string `json:"work_station"`
IsTenantManager bool `json:"is_tenant_manager"`
JoinTime int64 `json:"join_time"`
UpdateTime int64 `json:"update_time"`
Leader Leader `json:"leader"`
Departments []string `json:"departments"`
Positions []Position `json:"positions"`
Orders []Order `json:"orders"`
CustomAttrs []CustomAttr `json:"custom_attrs"`
}
type UserDetailInfoV3 ¶
type UserDetailInfoV3 struct {
Name string `json:"name"`
NamePy string `json:"name_py"`
EnName string `json:"en_name"`
EmployeeId string `json:"employee_id"`
EmployeeNo string `json:"employee_no"`
OpenId string `json:"open_id"`
UserId string `json:"user_id"`
UnionId string `json:"union_id"`
Status UserStatus `json:"status"`
EmployeeType int `json:"employee_type"`
Avatar UserAvatar `json:"avatar"`
Gender int `json:"gender"`
Email string `json:"email"`
Mobile string `json:"mobile"`
Description string `json:"description"`
Country string `json:"country"`
City string `json:"city"`
WorkStation string `json:"work_station"`
IsTenantManager bool `json:"is_tenant_manager"`
JoinTime int64 `json:"join_time"`
UpdateTime int64 `json:"update_time"`
LeaderUserId string `json:"leader_user_id"`
DepartmentIds []string `json:"department_ids"`
Positions []Position `json:"positions"`
Orders []Order `json:"orders"`
CustomAttrs []CustomAttr `json:"custom_attrs"`
}
type UserGroupListData ¶
type UserRestInfoVo ¶
type UserStatus ¶
type VoidV4Resp ¶
Click to show internal directories.
Click to hide internal directories.