67 lines
2.1 KiB
Rust
67 lines
2.1 KiB
Rust
// @generated
|
|
// This file is @generated by prost-build.
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct IdList {
|
|
#[prost(int64, repeated, tag="1")]
|
|
pub id: ::prost::alloc::vec::Vec<i64>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct IdMessage {
|
|
#[prost(int64, tag="1")]
|
|
pub id: i64,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BotResponse {
|
|
#[prost(int64, tag="1")]
|
|
pub id: i64,
|
|
#[prost(int64, tag="2")]
|
|
pub time_id: i64,
|
|
#[prost(int64, tag="3")]
|
|
pub date: i64,
|
|
#[prost(string, tag="4")]
|
|
pub file_id: ::prost::alloc::string::String,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BotRequest {
|
|
#[prost(int64, tag="1")]
|
|
pub id: i64,
|
|
#[prost(int64, optional, tag="2")]
|
|
pub time_id: ::core::option::Option<i64>,
|
|
#[prost(int64, optional, tag="3")]
|
|
pub date: ::core::option::Option<i64>,
|
|
#[prost(string, optional, tag="4")]
|
|
pub file_id: ::core::option::Option<::prost::alloc::string::String>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct BotList {
|
|
#[prost(message, repeated, tag="1")]
|
|
pub bots: ::prost::alloc::vec::Vec<BotResponse>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct ListRequest {
|
|
#[prost(message, optional, tag="1")]
|
|
pub filter: ::core::option::Option<BotRequest>,
|
|
#[prost(message, optional, tag="2")]
|
|
pub page: ::core::option::Option<Pagination>,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct Pagination {
|
|
#[prost(int32, tag="1")]
|
|
pub size: i32,
|
|
#[prost(int32, tag="2")]
|
|
pub number: i32,
|
|
}
|
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
pub struct NullResponse {
|
|
}
|
|
include!("bots.tonic.rs");
|
|
// @@protoc_insertion_point(module)
|