1
0
mirror of synced 2024-11-29 00:25:39 +03:00

Update v1/types.go

Co-authored-by: Sergey Linnik <linniksa@gmail.com>
This commit is contained in:
Alexander Kulinich 2020-08-10 18:33:49 +03:00 committed by GitHub
parent 73e617a073
commit 7089c56787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ type SuggestionType string
type Suggestion struct { type Suggestion struct {
Type SuggestionType `json:"type"` 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 { type TemplateInfo struct {