Event API GroupGrantSpecialTitle - KonataDev/Konata.Core GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️