mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-03 13:22:19 +02:00
16 lines
499 B
Plaintext
16 lines
499 B
Plaintext
Token = "001.3501506236.091...";
|
|
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
|
|
|
File = "https://api.athenaeum.digital/test_data/spy2.png"; // URL
|
|
FilePath = GetTempFileName("png"); // Path
|
|
|
|
CopyFile(File, FilePath);
|
|
|
|
FileBD = New BinaryData(FilePath); // Binary
|
|
|
|
Result = OPI_VKTeams.ChangeChatPicture(Token, ChatID, File);
|
|
|
|
Result = OPI_VKTeams.ChangeChatPicture(Token, ChatID, FilePath);
|
|
|
|
Result = OPI_VKTeams.ChangeChatPicture(Token, ChatID, FileBD);
|