onCmdMessagesReceived property
final
~english Occurs when a command message is received.
This callback only contains a command message body that is usually invisible to users. ~end
~chinese 收到命令消息回调。 与 onMessagesReceived 不同, 这个回调只包含命令的消息,命令消息通常不对用户展示。 ~end
Implementation
final void Function(List<ChatMessage> messages)? onCmdMessagesReceived;