Comment Creation

This page provides information on creating comment

Features

FeatureDescription

Comment creation

Add comments to post

Mention in comments

Mention users in comments by typing @ to activate mention suggestion and selecting their names in the suggestion list. Up to 30 users can be mentioned per post.

An alert will be shown if character count is greater than 50000 or mentions count is greater than 30.

Usage

Create a view controller

let editCommentViewController = AmityCommentCreatorViewController.make(comment: AmityCommentModel, communityId: String?)

The function will create a new instance of AmityCommentCreatorViewController.

Parameters

Parameter

Data type

Description

comment

AmityCommentModel

Comment model

communityId

String

Target community identifier

Last updated