matchCashtag method
Matches any Tweet that contains the specified ‘cashtag’ (where the leading character of the token is the ‘$’ character).
Note that the cashtag operator relies on Twitter’s ‘symbols’ entity extraction to match cashtags, rather than trying to extract the cashtag from the body itself.
The string passed to this method does not need to be prefixed with the symbol "$" to indicate a cashtag. However, if you pass a string prefixed with "$", it will still work.
Parameters
value
: Cashtag value to be matched.
Type
Availability
- Essential
Implementation
LogicalChannel matchCashtag(final String value) => _buffer.appendOperator(
_standaloneOperation.createCashtag(value),
);