Documentation
¶
Index ¶
- func Adapter() *feiShuAdapter
- type AppService
- func (s *AppService) AppClient() (*gclient.Client, error)
- func (s *AppService) AppGetAccessToken() (string, error)
- func (s *AppService) AppGetDepartment(id string) (string, error)
- func (s *AppService) AppGetDepartmentUser(id string) (string, error)
- func (s *AppService) AppGetDepartmentUsers(ids []string) (string, error)
- func (s *AppService) AppGetOpenId(emails, mobiles []string) (string, error)
- func (s *AppService) AppGetOpenIdPersonFormEmail(email string) (string, error)
- func (s *AppService) AppGetOpenIdPersonFormMobile(mobile string) (string, error)
- func (s *AppService) AppGetOpenIdUser(user string) (string, error)
- func (s *AppService) AppGetOpenIdUsers(users []string) ([]string, error)
- func (s *AppService) AppGetTenantToken() (string, error)
- func (s *AppService) AppGetUid(emails, mobiles []string) (string, error)
- func (s *AppService) AppGetUidPersonFormEmail(email string) (string, error)
- func (s *AppService) AppGetUidPersonFormMobile(mobile string) (string, error)
- func (s *AppService) AppGetUidUser(user string) (string, error)
- func (s *AppService) AppGetUidUsers(users []string) ([]string, error)
- func (s *AppService) AppGetUserDetail(user string) (string, error)
- func (s *AppService) AppSendMsgUser(msgType, user string, content, urgent string) (string, error)
- func (s *AppService) AppSendMsgUsers(user []string, msgType, content string) (string, error)
- func (s *AppService) AppSendMsgUsersCard(user []string, card string) (string, error)
- func (s *AppService) AppUrgentApp(user string, messageId string) (string, error)
- func (s *AppService) AppUrgentPhone(user string, messageId string) (string, error)
- func (s *AppService) AppUrgentSms(user string, messageId string) (string, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppService ¶ added in v1.0.3
func (*AppService) AppClient ¶ added in v1.0.3
func (s *AppService) AppClient() (*gclient.Client, error)
AppClient AppGetTenantToken
func (*AppService) AppGetAccessToken ¶ added in v1.0.4
func (s *AppService) AppGetAccessToken() (string, error)
func (*AppService) AppGetDepartment ¶ added in v1.0.4
func (s *AppService) AppGetDepartment(id string) (string, error)
AppGetDepartment id DepartmentId(default 0)
func (*AppService) AppGetDepartmentUser ¶ added in v1.0.4
func (s *AppService) AppGetDepartmentUser(id string) (string, error)
AppGetDepartmentUser id DepartmentId
func (*AppService) AppGetDepartmentUsers ¶ added in v1.0.4
func (s *AppService) AppGetDepartmentUsers(ids []string) (string, error)
AppGetDepartmentUsers ids DepartmentIdList
func (*AppService) AppGetOpenId ¶ added in v1.0.5
func (s *AppService) AppGetOpenId(emails, mobiles []string) (string, error)
func (*AppService) AppGetOpenIdPersonFormEmail ¶ added in v1.0.5
func (s *AppService) AppGetOpenIdPersonFormEmail(email string) (string, error)
func (*AppService) AppGetOpenIdPersonFormMobile ¶ added in v1.0.5
func (s *AppService) AppGetOpenIdPersonFormMobile(mobile string) (string, error)
func (*AppService) AppGetOpenIdUser ¶ added in v1.0.5
func (s *AppService) AppGetOpenIdUser(user string) (string, error)
func (*AppService) AppGetOpenIdUsers ¶ added in v1.0.5
func (s *AppService) AppGetOpenIdUsers(users []string) ([]string, error)
func (*AppService) AppGetTenantToken ¶ added in v1.0.3
func (s *AppService) AppGetTenantToken() (string, error)
func (*AppService) AppGetUid ¶ added in v1.0.3
func (s *AppService) AppGetUid(emails, mobiles []string) (string, error)
func (*AppService) AppGetUidPersonFormEmail ¶ added in v1.0.3
func (s *AppService) AppGetUidPersonFormEmail(email string) (string, error)
func (*AppService) AppGetUidPersonFormMobile ¶ added in v1.0.3
func (s *AppService) AppGetUidPersonFormMobile(mobile string) (string, error)
func (*AppService) AppGetUidUser ¶ added in v1.0.3
func (s *AppService) AppGetUidUser(user string) (string, error)
func (*AppService) AppGetUidUsers ¶ added in v1.0.3
func (s *AppService) AppGetUidUsers(users []string) ([]string, error)
func (*AppService) AppGetUserDetail ¶ added in v1.0.8
func (s *AppService) AppGetUserDetail(user string) (string, error)
func (*AppService) AppSendMsgUser ¶ added in v1.0.3
func (s *AppService) AppSendMsgUser(msgType, user string, content, urgent string) (string, error)
AppSendMsgUser msgType(text, post, image, share_chat, ...) content `json` urgent(phone, sms, app)
func (*AppService) AppSendMsgUsers ¶ added in v1.0.3
func (s *AppService) AppSendMsgUsers(user []string, msgType, content string) (string, error)
AppSendMsgUsers msgType(text, post, image, share_chat, ...) content `json`
func (*AppService) AppSendMsgUsersCard ¶ added in v1.0.4
func (s *AppService) AppSendMsgUsersCard(user []string, card string) (string, error)
AppSendMsgUsersCard card `json`
func (*AppService) AppUrgentApp ¶ added in v1.0.7
func (s *AppService) AppUrgentApp(user string, messageId string) (string, error)
AppUrgentApp user(open_id)
func (*AppService) AppUrgentPhone ¶ added in v1.0.7
func (s *AppService) AppUrgentPhone(user string, messageId string) (string, error)
AppUrgentPhone user(open_id)
func (*AppService) AppUrgentSms ¶ added in v1.0.7
func (s *AppService) AppUrgentSms(user string, messageId string) (string, error)
AppUrgentSms user(open_id)
type User ¶ added in v1.0.4
type User struct { Code int `json:"code"` Data struct { HasMore bool `json:"has_more"` Items []struct { Email string `json:"email"` JobTitle string `json:"job_title"` Mobile string `json:"mobile"` Name string `json:"name"` UserId string `json:"user_id"` } `json:"items"` PageToken string `json:"page_token"` } `json:"data"` Msg string `json:"msg"` }
Click to show internal directories.
Click to hide internal directories.