package tmap

Import Path
	github.com/gotd/td/internal/tmap (on go.dev)

Dependency Relation
	imports one package, and imported by 2 packages

Involved Source Files constructor.go Package tmap provides type mapping facility that maps type id to type name.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
Constructor maps type id to type constructor. New instantiates new value for type id or returns nil. func NewConstructor(mappings ...map[uint32]func() bin.Object) *Constructor
Map is type mapping. Get returns type string or blank. func New(mappings ...map[uint32]string) *Map
Package-Level Functions (total 2, both are exported)
New creates new Map from mappings.
NewConstructor merges mappings into Constructor.