Update telegram bot task, user view, and type definitions

- Modified telegram bot task implementation
- Updated domain users index view
- Updated telegram-bot-ruby type shims
This commit is contained in:
Dylan Knutson
2025-08-15 05:59:11 +00:00
parent 2acf31c70a
commit b6e2e5e502
3 changed files with 37 additions and 6 deletions

View File

@@ -25,10 +25,16 @@ module Telegram
params(
chat_id: T.untyped,
text: String,
parse_mode: T.nilable(String),
reply_to_message_id: T.untyped,
).returns(Telegram::Bot::Types::Message)
end
def send_message(chat_id:, text:, reply_to_message_id: nil)
def send_message(
chat_id:,
text:,
parse_mode: nil,
reply_to_message_id: nil
)
end
sig do