-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more detailed parsing and logging of media get
- Loading branch information
1 parent
c96e9b0
commit ce7e04e
Showing
3 changed files
with
62 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/com/meta/cp4m/message/webhook/whatsapp/GetMediaIdBody.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
package com.meta.cp4m.message.webhook.whatsapp; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.net.URI; | ||
|
||
public record GetMediaIdBody( | ||
@JsonProperty("messaging_product") String messagingProduct, | ||
@JsonProperty("mime_type") String mimeType, | ||
@JsonProperty("url") URI url, | ||
@JsonProperty("sha256") String sha256, | ||
@JsonProperty("file_size") String fileSize, | ||
@JsonProperty("id") String id) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters