Layer 220
Peer
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.Peer interface.
Use any of the following constructors:
Gogram Example
// Peer is an interface type // You can use any of the following constructors: var _ tg.Peer = &tg.PeerChat{} var _ tg.Peer = &tg.PeerUser{} var _ tg.Peer = &tg.PeerChannel{}