1
0
mirror of synced 2024-11-22 12:26:02 +03:00
This commit is contained in:
DmitryZagorulko 2018-12-06 16:01:06 +03:00
parent 4ab8232190
commit 3f826f7bd5
2 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,7 @@ type Options struct {
} }
const Type = "telegram" const Type = "telegram"
const MaxCharsCount = 4096 const MaxCharsCount uint16 = 4096
var ( var (
config *TransportConfig config *TransportConfig

View File

@ -66,10 +66,11 @@ func TestRouting_addBotHandler(t *testing.T) {
Read: v1.ChannelFeatureNone, Read: v1.ChannelFeatureNone,
}, },
Text: v1.ChannelSettingsText{ Text: v1.ChannelSettingsText{
Creating: v1.ChannelFeatureBoth, Creating: v1.ChannelFeatureBoth,
Editing: v1.ChannelFeatureBoth, Editing: v1.ChannelFeatureBoth,
Quoting: v1.ChannelFeatureBoth, Quoting: v1.ChannelFeatureBoth,
Deleting: v1.ChannelFeatureReceive, Deleting: v1.ChannelFeatureReceive,
MaxCharsCount: MaxCharsCount,
}, },
Product: v1.Product{ Product: v1.Product{
Creating: v1.ChannelFeatureReceive, Creating: v1.ChannelFeatureReceive,