-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaliases.go
More file actions
119 lines (87 loc) · 3.07 KB
/
aliases.go
File metadata and controls
119 lines (87 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
package beeperdesktopapi
import (
"github.com/beeper/desktop-api-go/v5/internal/apierror"
"github.com/beeper/desktop-api-go/v5/packages/param"
"github.com/beeper/desktop-api-go/v5/shared"
)
// aliased to make [param.APIUnion] private when embedding
type paramUnion = param.APIUnion
// aliased to make [param.APIObject] private when embedding
type paramObj = param.APIObject
type Error = apierror.Error
// This is an alias to an internal type.
type Attachment = shared.Attachment
// Attachment type.
//
// This is an alias to an internal type.
type AttachmentType = shared.AttachmentType
// Equals "unknown"
const AttachmentTypeUnknown = shared.AttachmentTypeUnknown
// Equals "img"
const AttachmentTypeImg = shared.AttachmentTypeImg
// Equals "video"
const AttachmentTypeVideo = shared.AttachmentTypeVideo
// Equals "audio"
const AttachmentTypeAudio = shared.AttachmentTypeAudio
// Pixel dimensions of the attachment: width/height in px.
//
// This is an alias to an internal type.
type AttachmentSize = shared.AttachmentSize
// Attachment transcription if available.
//
// This is an alias to an internal type.
type AttachmentTranscription = shared.AttachmentTranscription
// This is an alias to an internal type.
type Message = shared.Message
// Link preview included with a message.
//
// This is an alias to an internal type.
type MessageLink = shared.MessageLink
// Preview image dimensions.
//
// This is an alias to an internal type.
type MessageLinkImgSize = shared.MessageLinkImgSize
// Read receipt state for this message, when available.
//
// This is an alias to an internal type.
type MessageSeenUnion = shared.MessageSeenUnion
// ISO 8601 timestamp.
//
// This is an alias to an internal type.
type MessageSeenByParticipantItemUnion = shared.MessageSeenByParticipantItemUnion
// Message send status for this message, when reported by the bridge.
//
// This is an alias to an internal type.
type MessageSendStatus = shared.MessageSendStatus
// Message content type. Useful for distinguishing reactions, media messages, and
// state events from regular text messages.
//
// This is an alias to an internal type.
type MessageType = shared.MessageType
// Equals "TEXT"
const MessageTypeText = shared.MessageTypeText
// Equals "NOTICE"
const MessageTypeNotice = shared.MessageTypeNotice
// Equals "IMAGE"
const MessageTypeImage = shared.MessageTypeImage
// Equals "VIDEO"
const MessageTypeVideo = shared.MessageTypeVideo
// Equals "VOICE"
const MessageTypeVoice = shared.MessageTypeVoice
// Equals "AUDIO"
const MessageTypeAudio = shared.MessageTypeAudio
// Equals "FILE"
const MessageTypeFile = shared.MessageTypeFile
// Equals "STICKER"
const MessageTypeSticker = shared.MessageTypeSticker
// Equals "LOCATION"
const MessageTypeLocation = shared.MessageTypeLocation
// Equals "REACTION"
const MessageTypeReaction = shared.MessageTypeReaction
// This is an alias to an internal type.
type Reaction = shared.Reaction
// User the account belongs to.
//
// This is an alias to an internal type.
type User = shared.User