Memes Object
Memes Object Documentation
The Memes class provides methods for retrieving and subscribing to Trump-related memes and Truth Social posts within the Roboqo platform. It extends Subscribable, enabling real-time updates when new memes or posts are available.
Methods
getTrumpMemes
getTrumpMemesDescription Retrieves a list of Trump-related memes.
Signature
public getTrumpMemes(): Promise<TrumpMeme[]>Parameters
None.
Returns
Promise<TrumpMeme[]>: A promise that resolves to an array ofTrumpMemeobjects.
watchTrumpMemes
watchTrumpMemesDescription Subscribes to new Trump-related memes and triggers a callback when a new meme is available.
Signature
Parameters
callback((meme: TrumpMeme) => void): A function that will be invoked whenever a new Trump meme is available.
Returns
void
watchTrumpTweets
watchTrumpTweetsDescription Subscribes to new Trump-related posts on Truth Social and triggers a callback when a new post is available.
Signature
Parameters
callback((tweet: TruthSocialPost) => void): A function that will be invoked whenever a new Trump-related post is available.
Returns
void
Last updated