Bots
Updates
User actions arrive as Updates over webhook or getUpdates.
Common types
message/edited_message/message_deletedmessage_read/message_delivered(opt-in via allowed_updates; included in setWebhook defaults)callback_query,inline_queryfriend_request,my_chat_member,chat_member,chat_join_request
Idempotency
Inbound message updates use a deterministic update_id. Webhook sends X-StarIM-Update-Id. Still dedupe on the client for retries.
