pub struct JoinEvent {
pub type: Option<String>,
pub source: Option<Box<Source>>,
pub timestamp: i64,
pub mode: EventMode,
pub webhook_event_id: String,
pub delivery_context: Box<DeliveryContext>,
pub reply_token: String,
}Expand description
JoinEvent : Event object for when your LINE Official Account joins a group chat or multi-person chat. You can reply to join events.
Fields§
§type: Option<String>Type of the event
source: Option<Box<Source>>§timestamp: i64Time of the event in milliseconds.
mode: EventMode§webhook_event_id: StringWebhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
delivery_context: Box<DeliveryContext>§reply_token: StringReply token used to send reply message to this event
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JoinEvent
impl<'de> Deserialize<'de> for JoinEvent
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
impl StructuralPartialEq for JoinEvent
Auto Trait Implementations§
impl Freeze for JoinEvent
impl RefUnwindSafe for JoinEvent
impl Send for JoinEvent
impl Sync for JoinEvent
impl Unpin for JoinEvent
impl UnwindSafe for JoinEvent
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