Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("preauth key not found")
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
ID string
BotID string
Token string
IssuedByUserID string
ExpiresAt time.Time
UsedAt time.Time
CreatedAt time.Time
}
Key represents a bot pre-authorization key.
Click to show internal directories.
Click to hide internal directories.