gmessages/libgm/util/paths.go

21 lines
892 B
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
package util
var MESSAGES_GOOGLE_BASE_URL = "https://messages.google.com"
2023-06-30 09:55:49 +00:00
var MESSAGES_GOOGLE_AUTHENTICATION = MESSAGES_GOOGLE_BASE_URL + "/web/authentication"
var MESSAGES_GOOGLE_TIMESOURCE = MESSAGES_GOOGLE_BASE_URL + "/web/timesource"
2023-06-30 09:54:08 +00:00
var INSTANT_MESSAGING = "https://instantmessaging-pa.googleapis.com"
2023-06-30 09:55:49 +00:00
var UPLOAD_MEDIA = INSTANT_MESSAGING + "/upload"
2023-06-30 09:54:08 +00:00
2023-06-30 09:55:49 +00:00
var PAIRING = INSTANT_MESSAGING + "/$rpc/google.internal.communications.instantmessaging.v1.Pairing"
var REGISTER_PHONE_RELAY = PAIRING + "/RegisterPhoneRelay"
var REFRESH_PHONE_RELAY = PAIRING + "/RefreshPhoneRelay"
var GET_WEB_ENCRYPTION_KEY = PAIRING + "/GetWebEncryptionKey"
2023-06-30 09:54:08 +00:00
2023-06-30 09:55:49 +00:00
var MESSAGING = INSTANT_MESSAGING + "/$rpc/google.internal.communications.instantmessaging.v1.Messaging"
var RECEIVE_MESSAGES = MESSAGING + "/ReceiveMessages"
var SEND_MESSAGE = MESSAGING + "/SendMessage"
var ACK_MESSAGES = MESSAGING + "/AckMessages"