Skip to content

changeChatTitle

Sahri Riza Umami edited this page Jun 10, 2017 · 4 revisions

Changes chat title.

changeChatTitle(chat_id, title)

Title can't be changed for private chats.
Title will not change until change will be synchronized with the server.
Title will not be changed if application is killed before it can send request to the server.
There will be update about change of the title on success. Otherwise error will be returned.

Option Description
chat_id Chat identifier.
title New title of a chat, 0-255 characters.

Example

Change 1234567890 title to "My New Chat Title".

changeChatTitle(1234567890, 'My New Chat Title')

Response:

{
  ID = "Ok"
}

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally