Commit Graph

75 Commits (v3)

Author SHA1 Message Date
Nash-Well 6fdf666a11
api: features 7.0, 7.1 (#658)
* api: feature 7.0 init

* message: remove blockquote

* api: partrly implement replies 2.0

* api: update comments

* message: add giveaway fields

* message,chat: other changes init

* boost: implement boost updates

* reactions: refactor

* api: implement multiple users request section

* api: provide preview customization

* api: implement 7.1 features

* message: fix story issue

* admin,context: refactor

* bot_test: type refactor

* api: partly fix review comments

* api: small tidy up

* react: reactions init

* telebot: added boost_updated,boost_removed constants

* message: fix InaccessibleMessage message struct parse

* message,reac: naming refactor

* context: add boost to the context of current events
2 months ago
Demian 435ad606fa sticker: finish stickers api 3 months ago
david 4cce303fbc bot,api: fix stop channel race 3 months ago
Demian 92739f1414 api: always specify allowed_updates in getUpdates 1 year ago
Demian d90e8974cc telebot: restructure and refactor 2 years ago
Demian 4da4605bec api: move verbose logging out 2 years ago
JSP 8ec2c93e17 Cancel Raw() call immediately without waiting for the request's timeout when bot is about to stop.
This may become important if doing long polling with long timeout.
2 years ago
swithek 96c9c520b3 bot: block until poller exits 2 years ago
Demian be2933a4fa all: use errors from the standard library 2 years ago
Demian 1c916042ee util: simplify sendObject calls 3 years ago
Demian 0463e22543 telebot: rework media, implement Media and Inputtable interfaces 3 years ago
Demian 5a1a187e87 telebot: clarify and fix all naming issues 4 years ago
Aofei Sheng a76047869f api: make sure io.Pipe in sendFiles will be closed 4 years ago
Aofei Sheng 8b48346206 api: fix a huge memory allocation caused by sendFiles 4 years ago
Demian e1811e100a tests: implement more 4 years ago
Demian 09b2f90c72 api: prettify verbose mode output 4 years ago
demget 29af30f5ee
Merge branch 'develop' into verbose-mode 4 years ago
Demian 98a898f4c7 bot: add default parse mode feature 4 years ago
danch 75901ba211 fix: replace token in verbose log 4 years ago
danch 092eb11418 bot: add verbose mode 4 years ago
Demian 0910baadba bot: update poller fields 4 years ago
Demian 5c1986f5b5 telebot: a lot of refactor and clean-ups 4 years ago
unknown e5789a08bb Refactor unexported code 4 years ago
unknown 60ae6d2cf6 Change errors wrapping in Raw 4 years ago
unknown f201a9f4ba Update getMe function 4 years ago
unknown ce43c6a8a2 Refactor code, fix code style issues 4 years ago
Artem d821e6b78d go fmt 4 years ago
Artem 86209d10af errors: removed excessive debug statements 4 years ago
Artem 97291ef25b errors: switch differentiation in bot.Raw() 4 years ago
Viktor Oreshkin cbcedf0c92 Fix sendFiles reader leak 4 years ago
demiangetman 8001defa0c Add custom file name support for media 5 years ago
Arseny Mitin 83aacd12ee refactor: avoid using fmt.Sprintf for performance 5 years ago
Viktor Oreshkin 273a40e72a Send thumbnails (but not in albums) 6 years ago
Anton Kucherov 538b671e6a fix #173 add custom Telegram api url 6 years ago
Viktor Oreshkin 629fe58962 Add File creation from io.Reader (fix #137)
Refactor sendFiles to accept Files
6 years ago
sigurniv 5f938b2a7a add option to pass custom http.Client to tb.NewBot() in case of proxying and other needs 6 years ago
Jonas Bögle f2812ea814
simplified unnecessary if
You can remove this if and just directly return err since it's nil if there is no error
7 years ago
Pavel Makarenko 1175eafe1c Fixed for in loop 7 years ago
Ian Byrd 4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton. 7 years ago
Ian Byrd 83eb527fe5
Albums added, this commit resolves #103. 7 years ago
Ian Byrd 43be06e850
NewBot, Settings, Poller, LongPoller - new bot creation API. 7 years ago
Ian Byrd 2f62e39c40
Sending photos by URL. 7 years ago
Ian Byrd 7316e92265
Viva la File, my boys, viva la File! 7 years ago
Ian Byrd dbc2cd7f6d
Massive refactoring and file structure changes.
- Callback structs has been moved to callbacks.go
- User / Chat and its methods -> chat.go
- Concept of Editable and Message Signature introduced
- No more types.go, it's been refactored into media.go + friends
7 years ago
Ian Byrd e1f4f1b228
Thumbnail -> Photo, new types supported: Voice, VideoNote. 7 years ago
Ian Byrd ef59af6db7
Introducing Sendable interface (see #93.)
This commit refactors lots of duplicated code from bot.go, so
instead of having N redundant SendX methods, now it's the
responsibility of all Sendable objects to implement Send(..)
instead. Impl in types_send.go, 150 LOC only!
7 years ago
Ian Byrd a1a2c92dad
This commit refactors error handling throughout the library.
Bot.Errors channel has been introduced. It can be used to
debug Telebot. It also fixes sendFile() which used to upload
with its own custom http.Client instead of http.DefaultClient.
7 years ago
Ian Byrd 95901bcfc3
Minor time conversion change within private API. 7 years ago
Ian Byrd 14151d8a26 Revert "Bots now support custom HTTP clients (*http.Client)."
This reverts commit c8e1ac037f.
7 years ago
Ian Byrd c8e1ac037f
Bots now support custom HTTP clients (*http.Client). 7 years ago