InstamadilloTransportPayload.proto 1002 B

123456789101112131415161718192021222324252627282930313233
  1. syntax = "proto2";
  2. package InstamadilloTransportPayload;
  3. option go_package = "git.bobomao.top/joey/whatsmeow/proto/instamadilloTransportPayload";
  4. import "instamadilloAddMessage/InstamadilloAddMessage.proto";
  5. import "instamadilloDeleteMessage/InstamadilloDeleteMessage.proto";
  6. import "instamadilloSupplementMessage/InstamadilloSupplementMessage.proto";
  7. enum PayloadCreator {
  8. PAYLOAD_CREATOR_UNSPECIFIED = 0;
  9. PAYLOAD_CREATOR_IGIOS = 1;
  10. PAYLOAD_CREATOR_IG4A = 2;
  11. PAYLOAD_CREATOR_WWW = 3;
  12. PAYLOAD_CREATOR_IGLITE = 4;
  13. }
  14. message TransportPayload {
  15. oneof transportPayload {
  16. InstamadilloAddMessage.AddMessagePayload add = 1;
  17. InstamadilloDeleteMessage.DeleteMessagePayload delete = 2;
  18. InstamadilloSupplementMessage.SupplementMessagePayload supplement = 3;
  19. }
  20. optional Franking franking = 4;
  21. optional bool openEb = 5;
  22. optional bool isE2EeAttributed = 6;
  23. optional PayloadCreator payloadCreator = 7;
  24. }
  25. message Franking {
  26. optional bytes frankingKey = 1;
  27. optional int32 frankingVersion = 2;
  28. }