-
public final class MessengerThreadParamsParameters describing the Intent that Messenger sent to the app. Returned by MessengerUtils.getMessengerThreadParamsForIntent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumMessengerThreadParams.OriginThe origin of the flow that user originated from.
-
Field Summary
Fields Modifier and Type Field Description private final MessengerThreadParams.Originoriginprivate final StringthreadTokenprivate final Stringmetadataprivate final List<String>participants
-
Constructor Summary
Constructors Constructor Description MessengerThreadParams(MessengerThreadParams.Origin origin, String threadToken, String metadata, List<String> participants)
-
Method Summary
Modifier and Type Method Description final MessengerThreadParams.OrigingetOrigin()The origin of the flow that the user originated from. final StringgetThreadToken()A token representing the thread the user originated from. final StringgetMetadata()Metadata that originated from content the app originally set when it sent the request to Messenger. final List<String>getParticipants()The list of participants in the thread represented as App-scoped User IDs. -
-
Constructor Detail
-
MessengerThreadParams
MessengerThreadParams(MessengerThreadParams.Origin origin, String threadToken, String metadata, List<String> participants)
-
-
Method Detail
-
getOrigin
final MessengerThreadParams.Origin getOrigin()
The origin of the flow that the user originated from.
-
getThreadToken
final String getThreadToken()
A token representing the thread the user originated from. This is an opaque value that is not meant for the app to consume. It exists to complete the flow back to Messenger.
-
getMetadata
final String getMetadata()
Metadata that originated from content the app originally set when it sent the request to Messenger.
-
getParticipants
final List<String> getParticipants()
The list of participants in the thread represented as App-scoped User IDs. This may not always be set and will only ever be set for apps that include Facebook login. When set, it will only include the participants in the thread that have logged into the app. See docs for more info.
-
-
-
-