Skip to content

Commit

Permalink
AsteriskMention fix, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Nov 18, 2020
1 parent 9db97c9 commit b5d35ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ type Contact struct {
AltSend *bool `json:"alt_send,omitempty"`

// Use * as @ for mentions
AsteriskMention *bool `json:"asterisk_mention"`
AsteriskMention *bool `json:"asterisk_mention,omitempty"`

// Send push notifications even contact is online
AlwaysSendPushes *bool `json:"always_send_pushes,omitempty"`
Expand Down
10 changes: 7 additions & 3 deletions inspect/markdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ Chat (direct, group, task) representaion.

* **description** (string, omitempty) — Group or task description.

* **markup** ([MarkupEntity](#MarkupEntity), readonly for clients, list, omitempty) — Markup entities for description field. Experimental.

* **feed** (bool, omitempty) — Present in feed (main screen).

* **pinned_message** ([Message](#Message), nullable, omitempty) — Pinned message for this chat.
Expand All @@ -108,7 +110,7 @@ Chat (direct, group, task) representaion.

* **num** (uint, omitempty) — Task number in this team.

* **observers** (JID, nullable, list, omitempty) — Task observers id's.
* **observers** (JID, nullable, list, omitempty) — Task followers id's. TODO: rename to "followers".

* **owner** (JID, nullable, omitempty) — Task creator.

Expand Down Expand Up @@ -274,7 +276,7 @@ Contact.

* **alt_send** (bool, nullable, omitempty) — Use Ctrl/Cmd + Enter insted Enter.

* **asterisk_mention** (bool, nullable) — Use * as @ for mentions.
* **asterisk_mention** (bool, nullable, omitempty) — Use * as @ for mentions.

* **always_send_pushes** (bool, nullable, omitempty) — Send push notifications even contact is online.

Expand Down Expand Up @@ -582,12 +584,14 @@ Integration kind.

* **kind** (string) — Integration unique name.

* **title** (string) — Integration title.
* **title** (string) — Plugin title.

* **template** ([Integration](#Integration)) — Integration template.

* **icon** (string) — Path to icon.

* **description** (string) — Plugin description.


### <a name="Integrations"></a>Integrations
Complete integrations data, as received from server.
Expand Down

0 comments on commit b5d35ff

Please sign in to comment.