getTargetId

public String getTargetId()

Retrieves the target ID of the push notification. For example, if the push is sent to group 123 of user A, the ID of group 123 is returned here.

Return

The target ID of the push notification. For one-to-one chat, it is the ID of the other user; for group chat, it is the group ID.