Files
@ 8d9a5fe3d8e3
Branch filter:
Location: libtransport.git/backends/twitter/Requests/HelpMessageRequest.cpp - annotation
8d9a5fe3d8e3
1.5 KiB
text/x-c++hdr
add new repo for yowsup
Changed yowsup repo to maintained one
Changed yowsup repo to maintained one
a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 57a728834db6 dd72894c39af 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:\n\n"
+ "#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);
}
|