Skip to content

IvanHunters/lichi-vk-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lichi-vk-sdk

For install:

composer require lichi/vk-sdk

Simple work with sdk

include "vendor/autoload.php";

use Lichi\Vk\Sdk\ApiProvider;

$apiProvider = new ApiProvider("VK_TOKEN");
$apiProvider->documents->downloadFromUrl("URL_DOCUMENTS", "file.jpg");
$attachment = $apiProvider->documents->upload("file.jpg", USER_ID);
$message_id = $apiProvider->messages->send(USER_ID, "Text Message", ['attachment'=>$attachment]);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages