Организуйте и группируйте действия при разработке пакетов
Ознакомьтесь с примерами добавления и группирования actions в процессе разработки пакета SDK.
@BotCommand
//CommandPks adds required information to be dispalable on the UI.
@CommandPkg(
//Unique name inside a package and a label to display.
name = "concatenate", label = "[[Concatenate.label]]",
node_label = "[[Concatenate.node_label]]", description = "[[Concatenate.description]]", icon = "pkg.svg",
//Return type information. return_type ensures only the right kind of variable is provided on the UI.
return_label = "[[Concatenate.return_label]]", return_type = STRING, return_required = true)
Используйте group _label
для ConcateGroup , которая отображается в пользовательском интерфейсе, также как ConcatenateGroup. Если group_label
не используется, то вы получите все действия в соответствующем пакете.
@BotCommand
//CommandPks adds required information to be dispalable on the UI.
@CommandPkg(
//Provide a unique name inside a package and a label to display.
group_label = "ConcatenateGroup", name = "concatenateWithGroup", label = "concatenateWithGroup",
node_label = "[[Concatenate.node_label]]", description = "[[Concatenate.description]]", icon = "pkg.svg",
//Return type information. return_type ensures only the right kind of variable is provided on the UI.
return_label = "[[Concatenate.return_label]]", return_type = STRING, return_required = true)
public class ConcatenateWithGroup {