1
0
mirror of synced 2024-11-21 20:46:05 +03:00

Added MaxItemSize field to channel settings

This commit is contained in:
Vlasov 2023-04-06 15:01:06 +03:00
parent 10f648f550
commit 4c5201c4c1

View File

@ -146,14 +146,16 @@ type ChannelSettingsFilesBase struct {
Deleting string `json:"deleting,omitempty"`
Max uint64 `json:"max_items_count,omitempty"`
NoteMaxCharsCount *uint16 `json:"note_max_chars_count,omitempty"`
MaxItemSize *uint64 `json:"max_item_size,omitempty"`
}
// ChannelSettingsAudio struct.
type ChannelSettingsAudio struct {
Creating string `json:"creating,omitempty"`
Quoting string `json:"quoting,omitempty"`
Deleting string `json:"deleting,omitempty"`
MaxItemsCount uint64 `json:"max_items_count,omitempty"`
Creating string `json:"creating,omitempty"`
Quoting string `json:"quoting,omitempty"`
Deleting string `json:"deleting,omitempty"`
MaxItemsCount uint64 `json:"max_items_count,omitempty"`
MaxItemSize *uint64 `json:"max_item_size,omitempty"`
}
type SendingPolicy struct {