Files
Memoh/internal/preauth/types.go
T
BBQ 06e8619a37 refactor(core): migrate channel identity and binding across app
Align channel identity and bind flow across backend and app-facing layers, including generated swagger artifacts and package lock updates while excluding docs content changes.
2026-02-11 14:51:58 +08:00

15 lines
346 B
Go

package preauth
import "time"
// Key represents a bot pre-authorization key.
type Key struct {
ID string
BotID string
Token string
IssuedByChannelIdentityID string
ExpiresAt time.Time
UsedAt time.Time
CreatedAt time.Time
}