Repository navigation
1.24.0
What's Changed
New Update π
- added
onBotLoadFailedmethod in YMChatDelegate to let user know that bot load failed due to certain technical issue.
class ViewController: UIViewController, YMChatDelegate {
...
YMChat.shared.delegate = self
...
func onBotLoadFailed() {
// Implement appropriate error handling or fallback logic, such as notifying the user or retrying the load process.
print("Bot failed to load")
}
}