Documentation ¶
Index ¶
- func MakeDMPortalID(serviceID libsignalgo.ServiceID) networkid.PortalID
- func MakeGroupPortalID(groupID types.GroupIdentifier) networkid.PortalID
- func MakeMessageID(sender uuid.UUID, timestamp uint64) networkid.MessageID
- func MakeMessagePartID(index int) networkid.PartID
- func MakeUserID(user uuid.UUID) networkid.UserID
- func MakeUserIDFromServiceID(user libsignalgo.ServiceID) networkid.UserID
- func MakeUserLoginID(user uuid.UUID) networkid.UserLoginID
- func ParseGhostOrUserLoginID(ghostOrUserLogin bridgev2.GhostOrUserLogin) (uuid.UUID, error)
- func ParseMessageID(messageID networkid.MessageID) (sender uuid.UUID, timestamp uint64, err error)
- func ParsePortalID(portalID networkid.PortalID) (userID libsignalgo.ServiceID, groupID types.GroupIdentifier, err error)
- func ParseUserID(userID networkid.UserID) (uuid.UUID, error)
- func ParseUserIDAsServiceID(userID networkid.UserID) (libsignalgo.ServiceID, error)
- func ParseUserLoginID(userLoginID networkid.UserLoginID) (uuid.UUID, error)
- type GhostMetadata
- type MessageMetadata
- type PortalMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDMPortalID ¶
func MakeDMPortalID(serviceID libsignalgo.ServiceID) networkid.PortalID
func MakeGroupPortalID ¶
func MakeGroupPortalID(groupID types.GroupIdentifier) networkid.PortalID
func MakeMessagePartID ¶
func MakeUserIDFromServiceID ¶
func MakeUserIDFromServiceID(user libsignalgo.ServiceID) networkid.UserID
func MakeUserLoginID ¶
func MakeUserLoginID(user uuid.UUID) networkid.UserLoginID
func ParseGhostOrUserLoginID ¶ added in v0.7.1
func ParseGhostOrUserLoginID(ghostOrUserLogin bridgev2.GhostOrUserLogin) (uuid.UUID, error)
func ParseMessageID ¶
func ParsePortalID ¶
func ParsePortalID(portalID networkid.PortalID) (userID libsignalgo.ServiceID, groupID types.GroupIdentifier, err error)
func ParseUserIDAsServiceID ¶
func ParseUserIDAsServiceID(userID networkid.UserID) (libsignalgo.ServiceID, error)
func ParseUserLoginID ¶
func ParseUserLoginID(userLoginID networkid.UserLoginID) (uuid.UUID, error)
Types ¶
type GhostMetadata ¶ added in v0.7.1
type MessageMetadata ¶
type MessageMetadata struct {
ContainsAttachments bool `json:"contains_attachments,omitempty"`
}
type PortalMetadata ¶
Click to show internal directories.
Click to hide internal directories.