1
0
Fork 0
mirror of synced 2025-04-03 21:23:33 +03:00

Merge pull request #56 from EddyTravels/master

Add AttachmentID property
This commit is contained in:
Harrison Shoebridge 2019-02-26 10:06:07 +11:00 committed by GitHub
commit 7a216666a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,6 +367,7 @@ type StructuredMessagePayload struct {
Elements *[]StructuredMessageElement `json:"elements,omitempty"`
Buttons *[]StructuredMessageButton `json:"buttons,omitempty"`
Url string `json:"url,omitempty"`
AttachmentID string `json:"attachment_id,omitempty"`
}
// StructuredMessageElement is a response containing structural elements