接口 Content
- 所有已知实现类:
ImageContent,TextContent
public interface Content
Abstract base interface for message content.
-
方法概要
-
方法详细资料
-
type
ContentType type()Returns the type of content.Can be used to cast the content to the correct type.
- 返回:
- The type of content.
-