Gogram TLRef
Home Types Constructors Methods Errors E2E
Home › Types › User
Layer 228

User

Abstract type representing one of 2 possible constructors.

Type

Available Constructors

In Gogram, this type is represented as tg.User interface. Use any of the following constructors:

User Indicates info about a certain user. UserEmpty Empty constructor, non-existent user.

Gogram Example

// User is an interface type
// You can use any of the following constructors:
var _ tg.User = &tg.User{}
var _ tg.User = &tg.UserEmpty{}
© 2025 Gogram TLRef. Licensed under MIT.
Gogram Telegram Core About