assistant_callback.go 195 B

123456789101112
  1. package ticket
  2. import "google.golang.org/protobuf/encoding/protojson"
  3. func (x *AssistantCallback) Bytes() []byte {
  4. j, err := protojson.Marshal(x)
  5. if err != nil {
  6. return nil
  7. }
  8. return j
  9. }