Documentation ¶
Index ¶
- func UnpackClientSettingUpdate(data []byte, context tlj.TLJContext) interface{}
- func UnpackFriendRequest(data []byte, context tlj.TLJContext) interface{}
- func UnpackRevokeDevice(data []byte, context tlj.TLJContext) interface{}
- type Address
- type ClientSettingUpdate
- type ContactUpdate
- type DeviceGroupAddress
- type FriendRequest
- type ReplicatedEvent
- type RevokeDeviceEvent
- type TextMessage
- type ThreadIntroducer
- type UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnpackClientSettingUpdate ¶
func UnpackClientSettingUpdate(data []byte, context tlj.TLJContext) interface{}
func UnpackFriendRequest ¶
func UnpackFriendRequest(data []byte, context tlj.TLJContext) interface{}
func UnpackRevokeDevice ¶
func UnpackRevokeDevice(data []byte, context tlj.TLJContext) interface{}
Types ¶
type ClientSettingUpdate ¶
type ClientSettingUpdate struct { }
type ContactUpdate ¶
type ContactUpdate struct { ReplicatedEvent DisplayName string `json:omitempty` Image []byte `json:omitempty` }
Any time a user changes their display name or image this struct is Broadcast to all known Contacts
type DeviceGroupAddress ¶
type DeviceGroupAddress string
type FriendRequest ¶
type FriendRequest struct { ReplicatedEvent Name string }
type ReplicatedEvent ¶
type RevokeDeviceEvent ¶
type RevokeDeviceEvent struct { ReplicatedEvent RevokedAddress Address }
type TextMessage ¶
type TextMessage struct { ReplicatedEvent DestinationThread string }
type ThreadIntroducer ¶
type ThreadIntroducer struct { ReplicatedEvent UUID string MemberDeviceGroups [][]DeviceGroupAddress }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.