Charity is divided into four categories, namely: personal charity (voluntary charity), money charity (donating money charity), legal charity (explaining Buddhism to others) and fearless charity (soothing people's hearts and freeing others from fear). Among these four categories, legal giving is the most meritorious.
Your behavior belongs to giving money.