# messages

> **Module** in `langchain`

📖 [View in docs](https://reference.langchain.com/python/langchain/messages)

Message and message content types.

Includes message types for different roles (e.g., human, AI, system), as well as types
for message content blocks (e.g., text, image, audio) and tool calls.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/29134dc82dcb71fa693e57231bcc10f78a1b0c2b/libs/langchain_v1/langchain/messages/__init__.py)