1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-16 11:38:11 +02:00
OpenIntegrations/docs/en/md/Telegram/Administration/Unpin-message.md
2024-06-05 10:19:46 +00:00

890 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 Destination
Token --token String Bot token
ChatID --chat String, Number Target chat ID
MessageID --message String, Number Target message ID

Returns: Key-Value Pair - Serialized JSON response from Telegram

	
 Token = "6129457865:AAFyzNYOAFbu...";
 ChannelID = "@testsichee";
 MessageID = "4951";
 
 Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);

	
 
 oint telegram UnpinMessage --token "6129457865:AAFyzNYOAFbu..." --chat %chat% --message "4951"



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