Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Event API GroupGrantSpecialTitle

TheSnowfield edited this page Jul 24, 2021 · 1 revision

Grant a special title for a member of the group.

Definition

GroupGrantSpecialTitle

Parameters

Name C Type Description
Bot uint32_t Bot account
Group uint32_t Group uin
Member uint32_t Member uin
Seconds uint32_t Expired time[1]
Title const char* Special title

Return

The return type is an uint32_t.

Return Value Description
SUCCESS
0
Operation successfully.
FAILED
-1
Operation failed.
DENIED
-2
Lack the permission.

Remarks

[1] Expired time:
Expired time in seconds for the special title.
Set the value to -1 means never expired.