Adding ability to listen to user types chat messages using WA.onChatMessage
This commit is contained in:
parent
5178dff108
commit
e927e0fa16
7 changed files with 82 additions and 10 deletions
|
@ -5,4 +5,7 @@ export const isChatEvent =
|
|||
message: tg.isString,
|
||||
author: tg.isString,
|
||||
}).get();
|
||||
/**
|
||||
* A message sent from the iFrame to the game to add a message in the chat.
|
||||
*/
|
||||
export type ChatEvent = tg.GuardedType<typeof isChatEvent>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue