directMessage-class {twitteR}R Documentation

Class "directMessage"

Description

Provides a model representing direct messages (DMs) from Twitter

Objects from the Class

new('directMessage', text = [character], recipientSN = [character], created = [character], recipientID = [numeric], sender = [user], recipient = [user], senderID = [numeric], id = [numeric], senderSN = [character], ...)

directMessage instances are usually created through calls to the dmGet function.

Slots

text:
The text of the direct message
recipientSN:
Screen name of the recipient
created:
When this message was created
recipientID:
ID of the recipient
sender:
An object of class user representing the sender
recipient:
And object of class user representing the recipient
senderID:
The ID of the sender
id:
Internal ID of this message
senderSN:
Screen name of teh sender

Methods

show
Displays the DM
text
Retrieves the text of the DM
recipientSN
Retrieves the screen name of the recipient
created
Retrieves the creation date
recipientID
Retrieves the ID of the recipient
sender
Retrieves the sender (of class user) of the DM
recipient
Retrieves the recipient (of class user) of the DM
senderID
Retrives the ID of the DM sender
id
Retrieves the ID of the DM
senderSN
Retrieves the screen name of the sender

Author(s)

Jeff Gentry

See Also

dmGet


[Package twitteR version 0.1.5 Index]