Update v1/types.go
Co-authored-by: Sergey Linnik <linniksa@gmail.com>
This commit is contained in:
parent
73e617a073
commit
7089c56787
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user