Documentation ¶
Index ¶
- Variables
- type AccountChange
- type AuthTokenRefreshed
- type BrowserActive
- type ClientReady
- type GaiaLoggedOut
- type HTTPError
- type HackySetActiveMayFail
- type ListenFatalError
- type ListenRecovered
- type ListenTemporaryError
- type NoDataReceived
- type PairSuccessful
- type PhoneNotResponding
- type PhoneRespondingAgain
- type PingFailed
- type QR
- type RequestError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCredentials = RequestError{ Data: &gmproto.ErrorResponse{ Type: 16, Message: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", }, }
View Source
var ErrRequestedEntityNotFound = RequestError{ Data: &gmproto.ErrorResponse{ Type: 5, Message: "Requested entity was not found.", Class: []*gmproto.ErrorResponse_ErrorClass{{ Class: "type.googleapis.com/google.internal.communications.instantmessaging.v1.TachyonError", }}, }, }
Functions ¶
This section is empty.
Types ¶
type AccountChange ¶
type AccountChange struct { *gmproto.AccountChangeOrSomethingEvent IsFake bool }
type AuthTokenRefreshed ¶
type AuthTokenRefreshed struct{}
type BrowserActive ¶
type BrowserActive struct {
SessionID string
}
func NewBrowserActive ¶
func NewBrowserActive(sessionID string) *BrowserActive
type ClientReady ¶
type ClientReady struct { SessionID string Conversations []*gmproto.Conversation }
type GaiaLoggedOut ¶
type GaiaLoggedOut struct{}
type HackySetActiveMayFail ¶
type HackySetActiveMayFail struct{}
type ListenFatalError ¶
type ListenFatalError struct {
Error error
}
type ListenRecovered ¶
type ListenRecovered struct{}
type ListenTemporaryError ¶
type ListenTemporaryError struct {
Error error
}
type NoDataReceived ¶
type NoDataReceived struct{}
type PairSuccessful ¶
type PairSuccessful struct { PhoneID string QRData *gmproto.PairedData }
type PhoneNotResponding ¶
type PhoneNotResponding struct{}
type PhoneRespondingAgain ¶
type PhoneRespondingAgain struct{}
type PingFailed ¶
type RequestError ¶
type RequestError struct { Data *gmproto.ErrorResponse HTTP *HTTPError }
func (RequestError) Error ¶
func (re RequestError) Error() string
func (RequestError) Is ¶
func (re RequestError) Is(other error) bool
func (RequestError) Unwrap ¶
func (re RequestError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.