diff --git a/backends/twitter/Requests/HelpMessageRequest.cpp b/backends/twitter/Requests/HelpMessageRequest.cpp new file mode 100644 index 0000000000000000000000000000000000000000..53ee36927604f088aca0b3e34393b1f312334278 --- /dev/null +++ b/backends/twitter/Requests/HelpMessageRequest.cpp @@ -0,0 +1,21 @@ +#include "HelpMessageRequest.h" +DEFINE_LOGGER(logger, "HelpMessageRequest") +void HelpMessageRequest::run() +{ + helpMsg = helpMsg + + "\n******************************HELP************************************\n" + + "#status ==> Update your status\n" + + "#timeline [username] ==> Retrieve 's timeline; Default - own timeline\n" + + "@ ==> Send a directed message to the user \n" + + "#retweet ==> Retweet the tweet having id \n" + + "#follow ==> Follow user \n" + + "#unfollow ==> Stop Following user \n" + + "#mode [012] ==> Switch mode to 0(single), 1(multiple) or 2(chatroom)\n" + + "#help ==> Print this help message\n" + + "************************************************************************\n"; +} + +void HelpMessageRequest::finalize() +{ + callBack(user, helpMsg); +}