Chat Profile
Chat Profile is a feature that allows users to view chat profile of single chat. one can click header of chat page to visit chat profile screen.
#
Single chatfor single chat, the profile of user are shown in the screen which includes name, mobile number ,
email, profile picture and online status.
The MFUIUserProfileViewController
is a class that is used to build chat profiles.
In the MFUIUserProfileViewController
class, MFUIUserProfileModule
and its components are used to create and display chat profiles view. The module is composed of two components: headerComponent and listViewcomponent
Property name | Type |
---|---|
headerComponent | MFUIUserProfileModule.Header |
listViewcomponent | MFUIUserProfileModule.List |
#
Profile ThemeCustom theme Class MFUserProfileTheme
subclass of MFUITheme
is used to change the theme of User profile controller.
The following table shows a customizable property of MFUserProfileTheme
to set font and colors.
property Name | Description |
---|---|
userProfileTitleColor | The text color of the profile name. |
userProfileTitleFont | The text font of the profile name. |
userProfileLastseenColor | The text color of last seen |
userProfileLastseenFont | The text font of last seen |
userTitleColor | The text color of user profile title |
userdescriptionColor | The text color of user descripiton |
userTitleFont | The text font of user profile title |
userDescriptionFont | The text font of user descripiton |
underLineColor | The line color between user's each title and description |
#
Customize MFUIStringSetThe following table shows a customizable property of MFUIStringSet
that appears in the Chat profile Screen. The MFUIStringSet
is a set of strings used to compose a view.
You need to modify the stringSet values in advance if you want to make changes to the view.
Property name | Description |
---|---|
A text that refers to text of email Label | |
Mobile_Number | A text that refers to text of Mobile Number Label |
#
Customize MFUIIconSetThe following table shows a customizable reply message icon.
Icon name | Description |
---|---|
ic_email | An icon used for Email. |
ic_phone | An icon used for Mobile number. |