code: def get_quote_or_rt_text(tweet):
      
      tweet_type = get_tweet_type(tweet)
      if tweet_type == "tweet":
          return ""
      if tweet_type == "quote":
          if is_original_format(tweet):
              return get_full_text(tweet["quoted_status"])
          else:
              return get_full_text(tweet["twitter_quoted_status"])
      if tweet_type == "retweet":
          if is_original_format(tweet):
              return get_full_text(tweet["retweeted_status"])
          else:
              return get_full_text(tweet["object"])
docs: Get the quoted or retweeted text in a Tweet
      (this is not the text entered by the posting user)
      - tweet: empty string (there is no quoted or retweeted text)
      - quote: only the text of the quoted Tweet
      - retweet: the text of the retweet
  
      Args:
          tweet (Tweet or dict): A Tweet object or dictionary
  
      Returns:
          str: text of the retweeted-tweet or the quoted-tweet
          (empty string if this is an original Tweet)
  
      Example:
          >>> from tweet_parser.getter_methods.tweet_text import get_quote_or_rt_text
          >>> # a quote tweet
          >>> quote = {"created_at": "Wed May 24 20:17:19 +0000 2017",
          ...          "text": "adding my own commentary",
          ...          "truncated": False,
          ...          "quoted_status": {
          ...                 "created_at": "Mon May 01 05:00:05 +0000 2017",
          ...                 "truncated": False,
          ...                 "text": "an interesting Tweet"
          ...                }
          ...         }
  
          >>> get_quote_or_rt_text(quote)
          'an interesting Tweet'