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

1006 B

sidebar_position
5

Unpin message

Unpins a message in the chat header

Function UnpinMessage(Val Token, Val ChatID, Val MessageID) Export

Parameter CLI option Type Description
Token --token String Bot token
ChatID --chat String, Number Target chat ID
MessageID --message String, Number Target message ID

Returns: Map Of KeyAndValue - Serialized JSON response from Telegram


    Token     = FunctionParameters["Telegram_Token"];
    ChannelID = FunctionParameters["Telegram_ChannelID"];
    MessageID = FunctionParameters["Telegram_ChannelMessageID"];

    Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);
    
  oint telegram UnpinMessage --token "6129457865:AAFyzNYOAFbu..." --chat %chat% --message "6846"

{
  "ok": true,
  "result": true
  }