set_chat_administrator_custom_title#

template<class Connector>
api_result<boolean_t, Connector&&> set_chat_administrator_custom_title(Connector &&connector, set_chat_administrator_custom_title_args_t args)#
template<class Connector>
api_result<boolean_t, Connector&&> call(Connector &&connector, set_chat_administrator_custom_title_args_t args)#

connector is any object satisfying connector 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().

variant_t<integer_t, string_t> chat_id#

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

integer_t user_id#

Unique identifier of the target user

string_t custom_title#

New custom title for the administrator; 0-16 characters, emoji are not allowed