mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-11-04 08:56:42 +00:00 
			
		
		
		
	Update nonebot/adapters/__init__.py
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
		@@ -364,7 +364,7 @@ class Message(list, abc.ABC):
 | 
			
		||||
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    @abc.abstractmethod
 | 
			
		||||
    def _construct(msg: Union[Any]) -> Iterable[T_MessageSegment]:
 | 
			
		||||
    def _construct(msg: Union[str, list, dict, Any]) -> Iterable[T_MessageSegment]:
 | 
			
		||||
        raise NotImplementedError
 | 
			
		||||
 | 
			
		||||
    def __add__(self: T_Message, other: Union[str, T_MessageSegment,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user