Skip to content

Commit

Permalink
docs: document flags property of message_edit_data (#4)
Browse files Browse the repository at this point in the history
* fix(deps): update hackney to fix issue on >= OTP 22.1

* docs: document flags property of message_edit_data
  • Loading branch information
SpaceEEC committed Nov 19, 2019
1 parent 7f00685 commit dda771f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ defmodule Crux.Rest do
@type message_edit_data ::
%{
optional(:content) => String.t() | nil,
optional(:embed) => embed() | nil
optional(:embed) => embed() | nil,
optional(:flags) => non_neg_integer()
}
| [{:content, String.t()} | {:embed, embed()}]

Expand Down

0 comments on commit dda771f

Please sign in to comment.