protected AliceResponseBase(AliceRequest request, string text, string tts, List <AliceButtonModel> buttons)
     : base(request)
 {
     Response = new T()
     {
         Text    = text,
         Tts     = tts,
         Buttons = buttons
     };
 }
示例#2
0
 public AliceResponse(AliceRequest request, string text)
     : this(request, text, text, null)
 {
 }
示例#3
0
 public AliceResponse(AliceRequest request, string text, string tts, List <AliceButtonModel> buttons)
     : base(request, text, tts, buttons)
 {
 }
示例#4
0
 public AliceResponse(AliceRequest request, string text, List <AliceButtonModel> buttons)
     : this(request, text, text, buttons)
 {
 }
 public AliceImageResponse(AliceRequest request, string text, string tts)
     : this(request, text, tts, null)
 {
 }