package ticket import "google.golang.org/protobuf/encoding/protojson" func (x *AssistantCallback) Bytes() []byte { j, err := protojson.Marshal(x) if err != nil { return nil } return j }