MessengerThreadParams
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

Parameters describing the Intent that Messenger sent to the app. Returned by MessengerUtils.getMessengerThreadParamsForIntent.

Mở rộng:Object
Gói:messenger
Xây dựng
MessengerThreadParams(Origin, String, String, List)
public MessengerThreadParams(Origin origin, String threadToken, String metadata, List participants)
Thông sốMô tả
origin
threadToken
metadata
participants
Hằng
origin
The origin of the flow that the user originated from.
public final Origin origin
threadToken
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 Mesenger.
public final String threadToken
metadata
Metadata that originated from content the app originally set when it sent the request to Messenger.
public final String metadata
participants
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.
public final List participants