github.com/tada-team/tdproto@v1.51.57/client_ping.go (about) 1 package tdproto 2 3 func NewClientPing() (r ClientPing) { 4 r.Name = r.GetName() 5 r.ConfirmId = ConfirmId() 6 return r 7 } 8 9 // Empty message for checking server connection 10 type ClientPing struct { 11 BaseEvent 12 } 13 14 func (p ClientPing) GetName() string { return "client.ping" }