@dataclass(eq=False)classMessageEntry:"""A user message, an agent message or an agent thought."""role:MessageRolemessage_id:str|None"""``None`` for a user message not yet acknowledged by the agent."""blocks:list[ContentBlock]=field(default_factory=list)sender_session_id:str|None=None"""For ``session`` messages: the sending session."""recipient_session_id:str|None=None"""For ``session`` messages: the receiving session."""@propertydeftext(self)->str:"""The message text."""returnblocks_text(self.blocks)