Event API GroupKick - KonataDev/Konata.Core GitHub Wiki
Kick out a member from the group.
GroupKick
Name | C Type | Description |
---|---|---|
Bot | uint32_t | Bot account |
Group | uint32_t | Group uin |
Member | uint32_t | Member uin |
Toggle | bool | Prevent request[1] |
The return type is an uint32_t
.
Return Value | Description |
---|---|
SUCCESS 0 |
Operation successfully. |
FAILED -1 |
Operation failed. |
DENIED -2 |
Lack the permission. |
[1] Prevent member:
Prevent request is a boolean
value in uint32_t
,
specifies the operation is the prevent or no.
Type | Description |
---|---|
true | Prevent his join request the next time. |
false | Not do that. |