diff --git a/docs/README.md b/docs/README.md index d1ee7f793..0ef201b8a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -232,7 +232,15 @@ The following event types may be sent with a message event: | Parameter | Type | Method | Description | Default | Required? | | --------- | ---- | ------ | ----------- | ------- | --------- | | query | string | GET | Search string to match against messages | N/A | NO | -| message_type | string | GET | Limit results to message type | N/A
Values:

| NO | +| message_type | string | GET | Limit results to message type | N/A + +Values: + +- `history` +- `message` +- `attachment` +- `media` +| NO | # Members diff --git a/docs/README.tpl b/docs/README.tpl index 66ec0316e..88bbb3665 100644 --- a/docs/README.tpl +++ b/docs/README.tpl @@ -14,7 +14,14 @@ | --------- | ---- | ------ | ----------- | ------- | --------- | {foreach $call.parameters as $method => $params} {foreach $params as $param} - | {param.name} | {param.type} | {method|toupper} | {param.title} | {if empty($param.default)}N/A{else}{param.default}{/if}{if $param.values}
Values:

{/if} | {if $param.required}YES{else}NO{/if} | + | {param.name} | {param.type} | {method|toupper} | {param.title} | {if empty($param.default)}N/A{else}{param.default}{/if} +{if $param.values} + +Values: + +{foreach $param.values as $value}- `{value}` +{/foreach} +{/if} | {if $param.required}YES{else}NO{/if} | {/foreach} {/foreach}