パッケージ org.thinkit.bot.twitter

クラス TwitterBotJ

すべての実装されたインタフェース:
Serializable, TwitterBot

public final class TwitterBotJ
extends AbstractTwitterBot
The class that manages the command of Twitter bot.
導入されたバージョン:
1.0.0
関連項目:
直列化された形式
  • メソッドの詳細

    • from

      public static TwitterBot from​(@NonNull twitter4j.conf.Configuration twitterConfiguration)
      Returns the new instance of TwitterBotJ based on the twitter confguration passed as an argument.
      パラメータ:
      twitterConfiguration - The twitter argument
      戻り値:
      The new instance of TwitterBotJ
      例外:
      NullPointerException - If null is passed as an argument
    • executeAutoTweet

      public AutoTweetResult executeAutoTweet​(@NonNull Tweet tweet)
      インタフェースからコピーされた説明: TwitterBot
      Executes the auto tweet command and returns the command result.
      パラメータ:
      tweet - The tweet
      戻り値:
      The command result
    • executeAutoShowUser

      public AutoShowUserResult executeAutoShowUser​(String userName)
      インタフェースからコピーされた説明: TwitterBot
      Executes the auto show user and returns the command result.
      パラメータ:
      userName - The user name
      戻り値:
      The command result