InstamadilloXmaContentRef.proto 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. syntax = "proto2";
  2. package InstamadilloXmaContentRef;
  3. option go_package = "go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef";
  4. enum XmaActionType {
  5. XMA_ACTION_TYPE_UNSPECIFIED = 0;
  6. XMA_ACTION_TYPE_SHARE = 1;
  7. XMA_ACTION_TYPE_REPLY = 2;
  8. XMA_ACTION_TYPE_REACT = 3;
  9. XMA_ACTION_TYPE_MENTION = 4;
  10. }
  11. enum ReceiverFetchContentType {
  12. RECEIVER_FETCH_CONTENT_TYPE_UNSPECIFIED = 0;
  13. RECEIVER_FETCH_CONTENT_TYPE_NOTE = 1;
  14. RECEIVER_FETCH_CONTENT_TYPE_STORY = 2;
  15. RECEIVER_FETCH_CONTENT_TYPE_PROFILE = 3;
  16. RECEIVER_FETCH_CONTENT_TYPE_CLIP = 4;
  17. RECEIVER_FETCH_CONTENT_TYPE_FEED = 5;
  18. RECEIVER_FETCH_CONTENT_TYPE_LIVE = 6;
  19. RECEIVER_FETCH_CONTENT_TYPE_COMMENT = 7;
  20. RECEIVER_FETCH_CONTENT_TYPE_LOCATION_SHARE = 8;
  21. RECEIVER_FETCH_CONTENT_TYPE_REELS_AUDIO = 9;
  22. RECEIVER_FETCH_CONTENT_TYPE_MEDIA_NOTE = 10;
  23. RECEIVER_FETCH_CONTENT_TYPE_STORY_HIGHLIGHT = 11;
  24. RECEIVER_FETCH_CONTENT_TYPE_SOCIAL_CONTEXT = 12;
  25. }
  26. enum MediaNoteFetchParamsMessageType {
  27. MEDIA_NOTE_FETCH_PARAMS_MESSAGE_TYPE_UNSPECIFIED = 0;
  28. MEDIA_NOTE_FETCH_PARAMS_MESSAGE_TYPE_MENTION = 1;
  29. MEDIA_NOTE_FETCH_PARAMS_MESSAGE_TYPE_REPLY = 2;
  30. }
  31. message XmaContentRef {
  32. optional XmaActionType actionType = 1;
  33. optional ReceiverFetchContentType contentType = 2;
  34. optional string targetURL = 3;
  35. optional string userName = 4;
  36. optional string ownerFbid = 5;
  37. optional ReceiverFetchXmaFetchParams fetchParams = 6;
  38. }
  39. message ReceiverFetchXmaFetchParams {
  40. oneof receiverFetchXmaFetchParams {
  41. ReceiverFetchXmaNoteFetchParams noteFetchParams = 1;
  42. ReceiverFetchXmaStoryFetchParams storyFetchParams = 2;
  43. ReceiverFetchXmaProfileFetchParams profileFetchParams = 3;
  44. ReceiverFetchXmaClipFetchParams clipFetchParams = 4;
  45. ReceiverFetchXmaFeedFetchParams feedFetchParams = 5;
  46. ReceiverFetchXmaLiveFetchParams liveFetchParams = 6;
  47. ReceiverFetchXmaCommentFetchParams commentFetchParams = 7;
  48. ReceiverFetchXmaLocationShareFetchParams locationShareFetchParams = 8;
  49. ReceiverFetchXmaReelsAudioFetchParams reelsAudioFetchParams = 9;
  50. ReceiverFetchXmaMediaNoteFetchParams mediaNoteFetchParams = 10;
  51. ReceiverFetchXmaSocialContextFetchParams socialContextFetchParams = 11;
  52. }
  53. }
  54. message ReceiverFetchXmaNoteFetchParams {
  55. optional string noteIgid = 1;
  56. }
  57. message ReceiverFetchXmaStoryFetchParams {
  58. optional string storyIgid = 1;
  59. optional string reelID = 2;
  60. }
  61. message ReceiverFetchXmaProfileFetchParams {
  62. optional string profileIgid = 1;
  63. }
  64. message ReceiverFetchXmaClipFetchParams {
  65. optional string mediaIgid = 1;
  66. }
  67. message ReceiverFetchXmaFeedFetchParams {
  68. optional string mediaIgid = 1;
  69. optional string carouselShareChildMediaIgid = 2;
  70. }
  71. message ReceiverFetchXmaLiveFetchParams {
  72. optional string liveIgid = 1;
  73. }
  74. message ReceiverFetchXmaCommentFetchParams {
  75. optional string commentFbid = 1;
  76. }
  77. message ReceiverFetchXmaLocationShareFetchParams {
  78. optional string locationIgid = 1;
  79. }
  80. message ReceiverFetchXmaReelsAudioFetchParams {
  81. optional string audioIgid = 1;
  82. }
  83. message ReceiverFetchXmaMediaNoteFetchParams {
  84. optional string mediaNoteIgid = 1;
  85. optional MediaNoteFetchParamsMessageType messageType = 2;
  86. }
  87. message ReceiverFetchXmaSocialContextFetchParams {
  88. optional string mediaIgid = 1;
  89. }