1
0
mirror of synced 2024-11-23 12:36:02 +03:00
This commit is contained in:
DmitryZagorulko 2018-12-06 16:01:06 +03:00 committed by Alex Lushpai
parent dd8070d9e5
commit 4ea4912333
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

@ -70,6 +70,7 @@ func TestRouting_addBotHandler(t *testing.T) {
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,