pub struct TelegramMessagesOptions {
pub channel: Option<String>,
pub page: Option<i64>,
pub limit: Option<i64>,
pub key: Option<String>,
pub sort: Option<String>,
pub category: Option<String>,
pub search_query: Option<String>,
}Fields§
§channel: Option<String>§page: Option<i64>§limit: Option<i64>§key: Option<String>§sort: Option<String>§category: Option<String>§search_query: Option<String>Implementations§
Source§impl TelegramMessagesOptions
impl TelegramMessagesOptions
pub fn new() -> Self
pub fn channel(self, channel: impl Into<String>) -> Self
pub fn page(self, page: i64) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn key(self, key: impl Into<String>) -> Self
pub fn sort(self, sort: impl Into<String>) -> Self
pub fn category(self, category: impl Into<String>) -> Self
pub fn search_query(self, search_query: impl Into<String>) -> Self
Auto Trait Implementations§
impl Freeze for TelegramMessagesOptions
impl RefUnwindSafe for TelegramMessagesOptions
impl Send for TelegramMessagesOptions
impl Sync for TelegramMessagesOptions
impl Unpin for TelegramMessagesOptions
impl UnsafeUnpin for TelegramMessagesOptions
impl UnwindSafe for TelegramMessagesOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more