gmessages/libgm/util/constants.go

23 lines
608 B
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
package util
import (
"go.mau.fi/mautrix-gmessages/libgm/binary"
)
var BrowserType = binary.BrowserTypes_CHROME
2023-06-30 13:31:35 +00:00
const GoogleAPIKey = "AIzaSyCA4RsOZUFrm9whhtGosPlJLmVPnfSHKz8"
const UserAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
const OS = "Linux"
const XUserAgent = "grpc-web-javascript/0.1"
const QRCodeURLBase = "https://support.google.com/messages/?p=web_computer#?c="
// Deprecated
var (
BROWSER_TYPE = BrowserType
GOOG_API_KEY = GoogleAPIKey
USER_AGENT = UserAgent
X_USER_AGENT = XUserAgent
QR_CODE_URL = QRCodeURLBase
)