Comment Fields
The comment model names vary by SDK, but these are the fields most apps read after retrieval.Parameters
Observe a Comment
Observe a single comment when a detail view or thread preview should stay current after edits, deletes, or reactions.Fetch One Comment
Flutter also exposes a direct one-shot fetch for comment detail screens.Fetch Multiple Comments by ID
Batch lookup is available in TypeScript and Android. Use query APIs when you need a paged collection for a post, story, or custom content item.Notes
- Dispose of live observers or stream subscriptions when the screen is no longer active.
- Android
getComment(...)is annotated withExperimentalAmityApi; opt in at the call site or enclosing scope. - If the user needs a list of comments under a reference, use Query Comments instead of repeated single-comment calls.
Related Topics
Query Comments
Query top-level comments and reply threads.
Get Latest Comment
Fetch or derive the newest comment for a reference.