diff --git a/lib/twitter/rest/direct_messages.rb b/lib/twitter/rest/direct_messages.rb index a80c614f2..ffc2880a4 100644 --- a/lib/twitter/rest/direct_messages.rb +++ b/lib/twitter/rest/direct_messages.rb @@ -23,7 +23,6 @@ module DirectMessages # @option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID. # @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 200. # @option options [Integer] :page Specifies the page of results to retrieve. - # @option options [Boolean] :full_text Returns the full text of a DM when message text is longer than 140 characters. def direct_messages_received(options = {}) perform_get_with_objects('/1.1/direct_messages.json', options, Twitter::DirectMessage) end @@ -41,7 +40,6 @@ def direct_messages_received(options = {}) # @option options [Integer] :max_id Returns results with an ID less than (that is, older than) or equal to the specified ID. # @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 200. # @option options [Integer] :page Specifies the page of results to retrieve. - # @option options [Boolean] :full_text Returns the full text of a DM when message text is longer than 140 characters. def direct_messages_sent(options = {}) perform_get_with_objects('/1.1/direct_messages/sent.json', options, Twitter::DirectMessage) end @@ -56,7 +54,6 @@ def direct_messages_sent(options = {}) # @return [Twitter::DirectMessage] The requested messages. # @param id [Integer] A direct message ID. # @param options [Hash] A customizable set of options. - # @option options [Boolean] :full_text Returns the full text of a DM when message text is longer than 140 characters. def direct_message(id, options = {}) options = options.dup options[:id] = id diff --git a/lib/twitter/rest/tweets.rb b/lib/twitter/rest/tweets.rb index 97d6c0d4b..c472688fc 100644 --- a/lib/twitter/rest/tweets.rb +++ b/lib/twitter/rest/tweets.rb @@ -53,7 +53,7 @@ def retweeters_of(tweet, options = {}) # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. - # @raise [Twitter::Error::Forbidden] Error raised when supplied status is over 140 characters. + # @raise [Twitter::Error::Forbidden] Error raised when supplied status is over 280 characters. # @return [Twitter::Tweet] The requested Tweet. # @param tweet [Integer, String, URI, Twitter::Tweet] A Tweet ID, URI, or object. # @param options [Hash] A customizable set of options. @@ -111,7 +111,7 @@ def destroy_status(*args) # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Twitter::Tweet] The created Tweet. When the tweet is deemed a duplicate by Twitter, returns the last Tweet from the user's timeline. - # @param status [String] The text of your status update, up to 140 characters. + # @param status [String] The text of your status update, up to 280 characters. # @param options [Hash] A customizable set of options. # @option options [Boolean, String, Integer] :possibly_sensitive Set to true for content which may not be suitable for every audience. # @option options [Twitter::Tweet] :in_reply_to_status An existing status that the update is in reply to. If the status being replied to was not originally posted by the authenticated user, the text of the status must begin with an @-mention, or twitter will reject the update. @@ -137,7 +137,7 @@ def update(status, options = {}) # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @raise [Twitter::Error::DuplicateStatus] Error raised when a duplicate status is posted. # @return [Twitter::Tweet] The created Tweet. - # @param status [String] The text of your status update, up to 140 characters. + # @param status [String] The text of your status update, up to 280 characters. # @param options [Hash] A customizable set of options. # @option options [Boolean, String, Integer] :possibly_sensitive Set to true for content which may not be suitable for every audience. # @option options [Twitter::Tweet] :in_reply_to_status An existing status that the update is in reply to. If the status being replied to was not originally posted by the authenticated user, the text of the status must begin with an @-mention, or twitter will reject the update. @@ -209,7 +209,7 @@ def retweet!(*args) # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Twitter::Tweet] The created Tweet. - # @param status [String] The text of your status update, up to 140 characters. + # @param status [String] The text of your status update, up to 280 characters. # @param media [File, Array] An image file or array of image files (PNG, JPEG or GIF). # @param options [Hash] A customizable set of options. # @option options [Boolean, String, Integer] :possibly_sensitive Set to true for content which may not be suitable for every audience. diff --git a/lib/twitter/tweet.rb b/lib/twitter/tweet.rb index 673dabe85..b431f9292 100644 --- a/lib/twitter/tweet.rb +++ b/lib/twitter/tweet.rb @@ -29,7 +29,7 @@ class Tweet < Twitter::Identity predicate_attr_reader :favorited, :possibly_sensitive, :retweeted, :truncated - # @note May be > 140 characters. + # @note May be > 280 characters. # @return [String] def full_text if retweet?