konfa-server/proto/konfa/channel/v1/channels.proto

28 lines
452 B
Protocol Buffer
Raw Permalink Normal View History

2024-12-23 12:54:51 +00:00
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;
}