What is useless/meaningless speech? An elaborated answer on meaningless speech as in ten unwholesome acts is expected
In addition found in Sevitabbâsevitabba Sutta there are 32 types of chatter which is called animal chatter which falls under the category of idle / frivolous chatter:

Rajakatha – Talk about kings
Corakatha – Talk about robbers
Mahamatta katha – Talk about ministers of state
Senakatha – Talk about armies
Bhayakatha – Talk about dangers
Yuddhakatha – Talk about battles
Annakatha – Talk about food
Panakatha – Talk about drinks
Vatthakatha – Talk about clothing
Sayanakatha – Talk about dwellings
Malakatha – Talk about garlands
Gandhakatha – Talk about perfumes
Natikatha – Talk about relations
Yanakatha – Talk about vehicles
Gamakatha – Talk about villages
Nigamakatha -Talk about market towns
Nagarakatha – Talk about towns
Janapadakatha – Talk about districts
Itthikatha – Talk about women/men
Surakatha – Talk about heroes
Visakhakatha – Talk about streets
Kumbhatthanakatha – Talk about watering places
Pubbapeta-katha – Talk about relatives who have passed away
Nanattakatha – Tittle-tattle
Lokakkhayika katha – talk about the origin of the world
Samuddakkhayikakatha – Talk about the origin of the ocean
Itibhavabhava katha – Talk about Eternity belief
Itibhavabhava katha – Talk about annihilation belief
Itibhavabhava katha – Talk about worldly gain
Itibhavabhava katha – Talk about worldly loss
Itibhavabhava katha – Talk about self-indulgence
Itibhavabhava katha – Talk about self-mortification

Sourced from: Tiracchana-Katha Unskilful Talk which is an adaptation from Venerable Ledi Sayadaw’s Magganga-Dipani: The Manual of The Constituents of the Noble Path.
Instead of memorizing specific type of talk you can discern what it idle chatter through the fundamentals, i.e.,:

is not beneficial,
not relevant to the fundamentals of the holy life,
does not leads to revulsion,
does not leads to dispassion,
does not leads to cessation,
does not leads to peace,
does not leads to direct knowledge,
does not leads to enlightenment,
does not leads to Nibbana

Adopted from: Tiracchana-Katha Unskilful Talk
... or in general context ...

he speaks at the wrong time,
what is false,
what is not connected with the goal [unbeneficial],
what is not the teaching [Dharma]1,
what is not the discipline [Vinaya];
he speaks words not worth treasuring,
baseless,
undefined [rambling],
not connected with the goal

... or more succinctly, chatter in which, unwholesome states increase and
wholesome states decrease.
See: Sevitabbâsevitabba Sutta and answer by @ChrisW
Also talk you should engage in:

Talk about wanting little,
about contentment,
seclusion,
solitude,
energetic striving,
virtue,
concentration,
insight,
release,
release by knowing and seeing

In addition the Buddha mentions you should talk about the 4 Noble Truths as this lead to:

is beneficial,
relevant to the fundamentals of the holy life,
leads to revulsion,
leads to dispassion,
leads to cessation,
leads to peace,
leads to direct knowledge,
leads to enlightenment,
leads to Nibbana

Adopted from: Tiracchana-Katha Unskilful Talk
... or in general context ...

he speaks at the right time,
what is true,
what is connected with the goal [beneficial],
what is the teaching1,
what is the discipline;
he speaks words worth treasuring,
well-founded,
well-defined [not rambling],
connected with the goal

... or more succinctly, chatter in which, unwholesome states decrease and wholesome states increase.
See: Sevitabbâsevitabba Sutta and answer by @ChrisW

Several suttas contain this list but all of them list only 27. However, as usual, the Commentators obsessed with splitting hairs have stretched it to 32 by splitting the last one into 6.
The name &quot;Detis Katha&quot; is also theirs. The Suttas called the original ones &quot;Tirracchana katha&quot; which literally means ‘animal talk’.
Incidentally this list is not for us to learn and remember. These topics are for avoiding. Several suttas say that we should instead be discussing only the Noble Truth.

Source: Dethis Katha (32 types of unskillful talks) by user Gayan
Furthermore the blog Tiracchana-Katha Unskilful Talk has comprehensive treatment of this topic.

1
Regarding skillful and unskillful chattering regarding the Dhamma there is 8:

This Dhamma is for reducing desire, not for increasing desire.
This Dhamma is for increasing contentment, not for increasing
discontentment.
This Dhamma is for cultivating seclusion, not for becoming sociable.
This Dhamma is for becoming energetic, not for becoming lazy.
This Dhamma is for developing mindfulness, not developing
unmindfulness.
This Dhamma is for developing composure, not for making
restlessness.
This Dhamma is for increasing wisdom, not for decreasing wisdom.
This Dhamma is for delighting in freedom from impediments, not
for delighting in impediment.

Sourced from: Eight Great Noble Thoughts and Papanca [proliferation] and Nippapanca [non-proliferation]