Releases: gramiojs/contexts
v0.5.0
feat: add Bot API 9.5 support for member tags and date_time entitiesAdd setChatMemberTag method to ChatMemberControlMixin. Extend ChatAdministratorRights with canManageTags permission. Add tag, canEditTag, and canManageTags fields to ChatMember. Add canEditTag to ChatPermissions. Add unixTime and dateTimeFormat fields to MessageEntity for date_time entity type. Add senderTag field to Message. Update @gramio/types to 9.5.0 and README.md Bot API version badge to 9.5. Add sync-gramio-types skill documentation
chore: bump version to 0.5.0 and update package metadataUpdate copyright year to 2026 in LICENSE. Add readme, homepage, and repository fields to package.json. Fix isTopicMessage return type to always return boolean instead of boolean | undefined.
Full Changelog: v0.4.0...v0.5.0
v0.4.0
chore: add CLAUDE.md documentation for AI-assisted development
docs: expand CLAUDE.md with detailed @gramio/types sync workflow
feat: add support for 9.2 Bot API suggested posts and direct messages featuresAdd contexts, structures, and mappings for suggested post lifecycle events (approved, approval_failed, declined, paid, refunded). Implement DirectMessagesTopic structure and add direct messages support to Chat and ChatFullInfo. Extend ChatAdministratorRights and ChatMember with canManageDirectMessages permission. Add publisherChat field to Gift and UniqueGift structures, suggestedPostInfo and directMessagesTopic to Message, and re
feat: add GiftUpgradeSentContext for Bot API 9.3 gift upgrade service messagesAdd GiftUpgradeSentContext to handle service messages about gift upgrades purchased after the gift was sent. Implement context with properties for gift info, owned gift ID, star counts, upgrade capability, message text/entities, privacy settings, and unique gift number. Add sendMessageDraft method to SendMixin. Update README.md Bot API version badge to 9.3. Fix formatting in GiveawayCreatedContext and PaidMediaPurchasedContext.
feat: add streamMessage method for live-typing message drafts with automatic finalizationAdd streamMessage to SendMixin for streaming text chunks to chat with live typing previews via sendMessageDraft and automatic finalization via sendMessage when 4096-char segments complete. Accepts Iterable/AsyncIterable of MessageDraftPiece (strings or objects with text/entities). Auto-forwards threadId and businessConnectionId. Add MessageDraftPiece and StreamMessageOptions types with support for draft ID
chore: update @gramio/types to 9.4.0 and add Bot API 9.4 supportAdd ChatOwnerLeftContext and ChatOwnerChangedContext for service messages about chat ownership changes. Add VideoQuality structure for video quality variants. Extend User with allowsUsersToCreateTopics field, ChatFullInfo with firstProfileAudio, UniqueGiftModel with rarity field, and UniqueGift with isBurned flag. Add UserProfileAudios structure. Update README.md Bot API version badge to 9.4.
chore: update dependencies and bump version to 0.4.0Update @biomejs/biome to 2.3.15, @types/bun to 1.3.9, pkgroll to 2.25.2, tsup to 8.5.1, and typescript to 5.9.3. Remove organizeImports config from biome.json as it's enabled by default in newer versions.
Full Changelog: v0.3.1...v0.4.0
v0.3.1
feat: provide chat id in callback query context
Merge pull request #2 from n08i40k/mainfeat: provide chat id in callback query context
chore: bump
chore: update @gramio/types to 9.3.0 and adapt UniqueGiftInfo to new resale fields
What's Changed
New Contributors
Full Changelog: v0.3.0...v0.3.1
v0.3.0
v0.2.5
chore: ohh...
Full Changelog: v0.2.4...v0.2.5
v0.2.4
chore: experiment: lets try with MessageContextWithRequiredFrom
chore: remove useless
Full Changelog: v0.2.3...v0.2.4
v0.2.3
v0.2.2
chore: tries
chore: /index imports in barrel file
chore: tsup
chore: ok
chore: ok
Full Changelog: v0.2.1...v0.2.2
v0.2.1
fix: workaround for TargetMixin
Full Changelog: v0.2.0...v0.2.1
v0.2.0
chore: support new things part one
chore: text lockfile
feat: gift context
feat: unique gift
feat: PaidMessagePriceChangedContext
chore: deprecate startPayload
chore: bump
Full Changelog: v0.1.5...v0.2.0