Skip to content

Commit

Permalink
Fixed missing import.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Jan 5, 2025
1 parent f03b3b7 commit 2148259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/gallery.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@
#:delete-messages)
(:import-from #:cl-telegram-bot2/callback
#:callback)
(:import-from #:cl-telegram-bot-media
#:get-path-to-dir)
(:documentation "This example shows how to keep use state's vars to keep current photo's index and to edit message's media when user clicks on Prev/Next buttons."))
(in-package #:cl-telegram-bot2-examples/gallery)


(defparameter *photos*
(directory (uiop:wilden
(cl-telegram-bot-media:get-path-to-dir "images" "cats"))))
(get-path-to-dir "images" "cats"))))


(defun make-keyboard (photo-index)
Expand Down

0 comments on commit 2148259

Please sign in to comment.