mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
06e8619a37
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.
15 lines
346 B
Go
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
|
|
}
|