1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatFileContainer {
#[prost(oneof="chat_file_container::Message", tags="1, 2")]
pub message: ::core::option::Option<chat_file_container::Message>,
}
pub mod chat_file_container {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Message {
#[prost(message, tag="1")]
FileInfo(super::ChatFileInfo),
#[prost(message, tag="2")]
FileData(super::ChatFileData),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatFileInfo {
#[prost(uint64, tag="1")]
pub file_id: u64,
#[prost(string, tag="2")]
pub file_name: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub file_extension: ::prost::alloc::string::String,
#[prost(uint32, tag="4")]
pub file_size: u32,
#[prost(string, tag="5")]
pub file_description: ::prost::alloc::string::String,
#[prost(uint32, tag="6")]
pub start_index: u32,
#[prost(uint32, tag="7")]
pub message_count: u32,
#[prost(uint32, tag="8")]
pub data_chunk_size: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatFileData {
#[prost(uint64, tag="1")]
pub file_id: u64,
#[prost(uint32, tag="2")]
pub start_index: u32,
#[prost(uint32, tag="3")]
pub message_count: u32,
#[prost(bytes="vec", tag="4")]
pub data: ::prost::alloc::vec::Vec<u8>,
}