mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 01:49:22 +00:00
10
vendor/github.com/matrix-org/gomatrix/events.go
generated
vendored
10
vendor/github.com/matrix-org/gomatrix/events.go
generated
vendored
@ -45,8 +45,8 @@ func (event *Event) MessageType() (msgtype string, ok bool) {
|
||||
type TextMessage struct {
|
||||
MsgType string `json:"msgtype"`
|
||||
Body string `json:"body"`
|
||||
FormattedBody string `json:"formatted_body"`
|
||||
Format string `json:"format"`
|
||||
FormattedBody string `json:"formatted_body,omitempty"`
|
||||
Format string `json:"format,omitempty"`
|
||||
}
|
||||
|
||||
// ThumbnailInfo contains info about an thumbnail image - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-image
|
||||
@ -105,7 +105,7 @@ type HTMLMessage struct {
|
||||
// FileInfo contains info about an file - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-file
|
||||
type FileInfo struct {
|
||||
Mimetype string `json:"mimetype,omitempty"`
|
||||
Size uint `json:"size,omitempty"` //filesize in bytes
|
||||
Size uint `json:"size,omitempty"` // filesize in bytes
|
||||
}
|
||||
|
||||
// FileMessage is an m.file event - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-file
|
||||
@ -131,8 +131,8 @@ type LocationMessage struct {
|
||||
// AudioInfo contains info about an file - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-audio
|
||||
type AudioInfo struct {
|
||||
Mimetype string `json:"mimetype,omitempty"`
|
||||
Size uint `json:"size,omitempty"` //filesize in bytes
|
||||
Duration uint `json:"duration,omitempty"` //audio duration in ms
|
||||
Size uint `json:"size,omitempty"` // filesize in bytes
|
||||
Duration uint `json:"duration,omitempty"` // audio duration in ms
|
||||
}
|
||||
|
||||
// AudioMessage is an m.audio event - http://matrix.org/docs/spec/client_server/r0.2.0.html#m-audio
|
||||
|
5
vendor/modules.txt
vendored
5
vendor/modules.txt
vendored
@ -186,8 +186,8 @@ github.com/lrstanley/girc
|
||||
# github.com/magiconair/properties v1.8.5
|
||||
## explicit; go 1.13
|
||||
github.com/magiconair/properties
|
||||
# github.com/matrix-org/gomatrix v0.0.0-20210324163249-be2af5ef2e16
|
||||
## explicit; go 1.12
|
||||
# github.com/matrix-org/gomatrix v0.0.0-20210324163249-be2af5ef2e16 => github.com/matterbridge/gomatrix v0.0.0-20220205235239-607eb9ee6419
|
||||
## explicit; go 1.17
|
||||
github.com/matrix-org/gomatrix
|
||||
# github.com/matterbridge/Rocket.Chat.Go.SDK v0.0.0-20211016222428-79310a412696
|
||||
## explicit
|
||||
@ -604,3 +604,4 @@ layeh.com/gumble/gumble
|
||||
layeh.com/gumble/gumble/MumbleProto
|
||||
layeh.com/gumble/gumble/varint
|
||||
layeh.com/gumble/gumbleutil
|
||||
# github.com/matrix-org/gomatrix => github.com/matterbridge/gomatrix v0.0.0-20220205235239-607eb9ee6419
|
||||
|
Reference in New Issue
Block a user