Skip to content

Commit

Permalink
Merge pull request #251 from gabstv/presence_types
Browse files Browse the repository at this point in the history
Typed Presence constants
  • Loading branch information
SchulteMK committed Dec 31, 2019
2 parents b7ba07f + f9129ac commit 18dafd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
type Presence string

const (
PresenceAvailable = "available"
PresenceUnavailable = "unavailable"
PresenceComposing = "composing"
PresenceRecording = "recording"
PresencePaused = "paused"
PresenceAvailable Presence = "available"
PresenceUnavailable Presence = "unavailable"
PresenceComposing Presence = "composing"
PresenceRecording Presence = "recording"
PresencePaused Presence = "paused"
)

//TODO: filename? WhatsApp uses Store.Contacts for these functions
Expand Down

0 comments on commit 18dafd1

Please sign in to comment.