Depending on the facts and circumstances, this may be capable of being charged under offences including section 2 of the Abusive Behaviour and Sexual Harm (Scotland) Act 2016 (non-consensual sharing of intimate images), section 38 of the Criminal Justice and Licensing (Scotland) Act 2010 (threatening or abusive behaviour) or section 127 of the Communications Act 2003 (misuse of a public electronic communications network).