func (t *RpcError) Write(proto tl.Encoder) (err error) { err = proto.WriteInt(t.ErrorCode) if err != nil { return } err = proto.WriteString(t.ErrorMessage) return }
func (t *String) Write(proto tl.Encoder) (err error) { err = proto.WriteString(t.value) return }