capabilities: change group creation type name
This commit is contained in:
@@ -41,7 +41,7 @@ func (tg *TelegramConnector) GetCapabilities() *bridgev2.NetworkGeneralCapabilit
|
|||||||
Search: true,
|
Search: true,
|
||||||
},
|
},
|
||||||
GroupCreation: map[string]bridgev2.GroupTypeCapabilities{
|
GroupCreation: map[string]bridgev2.GroupTypeCapabilities{
|
||||||
"minigroup": {
|
"group": {
|
||||||
TypeDescription: "a normal group",
|
TypeDescription: "a normal group",
|
||||||
Name: bridgev2.GroupFieldCapability{Allowed: true, Required: true, MaxLength: 255},
|
Name: bridgev2.GroupFieldCapability{Allowed: true, Required: true, MaxLength: 255},
|
||||||
Participants: bridgev2.GroupFieldCapability{Allowed: true, Required: true, MinLength: 1, MaxLength: 200},
|
Participants: bridgev2.GroupFieldCapability{Allowed: true, Required: true, MinLength: 1, MaxLength: 200},
|
||||||
|
|||||||
Reference in New Issue
Block a user