Documentation
¶
Index ¶
Constants ¶
View Source
const ( QRCodeStateNew = 1 QRCodeStateAccepted = 2 QRCodeStateSuccess = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QRCodeTransaction ¶
type QRCodeTransaction struct { AuthKeyId int64 `json:"auth_key_id"` ServerId string `json:"server_id"` SessionId int64 `json:"session_id"` ApiId int32 `json:"api_id"` ApiHash string `json:"api_hash"` CodeHash string `json:"code_hash"` ExpireAt int64 `json:"expire_at"` UserId int64 `json:"user_id"` State int `json:"state"` }
func (*QRCodeTransaction) CheckByToken ¶
func (m *QRCodeTransaction) CheckByToken(token []byte) bool
func (*QRCodeTransaction) Token ¶
func (m *QRCodeTransaction) Token() []byte
Click to show internal directories.
Click to hide internal directories.