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