spectrum2/backends/twitter/Requests/HelpMessageRequest.cpp

22 lines
982 B
C++
Raw Normal View History

2012-06-03 15:01:50 +05:30
#include "HelpMessageRequest.h"
DEFINE_LOGGER(logger, "HelpMessageRequest")
void HelpMessageRequest::run()
{
helpMsg = helpMsg
+ "\n******************************HELP************************************\n"
2012-06-21 17:05:36 +05:30
+ "#status <your status> ==> Update your status\n"
+ "#timeline [username] ==> Retrieve <username>'s timeline; Default - own timeline\n"
+ "@<username> <message> ==> Send a directed message to the user <username>\n"
+ "#retweet <unique_tweet_id> ==> Retweet the tweet having id <unique_tweet_id> \n"
+ "#follow <username> ==> Follow user <username>\n"
+ "#unfollow <username> ==> Stop Following user <username>\n"
2012-07-24 11:23:16 +05:30
+ "#mode [012] ==> Switch mode to 0(single), 1(multiple) or 2(chatroom)\n"
2012-06-21 17:05:36 +05:30
+ "#help ==> Print this help message\n"
2012-06-03 15:01:50 +05:30
+ "************************************************************************\n";
}
void HelpMessageRequest::finalize()
{
2012-06-21 17:05:36 +05:30
callBack(user, helpMsg);
2012-06-03 15:01:50 +05:30
}