WebhookNewAttachmentPayload

Properties

NameTypeDescriptionNotes
AttachmentIdStringID of attachment. Use the AttachmentController to[optional]
ContentLengthInt64Size of attachment in bytes[optional]
ContentTypeStringContent type of attachment such as ‘image/png’ or ‘application/pdf[optional]
EventNameStringName of the event type webhook is being triggered for.[optional]
MessageIdStringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.[optional]
NameStringFilename of the attachment if present[optional]
WebhookIdStringID of webhook entity being triggered[optional]
WebhookNameStringName of the webhook being triggered[optional]

Examples

  • Prepare the resource
$WebhookNewAttachmentPayload = Initialize-maislurp-client-powershellWebhookNewAttachmentPayload  -AttachmentId null `
 -ContentLength null `
 -ContentType null `
 -EventName null `
 -MessageId null `
 -Name null `
 -WebhookId null `
 -WebhookName null
  • Convert the resource to JSON
$WebhookNewAttachmentPayload | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to ]