09. Chat background - gappein/gappein-chat-sdk GitHub Wiki
Case 01.
To set the chat background of a conversation which will be visible to both the user use,
ChatClient.getInstance().setChanBackground("channelId","background_uri",{
//Background set successfully
},{
//File upload percentage
},{exception->
//Handle exception
})
Case 02.
To get the chat background for that specific channel use,
ChatClient.getInstance().getChatBackground("channe_id"){urlOfBackground->
//set this to the background of the view
}