We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95581e5 + 67064fb commit ce251feCopy full SHA for ce251fe
1 file changed
chatkit/types.py
@@ -856,7 +856,14 @@ class EntitySource(SourceBase):
856
type: Literal["entity"] = "entity"
857
id: str
858
icon: IconName | None = None
859
+ label: str | None = None
860
+ """Optional label shown with the icon in the default entity hover header
861
+ when no preview callback is provided.
862
+ """
863
+ interactive: bool = False
864
+ """Per-entity toggle to wire client callbacks and render this entity as interactive."""
865
data: dict[str, Any] = Field(default_factory=dict)
866
+ """Additional data for the entity source that is passed to client entity callbacks."""
867
868
preview: Literal["lazy"] | None = Field(
869
default=None,
0 commit comments