mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 11:42:03 -08:00
2f33fe86f5
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
119 lines
2.9 KiB
Protocol Buffer
119 lines
2.9 KiB
Protocol Buffer
syntax = "proto3";
|
|
package WAArmadilloXMA;
|
|
option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA";
|
|
|
|
import "waCommon/WACommon.proto";
|
|
|
|
message ExtendedContentMessage {
|
|
enum OverlayIconGlyph {
|
|
INFO = 0;
|
|
EYE_OFF = 1;
|
|
NEWS_OFF = 2;
|
|
WARNING = 3;
|
|
PRIVATE = 4;
|
|
NONE = 5;
|
|
MEDIA_LABEL = 6;
|
|
POST_COVER = 7;
|
|
POST_LABEL = 8;
|
|
WARNING_SCREENS = 9;
|
|
}
|
|
|
|
enum CtaButtonType {
|
|
CTABUTTONTYPE_UNKNOWN = 0;
|
|
OPEN_NATIVE = 11;
|
|
}
|
|
|
|
enum XmaLayoutType {
|
|
SINGLE = 0;
|
|
PORTRAIT = 3;
|
|
STANDARD_DXMA = 12;
|
|
LIST_DXMA = 15;
|
|
}
|
|
|
|
enum ExtendedContentType {
|
|
EXTENDEDCONTENTTYPE_UNKNOWN = 0;
|
|
IG_STORY_PHOTO_MENTION = 4;
|
|
IG_SINGLE_IMAGE_POST_SHARE = 9;
|
|
IG_MULTIPOST_SHARE = 10;
|
|
IG_SINGLE_VIDEO_POST_SHARE = 11;
|
|
IG_STORY_PHOTO_SHARE = 12;
|
|
IG_STORY_VIDEO_SHARE = 13;
|
|
IG_CLIPS_SHARE = 14;
|
|
IG_IGTV_SHARE = 15;
|
|
IG_SHOP_SHARE = 16;
|
|
IG_PROFILE_SHARE = 19;
|
|
IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20;
|
|
IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21;
|
|
IG_STORY_REPLY = 22;
|
|
IG_STORY_REACTION = 23;
|
|
IG_STORY_VIDEO_MENTION = 24;
|
|
IG_STORY_HIGHLIGHT_REPLY = 25;
|
|
IG_STORY_HIGHLIGHT_REACTION = 26;
|
|
IG_EXTERNAL_LINK = 27;
|
|
IG_RECEIVER_FETCH = 28;
|
|
FB_FEED_SHARE = 1000;
|
|
FB_STORY_REPLY = 1001;
|
|
FB_STORY_SHARE = 1002;
|
|
FB_STORY_MENTION = 1003;
|
|
FB_FEED_VIDEO_SHARE = 1004;
|
|
FB_GAMING_CUSTOM_UPDATE = 1005;
|
|
FB_PRODUCER_STORY_REPLY = 1006;
|
|
FB_EVENT = 1007;
|
|
FB_FEED_POST_PRIVATE_REPLY = 1008;
|
|
FB_SHORT = 1009;
|
|
FB_COMMENT_MENTION_SHARE = 1010;
|
|
MSG_EXTERNAL_LINK_SHARE = 2000;
|
|
MSG_P2P_PAYMENT = 2001;
|
|
MSG_LOCATION_SHARING = 2002;
|
|
MSG_LOCATION_SHARING_V2 = 2003;
|
|
MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004;
|
|
MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005;
|
|
MSG_RECEIVER_FETCH = 2006;
|
|
MSG_IG_MEDIA_SHARE = 2007;
|
|
MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008;
|
|
MSG_REELS_LIST = 2009;
|
|
MSG_CONTACT = 2010;
|
|
RTC_AUDIO_CALL = 3000;
|
|
RTC_VIDEO_CALL = 3001;
|
|
RTC_MISSED_AUDIO_CALL = 3002;
|
|
RTC_MISSED_VIDEO_CALL = 3003;
|
|
RTC_GROUP_AUDIO_CALL = 3004;
|
|
RTC_GROUP_VIDEO_CALL = 3005;
|
|
RTC_MISSED_GROUP_AUDIO_CALL = 3006;
|
|
RTC_MISSED_GROUP_VIDEO_CALL = 3007;
|
|
DATACLASS_SENDER_COPY = 4000;
|
|
}
|
|
|
|
message CTA {
|
|
CtaButtonType buttonType = 1;
|
|
string title = 2;
|
|
string actionURL = 3;
|
|
string nativeURL = 4;
|
|
string ctaType = 5;
|
|
}
|
|
|
|
WACommon.SubProtocol associatedMessage = 1;
|
|
ExtendedContentType targetType = 2;
|
|
string targetUsername = 3;
|
|
string targetID = 4;
|
|
int64 targetExpiringAtSec = 5;
|
|
XmaLayoutType xmaLayoutType = 6;
|
|
repeated CTA ctas = 7;
|
|
repeated WACommon.SubProtocol previews = 8;
|
|
string titleText = 9;
|
|
string subtitleText = 10;
|
|
uint32 maxTitleNumOfLines = 11;
|
|
uint32 maxSubtitleNumOfLines = 12;
|
|
WACommon.SubProtocol favicon = 13;
|
|
WACommon.SubProtocol headerImage = 14;
|
|
string headerTitle = 15;
|
|
OverlayIconGlyph overlayIconGlyph = 16;
|
|
string overlayTitle = 17;
|
|
string overlayDescription = 18;
|
|
string sentWithMessageID = 19;
|
|
string messageText = 20;
|
|
string headerSubtitle = 21;
|
|
string xmaDataclass = 22;
|
|
string contentRef = 23;
|
|
}
|