Update Type
Tipe-tipe update yang tersedia untuk context
1 menit dibaca
Update Type
Di pergunakan saat deteksi trigger on.
Tipe update tersedia adalah sebagai berikut. Keterangan masing-masing tipe ada di dalam referensi sumber asli.
Type
- raw
- message
- edited_message
- channel_post
- edited_channel_post
- inline_query
- chosen_inline_result
- callback_query
- shipping_query
- pre_checkout_query
- poll
- poll_answer
- my_chat_member
- chat_member
Ref: update
Sub Type
- text
- reply_to_message
- reply_markup
- via_bot
- edit_date
- author_signature
- entities
- animation
- audio
- document
- photo
- sticker
- video
- video_note
- voice
- caption
- caption_entities
- media_group_id
- contact
- dice
- game
- poll
- venue
- location
- new_chat_members
- left_chat_member
- new_chat_title
- new_chat_photo
- delete_chat_photo
- group_chat_created
- supergroup_chat_created
- channel_chat_created
- message_auto_delete_timer_changed
- migrate_to_chat_id
- migrate_from_chat_id
- pinned_message
- invoice
- successful_payment
- connected_website
- passport_data
- proximity_alert_triggered
- voice_chat_scheduled
- voice_chat_started
- voice_chat_ended
- voice_chat_participants_invited
Ref: message
Entity Type
mention@usernamehashtag#hashtagcashtag$USDbot_command/start@jobs_boturlhttps://telegram.orgemail[email protected]phone_number+1-212-555-0123boldbold textitalicitalic textunderlineunderlined textstrikethroughstrikethrough textcodemonowidth stringpremonowidth blocktext_linkfor clickable text URLstext_mentionfor users without usernames
Ref: Entity
Tips
Informasi bot type update dapat ditemukan pada:
ctx.broadcast dan ctx.updateType