public class SetWebhook extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWEDUPDATES_FIELD |
static String |
CERTIFICATE_FIELD |
static String |
MAXCONNECTIONS_FIELD |
static String |
PATH |
static String |
URL_FIELD |
| Constructor and Description |
|---|
SetWebhook() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedUpdates() |
String |
getCertificateFile() |
Integer |
getMaxConnections() |
String |
getUrl() |
SetWebhook |
setAllowedUpdates(List<String> allowedUpdates) |
SetWebhook |
setCertificateFile(String certificateFile) |
SetWebhook |
setMaxConnections(Integer maxConnections) |
SetWebhook |
setUrl(String url) |
String |
toString() |
public static final String PATH
public static final String URL_FIELD
public static final String CERTIFICATE_FIELD
public static final String MAXCONNECTIONS_FIELD
public static final String ALLOWEDUPDATES_FIELD
public String getUrl()
public SetWebhook setUrl(String url)
public String getCertificateFile()
public SetWebhook setCertificateFile(String certificateFile)
public Integer getMaxConnections()
public SetWebhook setMaxConnections(Integer maxConnections)
public SetWebhook setAllowedUpdates(List<String> allowedUpdates)
Copyright © 2018. All rights reserved.