You can use the following functions:
Mesh->GetCollisionObjectType();
Mesh->GetCollisionProfileName();
Here is an example and having this information added to the log:
// Called when the game starts or when spawned
void AMyActor::BeginPlay()
{
Super::BeginPlay();
const ECollisionChannel Type = StaticMesh->GetCollisionObjectType();
UE_LOG(LogTemp, Warning, TEXT("Object Type: %s"), *UEnum::GetDisplayValueAsText(Type).ToString());
const FName ProfileName = StaticMesh->GetCollisionProfileName();
UE_LOG(LogTemp, Warning, TEXT("Profile Name: %s"), *ProfileName.ToString());
}
The result is this:
I hope this helps, and good luck