Skip to content

Instantly share code, notes, and snippets.

@cygmris
Forked from irever/douyin_webcast_message
Created February 16, 2022 10:19
Show Gist options
  • Save cygmris/63c90b5c5cb9772c3cf72ad6d55f3e24 to your computer and use it in GitHub Desktop.
Save cygmris/63c90b5c5cb9772c3cf72ad6d55f3e24 to your computer and use it in GitHub Desktop.
#douyin #tiktok #protobuf #message #webcast
1 {
1: "WebcastChatMessage" //method
2 {
1 { //common
1: "WebcastChatMessage" //method
2: 6831800841696561932 //msg_id
3: 6831775107220769536 //room_id
4: 1590652825937 //create_time
6: 1 //is_show_msg
}
2 { //user
1: 100453345260 //uid
2: 1074894181 //short_id
3: "\344\272\221\345\274\200\360\237\214\270" //nickname
4: 1
6: 1
9 {
1: "https://p29-dy.byteimg.com/aweme/100x100/8e530018ca2a5b484c08.jpeg"
1: "https://p26-dy.byteimg.com/aweme/100x100/8e530018ca2a5b484c08.jpeg"
1: "https://p3-dy.byteimg.com/aweme/100x100/8e530018ca2a5b484c08.jpeg"
2: "100x100/8e530018ca2a5b484c08"
}
21 {
1: "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_20.png~tplv-obj.image"
1: "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_20.png~tplv-obj.image"
2: "webcast/aweme_honor_level_icon_new_20.png"
3: 16
4: 32
6: 1
}
21 {
1: "http://p3-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_8.png~tplv-obj.image"
1: "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_8.png~tplv-obj.image"
2: "webcast/vcd_aweme_fansclub_8.png"
6: 7
8 {
1: "\346\270\243\346\270\243\345\233\242"
2: "#FFFFFF"
3: 8
}
}
22 {
1: 330
2: 213
}
23 {
6: 20
19 {
1: "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_20.png~tplv-obj.image"
1: "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_20.png~tplv-obj.image"
2: "webcast/aweme_honor_level_icon_new_20.png"
3: 16
4: 32
6: 1
}
20 {
1: "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_20_24.png~tplv-obj.image"
1: "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_20_24.png~tplv-obj.image"
2: "webcast/aweme_pay_grade_2x_20_24.png"
3: 12
4: 12
6: 1
}
}
24 {
1 {
4 {
1 {
1: 0
2: ""
}
}
}
2 {
1: 1
2 {
1: "\346\270\243\346\270\243\345\233\242"
2: 8
3: 1
4 {
1 {
1: 2
2 {
1: "http://p3-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_8.png~tplv-obj.image"
1: "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_8.png~tplv-obj.image"
2: "webcast/vcd_aweme_fansclub_8.png"
}
}
2: "\346\270\243\346\270\243\345\233\242"
}
6: 97970048758
}
}
}
32: ""
38: "1074894181"
46: "MS4wLjABAAAA6a2-rNynEHGHZKH9n28_0cpXDAhHKhHbVk6WF-vJtac"
54: 3
}
3: "\345\216\237\347\211\210" //content
}
}
HELLO(0, "Hello"),
SETTING(0, "Setting"),
GET_SETTING(0, "GetSettting"),
REQUEST_RECONNECT(0, "RequestReconnect"),
DEFAULT(0, "--default--"),
DIGG(0, "WebcastDiggMessage"),
GIFT(0, "WebcastGiftMessage"),
GIFT_GROUP(0, "GiftGroupMessage"),
SYSTEM(0, "SystemMessage"),
CHAT(0, "WebcastChatMessage"),
CONTROL(0, "WebcastControlMessage"),
MEMBER(0, "WebcastMemberMessage"),
ROOM(0, "WebcastRoomMessage"),
SOCIAL(0, "WebcastSocialMessage"),
SCREEN(0, "WebcastScreenChatMessage"),
NOTICE(0, "NoticeListUnreadCountMessage"),
ROOM_START(0, "RoomStartMessage"),
ROOM_NOTIFY(0, "WebcastRoomNotifyMessage"),
REMIND(0, "WebcastNoticeMessage"),
DAILY_RANK(0, "WebcastSunDailyRankMessage"),
ROOM_PUSH(0, "WebcastRoomBottomMessage"),
DOODLE_GIFT(0, "WebcastDoodleGiftMessage"),
MODIFY_DECORATION(0, "WebcastDecorationModifyMethod"),
USER_STATS(0, "WebcastUserStatsMessage"),
IN_ROOM_BANNER_MESSAGE(0, "WebcastInRoomBannerMessage"),
ROOM_RICH_CHAT_MESSAGE(0, "WebcastSpecialPushMessage"),
IM_MESSAGE(0, "IESChatMessage"),
PROMOTION_CARD_MESSAGE(0, "WebcastPushRoomAdCard"),
BANNER_RED_POINT(0, "WebcastInRoomBannerRedPoint"),
LINK_MIC(0, "WebcastLinkMicMethod"),
LINK_MIC_SIGNAL(0, "WebcastLinkMicSignalingMethod"),
NOTICE_COUNT(0, "NoticeCountMessage"),
CLOUD_CONTROL(0, "CloudControl"),
ROOM_IMG_MESSAGE(0, "WebcastRoomImgMessage"),
BATTLE_MODE(0, "WebcastBattleModeMessage"),
GAME_QUIZ(0, "WebcastGamblingStatusChangedMessage"),
LINK_MIC_ARMIES(0, "WebcastLinkMicArmiesMethod"),
LINK_MIC_BATTLE(0, "WebcastLinkMicBattleMethod"),
LINK_MIC_BATTLE_FINISH(0, "WebcastLinkMicBattleFinishMethod"),
LINK_MIC_BATTLE_TASK(0, "WebcastLinkMicBattleTaskMessage"),
LINK_MIC_BATTLE_PUNISH(0, "WebcastLinkMicBattlePunishMethod"),
LOTTERY_EVENT(0, "WebcastLotteryEventMessage"),
TURN_TABLE_BURST(0, "WebcastTurntableBurstMessage"),
COMMON_TOAST(0, "WebcastCommonToastMessage"),
COMMON_GUIDE(0, "WebcastCommonGuideMessage"),
GIFT_UPDATE(0, "WebcastGiftUpdateMessage"),
LUCKY_BOX(0, "WebcastLuckyBoxMessage"),
COMMENT_IMAGE(0, "WebcastCommentsMessage"),
FANS_CLUB_STATISTICS(0, "WebcastFansclubStatisticsMessage"),
USER_SEQ(0, "WebcastRoomUserSeqMessage"),
LIVE_SHOPPING(0, "WebcastLiveShoppingMessage"),
FANS_CLUB(0, "WebcastFansclubMessage"),
CREATE_RED_PACKET(0, "WebcastCreateRedPacketMessage"),
RECOMMEND_GOODS(0, "WebcastVideoLiveGoodsRcmdMessage"),
RECOMMEND_COUPON(0, "WebcastVideoLiveCouponRcmdMessage"),
GOODS_ORDER(0, "WebcastVideoLiveGoodsOrderMessage"),
FANS_CLUB_REVIEW(0, "WebcastFansclubReviewMessage"),
ROOM_VERIFY(0, "WebcastRoomVerifyMessage"),
MEDIA_REPLAY(0, "WebcastMediaLiveReplayVidMessage"),
COMMERCE_SALE_MESSAGE(0, "CommerceSaleMessage"),
FOLLOW_GUIDE(0, "WebcastFollowGuideMessage"),
HONOR_LEVEL_UP(0, "WebcastLevelUpMessage"),
GUIDE_MESSAGE(0, "WebcastGuideMessage"),
FREE_CELL_GIFT_MESSAGE(0, "WebcastFreeCellGiftMessage"),
DUTY_GIFT_MESSAGE(0, "WebcastDutyGiftMessage"),
ASSET_MESSAGE(0, "WebcastAssetMessage"),
DAILY_REGION_RANK(0, "WebcastSunDailyRegionRankMessage"),
IM_DELETE(0, "WebcastImDeleteMessage"),
DOU_PLUS_MESSAGE(0, "WebcastDouplusMessage"),
LIVE_ECOM_MESSAGE(0, "WebcastLiveEcomMessage"),
FRATERNITY_MESSAGE(0, "WebcastBrotherhoodMessage"),
DOUYIN_OFFICIAL_TASK_INFO(0, "WebcastProjectDTaskInfo"),
CEREMONY_MESSAGE(0, "WebcastCeremonyMessage"),
D_H5_MESSAGE(0, "WebcastProjectDModifyH5"),
GAME_GIFT_MESSAGE(0, "WebcastGameGiftMessage"),
DRIVE_GIFT_MESSAGE(0, "WebcastDriveGiftMessage"),
PORTAL_MESSAGE(0, "WebcastPortalMessage"),
NOBLE_UPGRADE_MESSAGE(0, "WebcastNobleUpgradeMessage"),
NOBLE_TOAST_MESSAGE(0, "WebcastNobleToastMessage"),
NOBLE_ENTER_LEAVE_MESSAGE(0, "WebcastNobleEnterLeaveMessage"),
BINDING_GIFT_MESSAGE(0, "WebcastBindingGiftMessage"),
BANNER_UPDATE(0, "WebcastInRoomBannerEvent"),
QUIZ_START_MESSAGE(0, "WebcastQuizStartMessage"),
QUIZ_CHANGE_MESSAGE(0, "WebcastQuizChangeMessage"),
QUIZ_RESULT_MESSAGE(0, "WebcastQuizResultMessage"),
BEGINNER_GUIDE_MESSAGE(0, "WebcastBeginnerGuideMessage"),
GIFT_VOTE_MESSAGE(0, "WebcastGiftVoteMessage"),
CHIJI_NOTICE_MESSAGE(0, "WebcastChijiNoticeMessage"),
POPULAR_CARD_MESSAGE(0, "WebcastPopularCardMessage"),
OFFICIAL_ROOM_MESSAGE(0, "WebcastOfficialRoomMessage"),
IN_ROOM_BANNER_REFRESH_MESSAGE(0, "WebcastInRoomBannerRefreshMessage"),
COMMON_POPUP_MESSAGE(0, "WebcastCommonPopupMessage"),
UPDATE_KOI_ROOM_STATUS_MESSAGE(0, "WebcastUpdateKoiRoomStatusMessage"),
CAR_SHOW_MESSAGE(0, "WebcastCarBallShowMessage"),
CAR_SERIES_INFO_MESSAGE(0, "WebcastCarSeriesInfoMessage"),
CNY_A_TASK_MESSAGE(0, "WebcastCNYATaskMessage"),
CNY_REWARD_MESSAGE(0, "WebcastCNYReward");
CHAT(MessageType.CHAT.getWsMethod(), C8680m.class),
CONTROL(MessageType.CONTROL.getWsMethod(), C8688t.class),
DIGG(MessageType.DIGG.getWsMethod(), C8695y.class),
GIFT(MessageType.GIFT.getWsMethod(), C8489ao.class),
MEMBER(MessageType.MEMBER.getWsMethod(), C8514bj.class),
ROOM(MessageType.ROOM.getWsMethod(), C8543ce.class),
SOCIAL(MessageType.SOCIAL.getWsMethod(), C8550cl.class),
SCREEN(MessageType.SCREEN.getWsMethod(), C8548cj.class),
ROOM_NOTIFY(MessageType.ROOM_NOTIFY.getWsMethod(), C8544cf.class),
REMIND(MessageType.REMIND.getWsMethod(), C8540cb.class),
DAILY_RANK(MessageType.DAILY_RANK.getWsMethod(), C8691v.class),
DAILY_REGION_RANK(MessageType.DAILY_REGION_RANK.getWsMethod(), C8691v.class),
DOODLE_GIFT(MessageType.DOODLE_GIFT.getWsMethod(), C8696z.class),
MODIFY_DECORATION(MessageType.MODIFY_DECORATION.getWsMethod(), C8693x.class),
ROOM_PUSH(MessageType.ROOM_PUSH.getWsMethod(), C8545cg.class),
USER_STATS(MessageType.USER_STATS.getWsMethod(), C8556cq.class),
IN_ROOM_BANNER(MessageType.IN_ROOM_BANNER_MESSAGE.getWsMethod(), C8495au.class),
ROOM_RICH_CHAT(MessageType.ROOM_RICH_CHAT_MESSAGE.getWsMethod(), C8541cc.class),
PROMOTION_CARD(MessageType.PROMOTION_CARD_MESSAGE.getWsMethod(), C8529bs.class),
LINK_MIC(MessageType.LINK_MIC.getWsMethod(), C8508bd.class),
LINK_MIC_SIGNAL(MessageType.LINK_MIC_SIGNAL.getWsMethod(), C8509be.class),
ROOM_IMG(MessageType.ROOM_IMG_MESSAGE.getWsMethod(), C8542cd.class),
BATTLE_MODE(MessageType.BATTLE_MODE.getWsMethod(), C4851c.class),
BANNER_UPDATE(MessageType.BANNER_UPDATE.getWsMethod(), C8503b.class),
GAME_GUIZ(MessageType.GAME_QUIZ.getWsMethod(), C8486al.class),
LINK_MIC_ARMIES(MessageType.LINK_MIC_ARMIES.getWsMethod(), C8499ay.class),
LINK_MIC_BATTLE(MessageType.LINK_MIC_BATTLE.getWsMethod(), C8504ba.class),
LINK_MIC_BATTLE_FINISH(MessageType.LINK_MIC_BATTLE_FINISH.getWsMethod(), C8502az.class),
LINK_MIC_BATTLE_TASK(MessageType.LINK_MIC_BATTLE_TASK.getWsMethod(), C8506bc.class),
LINK_MIC_BATTLE_PUNISH(MessageType.LINK_MIC_BATTLE_PUNISH.getWsMethod(), C8505bb.class),
TURN_TABLE_BURST(MessageType.TURN_TABLE_BURST.getWsMethod(), C8553cn.class),
GIFT_UPDATE(MessageType.GIFT_UPDATE.getWsMethod(), C8490ap.class),
COMMON_TOAST(MessageType.COMMON_TOAST.getWsMethod(), C8686r.class),
COMMON_GUIDE(MessageType.COMMON_GUIDE.getWsMethod(), C8683p.class),
LUCKY_BOX(MessageType.LUCKY_BOX.getWsMethod(), C8512bh.class),
COMMENT_IMAGE(MessageType.COMMENT_IMAGE.getWsMethod(), C8682o.class),
FANS_CLUB_STATISTICS(MessageType.FANS_CLUB_STATISTICS.getWsMethod(), FansclubStatisticMessage.class),
USER_SEQ(MessageType.USER_SEQ.getWsMethod(), C8546ch.class),
ROOM_VERIFY(MessageType.ROOM_VERIFY.getWsMethod(), C8547ci.class),
LIVE_SHOPPING(MessageType.LIVE_SHOPPING.getWsMethod(), C8511bg.class),
FANS_CLUB(MessageType.FANS_CLUB.getWsMethod(), C8478af.class),
CREATE_RED_PACKET(MessageType.CREATE_RED_PACKET.getWsMethod(), C8690u.class),
RECOMMEND_GOODS(MessageType.RECOMMEND_GOODS.getWsMethod(), C8560ct.class),
RECOMMEND_COUPON(MessageType.RECOMMEND_COUPON.getWsMethod(), C8559cs.class),
GOODS_ORDER(MessageType.GOODS_ORDER.getWsMethod(), C8557cr.class),
FANS_CLUB_REVIEW(MessageType.FANS_CLUB_REVIEW.getWsMethod(), C8480ag.class),
MEDIA_REPLAY(MessageType.MEDIA_REPLAY.getWsMethod(), C8513bi.class),
FOLLOW_GUIDE(MessageType.FOLLOW_GUIDE.getWsMethod(), C8481ah.class),
HONOR_LEVEL_UP(MessageType.HONOR_LEVEL_UP.getWsMethod(), C8498ax.class),
FREE_CELL_GIFT_MESSAGE(MessageType.FREE_CELL_GIFT_MESSAGE.getWsMethod(), C8483aj.class),
DUTY_GIFT_MESSAGE(MessageType.DUTY_GIFT_MESSAGE.getWsMethod(), C8477ae.class),
GUIDE_MESSAGE(MessageType.GUIDE_MESSAGE.getWsMethod(), C8493as.class),
ASSET_MESSAGE(MessageType.ASSET_MESSAGE.getWsMethod(), C8472a.class),
DOU_PLUS_MESSAGE(MessageType.DOU_PLUS_MESSAGE.getWsMethod(), C8475ac.class),
IM_DELETE(MessageType.IM_DELETE.getWsMethod(), C8494at.class),
LIVE_ECOM_MESSAGE(MessageType.LIVE_ECOM_MESSAGE.getWsMethod(), C8510bf.class),
DOUYIN_OFFICIAL_TASK_INFO(MessageType.DOUYIN_OFFICIAL_TASK_INFO.getWsMethod(), C8528br.class),
CEREMONY_MESSAGE(MessageType.CEREMONY_MESSAGE.getWsMethod(), C8679l.class),
D_H5_Message(MessageType.D_H5_MESSAGE.getWsMethod(), C8527bq.class),
GAME_GIFT_MESSAGE(MessageType.GAME_GIFT_MESSAGE.getWsMethod(), C8484ak.class),
FRATERNITY_MESSAGE(MessageType.FRATERNITY_MESSAGE.getWsMethod(), C8482ai.class),
DRIVE_GIFT_MESSAGE(MessageType.DRIVE_GIFT_MESSAGE.getWsMethod(), C8476ad.class),
PORTAL_MESSAGE(MessageType.PORTAL_MESSAGE.getWsMethod(), C8522bp.class),
LOTTERY_EVENT_MESSAGE(MessageType.LOTTERY_EVENT.getWsMethod(), LotteryEventMessage.class),
QUIZ_START_MESSAGE(MessageType.QUIZ_START_MESSAGE.getWsMethod(), C8534bx.class),
QUIZ_CHANGE_MESSAGE(MessageType.QUIZ_CHANGE_MESSAGE.getWsMethod(), C8531bu.class),
QUIZ_RESULT_MESSAGE(MessageType.QUIZ_RESULT_MESSAGE.getWsMethod(), C8533bw.class),
NOBLE_UPGRADE_MESSAGE(MessageType.NOBLE_UPGRADE_MESSAGE.getWsMethod(), C8518bm.class),
NOBLE_TOAST_MESSAGE(MessageType.NOBLE_TOAST_MESSAGE.getWsMethod(), C8517bl.class),
NOBLE_ENTER_LEAVE_MESSAGE(MessageType.NOBLE_ENTER_LEAVE_MESSAGE.getWsMethod(), C8516bk.class),
BINDING_GIFT_MESSAGE(MessageType.BINDING_GIFT_MESSAGE.getWsMethod(), C8623f.class),
BEGINNER_GUIDE_MESSAGE(MessageType.BEGINNER_GUIDE_MESSAGE.getWsMethod(), C8567d.class),
GIFT_VOTE_MESSAGE(MessageType.GIFT_VOTE_MESSAGE.getWsMethod(), C8491aq.class),
CHIJI_NOTICE_MESSAGE(MessageType.CHIJI_NOTICE_MESSAGE.getWsMethod(), C8681n.class),
POPULAR_CARD_MESSAGE(MessageType.POPULAR_CARD_MESSAGE.getWsMethod(), C8520bo.class),
OFFICIAL_ROOM_MESSAGE(MessageType.OFFICIAL_ROOM_MESSAGE.getWsMethod(), C8519bn.class),
UPDATE_KOI_ROOM_STATUS_MESSAGE(MessageType.UPDATE_KOI_ROOM_STATUS_MESSAGE.getWsMethod(), C8554co.class),
COMMON_POPUP_MESSAGE(MessageType.COMMON_POPUP_MESSAGE.getWsMethod(), C8685q.class),
IN_ROOM_BANNER_REFRESH(MessageType.IN_ROOM_BANNER_REFRESH_MESSAGE.getWsMethod(), C8496av.class),
CAR_SHOW_MESSAGE(MessageType.CAR_SHOW_MESSAGE.getWsMethod(), C8676i.class),
CAR_SERIES_INFO_MESSAGE(MessageType.CAR_SERIES_INFO_MESSAGE.getWsMethod(), C8677j.class),
CNY_A_TASK_MESSAGE(MessageType.CNY_A_TASK_MESSAGE.getWsMethod(), C8650g.class),
CNY_REWARD_MESSAGE(MessageType.CNY_REWARD_MESSAGE.getWsMethod(), C8675h.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment