Are primary, secondary, and tertiary amines considered functional group or chain isomers?
When we talk about chain isomers we mean isomers with different carbon skeleton.

If the carbon skeleton is changing as well as the functional group we report it as functional group isomerism.

For the given compound in your question, primary, secondary and tertiary amines will show functional group isomerism as they are forming different types of amines itself.