Ejemplo n.º 1
0
 public void OnClientConnected(TelegramClientInfo clientInfo, SignalGoBotManager signalGoBotManager)
 {
 }
Ejemplo n.º 2
0
 public bool OnParameterSelecting(System.Reflection.MethodInfo methodInfo, System.Reflection.ParameterInfo parameterInfo, TelegramClientInfo clientInfo, string value)
 {
     return(false);
 }
Ejemplo n.º 3
0
 public bool OnServiceGenerating(string serviceName, TelegramClientInfo clientInfo)
 {
     return(true);
 }
Ejemplo n.º 4
0
 public void OnButtonsGenerating(List <List <BotButtonInfo> > buttons, BotLevelType botLevelType, string serviceName, string methodName, TelegramClientInfo clientInfo)
 {
 }
Ejemplo n.º 5
0
 public bool OnBeforeMethodCall(ServerBase serverBase, TelegramClientInfo clientInfo, string serviceName, string methodName, List <ParameterInfo> parameters)
 {
     return(true);
 }
Ejemplo n.º 6
0
 public string OnCustomResponse(ServerBase serverBase, TelegramClientInfo clientInfo, string serviceName, string methodName, List <ParameterInfo> parameters, CallMethodResultInfo <OperationContext> currentResponse, out bool changed)
 {
     changed = false;
     return(null);
 }
Ejemplo n.º 7
0
 public string GetServiceSelectedText(string serviceName, string caption, Type serviceType, TelegramClientInfo clientInfo)
 {
     return("Service Selected:\n" + serviceName);
 }
Ejemplo n.º 8
0
 public string GetServicesGeneratedText(TelegramClientInfo clientInfo)
 {
     return("Services Generated!");
 }
Ejemplo n.º 9
0
 public string GetSendButtonText(TelegramClientInfo clientInfo)
 {
     return("/Send");
 }
Ejemplo n.º 10
0
 public string GetServiceNotFoundText(string serviceName, TelegramClientInfo clientInfo)
 {
     return($"Service {serviceName} not found");
 }
Ejemplo n.º 11
0
 public string GetParameterValueChangedText(string parameterName, TelegramClientInfo clientInfo)
 {
     return($"Parameter {parameterName} value changed, please click on Send button or another parameter");
 }
Ejemplo n.º 12
0
 public string GetParameterSelectedText(string parameterName, TelegramClientInfo clientInfo)
 {
     return($"Please Send {parameterName} Value:");
 }
Ejemplo n.º 13
0
 public string GetParameterNotFoundText(string parameterName, TelegramClientInfo clientInfo)
 {
     return($"Parameter {parameterName} not found!");
 }
Ejemplo n.º 14
0
 public string GetMethodSelectedText(string methodName, TelegramClientInfo clientInfo)
 {
     return($"Method {methodName} Selected!");
 }
Ejemplo n.º 15
0
 public string GetCancelButtonText(TelegramClientInfo clientInfo)
 {
     return("/Cancel");
 }