1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-23 02:06:12 +02:00
OpenIntegrations/docs/en/md/Telegram/Forum-topic-management/Edit-main-forum-topic-name.md
2024-06-05 12:58:00 +03:00

894 B

sidebar_position
9

Edit main forum thread name

Edits the name of the main forum thread

Function EditMainForumTopicName(Val Token, Val ChatID, Val Title) Export

Parameter CLI option Type Destination
Token --token String Token
ChatID --forum String, Number Thread chat ID
Title --title String New main thread name

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

	
 Title = "New main thread name " + String(New UUID);
 Token = "6129457865:AAFyzNYOAFbu...";
 Chat = "-1001971186208";
 Result = OPI_Telegram.EditMainForumTopicName(Token, Chat, Title);

	
 
 oint telegram EditMainForumTopicName --token "6129457865:AAFyzNYOAFbu..." --forum %forum% --title %title%



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