commit
7185cc94c0
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user