From 7089c5678799df5666e77a875d0599f8c1ae32cf Mon Sep 17 00:00:00 2001 From: Alexander Kulinich Date: Mon, 10 Aug 2020 18:33:49 +0300 Subject: [PATCH] Update v1/types.go Co-authored-by: Sergey Linnik --- v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/types.go b/v1/types.go index 401737d..b0e9b6a 100644 --- a/v1/types.go +++ b/v1/types.go @@ -355,7 +355,7 @@ type SuggestionType string type Suggestion struct { Type SuggestionType `json:"type"` - Title string `json:"title,omitempty"` // for text type required, for email and phone types always empty + Title string `json:"title,omitempty"` // required for type=text and ignored for others } type TemplateInfo struct {