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
/// Chat file sending container
#[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>,
}
/// Nested message and enum types in `ChatFileContainer`.
pub mod chat_file_container {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Message {
        /// Chat File Info Message
        #[prost(message, tag="1")]
        FileInfo(super::ChatFileInfo),
        /// Chat File Data Message
        #[prost(message, tag="2")]
        FileData(super::ChatFileData),
    }
}
/// Chat File Info Message
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatFileInfo {
    /// file id
    #[prost(uint64, tag="1")]
    pub file_id: u64,
    /// file name
    #[prost(string, tag="2")]
    pub file_name: ::prost::alloc::string::String,
    /// file extension
    #[prost(string, tag="3")]
    pub file_extension: ::prost::alloc::string::String,
    /// file size
    #[prost(uint32, tag="4")]
    pub file_size: u32,
    /// file description
    #[prost(string, tag="5")]
    pub file_description: ::prost::alloc::string::String,
    /// DEPRECATED: What is this used for?
    /// start index
    #[prost(uint32, tag="6")]
    pub start_index: u32,
    /// message count
    #[prost(uint32, tag="7")]
    pub message_count: u32,
    /// file data chunk size
    #[prost(uint32, tag="8")]
    pub data_chunk_size: u32,
}
/// Chat File Data Message
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ChatFileData {
    /// file id
    #[prost(uint64, tag="1")]
    pub file_id: u64,
    /// start index
    #[prost(uint32, tag="2")]
    pub start_index: u32,
    /// message count
    #[prost(uint32, tag="3")]
    pub message_count: u32,
    /// package data
    #[prost(bytes="vec", tag="4")]
    pub data: ::prost::alloc::vec::Vec<u8>,
}