Method: channels.editAbout
Back to methods index
Parameters:
Return type: Bool
Can bots use this method: YES
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => 'string', ]);
Or, if you're into Lua:
Bool = channels.editAbout({channel=InputChannel, about='string', })
Errors
Code |
Type |
Description |
400 |
CHANNEL_INVALID |
The provided channel is invalid |
400 |
CHAT_ABOUT_NOT_MODIFIED |
About text has not changed |
400 |
CHAT_ABOUT_TOO_LONG |
Chat about too long |
400 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this |