diff --git a/src/docs/docs.go b/src/docs/docs.go index ffcf328..ec788cd 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -2186,6 +2186,9 @@ var doc = `{ "api.SendMessageError": { "type": "object", "properties": { + "account": { + "type": "string" + }, "challenge_tokens": { "type": "array", "items": { @@ -2252,6 +2255,9 @@ var doc = `{ "message": { "type": "string" }, + "notify_self": { + "type": "boolean" + }, "number": { "type": "string" }, @@ -2282,9 +2288,6 @@ var doc = `{ "normal", "styled" ] - }, - "notify_self": { - "type": "boolean" } } }, diff --git a/src/docs/swagger.json b/src/docs/swagger.json index 00d3b1b..c84e0bf 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -2170,6 +2170,9 @@ "api.SendMessageError": { "type": "object", "properties": { + "account": { + "type": "string" + }, "challenge_tokens": { "type": "array", "items": { @@ -2236,6 +2239,9 @@ "message": { "type": "string" }, + "notify_self": { + "type": "boolean" + }, "number": { "type": "string" }, @@ -2266,9 +2272,6 @@ "normal", "styled" ] - }, - "notify_self": { - "type": "boolean" } } }, @@ -2592,4 +2595,4 @@ "name": "Sticker Packs" } ] -} +} \ No newline at end of file diff --git a/src/docs/swagger.yaml b/src/docs/swagger.yaml index 5acc934..4dd18bf 100644 --- a/src/docs/swagger.yaml +++ b/src/docs/swagger.yaml @@ -130,6 +130,8 @@ definitions: type: object api.SendMessageError: properties: + account: + type: string challenge_tokens: items: type: string @@ -174,6 +176,8 @@ definitions: type: string message: type: string + notify_self: + type: boolean number: type: string quote_author: @@ -195,8 +199,6 @@ definitions: - normal - styled type: string - notify_self: - type: boolean type: object api.SetUsernameRequest: properties: