Skip to main content

updates.Difference

This is a boxed type (a TL class): the Go interface tg.UpdatesDifferenceClass, implemented by the constructors below. A value of this type is one of them — switch on the concrete type to handle it.

switch v := value.(type) {
case *tg.UpdatesDifference: // updates.difference
case *tg.UpdatesDifferenceEmpty: // updates.differenceEmpty
case *tg.UpdatesDifferenceSlice: // updates.differenceSlice
case *tg.UpdatesDifferenceTooLong: // updates.differenceTooLong
}

Constructors

ConstructorTL name
UpdatesDifferenceupdates.difference
UpdatesDifferenceEmptyupdates.differenceEmpty
UpdatesDifferenceSliceupdates.differenceSlice
UpdatesDifferenceTooLongupdates.differenceTooLong

Returned by

References