Created
April 12, 2022 23:12
-
-
Save syntaxxxxx/3d16196c7f042ed1a5ec03aa6a243ef2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qiscusMultichannelWidget.setUser( | |
profile?.id ?: "0", | |
"${profile?.firstName} ${profile?.lastName}", | |
"" | |
) | |
qiscusMultichannelWidget.initiateChat().setChannelId(125149).startChat( | |
requireContext(), | |
object : QiscusChatRoomBuilder.InitiateCallback { | |
override fun onProgress() { | |
TODO("Not yet implemented") | |
} | |
override fun onSuccess(qChatRoom: QChatRoom) { | |
Timber.d("hai fiqri") | |
viewModel?.getAllChatRooms() | |
} | |
override fun onError(throwable: Throwable) { | |
TODO("Not yet implemented") | |
} | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment