| Package | com.facebook.graph.data.api.message |
| Class | public class FacebookMessage |
| Inheritance | FacebookMessage AbstractFacebookGraphObject |
See also
| Property | Defined by | ||
|---|---|---|---|
| created_time : Date
A timestamp of when this message was created.
| FacebookMessage | ||
| from : FacebookUser
The sender of this message.
| FacebookMessage | ||
![]() | id : String
The unique ID for the graph object.
| AbstractFacebookGraphObject | |
| message : String
The text of the message.
| FacebookMessage | ||
![]() | rawResult : Object
The raw decoded JSON result data for the graph object.
| AbstractFacebookGraphObject | |
| to : Array
A list of the message recipients.
| FacebookMessage | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new FacebookMessage.
| FacebookMessage | ||
|
fromJSON(result:Object):FacebookMessage
[static]
Populates and returns a new FacebookMessage from a decoded JSON object.
| FacebookMessage | ||
|
toString():String
Provides the string value of the graph object.
| FacebookMessage | ||
| Method | Defined by | ||
|---|---|---|---|
|
setPropertyValue(property:String, value:*):void
| FacebookMessage | ||
| created_time | property |
public var created_time:DateA timestamp of when this message was created.
| from | property |
public var from:FacebookUserThe sender of this message.
| message | property |
public var message:StringThe text of the message.
| to | property |
public var to:ArrayA list of the message recipients.
| FacebookMessage | () | constructor |
public function FacebookMessage()Creates a new FacebookMessage.
| fromJSON | () | method |
public static function fromJSON(result:Object):FacebookMessagePopulates and returns a new FacebookMessage from a decoded JSON object.
Parametersresult:Object — A decoded JSON object.
|
FacebookMessage —
A new FacebookMessage.
|
| setPropertyValue | () | method |
protected override function setPropertyValue(property:String, value:*):voidParameters
property:String |
|
value:* |
| toString | () | method |
public override function toString():StringProvides the string value of the graph object.
ReturnsString — The string value of the graph object.
|