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

Event OnPrivateMessage

TheSnowfield edited this page Jul 24, 2021 · 1 revision

Calling while bot received a new message from a friend.

Name

OnPrivateMessage

Parameters

Name C Type Description
Bot uint32_t Bot account
Friend uint32_t Friend uin
Message const char* Message content encoded in UTF8
MessageId uint32_t Message identifier

Return

The return type is an uint32_t.

Return Value Description
IGNORE
0
Ignore this event.
BLOCKED
1
Block this event to the next extension.