Render a basic chat window

This commit is contained in:
Dmitrii Okunev
2024-10-20 16:30:22 +01:00
parent ba2d67c805
commit 269de7748a
17 changed files with 1316 additions and 582 deletions

View File

@@ -276,6 +276,18 @@ type StreamD interface {
SubscribeToChatMessages(
ctx context.Context,
) (<-chan ChatMessage, error)
RemoveChatMessage(
ctx context.Context,
platID streamcontrol.PlatformName,
msgID streamcontrol.ChatMessageID,
) error
BanUser(
ctx context.Context,
platID streamcontrol.PlatformName,
userID streamcontrol.ChatUserID,
reason string,
deadline time.Time,
) error
}
type StreamPlayer = sstypes.StreamPlayer