Class BotUser
Inheritance
System.Object
BotUser
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syn.Bot.dll
Syntax
public sealed class BotUser : IBotUserWithSettings, IBotUser
Properties
Context
Declaration
public Context Context { get; }
Property Value
DisabledIntents
Declaration
public DisabledIntentCollection DisabledIntents { get; }
Property Value
Domains
Declaration
public DomainCollection Domains { get; }
Property Value
ID
Declaration
public string ID { get; }
Property Value
Type |
Description |
System.String |
|
IdleInterval
Declaration
public TimeSpan IdleInterval { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
IsIdle
Declaration
public bool IsIdle { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsMain
Declaration
public bool IsMain { get; }
Property Value
Type |
Description |
System.Boolean |
|
LastInteractionTime
Declaration
public DateTime LastInteractionTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
LocalVariables
Declaration
public VarSettings LocalVariables { get; }
Property Value
Requests
Declaration
public IEnumerable<Request> Requests { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Request> |
|
Responses
Declaration
public IEnumerable<Response> Responses { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Response> |
|
Settings
Declaration
public UserSettings Settings { get; }
Property Value
Methods
CreateRequest()
Declaration
public Request CreateRequest()
Returns
CreateRequest(String)
Declaration
public Request CreateRequest(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Returns
GetState()
Declaration
Returns
Type |
Description |
System.String |
|
LoadState(String)
Declaration
public void LoadState(string filename)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
SaveState(String)
Declaration
public void SaveState(string filename)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
SetState(String)
Declaration
public void SetState(string jsonString)
Parameters
Type |
Name |
Description |
System.String |
jsonString |
|
Events
ResponseReceived
Declaration
public event EventHandler<ResponseReceivedEventArgs> ResponseReceived
Event Type
Implements