Skip to content

Commit b81f74c

Browse files
committed
docs: drop Image TM
1 parent ffad954 commit b81f74c

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

docs/rfc/000-TypedMessage-binary-format.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -77,32 +77,3 @@ enum TextType {
7777
```
7878

7979
For unknown textType (might comes from the future version), the client must treat it as `TextType.PlainText`.
80-
81-
### Image
82-
83-
To limit the length of the payload, this data type is not going to support inline binary image data.
84-
85-
```typescript
86-
type TypedMessageImageTuple = [
87-
type: TypedMessageTypeEnum.Image
88-
metadata: object | null,
89-
imageType: ImageType.PNG | ImageType.JPG | ImageType.WEBP,
90-
src: UTF8String,
91-
width: Int,
92-
height: Int
93-
] | [
94-
type: TypedMessageTypeEnum.Image
95-
metadata: object | null,
96-
imageType: ImageType.SVG,
97-
content: UTF8String,
98-
width: Int,
99-
height: Int
100-
]
101-
102-
enum ImageType {
103-
PNG = 0,
104-
JPG = 1,
105-
WEBP = 2,
106-
SVG = 3
107-
}
108-
```

0 commit comments

Comments
 (0)