diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-04-17 15:06:56 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-04-17 15:06:56 +0300 |
commit | c324f327acdec88a24cb09d5da08a85c8dffb6b1 (patch) | |
tree | dd0ba15e542cedf944ec3a34efa0c9df0406c859 /models.go | |
parent | 8a0b9cfac18ff685e0c69bc61352931e0305c288 (diff) |
WIP: upload images
Diffstat (limited to 'models.go')
-rw-r--r-- | models.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -482,10 +482,10 @@ type PhotoAttachment struct { type PhotoAttachmentPayload struct { // Unique identifier of this image - PhotoId int64 `json:"photo_id"` - Token string `json:"token"` + PhotoId *int64 `json:"photo_id,omitempty"` + Token *string `json:"token,omitempty"` // Image URL - Url string `json:"url"` + Url *string `json:"url,omitempty"` } type PhotoAttachmentRequest struct { |