class Client

Traits

Properties

protected $http
protected $access_token
protected $endpoint

Methods

__construct(TencentMail $app)

Client constructor.

string
create(Group $group)

创建邮件群组.

string
update(Group $group)

更新邮件群组.

string
delete(string $groupId)

删除邮件群组.

string
get(string $groupId)

获取邮件群组信息.

Details

at line 28
__construct(TencentMail $app)

Client constructor.

Parameters

TencentMail $app

Exceptions

GuzzleException

at line 45
string create(Group $group)

创建邮件群组.

Parameters

Group $group

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10022

at line 64
string update(Group $group)

更新邮件群组.

Parameters

Group $group

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10023

at line 83
string delete(string $groupId)

删除邮件群组.

Parameters

string $groupId 邮件群组id,邮件格式

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10024

at line 101
string get(string $groupId)

获取邮件群组信息.

Parameters

string $groupId 邮件群组id,邮件格式

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10025