1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
OpenIntegrations/docs/en/examples/Slack/SendEphemeralMessage.txt
Vitaly the Alpaca (bot) 1dd489de49 Main build (Jenkins)
2024-10-04 13:35:56 +03:00

9 lines
357 B
Plaintext

Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
User = "U06UABH3APP";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
Text = "Ephemeral message";
Block = OPI_Slack.GenerateImageBlock(Image, "Image");
Result = OPI_Slack.SendEphemeralMessage(Token, Channel, Text, User, Block);