From 8764be74616bde87bbbf6c32901cd9f43264d1e0 Mon Sep 17 00:00:00 2001 From: Ivanik Date: Fri, 29 Jan 2021 04:25:14 +0500 Subject: Add vk bridge (#1372) * Add vk bridge * Vk bridge attachments * Vk bridge forwarded messages * Vk bridge sample config and code cleanup * Vk bridge add vendor * Vk bridge message edit * Vk bridge: fix fetching names of other bots * Vk bridge: code cleanup * Vk bridge: fix shadows declaration * Vk bridge: remove UseFileURL --- .../SevereCloud/vksdk/v2/object/appwidgets.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 vendor/github.com/SevereCloud/vksdk/v2/object/appwidgets.go (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object/appwidgets.go') diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/appwidgets.go b/vendor/github.com/SevereCloud/vksdk/v2/object/appwidgets.go new file mode 100644 index 00000000..ac6d2492 --- /dev/null +++ b/vendor/github.com/SevereCloud/vksdk/v2/object/appwidgets.go @@ -0,0 +1,20 @@ +package object + +// AppWidgetsAppImageUploadResponse struct. +type AppWidgetsAppImageUploadResponse struct { + Image string `json:"image"` + Hash string `json:"hash"` +} + +// AppWidgetsGroupImageUploadResponse struct. +type AppWidgetsGroupImageUploadResponse struct { + Image string `json:"image"` + Hash string `json:"hash"` +} + +// AppWidgetsImage struct. +type AppWidgetsImage struct { + ID string `json:"id"` + Type string `json:"type"` + Images []BaseImage `json:"images"` +} -- cgit v1.2.3