ConversationIdentifier

Conversation ID

Constructors

Link copied to clipboard
public void ConversationIdentifier()
public void ConversationIdentifier(ConversationType type, String targetId)

Properties

Link copied to clipboard
public String channelId
The business identifier ID of the conversation to which the message belongs.
Link copied to clipboard
public final static Creator<ConversationIdentifier> CREATOR
Link copied to clipboard
public String targetId
Conversation ID.
Link copied to clipboard
public ConversationType type

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public boolean equalsWithMessage(Message message)
Link copied to clipboard
public String getChannelId()
Link copied to clipboard
public String getTargetId()
Link copied to clipboard
public ConversationType getType()
Link copied to clipboard
public int getTypeValue()
Link copied to clipboard
public boolean isValid()
Link copied to clipboard
public boolean isValidChannel()
Link copied to clipboard
public static ConversationIdentifier obtain(Conversation conversation)
public static ConversationIdentifier obtain(Message message)
public static ConversationIdentifier obtain(ConversationType type, String targetId, String channelId)
Link copied to clipboard
public static ConversationIdentifier obtainChatroom(String targetId)
Constructs a CHATROOM type ConversationIdentifier.
Link copied to clipboard
public static ConversationIdentifier obtainCustomer(String targetId)
Constructs a CUSTOMER_SERVICE type ConversationIdentifier.
Link copied to clipboard
public static ConversationIdentifier obtainGroup(String targetId)
Constructs a GROUP-type ConversationIdentifier.
Link copied to clipboard
public static ConversationIdentifier obtainPrivate(String targetId)
Constructs a PRIVATE type ConversationIdentifier.
Link copied to clipboard
public static ConversationIdentifier obtainUltraGroup(String targetId, String channelId)
Link copied to clipboard
public String optChannelId()
Link copied to clipboard
public void setChannelId(String channelId)
Link copied to clipboard
public void setTargetId(String targetId)
Link copied to clipboard
public void setType(ConversationType type)
Link copied to clipboard
public String toString()
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)