forked from lug/matterbridge

* Add support for editing/deleting messages * Add support for uploading files * Add support for avatars * Use the Rocket.Chat.Go.SDK * Use the rest and streaming api
22 lines
605 B
Go
22 lines
605 B
Go
package models
|
|
|
|
type Setting struct {
|
|
ID string `json:"_id"`
|
|
Blocked bool `json:"blocked"`
|
|
Group string `json:"group"`
|
|
Hidden bool `json:"hidden"`
|
|
Public bool `json:"public"`
|
|
Type string `json:"type"`
|
|
PackageValue string `json:"packageValue"`
|
|
Sorter int `json:"sorter"`
|
|
Value string `json:"value"`
|
|
ValueBool bool `json:"valueBool"`
|
|
ValueInt float64 `json:"valueInt"`
|
|
ValueSource string `json:"valueSource"`
|
|
ValueAsset Asset `json:"asset"`
|
|
}
|
|
|
|
type Asset struct {
|
|
DefaultUrl string `json:"defaultUrl"`
|
|
}
|