Event API GroupGrantSpecialTitle - KonataDev/Konata.Core GitHub Wiki
Grant a special title for a member of the group.
GroupGrantSpecialTitle
| 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 |
The return type is an uint32_t.
| Return Value | Description |
|---|---|
| SUCCESS 0 |
Operation successfully. |
| FAILED -1 |
Operation failed. |
| DENIED -2 |
Lack the permission. |
[1] Expired time:
Expired time in seconds for the special title.
Set the value to -1 means never expired.