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) 1ac50e479f Main build (Jenkins)
2024-10-15 10:07:27 +03:00

9 lines
354 B
Plaintext
Vendored

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