public static class TdApi.UpdateSpeedLimitNotification extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isUpload
True, if upload speed was limited; false, if download speed was limited.
|
| Constructor and Description |
|---|
UpdateSpeedLimitNotification()
Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium.
|
UpdateSpeedLimitNotification(boolean isUpload)
Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean isUpload
public static final int CONSTRUCTOR
public UpdateSpeedLimitNotification()
public UpdateSpeedLimitNotification(boolean isUpload)
isUpload - True, if upload speed was limited; false, if download speed was limited.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object