You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

59 lines
1.1 KiB

package dcs
import "github.com/gotd/td/tg"
// Staging returns staging DC list.
//
// Deprecated: Use Test().
func Staging() List {
return Test()
}
// Test returns test DC list.
func Test() List {
return List{
Options: []tg.DCOption{
{
ID: 1,
IPAddress: "149.154.175.10",
Port: 443,
},
{
ID: 1,
Ipv6: true,
IPAddress: "2001:0b28:f23d:f001:0000:0000:0000:000e",
Port: 443,
},
{
ID: 2,
IPAddress: "149.154.167.40",
Port: 443,
},
{
ID: 2,
Ipv6: true,
IPAddress: "2001:067c:04e8:f002:0000:0000:0000:000e",
Port: 443,
},
{
ID: 3,
IPAddress: "149.154.175.117",
Port: 443,
},
{
ID: 3,
Ipv6: true,
IPAddress: "2001:0b28:f23d:f003:0000:0000:0000:000e",
Port: 443,
},
},
Domains: map[int]string{
1: "wss://pluto.web.telegram.org/apiws_test",
2: "wss://venus.web.telegram.org/apiws_test",
3: "wss://aurora.web.telegram.org/apiws_test",
4: "wss://vesta.web.telegram.org/apiws_test",
5: "wss://flora.web.telegram.org/apiws_test",
},
Test: true,
}
}