set_chat_photo#
-
template<class Connector>
api_result<boolean_t, Connector&&> set_chat_photo(Connector &&connector, set_chat_photo_args_t args)#
-
template<class Connector>
api_result<boolean_t, Connector&&> call(Connector &&connector, set_chat_photo_args_t args)# connector
is any object satisfying connector concept.Use this method to set a new profile photo for the chat. Photos can’t be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.