Client
class Client
Traits
Properties
protected | $http | ||
protected | $access_token | ||
protected | $endpoint |
Methods
string
delete(string $userId)
删除成员.
string
get(string $userId)
获取成员.
string
list(int $department_id = 1, bool $fetch_child = false)
获取部门成员.
string
listDetails(int $department_id = 1, bool $fetch_child = false)
获取部门成员(详情).
string
check(array $userlist)
批量检查帐号.
Details
at line 28
__construct(TencentMail $app)
Client constructor.
at line 45
string
create(User $user)
创建成员.
at line 64
string
update(User $user)
更新成员.
at line 83
string
delete(string $userId)
删除成员.
at line 102
string
get(string $userId)
获取成员.
at line 122
string
list(int $department_id = 1, bool $fetch_child = false)
获取部门成员.
at line 146
string
listDetails(int $department_id = 1, bool $fetch_child = false)
获取部门成员(详情).
at line 169
string
check(array $userlist)
批量检查帐号.