1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:56:57 +01:00
MadelineProto/docs/TD_docs/constructors/updateChatTitle.md
2017-07-23 16:11:02 +02:00

807 B

title description
updateChatTitle Title of chat was changed

Constructor: updateChatTitle

Back to constructors index

Title of chat was changed

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
title string Yes New chat title

Type: Update

Example:

$updateChatTitle = ['_' => 'updateChatTitle', 'chat_id' => long, 'title' => string, ];

PWRTelegram json-encoded version:

{"_":"updateChatTitle","chat_id":"long","title":"string"}

Or, if you're into Lua:

updateChatTitle={_='updateChatTitle', chat_id=long, title=string, }