Is it possible not to show the "or you can get in touch" message initially? | Community
Skip to main content

Is it possible not to show the "or you can get in touch" message initially?

  • July 14, 2022
  • 2 replies
  • 0 views

Henry14

I only want to show that message after the user wasn't satisfied with the suggested articles?

2 replies

Hi Henry,
 
Are you building the conversation screen as shown in our doc?

Henry14
  • Author
  • August 2, 2022

Yes 

 

- (UIViewController *) buildUI {
ZDKMessagingConfiguration *messagingConfiguration = [ZDKMessagingConfiguration new];
NSError*error =nil;
NSArray*engines = @[
(id<ZDKEngine>)[ZDKAnswerBotEngine engineAndReturnError:&error],
(id<ZDKEngine>)[ZDKSupportEngine engineAndReturnError:&error],
(id<ZDKEngine>)[ZDKChatEngine engineAndReturnError:&error]
];

return[[ZDKMessaging instance]buildUIWithEngines:engines
configs:@[messagingConfiguration]
error:&error];
}