Package com.restfb.types.send
Class Message
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.Message
-
- All Implemented Interfaces:
Serializable
public class Message extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Message(MessageAttachment attachment)
Message(String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addQuickReplies(List<QuickReply> quickReplyList)
add list ofQuickReply
objects to the list of QuickRepliesboolean
addQuickReply(QuickReply quickReply)
add singleQuickReply
to the list of QuickRepliesMessageAttachment
getAttachment()
String
getMetadata()
List<QuickReply>
getQuickReplies()
String
getText()
void
setMetadata(String metadata)
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Message
public Message(MessageAttachment attachment)
-
-
Method Detail
-
addQuickReply
public boolean addQuickReply(QuickReply quickReply)
add singleQuickReply
to the list of QuickReplies- Parameters:
quickReply
- the QuickReply you like to add- Returns:
-
addQuickReplies
public boolean addQuickReplies(List<QuickReply> quickReplyList)
add list ofQuickReply
objects to the list of QuickReplies- Parameters:
quickReplyList
- the list QuickReplies you like to add- Returns:
-
getQuickReplies
public List<QuickReply> getQuickReplies()
-
getMetadata
public String getMetadata()
-
setMetadata
public void setMetadata(String metadata)
-
getAttachment
public MessageAttachment getAttachment()
-
-