I am using Slack with SupportKit v2.9.0. I want to be able to receive messages and multimedia files from other users in other channels.
(BOOL) application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[SupportKit initWithSettings:
[SKTSettings settingsWithAppToken:@"eknlh3uw8lrdveknlh3uw8lrdvs49xj29fqahcs49xj29fqahc"]];
[SupportKit setUserFirstName:@"Han" lastName:@"Solo"];
return YES;
}
I call SupportKit in my application with:
[SupportKit show]
When loading a view, I can send and receive messages, but the username is not displayed. I would also like to receive messages from other users of my application in the same conversation.
Update:
I made the following change
(void) viewDidLoad {
[super viewDidLoad];
[SKTUser currentUser].firstName = @"Doctor";
[SKTUser currentUser].lastName = @"Who";
[[SKTUser currentUser] addProperties:@{ @"nickname" : @"Lil Big Daddy Slim", @"weight" : @650, @"premiumUser" : @YES }];
[SupportKit show];
}
This is what I see in my letter:

and this is in my application:

But I still can't see how the username appears in the conversation.
source
share