diff --git a/pyrogram/types/bots_and_keyboards/callback_query.py b/pyrogram/types/bots_and_keyboards/callback_query.py
index dc4741b2..efdd14ca 100644
--- a/pyrogram/types/bots_and_keyboards/callback_query.py
+++ b/pyrogram/types/bots_and_keyboards/callback_query.py
@@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see .
-from base64 import b64encode
-from struct import pack
from typing import Union, List, Match, Optional
import pyrogram
@@ -102,15 +100,7 @@ class CallbackQuery(Object, Update):
if not message:
message = await client.get_messages(chat_id, message_id)
elif isinstance(callback_query, raw.types.UpdateInlineBotCallbackQuery):
- inline_message_id = b64encode(
- pack(
- "