set_chat_administrator_custom_title#
-
template<class Agent>
api_result<boolean_t, Agent&&> set_chat_administrator_custom_title(Agent &&agent, set_chat_administrator_custom_title_args_t args)# agent
is any object satisfying agent concept.Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
-
struct set_chat_administrator_custom_title_args_t#
Arguments that should be passed to
set_chat_administrator_custom_title()
.Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
Unique identifier of the target user
New custom title for the administrator; 0-16 characters, emoji are not allowed