Set a custom title (rank) to an administrator of a supergroup.
If you are an administrator of a supergroup (i.e. not the owner), you can only set the title of other administrators who have been promoted by you. If you are the owner, you can change every administrator’s title.
str) – Unique identifier (int) or username (str) of the target chat.
str) – Unique identifier (int) or username (str) of the target user. For a contact that exists in your Telegram address book you can use his phone number (str).
str, optional) – A custom title that will be shown to all members instead of “Owner” or “Admin”. Pass None or “” (empty string) to remove the custom title.
bool– True on success.
app.set_administrator_title(chat_id, user_id, "ฅ^•ﻌ•^ฅ")