1
0
mirror of synced 2024-11-22 04:56:06 +03:00

Add MaxItemSize field to channel settings

This commit is contained in:
Pavel 2023-04-13 14:04:50 +03:00 committed by GitHub
commit 30d115504e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {