feat(llc): Add enrichUrl endpoint.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-12-13 15:50:33 +05:30
committed by xsahil03x
parent 338690488a
commit 5567708fe9
6 changed files with 133 additions and 17 deletions
@@ -1316,6 +1316,10 @@ class StreamChatClient {
},
);
/// Get OpenGraph data of the given [url].
Future<OGAttachmentResponse> enrichUrl(String url) =>
_chatApi.general.enrichUrl(url);
/// Closes the [_ws] connection and resets the [state]
/// If [flushChatPersistence] is true the client deletes all offline
/// user's data.