2023-06-30 09:54:08 +00:00
|
|
|
package util
|
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const MessagesBaseURL = "https://messages.google.com"
|
2023-06-30 09:54:08 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const GoogleAuthenticationURL = MessagesBaseURL + "/web/authentication"
|
|
|
|
const GoogleTimesourceURL = MessagesBaseURL + "/web/timesource"
|
2023-06-30 09:54:08 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const instantMessagingBaseURL = "https://instantmessaging-pa.googleapis.com"
|
|
|
|
const instantMessagingBaseURLGoogle = "https://instantmessaging-pa.clients6.google.com"
|
2023-06-30 09:54:08 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const UploadMediaURL = instantMessagingBaseURL + "/upload"
|
2023-06-30 09:54:08 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const pairingBaseURL = instantMessagingBaseURL + "/$rpc/google.internal.communications.instantmessaging.v1.Pairing"
|
2023-07-15 23:21:53 +00:00
|
|
|
const RegisterPhoneRelayURL = pairingBaseURL + "/RegisterPhoneRelay"
|
|
|
|
const RefreshPhoneRelayURL = pairingBaseURL + "/RefreshPhoneRelay"
|
|
|
|
const GetWebEncryptionKeyURL = pairingBaseURL + "/GetWebEncryptionKey"
|
|
|
|
const RevokeRelayPairingURL = pairingBaseURL + "/RevokeRelayPairing"
|
2023-06-30 09:54:08 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const messagingBaseURL = instantMessagingBaseURL + "/$rpc/google.internal.communications.instantmessaging.v1.Messaging"
|
|
|
|
const messagingBaseURLGoogle = instantMessagingBaseURLGoogle + "/$rpc/google.internal.communications.instantmessaging.v1.Messaging"
|
2023-07-15 23:21:53 +00:00
|
|
|
const ReceiveMessagesURL = messagingBaseURL + "/ReceiveMessages"
|
|
|
|
const SendMessageURL = messagingBaseURL + "/SendMessage"
|
|
|
|
const AckMessagesURL = messagingBaseURL + "/AckMessages"
|
2024-02-22 20:37:49 +00:00
|
|
|
const ReceiveMessagesURLGoogle = messagingBaseURLGoogle + "/ReceiveMessages"
|
|
|
|
const SendMessageURLGoogle = messagingBaseURLGoogle + "/SendMessage"
|
|
|
|
const AckMessagesURLGoogle = messagingBaseURLGoogle + "/AckMessages"
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2024-02-22 20:37:49 +00:00
|
|
|
const registrationBaseURL = instantMessagingBaseURLGoogle + "/$rpc/google.internal.communications.instantmessaging.v1.Registration"
|
|
|
|
const SignInGaiaURL = registrationBaseURL + "/SignInGaia"
|
2023-07-15 23:21:53 +00:00
|
|
|
const RegisterRefreshURL = registrationBaseURL + "/RegisterRefresh"
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-09-04 21:34:22 +00:00
|
|
|
const ConfigURL = "https://messages.google.com/web/config"
|