Documentation ¶
Index ¶
- type ActionButton
- type ActionDatePicker
- type ActionOverflow
- type ActionSelectMenu
- type AddCalendarAttendeesAclReq
- type AdminUserData
- type AdminUserListResp
- type AdminUserListRespData
- type AppAccessTokenInternalRespVo
- type AppAccessTokenRespVo
- type ApplyScopesResp
- type ApplyScopesRespData
- type Attendees
- type AttendeesResp
- type BatchMsgVo
- type Calendar
- type CalendarAttendeesAcl
- type CalendarEvent
- type CalendarEventListResp
- type CalendarList
- type CalendarListResp
- type CalendarScope
- 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 CommonVo
- type CreateCalendarEventReq
- type CreateCalendarReq
- type CreateChatData
- type CreateChatReqVo
- type CreateChatRespVo
- type CustomAttr
- type CustomAttrValue
- type DepartmentDetailInfo
- type DepartmentDetailInfoVo
- type DepartmentRestInfoVo
- type DocEntities
- type DocMetaData
- type Entry
- type GetCalendarAttendeesResp
- 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 GroupData
- type GroupListRespVo
- type I18nElement
- type IsUserAdminResp
- type IsUserAdminRespData
- type Leader
- 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 Position
- type RefreshAccessTokenResp
- type RefreshAccessTokenRespData
- type Role
- type RoleListResp
- type RoleListRespData
- type RoleMemberListResp
- type RoleMemberListRespData
- type ScopeUser
- type SearchDocsData
- type SearchDocsReqVo
- type SearchDocsRespVo
- type SearchUserInfo
- type SearchUserResp
- type SearchUserRespData
- type TenantAccessTokenRespVo
- type TimeFormat
- type TokenLoginValidateResp
- type TokenLoginValidateRespData
- type UpdateCalendarEventAtendeesReq
- type UpdateCalendarEventAtendeesResp
- type UpdateCalendarReq
- type UpdateChatData
- type UpdateChatMemberReqVo
- type UpdateChatMemberRespData
- type UpdateChatMemberRespVo
- type UpdateChatReqVo
- type UpdateChatRespVo
- type UpdateImageVo
- type UserAvatar
- type UserDetailInfo
- type UserDetailInfoV2
- type UserGroupListData
- type UserRestInfoVo
- type UserStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionButton ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 AddCalendarAttendeesAclReq ¶ added in v0.0.6
type AddCalendarAttendeesAclReq struct { Role string `json:"role"` Scope CalendarScope `json:"scope"` }
type AdminUserData ¶ added in v0.3.0
type AdminUserListResp ¶ added in v0.3.0
type AdminUserListResp struct { CommonVo Data AdminUserListRespData `json:"data"` }
type AdminUserListRespData ¶ added in v0.3.0
type AdminUserListRespData struct {
UserList []AdminUserData `json:"user_list"`
}
type AppAccessTokenRespVo ¶
type ApplyScopesResp ¶ added in v0.3.6
type ApplyScopesResp struct { CommonVo Data ApplyScopesRespData `json:"data"` }
type ApplyScopesRespData ¶ added in v0.3.6
type ApplyScopesRespData struct { }
type AttendeesResp ¶ added in v0.0.3
type BatchMsgVo ¶ added in v0.0.3
type CalendarAttendeesAcl ¶ added in v0.0.6
type CalendarAttendeesAcl struct { Role string `json:"role"` Scope CalendarScope `json:"scope"` }
type CalendarEvent ¶ added in v0.0.3
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 CalendarEventListResp ¶ added in v0.0.3
type CalendarEventListResp struct { CommonVo PageToken string `json:"page_token"` SyncToken string `json:"sync_token"` Data []CalendarEvent `json:"data"` }
type CalendarList ¶ added in v0.0.3
type CalendarList struct {
Items []Calendar `json:"items"`
}
type CalendarListResp ¶ added in v0.0.3
type CalendarListResp struct { CommonVo PageToken string `json:"page_token"` SyncToken string `json:"sync_token"` Data CalendarList `json:"data"` }
type CalendarScope ¶ added in v0.0.6
type Card ¶ added in v0.0.3
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 ¶ added in v0.0.3
type CardConfig struct {
WideScreenMode bool `json:"wide_screen_mode"`
}
type CardElementAction ¶ added in v0.0.3
type CardElementAction struct { Tag string `json:"tag"` Text *CardElementText `json:"text,omitempty"` Type string `json:"type"` }
type CardElementActionModule ¶ added in v0.0.3
type CardElementBrModule ¶ added in v0.0.3
type CardElementBrModule struct {
Tag string `json:"tag"`
}
type CardElementConfirm ¶ added in v0.0.3
type CardElementConfirm struct { Title *CardHeaderTitle `json:"title,omitempty"` Text *CardElementText `json:"text,omitempty"` }
type CardElementContentModule ¶ added in v0.0.3
type CardElementContentModule struct { Tag string `json:"tag"` Text *CardElementText `json:"text"` Fields []CardElementField `json:"fields"` Extra *CardElementExtra `json:"extra,omitempty"` }
type CardElementExtra ¶ added in v0.0.3
type CardElementExtra struct { Tag string `json:"tag"` ImgKey string `json:"img_key"` Alt *CardElementText `json:"alt,omitempty"` }
type CardElementField ¶ added in v0.0.3
type CardElementField struct { IsShort bool `json:"is_short"` Text CardElementText `json:"text,omitempty"` }
type CardElementImageModule ¶ added in v0.0.3
type CardElementImageModule struct { Tag string `json:"tag"` ImgKey string `json:"img_key"` Alt CardElementText `json:"alt"` Title *CardElementText `json:"title,omitempty"` }
type CardElementNote ¶ added in v0.3.5
type CardElementNote struct { Tag string `json:"tag"` Elements []interface{} `json:"elements"` }
type CardElementOption ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.2.7
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 ¶ added in v0.0.3
type CardHeader ¶ added in v0.0.3
type CardHeader struct { Title *CardHeaderTitle `json:"title,omitempty"` Template string `json:"template"` }
type CardHeaderTitle ¶ added in v0.0.3
type ChatGroupData ¶ added in v0.1.7
type ChatGroupData struct { ChatId string `json:"chat_id"` HasMore bool `json:"has_more"` Members []MemberData `json:"members"` }
type ChatInfoData ¶ added in v0.1.8
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 ¶ added in v0.1.8
type ChatInfoRespVo struct { CommonVo Data ChatInfoData `json:"data"` }
type ChatMemberData ¶ added in v0.1.8
type ChatMembersRespVo ¶ added in v0.1.7
type ChatMembersRespVo struct { CommonVo Data *ChatGroupData `json:"data"` }
type CheckUserData ¶ added in v0.2.5
type CheckUserReq ¶ added in v0.2.5
type CheckUserResp ¶ added in v0.2.5
type CheckUserResp struct { CommonVo Data CheckUserData `json:"data"` }
type CommonCalendarEventResp ¶ added in v0.0.3
type CommonCalendarEventResp struct { CommonVo Data CalendarEvent `json:"data"` }
type CommonCalendarResp ¶ added in v0.0.3
type CreateCalendarEventReq ¶ added in v0.0.3
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 CreateCalendarReq ¶ added in v0.0.3
type CreateChatData ¶ added in v0.1.8
type CreateChatReqVo ¶ added in v0.1.8
type CreateChatRespVo ¶ added in v0.1.8
type CreateChatRespVo struct { CommonVo Data CreateChatData `json:"data"` }
type CustomAttr ¶ added in v0.1.4
type CustomAttr struct { Id string `json:"id"` Type string `json:"type"` Value CustomAttrValue `json:"value"` }
type CustomAttrValue ¶ added in v0.1.4
type DepartmentDetailInfo ¶ added in v0.1.5
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 ¶ added in v0.2.8
type DocMetaData ¶ added in v0.2.8
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 GetCalendarAttendeesResp ¶ added in v0.0.6
type GetCalendarAttendeesResp struct { CommonVo Data []CalendarAttendeesAcl `json:"data"` }
type GetDepartmentInfoBatchRespData ¶ added in v0.1.5
type GetDepartmentInfoBatchRespData struct { Departments []DepartmentDetailInfo `json:"departments"` Errors []GetUserBatchError `json:"errors"` }
type GetDepartmentInfoBatchRespVo ¶ added in v0.1.5
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 ¶ added in v0.1.4
type GetDepartmentSimpleListV2RespVo struct { CommonVo Data *GetDepartmentSimpleListV2RespVoData `json:"data"` }
type GetDepartmentSimpleListV2RespVoData ¶ added in v0.1.4
type GetDepartmentSimpleListV2RespVoData struct { HasMore bool `json:"has_more"` PageToken string `json:"page_token"` DepartmentInfos []DepartmentRestInfoVo `json:"departments"` }
type GetDepartmentUserDetailListRespVo ¶ added in v0.0.3
type GetDepartmentUserDetailListRespVo struct { CommonVo Data *GetDepartmentUserDetailListRespVoData `json:"data"` }
type GetDepartmentUserDetailListRespVoData ¶ added in v0.0.3
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 ¶ added in v0.1.4
type GetDepartmentUserListV2RespVo struct { CommonVo Data *GetDepartmentUserListV2RespVoData `json:"data"` }
type GetDepartmentUserListV2RespVoData ¶ added in v0.1.4
type GetDepartmentUserListV2RespVoData struct { HasMore bool `json:"has_more"` PageToken string `json:"page_token"` UserList []UserRestInfoVo `json:"users"` }
type GetDocMetaRespVo ¶ added in v0.2.8
type GetDocMetaRespVo struct { CommonVo Data DocMetaData `json:"data"` }
type GetOrderListData ¶ added in v0.2.5
type GetOrderListReq ¶ added in v0.2.5
type GetOrderListResp ¶ added in v0.2.5
type GetOrderListResp struct { CommonVo Data GetOrderListData `json:"data"` }
type GetScopeRespData ¶ added in v0.0.9
type GetScopeRespV2Data ¶ added in v0.1.4
type GetScopeRespV2Vo ¶ added in v0.1.4
type GetScopeRespV2Vo struct { CommonVo Data *GetScopeRespV2Data `json:"data"` }
type GetScopeRespVo ¶ added in v0.0.9
type GetScopeRespVo struct { CommonVo Data *GetScopeRespData `json:"data"` }
type GetScopesResp ¶ added in v0.3.6
type GetScopesResp struct { CommonVo Data GetScopesRespData `json:"data"` }
type GetScopesRespData ¶ added in v0.3.6
type GetScopesRespData struct {
Scopes []GetScopesRespDataScopes `json:"scopes"`
}
type GetScopesRespDataScopes ¶ added in v0.3.6
type GetUserBatchError ¶ added in v0.1.4
type GetUserBatchGetRespVo ¶
type GetUserBatchGetRespVo struct { CommonVo Data *GetUserBatchGetRespVoData `json:"data"` }
type GetUserBatchGetRespVoData ¶
type GetUserBatchGetRespVoData struct {
UserInfos []UserDetailInfo `json:"user_infos"`
}
type GetUserBatchGetV2Resp ¶ added in v0.1.4
type GetUserBatchGetV2Resp struct { CommonVo Data GetUserBatchGetV2RespData `json:"data"` }
type GetUserBatchGetV2RespData ¶ added in v0.1.4
type GetUserBatchGetV2RespData struct { HasMore bool `json:"has_more"` PageToken string `json:"page_token"` Users []UserDetailInfoV2 `json:"users"` Errors []GetUserBatchError `json:"errors"` }
type GroupListRespVo ¶ added in v0.1.7
type GroupListRespVo struct { CommonVo Data *UserGroupListData `json:"data"` }
type I18nElement ¶ added in v0.0.3
type I18nElement struct { ZhCn []interface{} `json:"zh_cn"` EnUs []interface{} `json:"en_us"` JaJp []interface{} `json:"ja_jp"` }
type IsUserAdminResp ¶ added in v0.1.3
type IsUserAdminResp struct { CommonVo Data IsUserAdminRespData `json:"data"` }
type IsUserAdminRespData ¶ added in v0.1.3
type IsUserAdminRespData struct {
IsAppAdmin bool `json:"is_app_admin"`
}
type MemberData ¶ added in v0.1.7
type MsgContent ¶ added in v0.0.3
type MsgPost ¶ added in v0.0.3
type MsgPost struct { ZhCn *MsgPostValue `json:"zh_cn,omitempty"` EnUs *MsgPostValue `json:"en_us,omitempty"` JaJp *MsgPostValue `json:"ja_jp,omitempty"` }
type MsgPostContentA ¶ added in v0.0.3
type MsgPostContentAt ¶ added in v0.0.3
type MsgPostContentImage ¶ added in v0.0.3
type MsgPostContentText ¶ added in v0.0.3
type MsgPostValue ¶ added in v0.0.3
type MsgPostValue struct { Title string `json:"title"` Content interface{} `json:"content"` }
type MsgResp ¶ added in v0.0.3
type MsgResp struct { CommonVo Data MsgRespData `json:"data"` }
type MsgRespData ¶ added in v0.0.3
type MsgRespData struct {
MessageId string `json:"message_id"`
}
type MsgVo ¶ added in v0.0.3
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 ¶ added in v0.2.5
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 ¶ added in v0.2.5
type OrderInfoData struct {
Order OrderInfo `json:"order"`
}
type OrderInfoResp ¶ added in v0.2.5
type OrderInfoResp struct { CommonVo Data OrderInfoData `json:"data"` }
type RefreshAccessTokenResp ¶ added in v0.1.9
type RefreshAccessTokenResp struct { CommonVo Data RefreshAccessTokenRespData `json:"data"` }
type RefreshAccessTokenRespData ¶ added in v0.1.9
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 ¶ added in v0.0.3
type RoleListResp struct { CommonVo Data RoleListRespData `json:"data"` }
type RoleListRespData ¶ added in v0.0.3
type RoleListRespData struct {
RoleList []Role `json:"role_list"`
}
type RoleMemberListResp ¶ added in v0.0.3
type RoleMemberListResp struct { CommonVo Data RoleMemberListRespData `json:"data"` }
type RoleMemberListRespData ¶ added in v0.0.3
type RoleMemberListRespData struct { HasMore bool `json:"has_more"` PageToken string `json:"page_token"` UserList []UserRestInfoVo `json:"user_list"` }
type SearchDocsData ¶ added in v0.2.8
type SearchDocsData struct { HasMore bool `json:"has_more"` Total int64 `json:"total"` DocsEntities []DocEntities `json:"docs_entities"` }
type SearchDocsReqVo ¶ added in v0.2.8
type SearchDocsRespVo ¶ added in v0.2.8
type SearchDocsRespVo struct { CommonVo Data SearchDocsData `json:"data"` }
type SearchUserInfo ¶ added in v0.1.2
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 ¶ added in v0.1.2
type SearchUserResp struct { CommonVo Data *SearchUserRespData `json:"data"` }
type SearchUserRespData ¶ added in v0.1.2
type SearchUserRespData struct { HasMore bool `json:"has_more"` PageToken string `json:"page_token"` Users []SearchUserInfo `json:"users"` }
type TenantAccessTokenRespVo ¶
type TimeFormat ¶ added in v0.0.3
type TokenLoginValidateResp ¶ added in v0.0.4
type TokenLoginValidateResp struct { Data TokenLoginValidateRespData `json:"data"` CommonVo }
type TokenLoginValidateRespData ¶ added in v0.0.4
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 UpdateCalendarEventAtendeesReq ¶ added in v0.0.3
type UpdateCalendarEventAtendeesReq struct {
Attendees []AttendeesResp `json:"attendees"`
}
type UpdateCalendarEventAtendeesResp ¶ added in v0.0.3
type UpdateCalendarReq ¶ added in v0.0.3
type UpdateChatData ¶ added in v0.1.8
type UpdateChatData struct {
ChatId string `json:"chat_id"`
}
type UpdateChatMemberReqVo ¶ added in v0.1.8
type UpdateChatMemberRespData ¶ added in v0.1.8
type UpdateChatMemberRespVo ¶ added in v0.1.8
type UpdateChatMemberRespVo struct { CommonVo Data UpdateChatMemberRespData `json:"data"` }
type UpdateChatReqVo ¶ added in v0.1.8
type UpdateChatRespVo ¶ added in v0.1.8
type UpdateChatRespVo struct { CommonVo Data UpdateChatData `json:"data"` }
type UpdateImageVo ¶ added in v0.2.7
type UserAvatar ¶ added in v0.1.2
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 ¶ added in v0.1.4
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"` 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 UserGroupListData ¶ added in v0.1.8
type UserRestInfoVo ¶
type UserStatus ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.