Is sexting other people considered cheating?

Is it considered cheating if you're in a relationship but you sext or roleplay with someone else you don't personally know online or over text just for fun? Even though you aren't having sex or physically seeing eachother other than on snapchat? I caught my boyfriend doing this and I dont know how to feel about it. Let me know what your opinions are on this, thanks!