peyk.platforms.telegram.methods.set_my_profile_photo¶
- async peyk.platforms.telegram.methods.set_my_profile_photo(self, photo: InputProfilePhotoStatic | InputProfilePhotoAnimated) bool¶
Changes the profile photo of the bot. Returns True on success.
- Parameters:
photo – The new profile photo to set
- Returns:
Result returned by Telegram on successful execution.
- Return type:
bool