Change UserID to int64.

This commit is contained in:
Syfaro 2021-03-09 12:38:15 -05:00
parent 24d4f79474
commit e03cd7f9c6
3 changed files with 20 additions and 26 deletions

View file

@ -431,7 +431,7 @@ func NewChatAction(chatID int64, action string) ChatActionConfig {
// NewUserProfilePhotos gets user profile photos.
//
// userID is the ID of the user you wish to get profile photos from.
func NewUserProfilePhotos(userID int) UserProfilePhotosConfig {
func NewUserProfilePhotos(userID int64) UserProfilePhotosConfig {
return UserProfilePhotosConfig{
UserID: userID,
Offset: 0,