Added MaxItemSize field to channel settings
This commit is contained in:
parent
10f648f550
commit
4c5201c4c1
10
v1/types.go
10
v1/types.go
@ -146,14 +146,16 @@ type ChannelSettingsFilesBase struct {
|
|||||||
Deleting string `json:"deleting,omitempty"`
|
Deleting string `json:"deleting,omitempty"`
|
||||||
Max uint64 `json:"max_items_count,omitempty"`
|
Max uint64 `json:"max_items_count,omitempty"`
|
||||||
NoteMaxCharsCount *uint16 `json:"note_max_chars_count,omitempty"`
|
NoteMaxCharsCount *uint16 `json:"note_max_chars_count,omitempty"`
|
||||||
|
MaxItemSize *uint64 `json:"max_item_size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChannelSettingsAudio struct.
|
// ChannelSettingsAudio struct.
|
||||||
type ChannelSettingsAudio struct {
|
type ChannelSettingsAudio struct {
|
||||||
Creating string `json:"creating,omitempty"`
|
Creating string `json:"creating,omitempty"`
|
||||||
Quoting string `json:"quoting,omitempty"`
|
Quoting string `json:"quoting,omitempty"`
|
||||||
Deleting string `json:"deleting,omitempty"`
|
Deleting string `json:"deleting,omitempty"`
|
||||||
MaxItemsCount uint64 `json:"max_items_count,omitempty"`
|
MaxItemsCount uint64 `json:"max_items_count,omitempty"`
|
||||||
|
MaxItemSize *uint64 `json:"max_item_size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendingPolicy struct {
|
type SendingPolicy struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user