Merge pull request #39 from DmitryZagorulko/master
add MaxCharsCount in channel settings
This commit is contained in:
commit
6d842206f2
@ -74,6 +74,7 @@ func (c *MgClient) TransportChannels(request Channels) ([]ChannelListItem, int,
|
||||
// Editing: ChannelFeatureBoth,
|
||||
// Quoting: ChannelFeatureReceive,
|
||||
// Deleting: ChannelFeatureSend,
|
||||
// MaxCharsCount: 2000,
|
||||
// },
|
||||
// Product: Product{
|
||||
// Creating: ChannelFeatureSend,
|
||||
|
@ -48,6 +48,7 @@ func TestMgClient_ActivateTransportChannel(t *testing.T) {
|
||||
Editing: ChannelFeatureSend,
|
||||
Quoting: ChannelFeatureReceive,
|
||||
Deleting: ChannelFeatureBoth,
|
||||
MaxCharsCount: 2000,
|
||||
},
|
||||
Product: Product{
|
||||
Creating: ChannelFeatureSend,
|
||||
|
@ -100,6 +100,7 @@ type ChannelSettingsText struct {
|
||||
Editing string `json:"editing"`
|
||||
Quoting string `json:"quoting"`
|
||||
Deleting string `json:"deleting"`
|
||||
MaxCharsCount uint16 `json:"max_chars_count"`
|
||||
}
|
||||
|
||||
// ChannelSettingsFilesBase struct
|
||||
|
Loading…
Reference in New Issue
Block a user