mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-11-03 01:53:24 +08:00
Render a basic chat window
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user