syntax = "proto3"; package bilibili.dynamic.common; import "bilibili/app/dynamic/v2/dynamic.proto"; // message AtGroup { int32 group_type = 1; string group_name = 2; repeated AtItem items = 3; } // enum AtGroupType { AT_GROUP_TYPE_DEFAULT = 0; // AT_GROUP_TYPE_RECENT = 1; // AT_GROUP_TYPE_FOLLOW = 2; // AT_GROUP_TYPE_FANS = 3; // AT_GROUP_TYPE_OTHERS = 4; // } // message AtItem { // int64 uid = 1; // string name = 2; // string face = 3; // int32 fans = 4; // int32 official_verify_type = 5; } // message AtListReq { // int64 uid = 1; } // message AtListRsp { // repeated AtGroup groups = 1; } // message AtSearchReq { // int64 uid = 1; // string keyword = 2; } // enum AttachCardType { ATTACH_CARD_NONE = 0; // ATTACH_CARD_GOODS = 1; // ATTACH_CARD_VOTE = 2; // ATTACH_CARD_UGC = 3; // ATTACH_CARD_ACTIVITY = 4; // ATTACH_CARD_OFFICIAL_ACTIVITY = 5; // ATTACH_CARD_TOPIC = 6; // ATTACH_CARD_OGV = 7; // ATTACH_CARD_AUTO_OGV = 8; // ATTACH_CARD_GAME = 9; // ATTACH_CARD_MANGA = 10; // ATTACH_CARD_DECORATION = 11; // ATTACH_CARD_MATCH = 12; // ATTACH_CARD_PUGV = 13; // ATTACH_CARD_RESERVE = 14; // ATTACH_CARD_UP_TOPIC = 15; // } // message BottomBusiness { // int64 rid = 1; // int64 type = 2; } // enum ContentType { CONTENT_TYPE_NONE = 0; // TEXT = 1; // AT = 2; // LOTTERY = 3; // VOTE = 4; // TOPIC = 5; // GOODS = 6; // BV = 7; // AV = 8; // EMOJI = 9; // USER = 10; // CV = 11; // VC = 12; // WEB = 13; // TAOBAO = 14; // MAIL = 15; // OGV_SEASON = 16; // OGV_EP = 17; // } // message CreateActivity { // int64 activity_id = 1; // int32 activity_state = 2; // int32 is_new_activity = 3; // int32 action = 4; } // message CreateAttachCard { // CreateGoodsCard goods = 1; // CreateCommonAttachCard common_card = 2; } // message CreateCheckResp { // PublishSetting setting = 1; // UpPermission permission = 2; // ShareChannel share_info = 3; // PublishYellowBar yellow_bar = 4; // PlusRedDot plus_red_dot = 5; } // message CreateCommonAttachCard { // int32 type = 1; // int64 biz_id = 2; // int32 reserve_source = 3; // int32 reserve_lottery = 4; } // message CreateContent { // repeated CreateContentItem contents = 1; } // message CreateContentItem { // string raw_text = 1; // int32 type = 2; // string biz_id = 3; // GoodsContent goods = 4; } // message CreateDynVideo { // string relation_from = 1; // int32 biz_from = 3; // int32 copyright = 4; // int32 no_public = 5; // int32 no_reprint = 6; // string source = 7; // string cover = 8; // string title = 9; // int64 tid = 10; // string tag = 11; // string desc = 12; // int64 desc_format_id = 13; // int32 open_elec = 14; // int32 dtime = 15; // repeated DynVideoMultiP videos = 16; // DynVideoWatermark watermark = 17; // int64 mission_id = 18; // string dynamic = 19; // string dynamic_extension = 20; // string dynamic_ctrl = 21; // string dynamic_from = 22; // int64 lottery_id = 23; // DynVideoVote vote = 24; // bool up_selection_reply = 25; // bool up_close_reply = 26; // bool up_close_danmu = 27; // int64 up_from = 28; // int64 duration = 29; } // message CreateDynVideoResult { // int64 aid = 1; // string message = 2; // DynVideoSubmitActBanner submitact_banner = 3; // DynVideoPushIntro push_intro = 4; } // message CreateGoodsCard { // repeated string item_id = 1; } // enum CreateInitCheckScene { CREATE_INIT_CHECK_SCENE_INVALID = 0; // CREATE_INIT_CHECK_SCENE_NORMAL = 1; // CREATE_INIT_CHECK_SCENE_REPOST = 2; // CREATE_INIT_CHECK_SCENE_SHARE = 3; // CREATE_INIT_CHECK_SCENE_RESERVE_SHARE = 4; // } // message CreateOption { // int32 up_choose_comment = 1; // int32 close_comment = 2; // int32 fold_exclude = 3; // int32 audit_level = 4; // int32 sync_to_comment = 5; // VideoShareInfo video_share_info = 6; // CreateActivity activity = 7; } // message CreatePic { // string img_src = 1; // double img_width = 2; // double img_height = 3; // double img_size = 4; // repeated CreatePicTag img_tags = 5; } // message CreatePicTag { // int64 item_id = 1; // int64 tid = 2; // int64 mid = 3; // string text = 4; // string text_string = 5; // int64 type = 6; // int64 source_type = 7; // string url = 8; // string schema_url = 9; // string jump_url = 10; // int64 orientation = 11; // int64 x = 12; // int64 y = 13; // string poi = 14; } // message CreateResp { // int64 dyn_id = 1; // string dyn_id_str = 2; // int64 dyn_type = 3; // int64 dyn_rid = 4; // bilibili.app.dynamic.v2.DynamicItem fake_card = 5; // CreateDynVideoResult video_result = 6; } // enum CreateScene { CREATE_SCENE_INVALID = 0; // CREATE_SCENE_CREATE_WORD = 1; // CREATE_SCENE_CREATE_DRAW = 2; // CREATE_SCENE_CREATE_DYN_VIDEO = 3; // CREATE_SCENE_REPOST = 4; // CREATE_SCENE_SHARE_BIZ = 5; // CREATE_SCENE_SHARE_PAGE = 6; // CREATE_SCENE_SHARE_PROGRAM = 7; // CREATE_SCENE_REPLY_SYNC = 8; // CREATE_SCENE_REPLY_CREATE_ACTIVITY = 9; // } // message CreateTag { // ExtLbs lbs = 1; // BottomBusiness sdk_game = 2; // BottomBusiness diversion = 3; } // message CreateTopic { // int64 id = 1; // string name = 2; } // message DynIdentity { // int64 dyn_id = 1; // DynRevsId revs_id = 2; } // message DynRevsId { // int64 dyn_type = 1; // int64 rid = 2; } // message DynVideoEditor { // int64 cid = 1; // int32 upfrom = 2; // string filters = 3; // string fonts = 4; // string subtitles = 5; // string bgms = 6; // string stickers = 7; // string videoup_stickers = 8; // string trans = 9; // string makeups = 10; // string surgerys = 11; // string videofxs = 12; // string themes = 13; // string cooperates = 14; // string rhythms = 15; // string effects = 16; // string backgrounds = 17; // string videos = 18; // string sounds = 19; // string flowers = 20; // string cover_templates = 21; // string tts = 22; // string openings = 23; // bool record_text = 24; // string vupers = 25; // string features = 26; // string bcut_features = 27; // int32 audio_record = 28; // int32 camera = 29; // int32 speed = 30; // int32 camera_rotate = 31; // int32 screen_record = 32; // int32 default_end = 33; // int32 duration = 34; // int32 pic_count = 35; // int32 video_count = 36; // int32 shot_duration = 37; // string shot_game = 38; // bool highlight = 39; // int32 highlight_cnt = 40; // int32 pip_count = 41; } // message DynVideoHotAct { // int64 act_id = 1; // int64 etime = 2; // int64 id = 3; // string pic = 4; // int64 stime = 5; // string title = 6; // string link = 7; } // message DynVideoMultiP { // string title = 1; // string filename = 2; // int64 cid = 3; // DynVideoEditor editor = 4; } // message DynVideoPushIntro { // int32 show = 1; // string text = 2; } // message DynVideoSubmitActBanner { // string hotact_text = 1; // string hotact_url = 2; // repeated DynVideoHotAct list = 3; } // message DynVideoVote { // int64 vote_id = 1; // string vote_title = 2; // int32 top_for_reply = 3; } // message DynVideoWatermark { // int32 state = 1; // int32 type = 2; // int32 position = 3; } // message ExtLbs { // string address = 1; // int64 distance = 2; // int64 type = 3; // string poi = 4; // LbsLoc location = 5; // string show_title = 6; // string title = 7; // string show_distance = 8; } // message GetUidByNameReq { // repeated string names = 1; } // message GetUidByNameRsp { // map uids = 1; } // message GoodsContent { // int32 source_type = 1; // int64 item_id = 2; // int64 shop_id = 3; } // message LaunchedActivity { // string module_title = 1; // repeated LaunchedActivityItem activities = 2; // ShowMoreLaunchedActivity show_more = 3; } // message LaunchedActivityItem { // int64 activity_id = 1; // string activity_name = 2; // int32 activity_state = 3; } // message LbsLoc { // double lat = 1; // double lng = 2; } // message MetaDataCtrl { // string platform = 1; // string build = 2; // string mobi_app = 3; // string buvid = 4; // string device = 5; // string from_spmid = 6; // string from = 7; // string trace_id = 8; // int32 teenager_mode = 9; // int32 cold_start = 10; // string version = 11; // int32 network = 12; // string ip = 13; } // message PlusRedDot { // int64 plus_has_red_dot = 1; } // message Program { // string title = 1; // string desc = 2; // string cover = 3; // string target_url = 4; // string icon = 5; // string program_text = 6; // string jump_text = 7; } // message PublishSetting { // int32 min_words_to_article = 1; // int32 max_words_to_article = 2; // int32 upload_size = 3; } // message PublishYellowBar { // string text = 1; // string url = 2; // string icon = 3; } // message RepostInitCheck { // DynIdentity repost_src = 1; // string share_id = 2; // int32 share_mode = 3; } // enum ReserveSource { RESERVE_SOURCE_NEW = 0; // RESERVE_SOURCE_ASSOCIATED = 1; // } // message ShareChannel { // string share_origin = 1; // string oid = 2; // string sid = 3; // repeated ShareChannelItem share_channels = 4; } // message ShareChannelItem { // string name = 1; // string picture = 2; // string share_channel = 3; // ShareReserve reserve = 4; } // message ShareReserve { // string title = 1; // string desc = 2; // string qr_code_icon = 3; // string qr_code_text = 4; // string qr_code_url = 5; // string name = 6; // string face = 7; // ShareReservePoster poster = 8; // ShareReserveLottery reserve_lottery = 9; } // message ShareReserveLottery { // string icon = 1; // string text = 2; } // message ShareReservePoster { // string url = 1; // double width = 2; // double height = 3; } // message ShareResult { // int64 share_enable = 1; // string toast = 2; } // message ShowMoreLaunchedActivity { // string button_text = 1; // string jump_url = 2; } // message Sketch { // string title = 1; // string desc_text = 2; // string text = 3; // int64 biz_id = 4; // int64 biz_type = 5; // string cover_url = 6; // string target_url = 7; } // message UpPermission { // repeated UpPermissionItem items = 1; // LaunchedActivity launched_activity = 2; // ShareResult share_result = 3; } // message UpPermissionItem { // int32 type = 1; // int32 permission = 2; // string title = 3; // string subtitle = 4; // string icon = 5; // string jump_url = 6; // string toast = 7; // int64 has_red_dot = 8; } // enum UpPermissionType { UP_PERMISSION_TYPE_NONE = 0; // UP_PERMISSION_TYPE_LOTTERY = 1; // UP_PERMISSION_TYPE_CLIP_PUBLISHED = 2; // UP_PERMISSION_TYPE_UGC_ATTACH_CARD = 3; // UP_PERMISSION_TYPE_GOODS_ATTACH_CARD = 4; // UP_PERMISSION_TYPE_CHOOSE_COMMENT = 5; // UP_PERMISSION_TYPE_CONTROL_COMMENT = 6; // UP_PERMISSION_TYPE_CONTROL_DANMU = 7; // UP_PERMISSION_TYPE_VIDEO_RESERVE = 8; // UP_PERMISSION_TYPE_LIVE_RESERVE = 9; // } // message UserCreateMeta { // MetaDataCtrl app_meta = 1; // LbsLoc loc = 2; // int32 repost_mode = 3; } // message VideoShareInfo { // int64 cid = 1; // int32 part = 2; }