Removed a need for parse_mode to be copy
This commit is contained in:
		@@ -28,7 +28,7 @@ impl MessageIds {
 | 
			
		||||
        bot: &Throttle<Bot>,
 | 
			
		||||
        text: impl Into<String>,
 | 
			
		||||
        markup: impl Into<Option<InlineKeyboardMarkup>>,
 | 
			
		||||
        parse_mode: impl Into<Option<ParseMode>> + Copy,
 | 
			
		||||
        parse_mode: impl Into<Option<ParseMode>>,
 | 
			
		||||
    ) -> crate::Result<()> {
 | 
			
		||||
        let mut edit = bot.edit_message_text(self.0, self.1, text);
 | 
			
		||||
        edit.parse_mode = parse_mode.into();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user