Merge pull request #391 from Baspla/patch-1

Update Using-Replies.md
This commit is contained in:
Ruben Bermudez 2018-04-19 20:45:16 +02:00 committed by GitHub
commit 9f26a60e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ public Reply sayYuckOnImage() {
// getChatId is a public utility function in rg.telegram.abilitybots.api.util.AbilityUtils // getChatId is a public utility function in rg.telegram.abilitybots.api.util.AbilityUtils
Consumer<Update> action = upd -> silent.send("Yuck", getChatId(upd)); Consumer<Update> action = upd -> silent.send("Yuck", getChatId(upd));
return Reply.of(upd, Flag.PHOTO) return Reply.of(action, Flag.PHOTO)
} }
``` ```