@@ -654,7 +654,7 @@ def reply_text(
654654 self ,
655655 text : str ,
656656 quote : bool = None ,
657- parse_mode : str = "" ,
657+ parse_mode : Union [ str , None ] = object ,
658658 disable_web_page_preview : bool = None ,
659659 disable_notification : bool = None ,
660660 reply_to_message_id : int = None ,
@@ -736,7 +736,7 @@ def reply_animation(
736736 animation : str ,
737737 quote : bool = None ,
738738 caption : str = "" ,
739- parse_mode : str = "" ,
739+ parse_mode : Union [ str , None ] = object ,
740740 duration : int = 0 ,
741741 width : int = 0 ,
742742 height : int = 0 ,
@@ -873,7 +873,7 @@ def reply_audio(
873873 audio : str ,
874874 quote : bool = None ,
875875 caption : str = "" ,
876- parse_mode : str = "" ,
876+ parse_mode : Union [ str , None ] = object ,
877877 duration : int = 0 ,
878878 performer : str = None ,
879879 title : str = None ,
@@ -1010,7 +1010,7 @@ def reply_cached_media(
10101010 file_id : str ,
10111011 quote : bool = None ,
10121012 caption : str = "" ,
1013- parse_mode : str = "" ,
1013+ parse_mode : Union [ str , None ] = object ,
10141014 disable_notification : bool = None ,
10151015 reply_to_message_id : int = None ,
10161016 reply_markup : Union [
@@ -1218,7 +1218,7 @@ def reply_document(
12181218 quote : bool = None ,
12191219 thumb : str = None ,
12201220 caption : str = "" ,
1221- parse_mode : str = "" ,
1221+ parse_mode : Union [ str , None ] = object ,
12221222 disable_notification : bool = None ,
12231223 reply_to_message_id : int = None ,
12241224 reply_markup : Union [
@@ -1613,7 +1613,7 @@ def reply_photo(
16131613 photo : str ,
16141614 quote : bool = None ,
16151615 caption : str = "" ,
1616- parse_mode : str = "" ,
1616+ parse_mode : Union [ str , None ] = object ,
16171617 ttl_seconds : int = None ,
16181618 disable_notification : bool = None ,
16191619 reply_to_message_id : int = None ,
@@ -2007,7 +2007,7 @@ def reply_video(
20072007 video : str ,
20082008 quote : bool = None ,
20092009 caption : str = "" ,
2010- parse_mode : str = "" ,
2010+ parse_mode : Union [ str , None ] = object ,
20112011 duration : int = 0 ,
20122012 width : int = 0 ,
20132013 height : int = 0 ,
@@ -2267,7 +2267,7 @@ def reply_voice(
22672267 voice : str ,
22682268 quote : bool = None ,
22692269 caption : str = "" ,
2270- parse_mode : str = "" ,
2270+ parse_mode : Union [ str , None ] = object ,
22712271 duration : int = 0 ,
22722272 disable_notification : bool = None ,
22732273 reply_to_message_id : int = None ,
@@ -2384,7 +2384,7 @@ def reply_voice(
23842384 def edit_text (
23852385 self ,
23862386 text : str ,
2387- parse_mode : str = "" ,
2387+ parse_mode : Union [ str , None ] = object ,
23882388 disable_web_page_preview : bool = None ,
23892389 reply_markup : "pyrogram.InlineKeyboardMarkup" = None
23902390 ) -> "Message" :
@@ -2442,7 +2442,7 @@ def edit_text(
24422442 def edit_caption (
24432443 self ,
24442444 caption : str ,
2445- parse_mode : str = "" ,
2445+ parse_mode : Union [ str , None ] = object ,
24462446 reply_markup : "pyrogram.InlineKeyboardMarkup" = None
24472447 ) -> "Message" :
24482448 """Bound method *edit_caption* of :obj:`Message`.
0 commit comments