How a lobby talent code works
On this site a lobby talent code is seven digits. Each digit is one talent tier, in this order: 1, 4, 7, 10, 13, 16, and 20.
The digit is that tier's talent, counted from the left and starting at 1. A 0 means the tier is still open. Copy chat code writes the selection as [T#######,Hero]. The name after the comma is the hero's chat name on this site, which is not always the name on the portrait.
Paste that code in game chat before the match starts. It only records the talents selected on the tree. It is not a recommended pick, and a hero does not need a named build for the code to copy.