(window.webpackJsonp=window.webpackJsonp||[]).push([[515],{1974:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/clear_chat_ios-aaa42f9d9b2b6a696e7c297fa1ad764b.png"},1975:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/iOS-delete-2afee78efafebecc12c906a4f7caae25.png"},1976:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/delete_chat_single_group-114619bbf0f335ed614a2b9c700db48c.png"},1977:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/ios_language_selection-b7964613b888c74dc62cb3a35ba67a00.png"},1978:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/ios_language_translation-4ee43df20bf703959cee24dc5921d1b7.png"},1979:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/mute_unmute_recent_chat-9c5c093214a2e7aabcf198bcd54bfa29.png"},1980:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/mute_unmute_single_group-7f4fb3c5943127240f68dac74fff002e.png"},1981:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/ic_ios_copy-3728a809b38352550215d9ce9fe81a23.png"},1982:function(e,t,a){"use strict";a.r(t),t.default=a.p+"assets/images/logout_in_appdelegate-7383cfa8c006b59f5c01399fffe8e84e.png"},572:function(e,t,a){"use strict";a.r(t),a.d(t,"frontMatter",(function(){return r})),a.d(t,"metadata",(function(){return o})),a.d(t,"rightToc",(function(){return u})),a.d(t,"default",(function(){return d}));var n=a(3),s=a(7),c=(a(0),a(918)),i=a(919),l=["components"],r={id:"other-chat-feature",title:"Other Chat Feature",sidebar_label:"Other Chat Feature"},o={unversionedId:"uikit/ios/basic/other-chat-feature",id:"uikit/ios/basic/other-chat-feature",isDocsHomePage:!1,title:"Other Chat Feature",description:"Clear chat messages",source:"@site/docs/uikit/ios/basic/other_chat_feature.md",slug:"/uikit/ios/basic/other-chat-feature",permalink:"/docs/uikit/ios/basic/other-chat-feature",version:"current",sidebar_label:"Other Chat Feature",sidebar:"UIKit",previous:{title:"Push Notification",permalink:"/docs/uikit/ios/basic/push-notification"},next:{title:"Custom Theme Style",permalink:"/docs/uikit/ios/advanced/custom-theme-style"}},u=[{value:"Clear chat messages",id:"clear-chat-messages",children:[]},{value:"Delete Single and Group chat messages",id:"delete-single-and-group-chat-messages",children:[]},{value:"Delete Chat",id:"delete-chat",children:[]},{value:"Translate Message",id:"translate-message",children:[]},{value:"Mute user/Group",id:"mute-usergroup",children:[]},{value:"Customize MFUIStringSet",id:"customize-mfuistringset",children:[]},{value:"Customize MFUIIconSet",id:"customize-mfuiiconset",children:[]},{value:"Copy chat messages",id:"copy-chat-messages",children:[]},{value:"Logout",id:"logout",children:[]}],b={rightToc:u};function d(e){var t=e.components,r=Object(s.a)(e,l);return Object(c.b)("wrapper",Object(n.a)({},b,r,{components:t,mdxType:"MDXLayout"}),Object(c.b)(i.a,{permalink:"/docs/uikit/ios/basic/other-chat-feature/",mdxType:"LayoutHead"}),Object(c.b)("h3",{id:"clear-chat-messages"},"Clear chat messages"),Object(c.b)("blockquote",null,Object(c.b)("p",{parentName:"blockquote"},Object(c.b)("strong",{parentName:"p"},"Note :"),"  If Clear chat feature unavailable for your plan then it will not display in ",Object(c.b)("inlineCode",{parentName:"p"},"MFUIActionSheetItem"),".")),Object(c.b)("p",null,"Clear chat messages is a feature which allows users to delete the chat messages to reduce the storage usage. if you want to clear the messages for the entire chat, or multiple chats then you can refer the below image."),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1974).default})),Object(c.b)("h3",{id:"delete-single-and-group-chat-messages"},"Delete Single and Group chat messages"),Object(c.b)("blockquote",null,Object(c.b)("p",{parentName:"blockquote"},Object(c.b)("strong",{parentName:"p"},"Note :"),"  If Delete single message feature unavailable for your plan then it will not display in ",Object(c.b)("inlineCode",{parentName:"p"},"MFUIMessageInputView"),".")),Object(c.b)("p",null,"Delete messsage is a feature which is found in modern messaging apps which allows the user to delete the message once it is sent. You can delete sent and received messages."),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1975).default})),Object(c.b)("h3",{id:"delete-chat"},"Delete Chat"),Object(c.b)("blockquote",null,Object(c.b)("p",{parentName:"blockquote"},Object(c.b)("strong",{parentName:"p"},"Note :"),"  If Delete Chat feature unavailable for your plan then it will not display in the header of ",Object(c.b)("inlineCode",{parentName:"p"},"MFUIRecentChatListViewController"),".")),Object(c.b)("p",null,"Delete Chat is a feature which is found in modern messaging apps which allows the user to delete the chat. You can delete Single and group chat."),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1976).default})),Object(c.b)("h3",{id:"translate-message"},"Translate Message"),Object(c.b)("p",null,"Translage message is a feature which allows users to translate message to other languate. By means of it, user can read text messages in their own language."),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1977).default})),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1978).default})),Object(c.b)("h3",{id:"mute-usergroup"},"Mute user/Group"),Object(c.b)("p",null,"If you want to mute the notifications for the chat of a user or a group, you can refer the below screenshot."),Object(c.b)("h5",{id:"muteunmute-recent-chat"},"Mute/Unmute Recent Chat"),Object(c.b)("p",null,Object(c.b)("img",{alt:"MuteUnmuteCustomisation",src:a(1979).default})),Object(c.b)("h5",{id:"muteunmute-single-or-group-chat"},"Mute/Unmute Single or Group Chat"),Object(c.b)("p",null,Object(c.b)("img",{alt:"MuteUnmuteSingleGroupCustomisation",src:a(1980).default})),Object(c.b)("h3",{id:"customize-mfuistringset"},"Customize MFUIStringSet"),Object(c.b)("p",null,"The following table shows a customizable property of ",Object(c.b)("inlineCode",{parentName:"p"},"MFUIStringSet")," that appears in the Message Info. The ",Object(c.b)("inlineCode",{parentName:"p"},"MFUIStringSet")," is a set of strings used to compose a view.\nYou need to modify the stringSet values in advance if you want to make changes to the view."),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",{parentName:"tr",align:null},"Property name"),Object(c.b)("th",{parentName:"tr",align:null},"Description"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",{parentName:"tr",align:null},"mute_notification_title"),Object(c.b)("td",{parentName:"tr",align:null},"A text for the title of Group and User Info cell")))),Object(c.b)("h3",{id:"customize-mfuiiconset"},"Customize MFUIIconSet"),Object(c.b)("p",null,"The following table shows a customizable menu cell icon."),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",{parentName:"tr",align:null},"Icon name"),Object(c.b)("th",{parentName:"tr",align:null},"Description"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",{parentName:"tr",align:null},"muted"),Object(c.b)("td",{parentName:"tr",align:null},"An icon used to list for RecentCell")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",{parentName:"tr",align:null},"mute"),Object(c.b)("td",{parentName:"tr",align:null},"An icon used to list for RecentChatHeader")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",{parentName:"tr",align:null},"unmute"),Object(c.b)("td",{parentName:"tr",align:null},"An icon used to list for RecentChatHeader")))),Object(c.b)("h3",{id:"copy-chat-messages"},"Copy chat messages"),Object(c.b)("p",null,"Copy chat messages is a feature which allows users to Copy the chat text and image/video captions messages in clipboard. if you want to copy the text and image/video captions messages in chat conversation screen then you can refer the below image."),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1981).default})),Object(c.b)("h3",{id:"logout"},"Logout"),Object(c.b)("p",null,"Initialize the below method in AppDelegate. If logout is success below call back method will be triggered."),Object(c.b)("pre",null,Object(c.b)("code",{parentName:"pre",className:"language-swift"},"\n    FlyUIKitSDK.shared.didLogout {\n\n    }\n    \n")),Object(c.b)("p",null,Object(c.b)("img",{alt:"clear_chat",src:a(1982).default})))}d.isMDXComponent=!0}}]);