Struct rust_tdlib::types::GetChatEventLog
source · pub struct GetChatEventLog { /* private fields */ }
Expand description
Returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only for supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i. e., in order of decreasing event_id)
Implementations§
source§impl GetChatEventLog
impl GetChatEventLog
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> GetChatEventLogBuilder
pub fn chat_id(&self) -> i64
pub fn query(&self) -> &String
pub fn from_event_id(&self) -> i64
pub fn limit(&self) -> i32
pub fn filters(&self) -> &ChatEventLogFilters
pub fn user_ids(&self) -> &Vec<i64>
Trait Implementations§
source§impl AsRef<GetChatEventLog> for GetChatEventLog
impl AsRef<GetChatEventLog> for GetChatEventLog
source§fn as_ref(&self) -> &GetChatEventLog
fn as_ref(&self) -> &GetChatEventLog
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetChatEventLog
impl Clone for GetChatEventLog
source§fn clone(&self) -> GetChatEventLog
fn clone(&self) -> GetChatEventLog
Returns a copy 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 Default for GetChatEventLog
impl Default for GetChatEventLog
source§fn default() -> GetChatEventLog
fn default() -> GetChatEventLog
Returns the “default value” for a type. Read more
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