mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
56 lines
1.1 KiB
Protocol Buffer
56 lines
1.1 KiB
Protocol Buffer
// 存放所有未知的结构体
|
|
syntax = "proto2";
|
|
|
|
package channel;
|
|
|
|
option go_package = "./;channel";
|
|
|
|
message ChannelOidb0xf5bRsp {
|
|
optional uint64 guildId = 1;
|
|
repeated GuildMemberInfo bots = 4;
|
|
repeated GuildMemberInfo members = 5;
|
|
optional GuildAdminInfo adminInfo = 25;
|
|
}
|
|
|
|
message ChannelOidb0xf88Rsp {
|
|
optional GuildUserProfile profile = 1;
|
|
}
|
|
|
|
message ChannelOidb0xfc9Rsp {
|
|
optional GuildUserProfile profile = 1;
|
|
}
|
|
|
|
message GuildAdminInfo {
|
|
repeated GuildMemberInfo admins = 2;
|
|
}
|
|
|
|
message GuildMemberInfo {
|
|
optional string title = 2;
|
|
optional string nickname = 3;
|
|
optional int64 lastSpeakTime = 4; // uncertainty
|
|
optional int32 role = 5; // uncertainty
|
|
optional uint64 tinyId = 8;
|
|
}
|
|
|
|
// 频道系统用户资料
|
|
message GuildUserProfile {
|
|
optional uint64 tinyId = 2;
|
|
optional string nickname = 3;
|
|
optional string avatarUrl = 6;
|
|
// 15: avatar url info
|
|
optional int64 joinTime = 16; // uncertainty
|
|
// 22 cards
|
|
// 23 display cards
|
|
// 25 current cards *uncertainty
|
|
}
|
|
|
|
/*
|
|
// 个性档案卡片
|
|
message GuildMemberProfileCard {
|
|
optional int32 appid = 1;
|
|
optional string name = 2;
|
|
|
|
}
|
|
*/
|
|
|