1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-27 21:48:56 +02:00
OpenIntegrations/docs/en/examples/Slack/SendEphemeralMessage.txt
Vitaly the Alpaca (bot) 8cef4f91d9 Main build (Jenkins)
2024-10-14 10:18:00 +03:00

9 lines
354 B
Plaintext

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);