Organisieren und Gruppieren von Aktionen bei der Entwicklung von Paketen
Lesen Sie die bereitgestellten Beispiele zum Hinzufügen und Gruppieren actions während des SDK-Entwicklungsprozesses des Pakets.
@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)
Verwenden Sie die Group_Label
zu ConcatenateGroup , die in der Benutzeroberfläche auch als ConcatenateGroupangezeigt wird. Wenn das Group_Label
nicht verwendet wird, erhalten Sie alle Aktionen im jeweiligen Paket.
@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 {