konfa-server/proto/konfa/channel/v1/channels.proto
2025-06-02 01:47:31 +04:00

27 lines
465 B
Protocol Buffer

syntax = "proto3";
package konfa.channel.v1;
option go_package = "/channelv1";
// import "google/protobuf/timestamp.proto";
message Channel {
oneof channel {
TextChannel text_channel = 1;
VoiceChannel voice_channel = 2;
}
}
message TextChannel {
string server_id = 1;
string channel_id = 2;
string name = 3;
}
message VoiceChannel {
string server_id = 1;
string channel_id = 2;
string name = 3;
repeated string voice_relay_id = 4;
}