Add kick and unban methods, update some inline query result responses.

This commit is contained in:
Syfaro 2016-04-12 08:56:05 -05:00
parent 18510df3c9
commit db12d94016
4 changed files with 128 additions and 63 deletions

View file

@ -285,10 +285,12 @@ func NewWebhookWithCert(link string, file interface{}) WebhookConfig {
// NewInlineQueryResultArticle creates a new inline query article.
func NewInlineQueryResultArticle(id, title, messageText string) InlineQueryResultArticle {
return InlineQueryResultArticle{
Type: "article",
ID: id,
Title: title,
MessageText: messageText,
Type: "article",
ID: id,
Title: title,
InputMessageContent: InputTextMessageContent{
Text: messageText,
},
}
}