1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
Vitaly the Alpaca (bot) acef484801 Main build (Jenkins)
2024-10-09 09:42:00 +03:00

745 B

sidebar_position
4

Archive channel

Archives an active channel

Function ArchiveChannel(Val Token, Val Channel) Export

Parameter CLI option Type Description
Token --token String Bot token
Channel --channel String Channel ID

Returns: Map Of KeyAndValue - serialized JSON response from Slack


    Token   = "xoxb-6965308400114-696804637...";
    Channel = "C07PK52ES3U";

    Result = OPI_Slack.ArchiveChannel(Token, Channel);
    
  oint slack ArchiveChannel --token %token% --channel "C070VPMKN8J"

{
 "ok": true
}