Skip to content

Commit

Permalink
telebot: move DefaultApiURL constant
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Apr 25, 2020
1 parent add99b5 commit 2b18eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telebot.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ var (
ErrUnsupportedWhat = errors.New("telebot: unsupported what argument")
)

const DefaultApiURL = "https://api.telegram.org"

// These are one of the possible events Handle() can deal with.
//
// For convenience, all Telebot-provided endpoints start with
Expand Down Expand Up @@ -199,8 +201,6 @@ const (
PollRegular PollType = "regular"
)

const DefaultApiURL = "https://api.telegram.org"

type DiceType string

var (
Expand Down

0 comments on commit 2b18eae

Please sign in to comment.