Files
@ 69b41f9dfecc
Branch filter:
Location: libtransport.git/backends/twitter/Requests/HelpMessageRequest.cpp - annotation
69b41f9dfecc
1.5 KiB
text/x-c++hdr
fix directory creation for pid file
make extended_test is now passed under Stretch
make extended_test is now passed under Stretch
a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 57a728834db6 57a728834db6 6e1413bf21d3 57a728834db6 6e1413bf21d3 6e1413bf21d3 6e1413bf21d3 6e1413bf21d3 57a728834db6 6e1413bf21d3 57a728834db6 57a728834db6 57a728834db6 57a728834db6 57a728834db6 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 6e1413bf21d3 a2b385e88f06 | #include "HelpMessageRequest.h"
DEFINE_LOGGER(logger, "HelpMessageRequest")
void HelpMessageRequest::run()
{
helpMsg = helpMsg
+ "You will receive tweets of people you follow from this contact."
+ "Following commands can be used to manage your Twitter account:"
+ "#timeline [username] ==> Retrieve <username>'s timeline; Default - own timeline\n"
+ "#status <your status> ==> Update your status\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"
+ "#mode [01] ==> Switch mode to 0(single), 1(multiple). See below\n"
+ "#help ==> Print this help message\n"
+ "************************************************************************\n"
+ "There are 3 ways how to use the gateway:\n"
+ "Mode 0 - There is twitter.com contact in your roster and all Twitter messages are forwaded using this contact.\n"
+ "Mode 1 - Same as Mode 0, but the people you follow are displayed in your roster. You will receive/send directed messages using those contacts.\n"
+ "Joining the #twitter@" + jid + " room - You can join mentioned room and see people you follow there as well as the tweets they post. Private messages in that room are mapped to Twitter direct messages.";
}
void HelpMessageRequest::finalize()
{
callBack(user, helpMsg);
}
|