diff --git a/v1/client.go b/v1/client.go index f64cef0..d6c85c3 100644 --- a/v1/client.go +++ b/v1/client.go @@ -84,7 +84,7 @@ func (c *MgClient) ActivateTransportChannel(request Channel) (ActivateResponse, // "message_read", // }, // Settings: ChannelSettings{ -// ReceiveMessageMode: MsgModeTimeLimited, +// ReceiveMessageMode: MsgModeNever, // SpamAllowed: false, // Features: ChannelFeatures{ // StatusDelivered: ChannelFeatureNone, diff --git a/v1/client_test.go b/v1/client_test.go index b4248af..e0d700e 100644 --- a/v1/client_test.go +++ b/v1/client_test.go @@ -61,7 +61,7 @@ func TestMgClient_ActivateNewTransportChannel(t *testing.T) { "message_read", }, Settings: ChannelSettings{ - ReceiveMessageMode: MsgModeTimeLimited, + ReceiveMessageMode: MsgModeNever, SpamAllowed: false, Features: ChannelFeatures{ StatusDelivered: ChannelFeatureNone, diff --git a/v1/types.go b/v1/types.go index 5a5982f..8ad2b5d 100644 --- a/v1/types.go +++ b/v1/types.go @@ -12,7 +12,6 @@ const ( ChannelFeatureBoth string = "both" MsgModeNever string = "never" - MsgModeTimeLimited string = "time-limited" MsgModeAlways string = "always" )