Layer 220
RequestedPeer
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.RequestedPeer interface.
Use any of the following constructors:
RequestedPeerChannel
Info about a channel/supergroup, shared by a user with the currently logged in bot using messages. s
RequestedPeerChat
Info about a chat, shared by a user with the currently logged in bot using messages. send Bot Requeste
RequestedPeerUser
Info about a user, shared by a user with the currently logged in bot using messages. send Bot Requested
Gogram Example
// RequestedPeer is an interface type // You can use any of the following constructors: var _ tg.RequestedPeer = &tg.RequestedPeerChannel{} var _ tg.RequestedPeer = &tg.RequestedPeerChat{} var _ tg.RequestedPeer = &tg.RequestedPeerUser{}