github.com/tada-team/tdproto@v1.51.57/server_call_checkfingerprint.go (about) 1 package tdproto 2 3 func NewServerCallCheckFingerprint(fingerprint string) (r ServerCallCheckFingerprint) { 4 r.Name = r.GetName() 5 r.Params.Fingerprint = fingerprint 6 return r 7 } 8 9 // Experimental function 10 type ServerCallCheckFingerprint struct { 11 BaseEvent 12 Params serverCallCheckFingerprintParams `json:"params"` 13 } 14 15 func (p ServerCallCheckFingerprint) GetName() string { return "server.call.checkfingerprint" } 16 17 // Params of the server.call.checkfingerprint event 18 type serverCallCheckFingerprintParams struct { 19 Fingerprint string `json:"fingerprint"` 20 }