Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBotTokenRequired = errors.New("bot token is required")
View Source
var ErrHashIsNotValidHex = errors.New("provided hash is a not valid hex string")
View Source
var ErrHashMismatch = errors.New("provided hash does not match computed hash")
Functions ¶
This section is empty.
Types ¶
type AuthData ¶
type AuthData struct {
ID int64 `json:"id"`
AuthDate int64 `json:"auth_date"`
Username string `json:"username,omitempty"`
Hash string `json:"hash"`
FirstName string `json:"first_name,omitempty"`
LastName string `json:"last_name,omitempty"`
PhotoURL string `json:"photo_url,omitempty"`
}
func (AuthData) StringToCheck ¶
Click to show internal directories.
Click to hide internal directories.