upload

package
v0.0.0-...-3c8687b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(ctx context.Context, c *vkapi.Client, url string) (image.Image, error)

DownloadImage downloads and encodes image.

func MessagesPhoto

func MessagesPhoto(c *vkapi.Client, peerID vkapi.ID, fname string, data io.Reader) (string, *vkapi.Error)

MessagesPhoto uploads photo from source and returns vk string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL