From a5610ec0de8c554516aa602320385c837ec610b0 Mon Sep 17 00:00:00 2001 From: narayana-plivo Date: Fri, 28 Sep 2018 08:03:19 +0530 Subject: [PATCH] log false fix --- messages.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/messages.go b/messages.go index e3f1d73..9a1b0ed 100644 --- a/messages.go +++ b/messages.go @@ -9,11 +9,11 @@ type MessageCreateParams struct { Dst string `json:"dst,omitempty" url:"dst,omitempty"` Text string `json:"text,omitempty" url:"text,omitempty"` // Optional parameters. - Type string `json:"type,omitempty" url:"type,omitempty"` - URL string `json:"url,omitempty" url:"url,omitempty"` - Method string `json:"method,omitempty" url:"method,omitempty"` - Trackable bool `json:"trackable,omitempty" url:"trackable,omitempty"` - Log bool `json:"log,omitempty" url:"log,omitempty"` + Type string `json:"type,omitempty" url:"type,omitempty"` + URL string `json:"url,omitempty" url:"url,omitempty"` + Method string `json:"method,omitempty" url:"method,omitempty"` + Trackable bool `json:"trackable,omitempty" url:"trackable,omitempty"` + Log interface{} `json:"log,omitempty" url:"log,omitempty"` // Either one of src and powerpackuuid should be given PowerpackUUID string `json:"powerpack_uuid,omitempty" url:"powerpack_uuid,omitempty"` }