From 4c5201c4c1b9a53b3ff40ee2d786950c203e5f7c Mon Sep 17 00:00:00 2001 From: Vlasov Date: Thu, 6 Apr 2023 15:01:06 +0300 Subject: [PATCH] Added MaxItemSize field to channel settings --- v1/types.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/v1/types.go b/v1/types.go index 24c0972..cd2a6f3 100644 --- a/v1/types.go +++ b/v1/types.go @@ -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 {