Recieving messages via the external link

This commit is contained in:
2023-06-17 22:27:14 +00:00
parent b252d5e62e
commit 77d41bb945
11 changed files with 164 additions and 15 deletions

11
common/external_chat.go Normal file
View File

@@ -0,0 +1,11 @@
package common
type ExternalChatManager interface {
SendMessage(user string, message string)
}
type ExternalChatModule interface {
Initialize(ExternalChatManager)
RecieveMessage(user User, message string)
}