Package com.restfb.types
Klasse Conversation
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Conversation
- Alle implementierten Schnittstellen:
Serializable
Represents the Conversation Graph
API type.
- Autor:
- Mark Allen, Felipe Kurkowski
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
addFormerParticipant
(NamedFacebookType formerParticipant) boolean
addMessage
(Message message) boolean
addParticipant
(ExtendedReferenceType participant) boolean
addSender
(NamedFacebookType sender) boolean
addTag
(Conversation.Tag tag) Whether The Page can reply to the conversationUsers who used to be on this message conversation.getLink()
A URL for this conversation.The number of messages in the conversationList of all messages in the conversationgetName()
The name of the message folder or source.Users who are on this message conversationUsers who send a message on the conversationThe title of a message in the conversationThe subject of this conversation.Whether you are subscribed to the conversationgetTags()
A list of tags indicating the message folder, and whether the conversation is read and seen.The new identifier for threads effective after September 24, 2017The number of unread messages in the conversation Facebook does not send the unread count if there aren't any new messages.Last update time of the conversationWallpaper to display as a background for the threadboolean
removeFormerParticipant
(NamedFacebookType formerParticipant) boolean
removeMessage
(Message message) boolean
removeParticipant
(ExtendedReferenceType participant) boolean
removeSender
(NamedFacebookType sender) boolean
void
setCanReply
(Boolean canReply) Whether The Page can reply to the conversationvoid
A URL for this conversation.void
setMessageCount
(Long messageCount) The number of messages in the conversationvoid
The name of the message folder or source.void
setSnippet
(String snippet) The title of a message in the conversationvoid
setSubject
(String subject) The subject of this conversation.void
setSubscribed
(Boolean subscribed) Whether you are subscribed to the conversationvoid
setThreadKey
(String threadKey) The new identifier for threads effective after September 24, 2017void
setUnreadCount
(Long unreadCount) The number of unread messages in the conversation Facebook does not send the unread count if there aren't any new messages.void
setUpdatedTime
(Date updatedTime) Last update time of the conversationvoid
setWallpaper
(String wallpaper) Wallpaper to display as a background for the threadVon Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Conversation
public Conversation()
-
-
Methodendetails
-
getTags
A list of tags indicating the message folder, and whether the conversation is read and seen.- Gibt zurück:
- A list of tags indicating the message folder, and whether the conversation is read and seen.
-
addTag
-
removeTag
-
getParticipants
Users who are on this message conversation- Gibt zurück:
- Users who are on this message conversation
-
addParticipant
-
removeParticipant
-
getSenders
Users who send a message on the conversation- Gibt zurück:
- Users who send a message on the conversation
-
addSender
-
removeSender
-
getMessages
List of all messages in the conversation- Gibt zurück:
- List of all messages in the conversation
-
addMessage
-
removeMessage
-
getFormerParticipants
Users who used to be on this message conversation.- Gibt zurück:
- Users who used to be on this message conversation.
-
addFormerParticipant
-
removeFormerParticipant
-
getLink
A URL for this conversation.- Gibt zurück:
- A URL for this conversation.
-
setLink
A URL for this conversation. -
getSubject
The subject of this conversation.- Gibt zurück:
- The subject of this conversation.
-
setSubject
The subject of this conversation. -
getSnippet
The title of a message in the conversation- Gibt zurück:
- The title of a message in the conversation
-
setSnippet
The title of a message in the conversation -
getThreadKey
The new identifier for threads effective after September 24, 2017- Gibt zurück:
- The new identifier for threads effective after September 24, 2017
-
setThreadKey
The new identifier for threads effective after September 24, 2017 -
getUpdatedTime
Last update time of the conversation- Gibt zurück:
- Last update time of the conversation
-
setUpdatedTime
Last update time of the conversation -
getMessageCount
The number of messages in the conversation- Gibt zurück:
- The number of messages in the conversation
-
setMessageCount
The number of messages in the conversation -
getName
The name of the message folder or source.- Gibt zurück:
- The name of the message folder or source
-
setName
The name of the message folder or source. -
getUnreadCount
The number of unread messages in the conversation Facebook does not send the unread count if there aren't any new messages. In order to keep data consistency, we set the default value to zero. If this value is sent, theJsonMapper
will override it.- Gibt zurück:
- The number of unread messages in the conversation
-
setUnreadCount
The number of unread messages in the conversation Facebook does not send the unread count if there aren't any new messages. In order to keep data consistency, we set the default value to zero. If this value is sent, theJsonMapper
will override it. -
getWallpaper
Wallpaper to display as a background for the thread- Gibt zurück:
- Wallpaper to display as a background for the thread
-
setWallpaper
Wallpaper to display as a background for the thread -
getCanReply
Whether The Page can reply to the conversation- Gibt zurück:
- Whether The Page can reply to the conversation
-
setCanReply
Whether The Page can reply to the conversation -
getSubscribed
Whether you are subscribed to the conversation- Gibt zurück:
- Whether you are subscribed to the conversation
-
setSubscribed
Whether you are subscribed to the conversation
-