feat: integrate creator hub douyin workflows

This commit is contained in:
2026-09-14 19:22:07 +08:00
parent 025fe62c37
commit 44a28954cf
42 changed files with 2850 additions and 880 deletions
+9
View File
@@ -166,6 +166,15 @@ func ValidEventType(eventType string) bool {
}
}
func ValidMessageType(messageType string) bool {
switch messageType {
case MessageTypeText, MessageTypeImage, MessageTypeVoice, MessageTypeVideo, MessageTypeSticker, MessageTypeUnknown:
return true
default:
return false
}
}
func ValidAction(action string) bool {
switch action {
case ActionDM, ActionReplyComment, ActionLikeComment, ActionLikeWork, ActionFollow, ActionRepost: