public KaizalaSession(string appId, string appSecret, string refreshToken) { this.ApplicationId = appId; this.ApplicationSecret = appSecret; this.RefreshToken = refreshToken; this.GenerateAccessToken(); BotUserAPI = new BotAPIStubImpl(this); }
public BotUserSession(IKaizalaSession session, string botUserId) { this.KaizalaSession = session; this.BotUserId = botUserId; BotAPIStub = new BotAPIStubImpl(session); }