public static class TdApi.GetUserGifts extends TdApi.Function<TdApi.UserGifts>
Returns UserGifts
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of gifts to be returned; must be positive and can't be greater than 100.
|
java.lang.String |
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
|
long |
userId
Identifier of the user.
|
| Constructor and Description |
|---|
GetUserGifts()
Default constructor for a function, which returns gifts saved to profile by the given user.
|
GetUserGifts(long userId,
java.lang.String offset,
int limit)
Creates a function, which returns gifts saved to profile by the given user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public java.lang.String offset
public int limit
public static final int CONSTRUCTOR
public GetUserGifts()
Returns UserGifts
public GetUserGifts(long userId,
java.lang.String offset,
int limit)
Returns UserGifts
userId - Identifier of the user.offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit - The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object