Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NotificationNone enum for message["notification"] that means no notification NotificationNone = NotificationType("None") // NotificationEvent enum for message["notification"] that means emit a notification that a message event happened only NotificationEvent = NotificationType("SimpleEvent") // NotificationConversation enum for message["notification"] that means emit a notification event with Conversation handle included NotificationConversation = NotificationType("ContactInfo") )
View Source
const ( // StatusSuccess is an event response for event.Status signifying a call succeeded StatusSuccess = "success" // StatusError is an event response for event.Status signifying a call failed in error, ideally accompanied by a event.Error StatusError = "error" )
View Source
const ( // ConversationNotificationPolicyDefault enum for conversations indicating to use global notification policy ConversationNotificationPolicyDefault = "ConversationNotificationPolicy.Default" // ConversationNotificationPolicyOptIn enum for conversation indicating to opt in to nofitications when allowed ConversationNotificationPolicyOptIn = "ConversationNotificationPolicy.OptIn" // ConversationNotificationPolicyNever enum for conversation indicating to opt in to never do notifications ConversationNotificationPolicyNever = "ConversationNotificationPolicy.Never" )
View Source
const Archived = "archived"
View Source
const ConversationNotificationPolicy = "notification-policy"
ConversationNotificationPolicy is the attribute label for conversations. When App NotificationPolicy is OptIn a true value here opts in
View Source
const DartIso8601 = "2006-01-02T15:04:05.999Z"
View Source
const DefaultProfilePicture = "defaultPicture"
View Source
const LastSeenTime = "lastMessageSeenTime"
View Source
const Name = "name"
View Source
const PeerAutostart = "autostart"
View Source
const PeerOnline = "peer-online"
PeerOnline stores state on if the peer believes it is online
View Source
const Picture = "picture"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationType ¶
type NotificationType string
Click to show internal directories.
Click to hide internal directories.