def get_message(tweet):
    """
    Get the message attribute on a Tweet object.

    The attribute available depends on the parameters on the query to Twitter.
    """
    try:
        message = tweet.full_text
    except AttributeError:
        message = tweet.text

    return message