fn on_activity_invite(
        &mut self,
        discord: &Discord<'_, Self>,
        kind: Action,
        user: &User,
        activity: &Activity,
    ){
    }
/// Fires when the current user receives an invitation to join or spectate.
Fires when the current user receives an invitation to join or spectate.
Fires when the current user receives an invitation to join or spectate .
fn on_activity_invite(
        &mut self,
        discord: &Discord<'_, Self>,
        kind: Action,
        user: &User,
        activity: &Activity,
    ){
    }
fn on_activity_invite ( & mut self , discord : & Discord < ' _ , Self > , kind : Action , user : & User , activity : & Activity , ) { }
Fires when the current user receives an invitation to join or spectate.
Fires when the current user receives an invitation to join or spectate .
&mut self
discord
&Discord<'_, Self>
kind
Action
user
&User
activity
&Activity