1
0
mirror of synced 2024-11-28 16:06:04 +03:00

cleanup available values

This commit is contained in:
Alex Lushpai 2018-08-17 15:36:03 +03:00
parent 993f0114b8
commit 35db168bd0
3 changed files with 2 additions and 3 deletions

View File

@ -84,7 +84,7 @@ func (c *MgClient) ActivateTransportChannel(request Channel) (ActivateResponse,
// "message_read", // "message_read",
// }, // },
// Settings: ChannelSettings{ // Settings: ChannelSettings{
// ReceiveMessageMode: MsgModeTimeLimited, // ReceiveMessageMode: MsgModeNever,
// SpamAllowed: false, // SpamAllowed: false,
// Features: ChannelFeatures{ // Features: ChannelFeatures{
// StatusDelivered: ChannelFeatureNone, // StatusDelivered: ChannelFeatureNone,

View File

@ -61,7 +61,7 @@ func TestMgClient_ActivateNewTransportChannel(t *testing.T) {
"message_read", "message_read",
}, },
Settings: ChannelSettings{ Settings: ChannelSettings{
ReceiveMessageMode: MsgModeTimeLimited, ReceiveMessageMode: MsgModeNever,
SpamAllowed: false, SpamAllowed: false,
Features: ChannelFeatures{ Features: ChannelFeatures{
StatusDelivered: ChannelFeatureNone, StatusDelivered: ChannelFeatureNone,

View File

@ -12,7 +12,6 @@ const (
ChannelFeatureBoth string = "both" ChannelFeatureBoth string = "both"
MsgModeNever string = "never" MsgModeNever string = "never"
MsgModeTimeLimited string = "time-limited"
MsgModeAlways string = "always" MsgModeAlways string = "always"
) )