Skip to content

Add meeting_notes block type support (renamed from transcription in API 2026-03-11) - #199

Open
manjurulhoque wants to merge 5 commits into
jomei:mainfrom
manjurulhoque:main
Open

Add meeting_notes block type support (renamed from transcription in API 2026-03-11)#199
manjurulhoque wants to merge 5 commits into
jomei:mainfrom
manjurulhoque:main

Conversation

@manjurulhoque

Copy link
Copy Markdown
Contributor

Per the Notion API reference, the transcription block type was renamed to meeting_notes in API version 2026-03-11. Both type names remain valid — the old name is returned for pre-2026-03-11 API versions and meeting_notes for the newer version, with an identical data structure.

Here's everything I touched:

  1. const.go — Added BlockTypeMeetingNotes and BlockTypeTranscription constants
  2. block.go — Added MeetingNotesBlock, MeetingNotes, MeetingNotesChildren, CalendarEvent, Recording structs, plus the GetRichTextString() method and both decodeBlock cases (including the transcription key rewrite)
  3. block_test.go — Added test cases for both meeting_notes and legacy transcription deserialization
  4. block_get_meeting_notes.json — New fixture for the current API response
  5. block_get_transcription.json — New fixture for the legacy API response

@manjurulhoque

Copy link
Copy Markdown
Contributor Author

@jomei Could you please check the PR for latest type in the notion API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant