pub struct WebhookPayloadMessageEdited {
pub id: String,
pub event: Event,
pub message: Box<InboxWebhookMessage>,
pub edit_history: Vec<InboxMessageEditHistoryEntry>,
pub edit_count: i32,
pub edited_at: String,
pub conversation: Box<InboxWebhookConversation>,
pub account: Box<InboxWebhookAccount>,
pub timestamp: String,
}Expand description
WebhookPayloadMessageEdited : Webhook payload for message.edited events. Fires when the sender edits a previously-sent message. Supported platforms: Instagram, Facebook Messenger, Telegram. The message object reflects the LATEST state; editHistory contains every prior version in order (oldest first), so the last entry is the version immediately before the current content.
Fields§
§id: String§event: Event§message: Box<InboxWebhookMessage>§edit_history: Vec<InboxMessageEditHistoryEntry>Prior versions of the message, oldest first.
edit_count: i32Total number of edits applied to this message.
edited_at: StringWhen the most recent edit happened.
conversation: Box<InboxWebhookConversation>§account: Box<InboxWebhookAccount>§timestamp: StringImplementations§
Source§impl WebhookPayloadMessageEdited
impl WebhookPayloadMessageEdited
Sourcepub fn new(
id: String,
event: Event,
message: InboxWebhookMessage,
edit_history: Vec<InboxMessageEditHistoryEntry>,
edit_count: i32,
edited_at: String,
conversation: InboxWebhookConversation,
account: InboxWebhookAccount,
timestamp: String,
) -> WebhookPayloadMessageEdited
pub fn new( id: String, event: Event, message: InboxWebhookMessage, edit_history: Vec<InboxMessageEditHistoryEntry>, edit_count: i32, edited_at: String, conversation: InboxWebhookConversation, account: InboxWebhookAccount, timestamp: String, ) -> WebhookPayloadMessageEdited
Webhook payload for message.edited events. Fires when the sender edits a previously-sent message. Supported platforms: Instagram, Facebook Messenger, Telegram. The message object reflects the LATEST state; editHistory contains every prior version in order (oldest first), so the last entry is the version immediately before the current content.
Trait Implementations§
Source§impl Clone for WebhookPayloadMessageEdited
impl Clone for WebhookPayloadMessageEdited
Source§fn clone(&self) -> WebhookPayloadMessageEdited
fn clone(&self) -> WebhookPayloadMessageEdited
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more