pub struct GetChatEventLog {
pub chat_id: i64,
pub query: String,
pub from_event_id: i64,
pub limit: i32,
pub filters: ChatEventLogFilters,
pub user_ids: Vec<i32>,
}
Expand description
Returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only in supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i. e., in order of decreasing event_id)
Fields§
§chat_id: i64
Chat identifier
query: String
Search query by which to filter events
from_event_id: i64
Identifier of an event from which to return results. Use 0 to get results from the latest events
limit: i32
Maximum number of events to return; up to 100
filters: ChatEventLogFilters
The types of events to return. By default, all types will be returned
user_ids: Vec<i32>
User identifiers by which to filter events. By default, events relating to all users will be returned
Trait Implementations§
Source§impl Clone for GetChatEventLog
impl Clone for GetChatEventLog
Source§fn clone(&self) -> GetChatEventLog
fn clone(&self) -> GetChatEventLog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetChatEventLog
impl Debug for GetChatEventLog
Source§impl<'de> Deserialize<'de> for GetChatEventLog
impl<'de> Deserialize<'de> for GetChatEventLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetChatEventLog
impl Method for GetChatEventLog
Auto Trait Implementations§
impl Freeze for GetChatEventLog
impl RefUnwindSafe for GetChatEventLog
impl Send for GetChatEventLog
impl Sync for GetChatEventLog
impl Unpin for GetChatEventLog
impl UnwindSafe for GetChatEventLog
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